quartz/tests: Avoid "misleading indentation" warnings.
[wine.git] / configure
blob425d267ec5078947d1b969a7de84b0888d8763d3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.1.
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.1'
615 PACKAGE_STRING='Wine 7.1'
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 SED_CMD
804 RUNTESTFLAGS
805 MAKEDEP
806 toolsdir
807 toolsext
808 TARGETFLAGS
810 CPPBIN
811 ac_ct_CXX
812 CXXFLAGS
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
821 SET_MAKE
822 srcdir
823 nlsdir
824 fontdir
825 dlldir
826 host_os
827 host_vendor
828 host_cpu
829 host
830 build_os
831 build_vendor
832 build_cpu
833 build
834 system_dllpath
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL'
874 ac_subst_files=''
875 ac_user_opts='
876 enable_option_checking
877 enable_win16
878 enable_win64
879 enable_tests
880 enable_build_id
881 enable_maintainer_mode
882 enable_silent_rules
883 enable_werror
884 with_alsa
885 with_capi
886 with_coreaudio
887 with_cups
888 with_dbus
889 with_float_abi
890 with_fontconfig
891 with_freetype
892 with_gettext
893 with_gettextpo
894 with_gphoto
895 with_gnutls
896 with_gssapi
897 with_gstreamer
898 with_inotify
899 with_krb5
900 with_ldap
901 with_mingw
902 with_netapi
903 with_openal
904 with_opencl
905 with_opengl
906 with_osmesa
907 with_oss
908 with_pcap
909 with_pthread
910 with_pulse
911 with_sane
912 with_sdl
913 with_udev
914 with_unwind
915 with_usb
916 with_v4l2
917 with_vkd3d
918 with_vulkan
919 with_xcomposite
920 with_xcursor
921 with_xfixes
922 with_xinerama
923 with_xinput
924 with_xinput2
925 with_xrandr
926 with_xrender
927 with_xshape
928 with_xshm
929 with_xxf86vm
930 with_system_dllpath
931 with_wine_tools
932 with_wine64
933 enable_largefile
934 with_x
935 enable_acledit
936 enable_aclui
937 enable_activeds_tlb
938 enable_activeds
939 enable_actxprxy
940 enable_adsldp
941 enable_adsldpc
942 enable_advapi32
943 enable_advpack
944 enable_amsi
945 enable_amstream
946 enable_api_ms_win_appmodel_identity_l1_1_0
947 enable_api_ms_win_appmodel_runtime_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_1
949 enable_api_ms_win_appmodel_runtime_l1_1_2
950 enable_api_ms_win_core_apiquery_l1_1_0
951 enable_api_ms_win_core_appcompat_l1_1_1
952 enable_api_ms_win_core_appinit_l1_1_0
953 enable_api_ms_win_core_atoms_l1_1_0
954 enable_api_ms_win_core_bem_l1_1_0
955 enable_api_ms_win_core_com_l1_1_0
956 enable_api_ms_win_core_com_l1_1_1
957 enable_api_ms_win_core_com_private_l1_1_0
958 enable_api_ms_win_core_comm_l1_1_0
959 enable_api_ms_win_core_console_l1_1_0
960 enable_api_ms_win_core_console_l1_2_0
961 enable_api_ms_win_core_console_l2_1_0
962 enable_api_ms_win_core_console_l3_2_0
963 enable_api_ms_win_core_crt_l1_1_0
964 enable_api_ms_win_core_crt_l2_1_0
965 enable_api_ms_win_core_datetime_l1_1_0
966 enable_api_ms_win_core_datetime_l1_1_1
967 enable_api_ms_win_core_debug_l1_1_0
968 enable_api_ms_win_core_debug_l1_1_1
969 enable_api_ms_win_core_delayload_l1_1_0
970 enable_api_ms_win_core_delayload_l1_1_1
971 enable_api_ms_win_core_errorhandling_l1_1_0
972 enable_api_ms_win_core_errorhandling_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_2
974 enable_api_ms_win_core_errorhandling_l1_1_3
975 enable_api_ms_win_core_featurestaging_l1_1_0
976 enable_api_ms_win_core_fibers_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_1
978 enable_api_ms_win_core_file_ansi_l2_1_0
979 enable_api_ms_win_core_file_fromapp_l1_1_0
980 enable_api_ms_win_core_file_l1_1_0
981 enable_api_ms_win_core_file_l1_2_0
982 enable_api_ms_win_core_file_l1_2_1
983 enable_api_ms_win_core_file_l1_2_2
984 enable_api_ms_win_core_file_l2_1_0
985 enable_api_ms_win_core_file_l2_1_1
986 enable_api_ms_win_core_file_l2_1_2
987 enable_api_ms_win_core_handle_l1_1_0
988 enable_api_ms_win_core_heap_l1_1_0
989 enable_api_ms_win_core_heap_l1_2_0
990 enable_api_ms_win_core_heap_l2_1_0
991 enable_api_ms_win_core_heap_obsolete_l1_1_0
992 enable_api_ms_win_core_interlocked_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_2_0
994 enable_api_ms_win_core_io_l1_1_0
995 enable_api_ms_win_core_io_l1_1_1
996 enable_api_ms_win_core_job_l1_1_0
997 enable_api_ms_win_core_job_l2_1_0
998 enable_api_ms_win_core_kernel32_legacy_l1_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1002 enable_api_ms_win_core_kernel32_private_l1_1_1
1003 enable_api_ms_win_core_largeinteger_l1_1_0
1004 enable_api_ms_win_core_libraryloader_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_1
1006 enable_api_ms_win_core_libraryloader_l1_2_0
1007 enable_api_ms_win_core_libraryloader_l1_2_1
1008 enable_api_ms_win_core_libraryloader_l1_2_2
1009 enable_api_ms_win_core_libraryloader_l2_1_0
1010 enable_api_ms_win_core_localization_l1_1_0
1011 enable_api_ms_win_core_localization_l1_2_0
1012 enable_api_ms_win_core_localization_l1_2_1
1013 enable_api_ms_win_core_localization_l1_2_2
1014 enable_api_ms_win_core_localization_l2_1_0
1015 enable_api_ms_win_core_localization_obsolete_l1_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_2_0
1017 enable_api_ms_win_core_localization_obsolete_l1_3_0
1018 enable_api_ms_win_core_localization_private_l1_1_0
1019 enable_api_ms_win_core_localregistry_l1_1_0
1020 enable_api_ms_win_core_memory_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_1
1022 enable_api_ms_win_core_memory_l1_1_2
1023 enable_api_ms_win_core_memory_l1_1_3
1024 enable_api_ms_win_core_memory_l1_1_4
1025 enable_api_ms_win_core_misc_l1_1_0
1026 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1027 enable_api_ms_win_core_namedpipe_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_2_0
1029 enable_api_ms_win_core_namespace_l1_1_0
1030 enable_api_ms_win_core_normalization_l1_1_0
1031 enable_api_ms_win_core_path_l1_1_0
1032 enable_api_ms_win_core_privateprofile_l1_1_1
1033 enable_api_ms_win_core_processenvironment_l1_1_0
1034 enable_api_ms_win_core_processenvironment_l1_2_0
1035 enable_api_ms_win_core_processthreads_l1_1_0
1036 enable_api_ms_win_core_processthreads_l1_1_1
1037 enable_api_ms_win_core_processthreads_l1_1_2
1038 enable_api_ms_win_core_processthreads_l1_1_3
1039 enable_api_ms_win_core_processtopology_l1_1_0
1040 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1041 enable_api_ms_win_core_profile_l1_1_0
1042 enable_api_ms_win_core_psapi_ansi_l1_1_0
1043 enable_api_ms_win_core_psapi_l1_1_0
1044 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1045 enable_api_ms_win_core_psm_appnotify_l1_1_0
1046 enable_api_ms_win_core_quirks_l1_1_0
1047 enable_api_ms_win_core_realtime_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_1
1049 enable_api_ms_win_core_registry_l1_1_0
1050 enable_api_ms_win_core_registry_l2_1_0
1051 enable_api_ms_win_core_registry_l2_2_0
1052 enable_api_ms_win_core_registryuserspecific_l1_1_0
1053 enable_api_ms_win_core_rtlsupport_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_2_0
1055 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1056 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1058 enable_api_ms_win_core_shutdown_l1_1_0
1059 enable_api_ms_win_core_sidebyside_l1_1_0
1060 enable_api_ms_win_core_string_l1_1_0
1061 enable_api_ms_win_core_string_l2_1_0
1062 enable_api_ms_win_core_string_obsolete_l1_1_0
1063 enable_api_ms_win_core_stringansi_l1_1_0
1064 enable_api_ms_win_core_stringloader_l1_1_1
1065 enable_api_ms_win_core_synch_ansi_l1_1_0
1066 enable_api_ms_win_core_synch_l1_1_0
1067 enable_api_ms_win_core_synch_l1_2_0
1068 enable_api_ms_win_core_synch_l1_2_1
1069 enable_api_ms_win_core_sysinfo_l1_1_0
1070 enable_api_ms_win_core_sysinfo_l1_2_0
1071 enable_api_ms_win_core_sysinfo_l1_2_1
1072 enable_api_ms_win_core_systemtopology_l1_1_0
1073 enable_api_ms_win_core_threadpool_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_2_0
1075 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1076 enable_api_ms_win_core_threadpool_private_l1_1_0
1077 enable_api_ms_win_core_timezone_l1_1_0
1078 enable_api_ms_win_core_toolhelp_l1_1_0
1079 enable_api_ms_win_core_url_l1_1_0
1080 enable_api_ms_win_core_util_l1_1_0
1081 enable_api_ms_win_core_version_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_1
1083 enable_api_ms_win_core_version_private_l1_1_0
1084 enable_api_ms_win_core_versionansi_l1_1_0
1085 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_1
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_msvcp140_atomic_wait
1521 enable_msvcp60
1522 enable_msvcp70
1523 enable_msvcp71
1524 enable_msvcp80
1525 enable_msvcp90
1526 enable_msvcp_win
1527 enable_msvcr100
1528 enable_msvcr110
1529 enable_msvcr120
1530 enable_msvcr120_app
1531 enable_msvcr70
1532 enable_msvcr71
1533 enable_msvcr80
1534 enable_msvcr90
1535 enable_msvcrt
1536 enable_msvcrt20
1537 enable_msvcrt40
1538 enable_msvcrtd
1539 enable_msvfw32
1540 enable_msvidc32
1541 enable_mswsock
1542 enable_msxml
1543 enable_msxml2
1544 enable_msxml3
1545 enable_msxml4
1546 enable_msxml6
1547 enable_mtxdm
1548 enable_ncrypt
1549 enable_nddeapi
1550 enable_ndis_sys
1551 enable_netapi32
1552 enable_netcfgx
1553 enable_netio_sys
1554 enable_netprofm
1555 enable_netutils
1556 enable_newdev
1557 enable_ninput
1558 enable_normaliz
1559 enable_npmshtml
1560 enable_npptools
1561 enable_nsi
1562 enable_nsiproxy_sys
1563 enable_ntdll
1564 enable_ntdsapi
1565 enable_ntoskrnl_exe
1566 enable_ntprint
1567 enable_objsel
1568 enable_odbc32
1569 enable_odbcbcp
1570 enable_odbccp32
1571 enable_odbccu32
1572 enable_ole32
1573 enable_oleacc
1574 enable_oleaut32
1575 enable_olecli32
1576 enable_oledb32
1577 enable_oledlg
1578 enable_olepro32
1579 enable_olesvr32
1580 enable_olethk32
1581 enable_opcservices
1582 enable_openal32
1583 enable_opencl
1584 enable_opengl32
1585 enable_packager
1586 enable_pdh
1587 enable_photometadatahandler
1588 enable_pidgen
1589 enable_powrprof
1590 enable_printui
1591 enable_prntvpt
1592 enable_propsys
1593 enable_psapi
1594 enable_pstorec
1595 enable_pwrshplugin
1596 enable_qasf
1597 enable_qcap
1598 enable_qdvd
1599 enable_qedit
1600 enable_qmgr
1601 enable_qmgrprxy
1602 enable_quartz
1603 enable_query
1604 enable_qwave
1605 enable_rasapi32
1606 enable_rasdlg
1607 enable_regapi
1608 enable_resutils
1609 enable_riched20
1610 enable_riched32
1611 enable_rpcrt4
1612 enable_rsabase
1613 enable_rsaenh
1614 enable_rstrtmgr
1615 enable_rtutils
1616 enable_rtworkq
1617 enable_samlib
1618 enable_sane_ds
1619 enable_sapi
1620 enable_sas
1621 enable_scarddlg
1622 enable_sccbase
1623 enable_schannel
1624 enable_schedsvc
1625 enable_scrobj
1626 enable_scrrun
1627 enable_scsiport_sys
1628 enable_sechost
1629 enable_secur32
1630 enable_security
1631 enable_sensapi
1632 enable_serialui
1633 enable_setupapi
1634 enable_sfc
1635 enable_sfc_os
1636 enable_shcore
1637 enable_shdoclc
1638 enable_shdocvw
1639 enable_shell32
1640 enable_shfolder
1641 enable_shlwapi
1642 enable_slbcsp
1643 enable_slc
1644 enable_snmpapi
1645 enable_softpub
1646 enable_spoolss
1647 enable_sppc
1648 enable_srclient
1649 enable_srvcli
1650 enable_sspicli
1651 enable_stdole2_tlb
1652 enable_stdole32_tlb
1653 enable_sti
1654 enable_strmdll
1655 enable_svrapi
1656 enable_sxs
1657 enable_t2embed
1658 enable_tapi32
1659 enable_taskschd
1660 enable_tbs
1661 enable_tdh
1662 enable_tdi_sys
1663 enable_traffic
1664 enable_twain_32
1665 enable_tzres
1666 enable_ucrtbase
1667 enable_uianimation
1668 enable_uiautomationcore
1669 enable_uiribbon
1670 enable_unicows
1671 enable_updspapi
1672 enable_url
1673 enable_urlmon
1674 enable_usbd_sys
1675 enable_user32
1676 enable_userenv
1677 enable_usp10
1678 enable_utildll
1679 enable_uxtheme
1680 enable_vbscript
1681 enable_vcomp
1682 enable_vcomp100
1683 enable_vcomp110
1684 enable_vcomp120
1685 enable_vcomp140
1686 enable_vcomp90
1687 enable_vcruntime140
1688 enable_vcruntime140_1
1689 enable_vdmdbg
1690 enable_version
1691 enable_vga
1692 enable_virtdisk
1693 enable_vssapi
1694 enable_vulkan_1
1695 enable_wbemdisp
1696 enable_wbemprox
1697 enable_wdscore
1698 enable_webservices
1699 enable_websocket
1700 enable_wer
1701 enable_wevtapi
1702 enable_wevtsvc
1703 enable_wiaservc
1704 enable_wimgapi
1705 enable_win32u
1706 enable_windows_devices_enumeration
1707 enable_windows_gaming_input
1708 enable_windows_globalization
1709 enable_windows_media_devices
1710 enable_windows_media_speech
1711 enable_windowscodecs
1712 enable_windowscodecsext
1713 enable_winealsa_drv
1714 enable_wineandroid_drv
1715 enable_winebus_sys
1716 enable_winecoreaudio_drv
1717 enable_winecrt0
1718 enable_wined3d
1719 enable_winegstreamer
1720 enable_winehid_sys
1721 enable_winemac_drv
1722 enable_winemapi
1723 enable_wineoss_drv
1724 enable_wineps_drv
1725 enable_winepulse_drv
1726 enable_wineusb_sys
1727 enable_winevulkan
1728 enable_winex11_drv
1729 enable_winexinput_sys
1730 enable_wing32
1731 enable_winhttp
1732 enable_wininet
1733 enable_winmm
1734 enable_winnls32
1735 enable_winscard
1736 enable_winspool_drv
1737 enable_winsta
1738 enable_wintab32
1739 enable_wintrust
1740 enable_winusb
1741 enable_wlanapi
1742 enable_wlanui
1743 enable_wldap32
1744 enable_wmadmod
1745 enable_wmasf
1746 enable_wmi
1747 enable_wmiutils
1748 enable_wmp
1749 enable_wmphoto
1750 enable_wmvcore
1751 enable_wnaspi32
1752 enable_wow64
1753 enable_wow64cpu
1754 enable_wow64win
1755 enable_wpc
1756 enable_wpcap
1757 enable_ws2_32
1758 enable_wsdapi
1759 enable_wshom_ocx
1760 enable_wsnmp32
1761 enable_wsock32
1762 enable_wtsapi32
1763 enable_wuapi
1764 enable_wuaueng
1765 enable_x3daudio1_0
1766 enable_x3daudio1_1
1767 enable_x3daudio1_2
1768 enable_x3daudio1_3
1769 enable_x3daudio1_4
1770 enable_x3daudio1_5
1771 enable_x3daudio1_6
1772 enable_x3daudio1_7
1773 enable_xactengine2_0
1774 enable_xactengine2_4
1775 enable_xactengine2_7
1776 enable_xactengine2_9
1777 enable_xactengine3_0
1778 enable_xactengine3_1
1779 enable_xactengine3_2
1780 enable_xactengine3_3
1781 enable_xactengine3_4
1782 enable_xactengine3_5
1783 enable_xactengine3_6
1784 enable_xactengine3_7
1785 enable_xapofx1_1
1786 enable_xapofx1_2
1787 enable_xapofx1_3
1788 enable_xapofx1_4
1789 enable_xapofx1_5
1790 enable_xaudio2_0
1791 enable_xaudio2_1
1792 enable_xaudio2_2
1793 enable_xaudio2_3
1794 enable_xaudio2_4
1795 enable_xaudio2_5
1796 enable_xaudio2_6
1797 enable_xaudio2_7
1798 enable_xaudio2_8
1799 enable_xaudio2_9
1800 enable_xinput1_1
1801 enable_xinput1_2
1802 enable_xinput1_3
1803 enable_xinput1_4
1804 enable_xinput9_1_0
1805 enable_xmllite
1806 enable_xolehlp
1807 enable_xpsprint
1808 enable_xpssvcs
1809 enable_fonts
1810 enable_include
1811 enable_adsiid
1812 enable_dmoguids
1813 enable_dxerr8
1814 enable_dxerr9
1815 enable_dxguid
1816 enable_faudio
1817 enable_gsm
1818 enable_jpeg
1819 enable_jxr
1820 enable_lcms2
1821 enable_mfuuid
1822 enable_mpg123
1823 enable_png
1824 enable_strmbase
1825 enable_strmiids
1826 enable_tiff
1827 enable_uuid
1828 enable_wbemuuid
1829 enable_wine
1830 enable_wmcodecdspuuid
1831 enable_xml2
1832 enable_xslt
1833 enable_zlib
1834 enable_loader
1835 enable_nls
1836 enable_po
1837 enable_arp
1838 enable_aspnet_regiis
1839 enable_attrib
1840 enable_cabarc
1841 enable_cacls
1842 enable_chcp_com
1843 enable_clock
1844 enable_cmd
1845 enable_conhost
1846 enable_control
1847 enable_cscript
1848 enable_dism
1849 enable_dplaysvr
1850 enable_dpnsvr
1851 enable_dpvsetup
1852 enable_dxdiag
1853 enable_eject
1854 enable_expand
1855 enable_explorer
1856 enable_extrac32
1857 enable_fc
1858 enable_find
1859 enable_findstr
1860 enable_fsutil
1861 enable_hh
1862 enable_hostname
1863 enable_icacls
1864 enable_icinfo
1865 enable_iexplore
1866 enable_ipconfig
1867 enable_lodctr
1868 enable_mofcomp
1869 enable_mshta
1870 enable_msidb
1871 enable_msiexec
1872 enable_msinfo32
1873 enable_net
1874 enable_netsh
1875 enable_netstat
1876 enable_ngen
1877 enable_notepad
1878 enable_oleview
1879 enable_ping
1880 enable_plugplay
1881 enable_powershell
1882 enable_presentationfontcache
1883 enable_progman
1884 enable_reg
1885 enable_regasm
1886 enable_regedit
1887 enable_regini
1888 enable_regsvcs
1889 enable_regsvr32
1890 enable_robocopy
1891 enable_rpcss
1892 enable_rundll32
1893 enable_sc
1894 enable_schtasks
1895 enable_sdbinst
1896 enable_secedit
1897 enable_servicemodelreg
1898 enable_services
1899 enable_shutdown
1900 enable_spoolsv
1901 enable_start
1902 enable_subst
1903 enable_svchost
1904 enable_systeminfo
1905 enable_taskkill
1906 enable_tasklist
1907 enable_taskmgr
1908 enable_termsv
1909 enable_uninstaller
1910 enable_unlodctr
1911 enable_view
1912 enable_wevtutil
1913 enable_where
1914 enable_whoami
1915 enable_wineboot
1916 enable_winebrowser
1917 enable_winecfg
1918 enable_wineconsole
1919 enable_winedbg
1920 enable_winedevice
1921 enable_winefile
1922 enable_winemenubuilder
1923 enable_winemine
1924 enable_winemsibuilder
1925 enable_winepath
1926 enable_winetest
1927 enable_winhlp32
1928 enable_winmgmt
1929 enable_winver
1930 enable_wmic
1931 enable_wmplayer
1932 enable_wordpad
1933 enable_write
1934 enable_wscript
1935 enable_wuauserv
1936 enable_wusa
1937 enable_xcopy
1938 enable_server
1939 enable_tools
1940 enable_sfnt2fon
1941 enable_widl
1942 enable_winebuild
1943 enable_winedump
1944 enable_winegcc
1945 enable_winemaker
1946 enable_wmc
1947 enable_wrc
1949 ac_precious_vars='build_alias
1950 host_alias
1951 target_alias
1953 CFLAGS
1954 LDFLAGS
1955 LIBS
1956 CPPFLAGS
1958 CXXFLAGS
1960 OBJC
1961 OBJCFLAGS
1962 FAUDIO_PE_CFLAGS
1963 FAUDIO_PE_LIBS
1964 GSM_PE_CFLAGS
1965 GSM_PE_LIBS
1966 JPEG_PE_CFLAGS
1967 JPEG_PE_LIBS
1968 JXR_PE_CFLAGS
1969 JXR_PE_LIBS
1970 LCMS2_PE_CFLAGS
1971 LCMS2_PE_LIBS
1972 MPG123_PE_CFLAGS
1973 MPG123_PE_LIBS
1974 PNG_PE_CFLAGS
1975 PNG_PE_LIBS
1976 TIFF_PE_CFLAGS
1977 TIFF_PE_LIBS
1978 XML2_PE_CFLAGS
1979 XML2_PE_LIBS
1980 XSLT_PE_CFLAGS
1981 XSLT_PE_LIBS
1982 ZLIB_PE_CFLAGS
1983 ZLIB_PE_LIBS
1984 XMKMF
1986 INOTIFY_CFLAGS
1987 INOTIFY_LIBS
1988 DBUS_CFLAGS
1989 DBUS_LIBS
1990 GNUTLS_CFLAGS
1991 GNUTLS_LIBS
1992 SANE_CFLAGS
1993 SANE_LIBS
1994 USB_CFLAGS
1995 USB_LIBS
1996 GPHOTO2_CFLAGS
1997 GPHOTO2_LIBS
1998 GPHOTO2_PORT_CFLAGS
1999 GPHOTO2_PORT_LIBS
2000 FREETYPE_CFLAGS
2001 FREETYPE_LIBS
2002 PULSE_CFLAGS
2003 PULSE_LIBS
2004 GSTREAMER_CFLAGS
2005 GSTREAMER_LIBS
2006 UDEV_CFLAGS
2007 UDEV_LIBS
2008 UNWIND_CFLAGS
2009 UNWIND_LIBS
2010 SDL2_CFLAGS
2011 SDL2_LIBS
2012 CAPI20_CFLAGS
2013 CAPI20_LIBS
2014 CUPS_CFLAGS
2015 CUPS_LIBS
2016 FONTCONFIG_CFLAGS
2017 FONTCONFIG_LIBS
2018 KRB5_CFLAGS
2019 KRB5_LIBS
2020 GSSAPI_CFLAGS
2021 GSSAPI_LIBS
2022 NETAPI_CFLAGS
2023 NETAPI_LIBS
2024 VKD3D_CFLAGS
2025 VKD3D_LIBS
2026 VKD3D_SHADER_CFLAGS
2027 VKD3D_SHADER_LIBS
2028 LDAP_CFLAGS
2029 LDAP_LIBS'
2032 # Initialize some variables set by options.
2033 ac_init_help=
2034 ac_init_version=false
2035 ac_unrecognized_opts=
2036 ac_unrecognized_sep=
2037 # The variables have the same names as the options, with
2038 # dashes changed to underlines.
2039 cache_file=/dev/null
2040 exec_prefix=NONE
2041 no_create=
2042 no_recursion=
2043 prefix=NONE
2044 program_prefix=NONE
2045 program_suffix=NONE
2046 program_transform_name=s,x,x,
2047 silent=
2048 site=
2049 srcdir=
2050 verbose=
2051 x_includes=NONE
2052 x_libraries=NONE
2054 # Installation directory options.
2055 # These are left unexpanded so users can "make install exec_prefix=/foo"
2056 # and all the variables that are supposed to be based on exec_prefix
2057 # by default will actually change.
2058 # Use braces instead of parens because sh, perl, etc. also accept them.
2059 # (The list follows the same order as the GNU Coding Standards.)
2060 bindir='${exec_prefix}/bin'
2061 sbindir='${exec_prefix}/sbin'
2062 libexecdir='${exec_prefix}/libexec'
2063 datarootdir='${prefix}/share'
2064 datadir='${datarootdir}'
2065 sysconfdir='${prefix}/etc'
2066 sharedstatedir='${prefix}/com'
2067 localstatedir='${prefix}/var'
2068 runstatedir='${localstatedir}/run'
2069 includedir='${prefix}/include'
2070 oldincludedir='/usr/include'
2071 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2072 infodir='${datarootdir}/info'
2073 htmldir='${docdir}'
2074 dvidir='${docdir}'
2075 pdfdir='${docdir}'
2076 psdir='${docdir}'
2077 libdir='${exec_prefix}/lib'
2078 localedir='${datarootdir}/locale'
2079 mandir='${datarootdir}/man'
2081 ac_prev=
2082 ac_dashdash=
2083 for ac_option
2085 # If the previous option needs an argument, assign it.
2086 if test -n "$ac_prev"; then
2087 eval $ac_prev=\$ac_option
2088 ac_prev=
2089 continue
2092 case $ac_option in
2093 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2094 *=) ac_optarg= ;;
2095 *) ac_optarg=yes ;;
2096 esac
2098 case $ac_dashdash$ac_option in
2100 ac_dashdash=yes ;;
2102 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2103 ac_prev=bindir ;;
2104 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2105 bindir=$ac_optarg ;;
2107 -build | --build | --buil | --bui | --bu)
2108 ac_prev=build_alias ;;
2109 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2110 build_alias=$ac_optarg ;;
2112 -cache-file | --cache-file | --cache-fil | --cache-fi \
2113 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2114 ac_prev=cache_file ;;
2115 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2116 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2117 cache_file=$ac_optarg ;;
2119 --config-cache | -C)
2120 cache_file=config.cache ;;
2122 -datadir | --datadir | --datadi | --datad)
2123 ac_prev=datadir ;;
2124 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2125 datadir=$ac_optarg ;;
2127 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2128 | --dataroo | --dataro | --datar)
2129 ac_prev=datarootdir ;;
2130 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2131 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2132 datarootdir=$ac_optarg ;;
2134 -disable-* | --disable-*)
2135 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2138 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2139 ac_useropt_orig=$ac_useropt
2140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2143 "enable_$ac_useropt"
2144 "*) ;;
2145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2146 ac_unrecognized_sep=', ';;
2147 esac
2148 eval enable_$ac_useropt=no ;;
2150 -docdir | --docdir | --docdi | --doc | --do)
2151 ac_prev=docdir ;;
2152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2153 docdir=$ac_optarg ;;
2155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2156 ac_prev=dvidir ;;
2157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2158 dvidir=$ac_optarg ;;
2160 -enable-* | --enable-*)
2161 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2162 # Reject names that are not valid shell variable names.
2163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2164 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2165 ac_useropt_orig=$ac_useropt
2166 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2167 case $ac_user_opts in
2169 "enable_$ac_useropt"
2170 "*) ;;
2171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2172 ac_unrecognized_sep=', ';;
2173 esac
2174 eval enable_$ac_useropt=\$ac_optarg ;;
2176 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2177 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2178 | --exec | --exe | --ex)
2179 ac_prev=exec_prefix ;;
2180 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2181 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2182 | --exec=* | --exe=* | --ex=*)
2183 exec_prefix=$ac_optarg ;;
2185 -gas | --gas | --ga | --g)
2186 # Obsolete; use --with-gas.
2187 with_gas=yes ;;
2189 -help | --help | --hel | --he | -h)
2190 ac_init_help=long ;;
2191 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2192 ac_init_help=recursive ;;
2193 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2194 ac_init_help=short ;;
2196 -host | --host | --hos | --ho)
2197 ac_prev=host_alias ;;
2198 -host=* | --host=* | --hos=* | --ho=*)
2199 host_alias=$ac_optarg ;;
2201 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2202 ac_prev=htmldir ;;
2203 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2204 | --ht=*)
2205 htmldir=$ac_optarg ;;
2207 -includedir | --includedir | --includedi | --included | --include \
2208 | --includ | --inclu | --incl | --inc)
2209 ac_prev=includedir ;;
2210 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2211 | --includ=* | --inclu=* | --incl=* | --inc=*)
2212 includedir=$ac_optarg ;;
2214 -infodir | --infodir | --infodi | --infod | --info | --inf)
2215 ac_prev=infodir ;;
2216 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2217 infodir=$ac_optarg ;;
2219 -libdir | --libdir | --libdi | --libd)
2220 ac_prev=libdir ;;
2221 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2222 libdir=$ac_optarg ;;
2224 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2225 | --libexe | --libex | --libe)
2226 ac_prev=libexecdir ;;
2227 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2228 | --libexe=* | --libex=* | --libe=*)
2229 libexecdir=$ac_optarg ;;
2231 -localedir | --localedir | --localedi | --localed | --locale)
2232 ac_prev=localedir ;;
2233 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2234 localedir=$ac_optarg ;;
2236 -localstatedir | --localstatedir | --localstatedi | --localstated \
2237 | --localstate | --localstat | --localsta | --localst | --locals)
2238 ac_prev=localstatedir ;;
2239 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2240 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2241 localstatedir=$ac_optarg ;;
2243 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2244 ac_prev=mandir ;;
2245 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2246 mandir=$ac_optarg ;;
2248 -nfp | --nfp | --nf)
2249 # Obsolete; use --without-fp.
2250 with_fp=no ;;
2252 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2253 | --no-cr | --no-c | -n)
2254 no_create=yes ;;
2256 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2257 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2258 no_recursion=yes ;;
2260 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2261 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2262 | --oldin | --oldi | --old | --ol | --o)
2263 ac_prev=oldincludedir ;;
2264 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2265 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2266 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2267 oldincludedir=$ac_optarg ;;
2269 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2270 ac_prev=prefix ;;
2271 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2272 prefix=$ac_optarg ;;
2274 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2275 | --program-pre | --program-pr | --program-p)
2276 ac_prev=program_prefix ;;
2277 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2278 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2279 program_prefix=$ac_optarg ;;
2281 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2282 | --program-suf | --program-su | --program-s)
2283 ac_prev=program_suffix ;;
2284 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2285 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2286 program_suffix=$ac_optarg ;;
2288 -program-transform-name | --program-transform-name \
2289 | --program-transform-nam | --program-transform-na \
2290 | --program-transform-n | --program-transform- \
2291 | --program-transform | --program-transfor \
2292 | --program-transfo | --program-transf \
2293 | --program-trans | --program-tran \
2294 | --progr-tra | --program-tr | --program-t)
2295 ac_prev=program_transform_name ;;
2296 -program-transform-name=* | --program-transform-name=* \
2297 | --program-transform-nam=* | --program-transform-na=* \
2298 | --program-transform-n=* | --program-transform-=* \
2299 | --program-transform=* | --program-transfor=* \
2300 | --program-transfo=* | --program-transf=* \
2301 | --program-trans=* | --program-tran=* \
2302 | --progr-tra=* | --program-tr=* | --program-t=*)
2303 program_transform_name=$ac_optarg ;;
2305 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2306 ac_prev=pdfdir ;;
2307 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2308 pdfdir=$ac_optarg ;;
2310 -psdir | --psdir | --psdi | --psd | --ps)
2311 ac_prev=psdir ;;
2312 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2313 psdir=$ac_optarg ;;
2315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316 | -silent | --silent | --silen | --sile | --sil)
2317 silent=yes ;;
2319 -runstatedir | --runstatedir | --runstatedi | --runstated \
2320 | --runstate | --runstat | --runsta | --runst | --runs \
2321 | --run | --ru | --r)
2322 ac_prev=runstatedir ;;
2323 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2324 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2325 | --run=* | --ru=* | --r=*)
2326 runstatedir=$ac_optarg ;;
2328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2329 ac_prev=sbindir ;;
2330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2331 | --sbi=* | --sb=*)
2332 sbindir=$ac_optarg ;;
2334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2336 | --sharedst | --shareds | --shared | --share | --shar \
2337 | --sha | --sh)
2338 ac_prev=sharedstatedir ;;
2339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2342 | --sha=* | --sh=*)
2343 sharedstatedir=$ac_optarg ;;
2345 -site | --site | --sit)
2346 ac_prev=site ;;
2347 -site=* | --site=* | --sit=*)
2348 site=$ac_optarg ;;
2350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2351 ac_prev=srcdir ;;
2352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2353 srcdir=$ac_optarg ;;
2355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2356 | --syscon | --sysco | --sysc | --sys | --sy)
2357 ac_prev=sysconfdir ;;
2358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2360 sysconfdir=$ac_optarg ;;
2362 -target | --target | --targe | --targ | --tar | --ta | --t)
2363 ac_prev=target_alias ;;
2364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2365 target_alias=$ac_optarg ;;
2367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2368 verbose=yes ;;
2370 -version | --version | --versio | --versi | --vers | -V)
2371 ac_init_version=: ;;
2373 -with-* | --with-*)
2374 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2375 # Reject names that are not valid shell variable names.
2376 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2377 as_fn_error $? "invalid package name: \`$ac_useropt'"
2378 ac_useropt_orig=$ac_useropt
2379 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2380 case $ac_user_opts in
2382 "with_$ac_useropt"
2383 "*) ;;
2384 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2385 ac_unrecognized_sep=', ';;
2386 esac
2387 eval with_$ac_useropt=\$ac_optarg ;;
2389 -without-* | --without-*)
2390 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2391 # Reject names that are not valid shell variable names.
2392 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2393 as_fn_error $? "invalid package name: \`$ac_useropt'"
2394 ac_useropt_orig=$ac_useropt
2395 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2396 case $ac_user_opts in
2398 "with_$ac_useropt"
2399 "*) ;;
2400 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2401 ac_unrecognized_sep=', ';;
2402 esac
2403 eval with_$ac_useropt=no ;;
2405 --x)
2406 # Obsolete; use --with-x.
2407 with_x=yes ;;
2409 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2410 | --x-incl | --x-inc | --x-in | --x-i)
2411 ac_prev=x_includes ;;
2412 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2413 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2414 x_includes=$ac_optarg ;;
2416 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2417 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2418 ac_prev=x_libraries ;;
2419 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2420 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2421 x_libraries=$ac_optarg ;;
2423 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2424 Try \`$0 --help' for more information"
2427 *=*)
2428 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2429 # Reject names that are not valid shell variable names.
2430 case $ac_envvar in #(
2431 '' | [0-9]* | *[!_$as_cr_alnum]* )
2432 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2433 esac
2434 eval $ac_envvar=\$ac_optarg
2435 export $ac_envvar ;;
2438 # FIXME: should be removed in autoconf 3.0.
2439 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2440 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2441 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2442 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2445 esac
2446 done
2448 if test -n "$ac_prev"; then
2449 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2450 as_fn_error $? "missing argument to $ac_option"
2453 if test -n "$ac_unrecognized_opts"; then
2454 case $enable_option_checking in
2455 no) ;;
2456 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2457 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2458 esac
2461 # Check all directory arguments for consistency.
2462 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2463 datadir sysconfdir sharedstatedir localstatedir includedir \
2464 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2465 libdir localedir mandir runstatedir
2467 eval ac_val=\$$ac_var
2468 # Remove trailing slashes.
2469 case $ac_val in
2470 */ )
2471 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2472 eval $ac_var=\$ac_val;;
2473 esac
2474 # Be sure to have absolute directory names.
2475 case $ac_val in
2476 [\\/$]* | ?:[\\/]* ) continue;;
2477 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2478 esac
2479 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2480 done
2482 # There might be people who depend on the old broken behavior: `$host'
2483 # used to hold the argument of --host etc.
2484 # FIXME: To remove some day.
2485 build=$build_alias
2486 host=$host_alias
2487 target=$target_alias
2489 # FIXME: To remove some day.
2490 if test "x$host_alias" != x; then
2491 if test "x$build_alias" = x; then
2492 cross_compiling=maybe
2493 elif test "x$build_alias" != "x$host_alias"; then
2494 cross_compiling=yes
2498 ac_tool_prefix=
2499 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2501 test "$silent" = yes && exec 6>/dev/null
2504 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2505 ac_ls_di=`ls -di .` &&
2506 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2507 as_fn_error $? "working directory cannot be determined"
2508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2509 as_fn_error $? "pwd does not report name of working directory"
2512 # Find the source files, if location was not specified.
2513 if test -z "$srcdir"; then
2514 ac_srcdir_defaulted=yes
2515 # Try the directory containing this script, then the parent directory.
2516 ac_confdir=`$as_dirname -- "$as_myself" ||
2517 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2518 X"$as_myself" : 'X\(//\)[^/]' \| \
2519 X"$as_myself" : 'X\(//\)$' \| \
2520 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2521 printf "%s\n" X"$as_myself" |
2522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2523 s//\1/
2526 /^X\(\/\/\)[^/].*/{
2527 s//\1/
2530 /^X\(\/\/\)$/{
2531 s//\1/
2534 /^X\(\/\).*/{
2535 s//\1/
2538 s/.*/./; q'`
2539 srcdir=$ac_confdir
2540 if test ! -r "$srcdir/$ac_unique_file"; then
2541 srcdir=..
2543 else
2544 ac_srcdir_defaulted=no
2546 if test ! -r "$srcdir/$ac_unique_file"; then
2547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2548 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2550 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2551 ac_abs_confdir=`(
2552 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2553 pwd)`
2554 # When building in place, set srcdir=.
2555 if test "$ac_abs_confdir" = "$ac_pwd"; then
2556 srcdir=.
2558 # Remove unnecessary trailing slashes from srcdir.
2559 # Double slashes in file names in object file debugging info
2560 # mess up M-x gdb in Emacs.
2561 case $srcdir in
2562 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2563 esac
2564 for ac_var in $ac_precious_vars; do
2565 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2566 eval ac_env_${ac_var}_value=\$${ac_var}
2567 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2568 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2569 done
2572 # Report the --help message.
2574 if test "$ac_init_help" = "long"; then
2575 # Omit some internal or obsolete options to make the list less imposing.
2576 # This message is too long to be a string in the A/UX 3.1 sh.
2577 cat <<_ACEOF
2578 \`configure' configures Wine 7.1 to adapt to many kinds of systems.
2580 Usage: $0 [OPTION]... [VAR=VALUE]...
2582 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2583 VAR=VALUE. See below for descriptions of some of the useful variables.
2585 Defaults for the options are specified in brackets.
2587 Configuration:
2588 -h, --help display this help and exit
2589 --help=short display options specific to this package
2590 --help=recursive display the short help of all the included packages
2591 -V, --version display version information and exit
2592 -q, --quiet, --silent do not print \`checking ...' messages
2593 --cache-file=FILE cache test results in FILE [disabled]
2594 -C, --config-cache alias for \`--cache-file=config.cache'
2595 -n, --no-create do not create output files
2596 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2598 Installation directories:
2599 --prefix=PREFIX install architecture-independent files in PREFIX
2600 [$ac_default_prefix]
2601 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2602 [PREFIX]
2604 By default, \`make install' will install all the files in
2605 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2606 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2607 for instance \`--prefix=\$HOME'.
2609 For better control, use the options below.
2611 Fine tuning of the installation directories:
2612 --bindir=DIR user executables [EPREFIX/bin]
2613 --sbindir=DIR system admin executables [EPREFIX/sbin]
2614 --libexecdir=DIR program executables [EPREFIX/libexec]
2615 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2616 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2617 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2618 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2619 --libdir=DIR object code libraries [EPREFIX/lib]
2620 --includedir=DIR C header files [PREFIX/include]
2621 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2622 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2623 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2624 --infodir=DIR info documentation [DATAROOTDIR/info]
2625 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2626 --mandir=DIR man documentation [DATAROOTDIR/man]
2627 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2628 --htmldir=DIR html documentation [DOCDIR]
2629 --dvidir=DIR dvi documentation [DOCDIR]
2630 --pdfdir=DIR pdf documentation [DOCDIR]
2631 --psdir=DIR ps documentation [DOCDIR]
2632 _ACEOF
2634 cat <<\_ACEOF
2636 X features:
2637 --x-includes=DIR X include files are in DIR
2638 --x-libraries=DIR X library files are in DIR
2640 System types:
2641 --build=BUILD configure for building on BUILD [guessed]
2642 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2643 _ACEOF
2646 if test -n "$ac_init_help"; then
2647 case $ac_init_help in
2648 short | recursive ) echo "Configuration of Wine 7.1:";;
2649 esac
2650 cat <<\_ACEOF
2652 Optional Features:
2653 --disable-option-checking ignore unrecognized --enable/--with options
2654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2656 --disable-win16 do not include Win16 support
2657 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2658 binaries)
2659 --disable-tests do not build the regression tests
2660 --enable-build-id include .buildid section in output objects
2661 --enable-maintainer-mode
2662 enable maintainer-specific build rules
2663 --enable-silent-rules use silent build rules (override: "make V=1")
2664 --enable-werror treat compilation warnings as errors
2665 --disable-largefile omit support for large files
2667 Optional Packages:
2668 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2669 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2670 --without-alsa do not use the Alsa sound support
2671 --without-capi do not use CAPI (ISDN support)
2672 --without-coreaudio do not use the CoreAudio sound support
2673 --without-cups do not use CUPS
2674 --without-dbus do not use DBus (dynamic device support)
2675 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2676 --without-fontconfig do not use fontconfig
2677 --without-freetype do not use the FreeType library
2678 --without-gettext do not use gettext
2679 --with-gettextpo use the GetTextPO library to rebuild po files
2680 --without-gphoto do not use gphoto (Digital Camera support)
2681 --without-gnutls do not use GnuTLS (schannel support)
2682 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2683 --without-gstreamer do not use GStreamer (codecs support)
2684 --without-inotify do not use inotify (filesystem change notifications)
2685 --without-krb5 do not use krb5 (Kerberos)
2686 --without-ldap do not use LDAP
2687 --without-mingw do not use the MinGW cross-compiler
2688 --without-netapi do not use the Samba NetAPI library
2689 --without-openal do not use OpenAL
2690 --without-opencl do not use OpenCL
2691 --without-opengl do not use OpenGL
2692 --without-osmesa do not use the OSMesa library
2693 --without-oss do not use the OSS sound support
2694 --without-pcap do not use the Packet Capture library
2695 --without-pthread do not use the pthread library
2696 --without-pulse do not use PulseAudio sound support
2697 --without-sane do not use SANE (scanner support)
2698 --without-sdl do not use SDL
2699 --without-udev do not use udev (plug and play support)
2700 --without-unwind do not use the libunwind library (exception
2701 handling)
2702 --without-usb do not use the libusb library
2703 --without-v4l2 do not use v4l2 (video capture)
2704 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2705 --without-vulkan do not use Vulkan
2706 --without-xcomposite do not use the Xcomposite extension
2707 --without-xcursor do not use the Xcursor extension
2708 --without-xfixes do not use Xfixes for clipboard change notifications
2709 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2710 --without-xinput do not use the Xinput extension
2711 --without-xinput2 do not use the Xinput 2 extension
2712 --without-xrandr do not use Xrandr (multi-monitor support)
2713 --without-xrender do not use the Xrender extension
2714 --without-xshape do not use the Xshape extension
2715 --without-xshm do not use XShm (shared memory extension)
2716 --without-xxf86vm do not use XFree video mode extension
2717 --with-system-dllpath=PATH
2718 load external PE dependencies from colon-separated
2719 path PATH
2720 --with-wine-tools=DIR use Wine tools from directory DIR
2721 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2722 --with-x use the X Window System
2724 Some influential environment variables:
2725 CC C compiler command
2726 CFLAGS C compiler flags
2727 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2728 nonstandard directory <lib dir>
2729 LIBS libraries to pass to the linker, e.g. -l<library>
2730 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2731 you have headers in a nonstandard directory <include dir>
2732 CXX C++ compiler command
2733 CXXFLAGS C++ compiler flags
2734 OBJC Objective C compiler command
2735 OBJCFLAGS Objective C compiler flags
2736 FAUDIO_PE_CFLAGS
2737 C compiler flags for the PE faudio, overriding the bundled
2738 version
2739 FAUDIO_PE_LIBS
2740 Linker flags for the PE faudio, overriding the bundled version
2741 GSM_PE_CFLAGS
2742 C compiler flags for the PE gsm, overriding the bundled version
2743 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2744 JPEG_PE_CFLAGS
2745 C compiler flags for the PE jpeg, overriding the bundled version
2746 JPEG_PE_LIBS
2747 Linker flags for the PE jpeg, overriding the bundled version
2748 JXR_PE_CFLAGS
2749 C compiler flags for the PE jxr, overriding the bundled version
2750 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2751 LCMS2_PE_CFLAGS
2752 C compiler flags for the PE lcms2, overriding the bundled
2753 version
2754 LCMS2_PE_LIBS
2755 Linker flags for the PE lcms2, overriding the bundled version
2756 MPG123_PE_CFLAGS
2757 C compiler flags for the PE mpg123, overriding the bundled
2758 version
2759 MPG123_PE_LIBS
2760 Linker flags for the PE mpg123, overriding the bundled version
2761 PNG_PE_CFLAGS
2762 C compiler flags for the PE png, overriding the bundled version
2763 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2764 TIFF_PE_CFLAGS
2765 C compiler flags for the PE tiff, overriding the bundled version
2766 TIFF_PE_LIBS
2767 Linker flags for the PE tiff, overriding the bundled version
2768 XML2_PE_CFLAGS
2769 C compiler flags for the PE xml2, overriding the bundled version
2770 XML2_PE_LIBS
2771 Linker flags for the PE xml2, overriding the bundled version
2772 XSLT_PE_CFLAGS
2773 C compiler flags for the PE xslt, overriding the bundled version
2774 XSLT_PE_LIBS
2775 Linker flags for the PE xslt, overriding the bundled version
2776 ZLIB_PE_CFLAGS
2777 C compiler flags for the PE zlib, overriding the bundled version
2778 ZLIB_PE_LIBS
2779 Linker flags for the PE zlib, overriding the bundled version
2780 XMKMF Path to xmkmf, Makefile generator for X Window System
2781 CPP C preprocessor
2782 INOTIFY_CFLAGS
2783 C compiler flags for libinotify, overriding pkg-config
2784 INOTIFY_LIBS
2785 Linker flags for libinotify, overriding pkg-config
2786 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2787 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2788 GNUTLS_CFLAGS
2789 C compiler flags for gnutls, overriding pkg-config
2790 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2791 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2792 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2793 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2794 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2795 GPHOTO2_CFLAGS
2796 C compiler flags for libgphoto2, overriding pkg-config
2797 GPHOTO2_LIBS
2798 Linker flags for libgphoto2, overriding pkg-config
2799 GPHOTO2_PORT_CFLAGS
2800 C compiler flags for libgphoto2_port, overriding pkg-config
2801 GPHOTO2_PORT_LIBS
2802 Linker flags for libgphoto2_port, overriding pkg-config
2803 FREETYPE_CFLAGS
2804 C compiler flags for freetype2, overriding pkg-config
2805 FREETYPE_LIBS
2806 Linker flags for freetype2, overriding pkg-config
2807 PULSE_CFLAGS
2808 C compiler flags for libpulse, overriding pkg-config
2809 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2810 GSTREAMER_CFLAGS
2811 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2812 gstreamer-audio-1.0, overriding pkg-config
2813 GSTREAMER_LIBS
2814 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2815 gstreamer-audio-1.0, overriding pkg-config
2816 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2817 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2818 UNWIND_CFLAGS
2819 C compiler flags for libunwind, overriding pkg-config
2820 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2821 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2822 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2823 CAPI20_CFLAGS
2824 C compiler flags for capi20, overriding pkg-config
2825 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2826 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2827 CUPS_LIBS Linker flags for cups, overriding pkg-config
2828 FONTCONFIG_CFLAGS
2829 C compiler flags for fontconfig, overriding pkg-config
2830 FONTCONFIG_LIBS
2831 Linker flags for fontconfig, overriding pkg-config
2832 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2833 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2834 GSSAPI_CFLAGS
2835 C compiler flags for krb5-gssapi, overriding pkg-config
2836 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2837 NETAPI_CFLAGS
2838 C compiler flags for netapi, overriding pkg-config
2839 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2840 VKD3D_CFLAGS
2841 C compiler flags for libvkd3d, overriding pkg-config
2842 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2843 VKD3D_SHADER_CFLAGS
2844 C compiler flags for libvkd3d-shader, overriding pkg-config
2845 VKD3D_SHADER_LIBS
2846 Linker flags for libvkd3d-shader, overriding pkg-config
2847 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2848 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2850 Use these variables to override the choices made by `configure' or to help
2851 it to find libraries and programs with nonstandard names/locations.
2853 Report bugs to <wine-devel@winehq.org>.
2854 Wine home page: <https://www.winehq.org>.
2855 _ACEOF
2856 ac_status=$?
2859 if test "$ac_init_help" = "recursive"; then
2860 # If there are subdirs, report their specific --help.
2861 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2862 test -d "$ac_dir" ||
2863 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2864 continue
2865 ac_builddir=.
2867 case "$ac_dir" in
2868 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2870 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2871 # A ".." for each directory in $ac_dir_suffix.
2872 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2873 case $ac_top_builddir_sub in
2874 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2875 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2876 esac ;;
2877 esac
2878 ac_abs_top_builddir=$ac_pwd
2879 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2880 # for backward compatibility:
2881 ac_top_builddir=$ac_top_build_prefix
2883 case $srcdir in
2884 .) # We are building in place.
2885 ac_srcdir=.
2886 ac_top_srcdir=$ac_top_builddir_sub
2887 ac_abs_top_srcdir=$ac_pwd ;;
2888 [\\/]* | ?:[\\/]* ) # Absolute name.
2889 ac_srcdir=$srcdir$ac_dir_suffix;
2890 ac_top_srcdir=$srcdir
2891 ac_abs_top_srcdir=$srcdir ;;
2892 *) # Relative name.
2893 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2894 ac_top_srcdir=$ac_top_build_prefix$srcdir
2895 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2896 esac
2897 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2899 cd "$ac_dir" || { ac_status=$?; continue; }
2900 # Check for configure.gnu first; this name is used for a wrapper for
2901 # Metaconfig's "Configure" on case-insensitive file systems.
2902 if test -f "$ac_srcdir/configure.gnu"; then
2903 echo &&
2904 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2905 elif test -f "$ac_srcdir/configure"; then
2906 echo &&
2907 $SHELL "$ac_srcdir/configure" --help=recursive
2908 else
2909 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2910 fi || ac_status=$?
2911 cd "$ac_pwd" || { ac_status=$?; break; }
2912 done
2915 test -n "$ac_init_help" && exit $ac_status
2916 if $ac_init_version; then
2917 cat <<\_ACEOF
2918 Wine configure 7.1
2919 generated by GNU Autoconf 2.71
2921 Copyright (C) 2021 Free Software Foundation, Inc.
2922 This configure script is free software; the Free Software Foundation
2923 gives unlimited permission to copy, distribute and modify it.
2924 _ACEOF
2925 exit
2928 ## ------------------------ ##
2929 ## Autoconf initialization. ##
2930 ## ------------------------ ##
2932 # ac_fn_c_try_compile LINENO
2933 # --------------------------
2934 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2935 ac_fn_c_try_compile ()
2937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2938 rm -f conftest.$ac_objext conftest.beam
2939 if { { ac_try="$ac_compile"
2940 case "(($ac_try" in
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2943 esac
2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2945 printf "%s\n" "$ac_try_echo"; } >&5
2946 (eval "$ac_compile") 2>conftest.err
2947 ac_status=$?
2948 if test -s conftest.err; then
2949 grep -v '^ *+' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2951 mv -f conftest.er1 conftest.err
2953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; } && {
2955 test -z "$ac_c_werror_flag" ||
2956 test ! -s conftest.err
2957 } && test -s conftest.$ac_objext
2958 then :
2959 ac_retval=0
2960 else $as_nop
2961 printf "%s\n" "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 ac_retval=1
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2967 as_fn_set_status $ac_retval
2969 } # ac_fn_c_try_compile
2971 # ac_fn_cxx_try_compile LINENO
2972 # ----------------------------
2973 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2974 ac_fn_cxx_try_compile ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 rm -f conftest.$ac_objext conftest.beam
2978 if { { ac_try="$ac_compile"
2979 case "(($ac_try" in
2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2982 esac
2983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 printf "%s\n" "$ac_try_echo"; } >&5
2985 (eval "$ac_compile") 2>conftest.err
2986 ac_status=$?
2987 if test -s conftest.err; then
2988 grep -v '^ *+' conftest.err >conftest.er1
2989 cat conftest.er1 >&5
2990 mv -f conftest.er1 conftest.err
2992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; } && {
2994 test -z "$ac_cxx_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext
2997 then :
2998 ac_retval=0
2999 else $as_nop
3000 printf "%s\n" "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 ac_retval=1
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 as_fn_set_status $ac_retval
3008 } # ac_fn_cxx_try_compile
3010 # ac_fn_c_try_link LINENO
3011 # -----------------------
3012 # Try to link conftest.$ac_ext, and return whether this succeeded.
3013 ac_fn_c_try_link ()
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3017 if { { ac_try="$ac_link"
3018 case "(($ac_try" in
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3021 esac
3022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 printf "%s\n" "$ac_try_echo"; } >&5
3024 (eval "$ac_link") 2>conftest.err
3025 ac_status=$?
3026 if test -s conftest.err; then
3027 grep -v '^ *+' conftest.err >conftest.er1
3028 cat conftest.er1 >&5
3029 mv -f conftest.er1 conftest.err
3031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest$ac_exeext && {
3036 test "$cross_compiling" = yes ||
3037 test -x conftest$ac_exeext
3039 then :
3040 ac_retval=0
3041 else $as_nop
3042 printf "%s\n" "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3045 ac_retval=1
3047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3049 # interfere with the next link command; also delete a directory that is
3050 # left behind by Apple's compiler. We do this before executing the actions.
3051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3053 as_fn_set_status $ac_retval
3055 } # ac_fn_c_try_link
3057 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3058 # -------------------------------------------------------
3059 # Tests whether HEADER exists and can be compiled using the include files in
3060 # INCLUDES, setting the cache variable VAR accordingly.
3061 ac_fn_c_check_header_compile ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3065 printf %s "checking for $2... " >&6; }
3066 if eval test \${$3+y}
3067 then :
3068 printf %s "(cached) " >&6
3069 else $as_nop
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3073 #include <$2>
3074 _ACEOF
3075 if ac_fn_c_try_compile "$LINENO"
3076 then :
3077 eval "$3=yes"
3078 else $as_nop
3079 eval "$3=no"
3081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3083 eval ac_res=\$$3
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3085 printf "%s\n" "$ac_res" >&6; }
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3088 } # ac_fn_c_check_header_compile
3090 # ac_fn_objc_try_compile LINENO
3091 # -----------------------------
3092 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3093 ac_fn_objc_try_compile ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 rm -f conftest.$ac_objext conftest.beam
3097 if { { ac_try="$ac_compile"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 printf "%s\n" "$ac_try_echo"; } >&5
3104 (eval "$ac_compile") 2>conftest.err
3105 ac_status=$?
3106 if test -s conftest.err; then
3107 grep -v '^ *+' conftest.err >conftest.er1
3108 cat conftest.er1 >&5
3109 mv -f conftest.er1 conftest.err
3111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; } && {
3113 test -z "$ac_objc_werror_flag" ||
3114 test ! -s conftest.err
3115 } && test -s conftest.$ac_objext
3116 then :
3117 ac_retval=0
3118 else $as_nop
3119 printf "%s\n" "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3122 ac_retval=1
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3125 as_fn_set_status $ac_retval
3127 } # ac_fn_objc_try_compile
3129 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3130 # ----------------------------------------------------------
3131 # Tests whether HEADER exists and can be compiled using the include files in
3132 # INCLUDES, setting the cache variable VAR accordingly.
3133 ac_fn_objc_check_header_compile ()
3135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3137 printf %s "checking for $2... " >&6; }
3138 if eval test \${$3+y}
3139 then :
3140 printf %s "(cached) " >&6
3141 else $as_nop
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_objc_try_compile "$LINENO"
3148 then :
3149 eval "$3=yes"
3150 else $as_nop
3151 eval "$3=no"
3153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3155 eval ac_res=\$$3
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 printf "%s\n" "$ac_res" >&6; }
3158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3160 } # ac_fn_objc_check_header_compile
3162 # ac_fn_c_check_func LINENO FUNC VAR
3163 # ----------------------------------
3164 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3165 ac_fn_c_check_func ()
3167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3169 printf %s "checking for $2... " >&6; }
3170 if eval test \${$3+y}
3171 then :
3172 printf %s "(cached) " >&6
3173 else $as_nop
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3176 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3178 #define $2 innocuous_$2
3180 /* System header to define __stub macros and hopefully few prototypes,
3181 which can conflict with char $2 (); below. */
3183 #include <limits.h>
3184 #undef $2
3186 /* Override any GCC internal prototype to avoid an error.
3187 Use char because int might match the return type of a GCC
3188 builtin and then its argument prototype would still apply. */
3189 #ifdef __cplusplus
3190 extern "C"
3191 #endif
3192 char $2 ();
3193 /* The GNU C library defines this for functions which it implements
3194 to always fail with ENOSYS. Some functions are actually named
3195 something starting with __ and the normal name is an alias. */
3196 #if defined __stub_$2 || defined __stub___$2
3197 choke me
3198 #endif
3201 main (void)
3203 return $2 ();
3205 return 0;
3207 _ACEOF
3208 if ac_fn_c_try_link "$LINENO"
3209 then :
3210 eval "$3=yes"
3211 else $as_nop
3212 eval "$3=no"
3214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3215 conftest$ac_exeext conftest.$ac_ext
3217 eval ac_res=\$$3
3218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3219 printf "%s\n" "$ac_res" >&6; }
3220 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3222 } # ac_fn_c_check_func
3224 # ac_fn_c_try_cpp LINENO
3225 # ----------------------
3226 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3227 ac_fn_c_try_cpp ()
3229 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3230 if { { ac_try="$ac_cpp conftest.$ac_ext"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 printf "%s\n" "$ac_try_echo"; } >&5
3237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3238 ac_status=$?
3239 if test -s conftest.err; then
3240 grep -v '^ *+' conftest.err >conftest.er1
3241 cat conftest.er1 >&5
3242 mv -f conftest.er1 conftest.err
3244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; } > conftest.i && {
3246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3247 test ! -s conftest.err
3249 then :
3250 ac_retval=0
3251 else $as_nop
3252 printf "%s\n" "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 ac_retval=1
3257 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3258 as_fn_set_status $ac_retval
3260 } # ac_fn_c_try_cpp
3262 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3263 # ----------------------------------------------------
3264 # Tries to find if the field MEMBER exists in type AGGR, after including
3265 # INCLUDES, setting cache variable VAR accordingly.
3266 ac_fn_c_check_member ()
3268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3270 printf %s "checking for $2.$3... " >&6; }
3271 if eval test \${$4+y}
3272 then :
3273 printf %s "(cached) " >&6
3274 else $as_nop
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main (void)
3281 static $2 ac_aggr;
3282 if (ac_aggr.$3)
3283 return 0;
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"
3289 then :
3290 eval "$4=yes"
3291 else $as_nop
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3296 main (void)
3298 static $2 ac_aggr;
3299 if (sizeof ac_aggr.$3)
3300 return 0;
3302 return 0;
3304 _ACEOF
3305 if ac_fn_c_try_compile "$LINENO"
3306 then :
3307 eval "$4=yes"
3308 else $as_nop
3309 eval "$4=no"
3311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3315 eval ac_res=\$$4
3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3317 printf "%s\n" "$ac_res" >&6; }
3318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320 } # ac_fn_c_check_member
3322 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3323 # -------------------------------------------
3324 # Tests whether TYPE exists after having included INCLUDES, setting cache
3325 # variable VAR accordingly.
3326 ac_fn_c_check_type ()
3328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3330 printf %s "checking for $2... " >&6; }
3331 if eval test \${$3+y}
3332 then :
3333 printf %s "(cached) " >&6
3334 else $as_nop
3335 eval "$3=no"
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3340 main (void)
3342 if (sizeof ($2))
3343 return 0;
3345 return 0;
3347 _ACEOF
3348 if ac_fn_c_try_compile "$LINENO"
3349 then :
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3354 main (void)
3356 if (sizeof (($2)))
3357 return 0;
3359 return 0;
3361 _ACEOF
3362 if ac_fn_c_try_compile "$LINENO"
3363 then :
3365 else $as_nop
3366 eval "$3=yes"
3368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3372 eval ac_res=\$$3
3373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3374 printf "%s\n" "$ac_res" >&6; }
3375 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3377 } # ac_fn_c_check_type
3378 ac_configure_args_raw=
3379 for ac_arg
3381 case $ac_arg in
3382 *\'*)
3383 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3384 esac
3385 as_fn_append ac_configure_args_raw " '$ac_arg'"
3386 done
3388 case $ac_configure_args_raw in
3389 *$as_nl*)
3390 ac_safe_unquote= ;;
3392 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3393 ac_unsafe_a="$ac_unsafe_z#~"
3394 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3395 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3396 esac
3398 cat >config.log <<_ACEOF
3399 This file contains any messages produced by compilers while
3400 running configure, to aid debugging if configure makes a mistake.
3402 It was created by Wine $as_me 7.1, which was
3403 generated by GNU Autoconf 2.71. Invocation command line was
3405 $ $0$ac_configure_args_raw
3407 _ACEOF
3408 exec 5>>config.log
3410 cat <<_ASUNAME
3411 ## --------- ##
3412 ## Platform. ##
3413 ## --------- ##
3415 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3416 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3417 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3418 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3419 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3421 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3422 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3424 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3425 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3426 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3427 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3428 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3429 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3430 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3432 _ASUNAME
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3437 IFS=$as_save_IFS
3438 case $as_dir in #(((
3439 '') as_dir=./ ;;
3440 */) ;;
3441 *) as_dir=$as_dir/ ;;
3442 esac
3443 printf "%s\n" "PATH: $as_dir"
3444 done
3445 IFS=$as_save_IFS
3447 } >&5
3449 cat >&5 <<_ACEOF
3452 ## ----------- ##
3453 ## Core tests. ##
3454 ## ----------- ##
3456 _ACEOF
3459 # Keep a trace of the command line.
3460 # Strip out --no-create and --no-recursion so they do not pile up.
3461 # Strip out --silent because we don't want to record it for future runs.
3462 # Also quote any args containing shell meta-characters.
3463 # Make two passes to allow for proper duplicate-argument suppression.
3464 ac_configure_args=
3465 ac_configure_args0=
3466 ac_configure_args1=
3467 ac_must_keep_next=false
3468 for ac_pass in 1 2
3470 for ac_arg
3472 case $ac_arg in
3473 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3475 | -silent | --silent | --silen | --sile | --sil)
3476 continue ;;
3477 *\'*)
3478 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3479 esac
3480 case $ac_pass in
3481 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3483 as_fn_append ac_configure_args1 " '$ac_arg'"
3484 if test $ac_must_keep_next = true; then
3485 ac_must_keep_next=false # Got value, back to normal.
3486 else
3487 case $ac_arg in
3488 *=* | --config-cache | -C | -disable-* | --disable-* \
3489 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3490 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3491 | -with-* | --with-* | -without-* | --without-* | --x)
3492 case "$ac_configure_args0 " in
3493 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3494 esac
3496 -* ) ac_must_keep_next=true ;;
3497 esac
3499 as_fn_append ac_configure_args " '$ac_arg'"
3501 esac
3502 done
3503 done
3504 { ac_configure_args0=; unset ac_configure_args0;}
3505 { ac_configure_args1=; unset ac_configure_args1;}
3507 # When interrupted or exit'd, cleanup temporary files, and complete
3508 # config.log. We remove comments because anyway the quotes in there
3509 # would cause problems or look ugly.
3510 # WARNING: Use '\'' to represent an apostrophe within the trap.
3511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3512 trap 'exit_status=$?
3513 # Sanitize IFS.
3514 IFS=" "" $as_nl"
3515 # Save into config.log some information that might help in debugging.
3517 echo
3519 printf "%s\n" "## ---------------- ##
3520 ## Cache variables. ##
3521 ## ---------------- ##"
3522 echo
3523 # The following way of writing the cache mishandles newlines in values,
3525 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3526 eval ac_val=\$$ac_var
3527 case $ac_val in #(
3528 *${as_nl}*)
3529 case $ac_var in #(
3530 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3531 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3532 esac
3533 case $ac_var in #(
3534 _ | IFS | as_nl) ;; #(
3535 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3536 *) { eval $ac_var=; unset $ac_var;} ;;
3537 esac ;;
3538 esac
3539 done
3540 (set) 2>&1 |
3541 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3542 *${as_nl}ac_space=\ *)
3543 sed -n \
3544 "s/'\''/'\''\\\\'\'''\''/g;
3545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3546 ;; #(
3548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3550 esac |
3551 sort
3553 echo
3555 printf "%s\n" "## ----------------- ##
3556 ## Output variables. ##
3557 ## ----------------- ##"
3558 echo
3559 for ac_var in $ac_subst_vars
3561 eval ac_val=\$$ac_var
3562 case $ac_val in
3563 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3564 esac
3565 printf "%s\n" "$ac_var='\''$ac_val'\''"
3566 done | sort
3567 echo
3569 if test -n "$ac_subst_files"; then
3570 printf "%s\n" "## ------------------- ##
3571 ## File substitutions. ##
3572 ## ------------------- ##"
3573 echo
3574 for ac_var in $ac_subst_files
3576 eval ac_val=\$$ac_var
3577 case $ac_val in
3578 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3579 esac
3580 printf "%s\n" "$ac_var='\''$ac_val'\''"
3581 done | sort
3582 echo
3585 if test -s confdefs.h; then
3586 printf "%s\n" "## ----------- ##
3587 ## confdefs.h. ##
3588 ## ----------- ##"
3589 echo
3590 cat confdefs.h
3591 echo
3593 test "$ac_signal" != 0 &&
3594 printf "%s\n" "$as_me: caught signal $ac_signal"
3595 printf "%s\n" "$as_me: exit $exit_status"
3596 } >&5
3597 rm -f core *.core core.conftest.* &&
3598 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3599 exit $exit_status
3601 for ac_signal in 1 2 13 15; do
3602 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3603 done
3604 ac_signal=0
3606 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3607 rm -f -r conftest* confdefs.h
3609 printf "%s\n" "/* confdefs.h */" > confdefs.h
3611 # Predefined preprocessor variables.
3613 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3615 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3617 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3619 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3621 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3623 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3626 # Let the site file select an alternate cache file if it wants to.
3627 # Prefer an explicitly selected file to automatically selected ones.
3628 if test -n "$CONFIG_SITE"; then
3629 ac_site_files="$CONFIG_SITE"
3630 elif test "x$prefix" != xNONE; then
3631 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3632 else
3633 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3636 for ac_site_file in $ac_site_files
3638 case $ac_site_file in #(
3639 */*) :
3640 ;; #(
3641 *) :
3642 ac_site_file=./$ac_site_file ;;
3643 esac
3644 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3646 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3647 sed 's/^/| /' "$ac_site_file" >&5
3648 . "$ac_site_file" \
3649 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3651 as_fn_error $? "failed to load site script $ac_site_file
3652 See \`config.log' for more details" "$LINENO" 5; }
3654 done
3656 if test -r "$cache_file"; then
3657 # Some versions of bash will fail to source /dev/null (special files
3658 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3659 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3661 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3662 case $cache_file in
3663 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3664 *) . "./$cache_file";;
3665 esac
3667 else
3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3669 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3670 >$cache_file
3673 # Test code for whether the C compiler supports C89 (global declarations)
3674 ac_c_conftest_c89_globals='
3675 /* Does the compiler advertise C89 conformance?
3676 Do not test the value of __STDC__, because some compilers set it to 0
3677 while being otherwise adequately conformant. */
3678 #if !defined __STDC__
3679 # error "Compiler does not advertise C89 conformance"
3680 #endif
3682 #include <stddef.h>
3683 #include <stdarg.h>
3684 struct stat;
3685 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3686 struct buf { int x; };
3687 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3688 static char *e (p, i)
3689 char **p;
3690 int i;
3692 return p[i];
3694 static char *f (char * (*g) (char **, int), char **p, ...)
3696 char *s;
3697 va_list v;
3698 va_start (v,p);
3699 s = g (p, va_arg (v,int));
3700 va_end (v);
3701 return s;
3704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3705 function prototypes and stuff, but not \xHH hex character constants.
3706 These do not provoke an error unfortunately, instead are silently treated
3707 as an "x". The following induces an error, until -std is added to get
3708 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3709 array size at least. It is necessary to write \x00 == 0 to get something
3710 that is true only with -std. */
3711 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3713 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3714 inside strings and character constants. */
3715 #define FOO(x) '\''x'\''
3716 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3718 int test (int i, double x);
3719 struct s1 {int (*f) (int a);};
3720 struct s2 {int (*f) (double a);};
3721 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3722 int, int);'
3724 # Test code for whether the C compiler supports C89 (body of main).
3725 ac_c_conftest_c89_main='
3726 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3729 # Test code for whether the C compiler supports C99 (global declarations)
3730 ac_c_conftest_c99_globals='
3731 // Does the compiler advertise C99 conformance?
3732 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3733 # error "Compiler does not advertise C99 conformance"
3734 #endif
3736 #include <stdbool.h>
3737 extern int puts (const char *);
3738 extern int printf (const char *, ...);
3739 extern int dprintf (int, const char *, ...);
3740 extern void *malloc (size_t);
3742 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3743 // dprintf is used instead of fprintf to avoid needing to declare
3744 // FILE and stderr.
3745 #define debug(...) dprintf (2, __VA_ARGS__)
3746 #define showlist(...) puts (#__VA_ARGS__)
3747 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3748 static void
3749 test_varargs_macros (void)
3751 int x = 1234;
3752 int y = 5678;
3753 debug ("Flag");
3754 debug ("X = %d\n", x);
3755 showlist (The first, second, and third items.);
3756 report (x>y, "x is %d but y is %d", x, y);
3759 // Check long long types.
3760 #define BIG64 18446744073709551615ull
3761 #define BIG32 4294967295ul
3762 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3763 #if !BIG_OK
3764 #error "your preprocessor is broken"
3765 #endif
3766 #if BIG_OK
3767 #else
3768 #error "your preprocessor is broken"
3769 #endif
3770 static long long int bignum = -9223372036854775807LL;
3771 static unsigned long long int ubignum = BIG64;
3773 struct incomplete_array
3775 int datasize;
3776 double data[];
3779 struct named_init {
3780 int number;
3781 const wchar_t *name;
3782 double average;
3785 typedef const char *ccp;
3787 static inline int
3788 test_restrict (ccp restrict text)
3790 // See if C++-style comments work.
3791 // Iterate through items via the restricted pointer.
3792 // Also check for declarations in for loops.
3793 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3794 continue;
3795 return 0;
3798 // Check varargs and va_copy.
3799 static bool
3800 test_varargs (const char *format, ...)
3802 va_list args;
3803 va_start (args, format);
3804 va_list args_copy;
3805 va_copy (args_copy, args);
3807 const char *str = "";
3808 int number = 0;
3809 float fnumber = 0;
3811 while (*format)
3813 switch (*format++)
3815 case '\''s'\'': // string
3816 str = va_arg (args_copy, const char *);
3817 break;
3818 case '\''d'\'': // int
3819 number = va_arg (args_copy, int);
3820 break;
3821 case '\''f'\'': // float
3822 fnumber = va_arg (args_copy, double);
3823 break;
3824 default:
3825 break;
3828 va_end (args_copy);
3829 va_end (args);
3831 return *str && number && fnumber;
3835 # Test code for whether the C compiler supports C99 (body of main).
3836 ac_c_conftest_c99_main='
3837 // Check bool.
3838 _Bool success = false;
3839 success |= (argc != 0);
3841 // Check restrict.
3842 if (test_restrict ("String literal") == 0)
3843 success = true;
3844 char *restrict newvar = "Another string";
3846 // Check varargs.
3847 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3848 test_varargs_macros ();
3850 // Check flexible array members.
3851 struct incomplete_array *ia =
3852 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3853 ia->datasize = 10;
3854 for (int i = 0; i < ia->datasize; ++i)
3855 ia->data[i] = i * 1.234;
3857 // Check named initializers.
3858 struct named_init ni = {
3859 .number = 34,
3860 .name = L"Test wide string",
3861 .average = 543.34343,
3864 ni.number = 58;
3866 int dynamic_array[ni.number];
3867 dynamic_array[0] = argv[0][0];
3868 dynamic_array[ni.number - 1] = 543;
3870 // work around unused variable warnings
3871 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3872 || dynamic_array[ni.number - 1] != 543);
3875 # Test code for whether the C compiler supports C11 (global declarations)
3876 ac_c_conftest_c11_globals='
3877 // Does the compiler advertise C11 conformance?
3878 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3879 # error "Compiler does not advertise C11 conformance"
3880 #endif
3882 // Check _Alignas.
3883 char _Alignas (double) aligned_as_double;
3884 char _Alignas (0) no_special_alignment;
3885 extern char aligned_as_int;
3886 char _Alignas (0) _Alignas (int) aligned_as_int;
3888 // Check _Alignof.
3889 enum
3891 int_alignment = _Alignof (int),
3892 int_array_alignment = _Alignof (int[100]),
3893 char_alignment = _Alignof (char)
3895 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3897 // Check _Noreturn.
3898 int _Noreturn does_not_return (void) { for (;;) continue; }
3900 // Check _Static_assert.
3901 struct test_static_assert
3903 int x;
3904 _Static_assert (sizeof (int) <= sizeof (long int),
3905 "_Static_assert does not work in struct");
3906 long int y;
3909 // Check UTF-8 literals.
3910 #define u8 syntax error!
3911 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3913 // Check duplicate typedefs.
3914 typedef long *long_ptr;
3915 typedef long int *long_ptr;
3916 typedef long_ptr long_ptr;
3918 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3919 struct anonymous
3921 union {
3922 struct { int i; int j; };
3923 struct { int k; long int l; } w;
3925 int m;
3926 } v1;
3929 # Test code for whether the C compiler supports C11 (body of main).
3930 ac_c_conftest_c11_main='
3931 _Static_assert ((offsetof (struct anonymous, i)
3932 == offsetof (struct anonymous, w.k)),
3933 "Anonymous union alignment botch");
3934 v1.i = 2;
3935 v1.w.k = 5;
3936 ok |= v1.i != 5;
3939 # Test code for whether the C compiler supports C11 (complete).
3940 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3941 ${ac_c_conftest_c99_globals}
3942 ${ac_c_conftest_c11_globals}
3945 main (int argc, char **argv)
3947 int ok = 0;
3948 ${ac_c_conftest_c89_main}
3949 ${ac_c_conftest_c99_main}
3950 ${ac_c_conftest_c11_main}
3951 return ok;
3955 # Test code for whether the C compiler supports C99 (complete).
3956 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3957 ${ac_c_conftest_c99_globals}
3960 main (int argc, char **argv)
3962 int ok = 0;
3963 ${ac_c_conftest_c89_main}
3964 ${ac_c_conftest_c99_main}
3965 return ok;
3969 # Test code for whether the C compiler supports C89 (complete).
3970 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3973 main (int argc, char **argv)
3975 int ok = 0;
3976 ${ac_c_conftest_c89_main}
3977 return ok;
3981 # Test code for whether the C++ compiler supports C++98 (global declarations)
3982 ac_cxx_conftest_cxx98_globals='
3983 // Does the compiler advertise C++98 conformance?
3984 #if !defined __cplusplus || __cplusplus < 199711L
3985 # error "Compiler does not advertise C++98 conformance"
3986 #endif
3988 // These inclusions are to reject old compilers that
3989 // lack the unsuffixed header files.
3990 #include <cstdlib>
3991 #include <exception>
3993 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3994 extern void assert (int);
3995 namespace std {
3996 extern int strcmp (const char *, const char *);
3999 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4000 using std::exception;
4001 using std::strcmp;
4003 namespace {
4005 void test_exception_syntax()
4007 try {
4008 throw "test";
4009 } catch (const char *s) {
4010 // Extra parentheses suppress a warning when building autoconf itself,
4011 // due to lint rules shared with more typical C programs.
4012 assert (!(strcmp) (s, "test"));
4016 template <typename T> struct test_template
4018 T const val;
4019 explicit test_template(T t) : val(t) {}
4020 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4023 } // anonymous namespace
4026 # Test code for whether the C++ compiler supports C++98 (body of main)
4027 ac_cxx_conftest_cxx98_main='
4028 assert (argc);
4029 assert (! argv[0]);
4031 test_exception_syntax ();
4032 test_template<double> tt (2.0);
4033 assert (tt.add (4) == 6.0);
4034 assert (true && !false);
4038 # Test code for whether the C++ compiler supports C++11 (global declarations)
4039 ac_cxx_conftest_cxx11_globals='
4040 // Does the compiler advertise C++ 2011 conformance?
4041 #if !defined __cplusplus || __cplusplus < 201103L
4042 # error "Compiler does not advertise C++11 conformance"
4043 #endif
4045 namespace cxx11test
4047 constexpr int get_val() { return 20; }
4049 struct testinit
4051 int i;
4052 double d;
4055 class delegate
4057 public:
4058 delegate(int n) : n(n) {}
4059 delegate(): delegate(2354) {}
4061 virtual int getval() { return this->n; };
4062 protected:
4063 int n;
4066 class overridden : public delegate
4068 public:
4069 overridden(int n): delegate(n) {}
4070 virtual int getval() override final { return this->n * 2; }
4073 class nocopy
4075 public:
4076 nocopy(int i): i(i) {}
4077 nocopy() = default;
4078 nocopy(const nocopy&) = delete;
4079 nocopy & operator=(const nocopy&) = delete;
4080 private:
4081 int i;
4084 // for testing lambda expressions
4085 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4087 return f(v);
4090 // for testing variadic templates and trailing return types
4091 template <typename V> auto sum(V first) -> V
4093 return first;
4095 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4097 return first + sum(rest...);
4102 # Test code for whether the C++ compiler supports C++11 (body of main)
4103 ac_cxx_conftest_cxx11_main='
4105 // Test auto and decltype
4106 auto a1 = 6538;
4107 auto a2 = 48573953.4;
4108 auto a3 = "String literal";
4110 int total = 0;
4111 for (auto i = a3; *i; ++i) { total += *i; }
4113 decltype(a2) a4 = 34895.034;
4116 // Test constexpr
4117 short sa[cxx11test::get_val()] = { 0 };
4120 // Test initializer lists
4121 cxx11test::testinit il = { 4323, 435234.23544 };
4124 // Test range-based for
4125 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4126 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4127 for (auto &x : array) { x += 23; }
4130 // Test lambda expressions
4131 using cxx11test::eval;
4132 assert (eval ([](int x) { return x*2; }, 21) == 42);
4133 double d = 2.0;
4134 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4135 assert (d == 5.0);
4136 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4137 assert (d == 5.0);
4140 // Test use of variadic templates
4141 using cxx11test::sum;
4142 auto a = sum(1);
4143 auto b = sum(1, 2);
4144 auto c = sum(1.0, 2.0, 3.0);
4147 // Test constructor delegation
4148 cxx11test::delegate d1;
4149 cxx11test::delegate d2();
4150 cxx11test::delegate d3(45);
4153 // Test override and final
4154 cxx11test::overridden o1(55464);
4157 // Test nullptr
4158 char *c = nullptr;
4161 // Test template brackets
4162 test_template<::test_template<int>> v(test_template<int>(12));
4165 // Unicode literals
4166 char const *utf8 = u8"UTF-8 string \u2500";
4167 char16_t const *utf16 = u"UTF-8 string \u2500";
4168 char32_t const *utf32 = U"UTF-32 string \u2500";
4172 # Test code for whether the C compiler supports C++11 (complete).
4173 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4174 ${ac_cxx_conftest_cxx11_globals}
4177 main (int argc, char **argv)
4179 int ok = 0;
4180 ${ac_cxx_conftest_cxx98_main}
4181 ${ac_cxx_conftest_cxx11_main}
4182 return ok;
4186 # Test code for whether the C compiler supports C++98 (complete).
4187 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4189 main (int argc, char **argv)
4191 int ok = 0;
4192 ${ac_cxx_conftest_cxx98_main}
4193 return ok;
4197 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4198 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4199 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4200 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4201 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4202 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4203 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4204 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4205 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4207 # Auxiliary files required by this configure script.
4208 ac_aux_files="config.guess config.sub"
4210 # Locations in which to look for auxiliary files.
4211 ac_aux_dir_candidates="${srcdir}/tools"
4213 # Search for a directory containing all of the required auxiliary files,
4214 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4215 # If we don't find one directory that contains all the files we need,
4216 # we report the set of missing files from the *first* directory in
4217 # $ac_aux_dir_candidates and give up.
4218 ac_missing_aux_files=""
4219 ac_first_candidate=:
4220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 as_found=false
4223 for as_dir in $ac_aux_dir_candidates
4225 IFS=$as_save_IFS
4226 case $as_dir in #(((
4227 '') as_dir=./ ;;
4228 */) ;;
4229 *) as_dir=$as_dir/ ;;
4230 esac
4231 as_found=:
4233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4234 ac_aux_dir_found=yes
4235 ac_install_sh=
4236 for ac_aux in $ac_aux_files
4238 # As a special case, if "install-sh" is required, that requirement
4239 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4240 # and $ac_install_sh is set appropriately for whichever one is found.
4241 if test x"$ac_aux" = x"install-sh"
4242 then
4243 if test -f "${as_dir}install-sh"; then
4244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4245 ac_install_sh="${as_dir}install-sh -c"
4246 elif test -f "${as_dir}install.sh"; then
4247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4248 ac_install_sh="${as_dir}install.sh -c"
4249 elif test -f "${as_dir}shtool"; then
4250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4251 ac_install_sh="${as_dir}shtool install -c"
4252 else
4253 ac_aux_dir_found=no
4254 if $ac_first_candidate; then
4255 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4256 else
4257 break
4260 else
4261 if test -f "${as_dir}${ac_aux}"; then
4262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4263 else
4264 ac_aux_dir_found=no
4265 if $ac_first_candidate; then
4266 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4267 else
4268 break
4272 done
4273 if test "$ac_aux_dir_found" = yes; then
4274 ac_aux_dir="$as_dir"
4275 break
4277 ac_first_candidate=false
4279 as_found=false
4280 done
4281 IFS=$as_save_IFS
4282 if $as_found
4283 then :
4285 else $as_nop
4286 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4290 # These three variables are undocumented and unsupported,
4291 # and are intended to be withdrawn in a future Autoconf release.
4292 # They can cause serious problems if a builder's source tree is in a directory
4293 # whose full name contains unusual characters.
4294 if test -f "${ac_aux_dir}config.guess"; then
4295 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4297 if test -f "${ac_aux_dir}config.sub"; then
4298 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4300 if test -f "$ac_aux_dir/configure"; then
4301 ac_configure="$SHELL ${ac_aux_dir}configure"
4304 # Check that the precious variables saved in the cache have kept the same
4305 # value.
4306 ac_cache_corrupted=false
4307 for ac_var in $ac_precious_vars; do
4308 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4309 eval ac_new_set=\$ac_env_${ac_var}_set
4310 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4311 eval ac_new_val=\$ac_env_${ac_var}_value
4312 case $ac_old_set,$ac_new_set in
4313 set,)
4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4315 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4316 ac_cache_corrupted=: ;;
4317 ,set)
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4319 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4320 ac_cache_corrupted=: ;;
4321 ,);;
4323 if test "x$ac_old_val" != "x$ac_new_val"; then
4324 # differences in whitespace do not lead to failure.
4325 ac_old_val_w=`echo x $ac_old_val`
4326 ac_new_val_w=`echo x $ac_new_val`
4327 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4329 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4330 ac_cache_corrupted=:
4331 else
4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4333 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4334 eval $ac_var=\$ac_old_val
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4337 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4339 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4340 fi;;
4341 esac
4342 # Pass precious variables to config.status.
4343 if test "$ac_new_set" = set; then
4344 case $ac_new_val in
4345 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4346 *) ac_arg=$ac_var=$ac_new_val ;;
4347 esac
4348 case " $ac_configure_args " in
4349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4350 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4351 esac
4353 done
4354 if $ac_cache_corrupted; then
4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4358 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4359 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4360 and start over" "$LINENO" 5
4362 ## -------------------- ##
4363 ## Main body of script. ##
4364 ## -------------------- ##
4366 ac_ext=c
4367 ac_cpp='$CPP $CPPFLAGS'
4368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4374 ac_config_headers="$ac_config_headers include/config.h"
4378 libwine_version="1.0"
4381 # Check whether --enable-win16 was given.
4382 if test ${enable_win16+y}
4383 then :
4384 enableval=$enable_win16;
4387 # Check whether --enable-win64 was given.
4388 if test ${enable_win64+y}
4389 then :
4390 enableval=$enable_win64;
4393 # Check whether --enable-tests was given.
4394 if test ${enable_tests+y}
4395 then :
4396 enableval=$enable_tests;
4399 # Check whether --enable-build-id was given.
4400 if test ${enable_build_id+y}
4401 then :
4402 enableval=$enable_build_id;
4405 # Check whether --enable-maintainer-mode was given.
4406 if test ${enable_maintainer_mode+y}
4407 then :
4408 enableval=$enable_maintainer_mode;
4411 # Check whether --enable-silent-rules was given.
4412 if test ${enable_silent_rules+y}
4413 then :
4414 enableval=$enable_silent_rules;
4417 # Check whether --enable-werror was given.
4418 if test ${enable_werror+y}
4419 then :
4420 enableval=$enable_werror;
4425 # Check whether --with-alsa was given.
4426 if test ${with_alsa+y}
4427 then :
4428 withval=$with_alsa;
4432 # Check whether --with-capi was given.
4433 if test ${with_capi+y}
4434 then :
4435 withval=$with_capi;
4439 # Check whether --with-coreaudio was given.
4440 if test ${with_coreaudio+y}
4441 then :
4442 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4446 # Check whether --with-cups was given.
4447 if test ${with_cups+y}
4448 then :
4449 withval=$with_cups;
4453 # Check whether --with-dbus was given.
4454 if test ${with_dbus+y}
4455 then :
4456 withval=$with_dbus;
4460 # Check whether --with-float-abi was given.
4461 if test ${with_float_abi+y}
4462 then :
4463 withval=$with_float_abi;
4467 # Check whether --with-fontconfig was given.
4468 if test ${with_fontconfig+y}
4469 then :
4470 withval=$with_fontconfig;
4474 # Check whether --with-freetype was given.
4475 if test ${with_freetype+y}
4476 then :
4477 withval=$with_freetype;
4481 # Check whether --with-gettext was given.
4482 if test ${with_gettext+y}
4483 then :
4484 withval=$with_gettext;
4488 # Check whether --with-gettextpo was given.
4489 if test ${with_gettextpo+y}
4490 then :
4491 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4495 # Check whether --with-gphoto was given.
4496 if test ${with_gphoto+y}
4497 then :
4498 withval=$with_gphoto;
4502 # Check whether --with-gnutls was given.
4503 if test ${with_gnutls+y}
4504 then :
4505 withval=$with_gnutls;
4509 # Check whether --with-gssapi was given.
4510 if test ${with_gssapi+y}
4511 then :
4512 withval=$with_gssapi;
4516 # Check whether --with-gstreamer was given.
4517 if test ${with_gstreamer+y}
4518 then :
4519 withval=$with_gstreamer;
4523 # Check whether --with-inotify was given.
4524 if test ${with_inotify+y}
4525 then :
4526 withval=$with_inotify;
4530 # Check whether --with-krb5 was given.
4531 if test ${with_krb5+y}
4532 then :
4533 withval=$with_krb5;
4537 # Check whether --with-ldap was given.
4538 if test ${with_ldap+y}
4539 then :
4540 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4544 # Check whether --with-mingw was given.
4545 if test ${with_mingw+y}
4546 then :
4547 withval=$with_mingw;
4551 # Check whether --with-netapi was given.
4552 if test ${with_netapi+y}
4553 then :
4554 withval=$with_netapi;
4558 # Check whether --with-openal was given.
4559 if test ${with_openal+y}
4560 then :
4561 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4565 # Check whether --with-opencl was given.
4566 if test ${with_opencl+y}
4567 then :
4568 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4572 # Check whether --with-opengl was given.
4573 if test ${with_opengl+y}
4574 then :
4575 withval=$with_opengl;
4579 # Check whether --with-osmesa was given.
4580 if test ${with_osmesa+y}
4581 then :
4582 withval=$with_osmesa;
4586 # Check whether --with-oss was given.
4587 if test ${with_oss+y}
4588 then :
4589 withval=$with_oss;
4593 # Check whether --with-pcap was given.
4594 if test ${with_pcap+y}
4595 then :
4596 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4600 # Check whether --with-pthread was given.
4601 if test ${with_pthread+y}
4602 then :
4603 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4607 # Check whether --with-pulse was given.
4608 if test ${with_pulse+y}
4609 then :
4610 withval=$with_pulse;
4614 # Check whether --with-sane was given.
4615 if test ${with_sane+y}
4616 then :
4617 withval=$with_sane;
4621 # Check whether --with-sdl was given.
4622 if test ${with_sdl+y}
4623 then :
4624 withval=$with_sdl;
4628 # Check whether --with-udev was given.
4629 if test ${with_udev+y}
4630 then :
4631 withval=$with_udev;
4635 # Check whether --with-unwind was given.
4636 if test ${with_unwind+y}
4637 then :
4638 withval=$with_unwind;
4642 # Check whether --with-usb was given.
4643 if test ${with_usb+y}
4644 then :
4645 withval=$with_usb;
4649 # Check whether --with-v4l2 was given.
4650 if test ${with_v4l2+y}
4651 then :
4652 withval=$with_v4l2;
4656 # Check whether --with-vkd3d was given.
4657 if test ${with_vkd3d+y}
4658 then :
4659 withval=$with_vkd3d;
4663 # Check whether --with-vulkan was given.
4664 if test ${with_vulkan+y}
4665 then :
4666 withval=$with_vulkan;
4670 # Check whether --with-xcomposite was given.
4671 if test ${with_xcomposite+y}
4672 then :
4673 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4677 # Check whether --with-xcursor was given.
4678 if test ${with_xcursor+y}
4679 then :
4680 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4684 # Check whether --with-xfixes was given.
4685 if test ${with_xfixes+y}
4686 then :
4687 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4691 # Check whether --with-xinerama was given.
4692 if test ${with_xinerama+y}
4693 then :
4694 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4698 # Check whether --with-xinput was given.
4699 if test ${with_xinput+y}
4700 then :
4701 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4705 # Check whether --with-xinput2 was given.
4706 if test ${with_xinput2+y}
4707 then :
4708 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4712 # Check whether --with-xrandr was given.
4713 if test ${with_xrandr+y}
4714 then :
4715 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4719 # Check whether --with-xrender was given.
4720 if test ${with_xrender+y}
4721 then :
4722 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4726 # Check whether --with-xshape was given.
4727 if test ${with_xshape+y}
4728 then :
4729 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4733 # Check whether --with-xshm was given.
4734 if test ${with_xshm+y}
4735 then :
4736 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4740 # Check whether --with-xxf86vm was given.
4741 if test ${with_xxf86vm+y}
4742 then :
4743 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
4748 # Check whether --with-system-dllpath was given.
4749 if test ${with_system_dllpath+y}
4750 then :
4751 withval=$with_system_dllpath; system_dllpath=$withval
4756 # Check whether --with-wine-tools was given.
4757 if test ${with_wine_tools+y}
4758 then :
4759 withval=$with_wine_tools;
4763 # Check whether --with-wine64 was given.
4764 if test ${with_wine64+y}
4765 then :
4766 withval=$with_wine64;
4773 # Make sure we can run config.sub.
4774 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4775 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4778 printf %s "checking build system type... " >&6; }
4779 if test ${ac_cv_build+y}
4780 then :
4781 printf %s "(cached) " >&6
4782 else $as_nop
4783 ac_build_alias=$build_alias
4784 test "x$ac_build_alias" = x &&
4785 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4786 test "x$ac_build_alias" = x &&
4787 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4788 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4789 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4793 printf "%s\n" "$ac_cv_build" >&6; }
4794 case $ac_cv_build in
4795 *-*-*) ;;
4796 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4797 esac
4798 build=$ac_cv_build
4799 ac_save_IFS=$IFS; IFS='-'
4800 set x $ac_cv_build
4801 shift
4802 build_cpu=$1
4803 build_vendor=$2
4804 shift; shift
4805 # Remember, the first character of IFS is used to create $*,
4806 # except with old shells:
4807 build_os=$*
4808 IFS=$ac_save_IFS
4809 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4813 printf %s "checking host system type... " >&6; }
4814 if test ${ac_cv_host+y}
4815 then :
4816 printf %s "(cached) " >&6
4817 else $as_nop
4818 if test "x$host_alias" = x; then
4819 ac_cv_host=$ac_cv_build
4820 else
4821 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4822 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4827 printf "%s\n" "$ac_cv_host" >&6; }
4828 case $ac_cv_host in
4829 *-*-*) ;;
4830 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4831 esac
4832 host=$ac_cv_host
4833 ac_save_IFS=$IFS; IFS='-'
4834 set x $ac_cv_host
4835 shift
4836 host_cpu=$1
4837 host_vendor=$2
4838 shift; shift
4839 # Remember, the first character of IFS is used to create $*,
4840 # except with old shells:
4841 host_os=$*
4842 IFS=$ac_save_IFS
4843 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4847 dlldir=\${libdir}/wine
4849 fontdir=\${datadir}/wine/fonts
4851 nlsdir=\${datadir}/wine/nls
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4857 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4858 set x ${MAKE-make}
4859 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4860 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4861 then :
4862 printf %s "(cached) " >&6
4863 else $as_nop
4864 cat >conftest.make <<\_ACEOF
4865 SHELL = /bin/sh
4866 all:
4867 @echo '@@@%%%=$(MAKE)=@@@%%%'
4868 _ACEOF
4869 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4870 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4871 *@@@%%%=?*=@@@%%%*)
4872 eval ac_cv_prog_make_${ac_make}_set=yes;;
4874 eval ac_cv_prog_make_${ac_make}_set=no;;
4875 esac
4876 rm -f conftest.make
4878 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4880 printf "%s\n" "yes" >&6; }
4881 SET_MAKE=
4882 else
4883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 printf "%s\n" "no" >&6; }
4885 SET_MAKE="MAKE=${MAKE-make}"
4897 ac_ext=c
4898 ac_cpp='$CPP $CPPFLAGS'
4899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4902 if test -n "$ac_tool_prefix"; then
4903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4904 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 printf %s "checking for $ac_word... " >&6; }
4907 if test ${ac_cv_prog_CC+y}
4908 then :
4909 printf %s "(cached) " >&6
4910 else $as_nop
4911 if test -n "$CC"; then
4912 ac_cv_prog_CC="$CC" # Let the user override the test.
4913 else
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH
4917 IFS=$as_save_IFS
4918 case $as_dir in #(((
4919 '') as_dir=./ ;;
4920 */) ;;
4921 *) as_dir=$as_dir/ ;;
4922 esac
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4927 break 2
4929 done
4930 done
4931 IFS=$as_save_IFS
4935 CC=$ac_cv_prog_CC
4936 if test -n "$CC"; then
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4938 printf "%s\n" "$CC" >&6; }
4939 else
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 printf "%s\n" "no" >&6; }
4946 if test -z "$ac_cv_prog_CC"; then
4947 ac_ct_CC=$CC
4948 # Extract the first word of "gcc", so it can be a program name with args.
4949 set dummy gcc; ac_word=$2
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 printf %s "checking for $ac_word... " >&6; }
4952 if test ${ac_cv_prog_ac_ct_CC+y}
4953 then :
4954 printf %s "(cached) " >&6
4955 else $as_nop
4956 if test -n "$ac_ct_CC"; then
4957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4962 IFS=$as_save_IFS
4963 case $as_dir in #(((
4964 '') as_dir=./ ;;
4965 */) ;;
4966 *) as_dir=$as_dir/ ;;
4967 esac
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_ac_ct_CC="gcc"
4971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4972 break 2
4974 done
4975 done
4976 IFS=$as_save_IFS
4980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4981 if test -n "$ac_ct_CC"; then
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4983 printf "%s\n" "$ac_ct_CC" >&6; }
4984 else
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 printf "%s\n" "no" >&6; }
4989 if test "x$ac_ct_CC" = x; then
4990 CC=""
4991 else
4992 case $cross_compiling:$ac_tool_warned in
4993 yes:)
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned=yes ;;
4997 esac
4998 CC=$ac_ct_CC
5000 else
5001 CC="$ac_cv_prog_CC"
5004 if test -z "$CC"; then
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5007 set dummy ${ac_tool_prefix}cc; ac_word=$2
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 printf %s "checking for $ac_word... " >&6; }
5010 if test ${ac_cv_prog_CC+y}
5011 then :
5012 printf %s "(cached) " >&6
5013 else $as_nop
5014 if test -n "$CC"; then
5015 ac_cv_prog_CC="$CC" # Let the user override the test.
5016 else
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH
5020 IFS=$as_save_IFS
5021 case $as_dir in #(((
5022 '') as_dir=./ ;;
5023 */) ;;
5024 *) as_dir=$as_dir/ ;;
5025 esac
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_CC="${ac_tool_prefix}cc"
5029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 CC=$ac_cv_prog_CC
5039 if test -n "$CC"; then
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5041 printf "%s\n" "$CC" >&6; }
5042 else
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 printf "%s\n" "no" >&6; }
5050 if test -z "$CC"; then
5051 # Extract the first word of "cc", so it can be a program name with args.
5052 set dummy cc; ac_word=$2
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 printf %s "checking for $ac_word... " >&6; }
5055 if test ${ac_cv_prog_CC+y}
5056 then :
5057 printf %s "(cached) " >&6
5058 else $as_nop
5059 if test -n "$CC"; then
5060 ac_cv_prog_CC="$CC" # Let the user override the test.
5061 else
5062 ac_prog_rejected=no
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 case $as_dir in #(((
5068 '') as_dir=./ ;;
5069 */) ;;
5070 *) as_dir=$as_dir/ ;;
5071 esac
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5074 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5075 ac_prog_rejected=yes
5076 continue
5078 ac_cv_prog_CC="cc"
5079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5080 break 2
5082 done
5083 done
5084 IFS=$as_save_IFS
5086 if test $ac_prog_rejected = yes; then
5087 # We found a bogon in the path, so make sure we never use it.
5088 set dummy $ac_cv_prog_CC
5089 shift
5090 if test $# != 0; then
5091 # We chose a different compiler from the bogus one.
5092 # However, it has the same basename, so the bogon will be chosen
5093 # first if we set CC to just the basename; use the full file name.
5094 shift
5095 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5100 CC=$ac_cv_prog_CC
5101 if test -n "$CC"; then
5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5103 printf "%s\n" "$CC" >&6; }
5104 else
5105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 printf "%s\n" "no" >&6; }
5111 if test -z "$CC"; then
5112 if test -n "$ac_tool_prefix"; then
5113 for ac_prog in cl.exe
5115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 printf %s "checking for $ac_word... " >&6; }
5119 if test ${ac_cv_prog_CC+y}
5120 then :
5121 printf %s "(cached) " >&6
5122 else $as_nop
5123 if test -n "$CC"; then
5124 ac_cv_prog_CC="$CC" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 case $as_dir in #(((
5131 '') as_dir=./ ;;
5132 */) ;;
5133 *) as_dir=$as_dir/ ;;
5134 esac
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 CC=$ac_cv_prog_CC
5148 if test -n "$CC"; then
5149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5150 printf "%s\n" "$CC" >&6; }
5151 else
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 printf "%s\n" "no" >&6; }
5157 test -n "$CC" && break
5158 done
5160 if test -z "$CC"; then
5161 ac_ct_CC=$CC
5162 for ac_prog in cl.exe
5164 # Extract the first word of "$ac_prog", so it can be a program name with args.
5165 set dummy $ac_prog; ac_word=$2
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 printf %s "checking for $ac_word... " >&6; }
5168 if test ${ac_cv_prog_ac_ct_CC+y}
5169 then :
5170 printf %s "(cached) " >&6
5171 else $as_nop
5172 if test -n "$ac_ct_CC"; then
5173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 case $as_dir in #(((
5180 '') as_dir=./ ;;
5181 */) ;;
5182 *) as_dir=$as_dir/ ;;
5183 esac
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CC="$ac_prog"
5187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5197 if test -n "$ac_ct_CC"; then
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5199 printf "%s\n" "$ac_ct_CC" >&6; }
5200 else
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 printf "%s\n" "no" >&6; }
5206 test -n "$ac_ct_CC" && break
5207 done
5209 if test "x$ac_ct_CC" = x; then
5210 CC=""
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 CC=$ac_ct_CC
5223 if test -z "$CC"; then
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5226 set dummy ${ac_tool_prefix}clang; ac_word=$2
5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 printf %s "checking for $ac_word... " >&6; }
5229 if test ${ac_cv_prog_CC+y}
5230 then :
5231 printf %s "(cached) " >&6
5232 else $as_nop
5233 if test -n "$CC"; then
5234 ac_cv_prog_CC="$CC" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5239 IFS=$as_save_IFS
5240 case $as_dir in #(((
5241 '') as_dir=./ ;;
5242 */) ;;
5243 *) as_dir=$as_dir/ ;;
5244 esac
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_CC="${ac_tool_prefix}clang"
5248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 CC=$ac_cv_prog_CC
5258 if test -n "$CC"; then
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5260 printf "%s\n" "$CC" >&6; }
5261 else
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 printf "%s\n" "no" >&6; }
5268 if test -z "$ac_cv_prog_CC"; then
5269 ac_ct_CC=$CC
5270 # Extract the first word of "clang", so it can be a program name with args.
5271 set dummy clang; ac_word=$2
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 printf %s "checking for $ac_word... " >&6; }
5274 if test ${ac_cv_prog_ac_ct_CC+y}
5275 then :
5276 printf %s "(cached) " >&6
5277 else $as_nop
5278 if test -n "$ac_ct_CC"; then
5279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5280 else
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH
5284 IFS=$as_save_IFS
5285 case $as_dir in #(((
5286 '') as_dir=./ ;;
5287 */) ;;
5288 *) as_dir=$as_dir/ ;;
5289 esac
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_ac_ct_CC="clang"
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5303 if test -n "$ac_ct_CC"; then
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5305 printf "%s\n" "$ac_ct_CC" >&6; }
5306 else
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 printf "%s\n" "no" >&6; }
5311 if test "x$ac_ct_CC" = x; then
5312 CC=""
5313 else
5314 case $cross_compiling:$ac_tool_warned in
5315 yes:)
5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5317 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5318 ac_tool_warned=yes ;;
5319 esac
5320 CC=$ac_ct_CC
5322 else
5323 CC="$ac_cv_prog_CC"
5329 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error $? "no acceptable C compiler found in \$PATH
5332 See \`config.log' for more details" "$LINENO" 5; }
5334 # Provide some information about the compiler.
5335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5336 set X $ac_compile
5337 ac_compiler=$2
5338 for ac_option in --version -v -V -qversion -version; do
5339 { { ac_try="$ac_compiler $ac_option >&5"
5340 case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5347 ac_status=$?
5348 if test -s conftest.err; then
5349 sed '10a\
5350 ... rest of stderr output deleted ...
5351 10q' conftest.err >conftest.er1
5352 cat conftest.er1 >&5
5354 rm -f conftest.er1 conftest.err
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }
5357 done
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main (void)
5367 return 0;
5369 _ACEOF
5370 ac_clean_files_save=$ac_clean_files
5371 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5372 # Try to create an executable without -o first, disregard a.out.
5373 # It will help us diagnose broken compilers, and finding out an intuition
5374 # of exeext.
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5376 printf %s "checking whether the C compiler works... " >&6; }
5377 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5379 # The possible output files:
5380 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5382 ac_rmfiles=
5383 for ac_file in $ac_files
5385 case $ac_file in
5386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5387 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5388 esac
5389 done
5390 rm -f $ac_rmfiles
5392 if { { ac_try="$ac_link_default"
5393 case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5396 esac
5397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5398 printf "%s\n" "$ac_try_echo"; } >&5
5399 (eval "$ac_link_default") 2>&5
5400 ac_status=$?
5401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5402 test $ac_status = 0; }
5403 then :
5404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5407 # so that the user can short-circuit this test for compilers unknown to
5408 # Autoconf.
5409 for ac_file in $ac_files ''
5411 test -f "$ac_file" || continue
5412 case $ac_file in
5413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5415 [ab].out )
5416 # We found the default executable, but exeext='' is most
5417 # certainly right.
5418 break;;
5419 *.* )
5420 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5421 then :; else
5422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5424 # We set ac_cv_exeext here because the later test for it is not
5425 # safe: cross compilers may not add the suffix if given an `-o'
5426 # argument, so we may need to know it at that point already.
5427 # Even if this section looks crufty: it has the advantage of
5428 # actually working.
5429 break;;
5431 break;;
5432 esac
5433 done
5434 test "$ac_cv_exeext" = no && ac_cv_exeext=
5436 else $as_nop
5437 ac_file=''
5439 if test -z "$ac_file"
5440 then :
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 printf "%s\n" "no" >&6; }
5443 printf "%s\n" "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5447 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5448 as_fn_error 77 "C compiler cannot create executables
5449 See \`config.log' for more details" "$LINENO" 5; }
5450 else $as_nop
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452 printf "%s\n" "yes" >&6; }
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5455 printf %s "checking for C compiler default output file name... " >&6; }
5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5457 printf "%s\n" "$ac_file" >&6; }
5458 ac_exeext=$ac_cv_exeext
5460 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5461 ac_clean_files=$ac_clean_files_save
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5463 printf %s "checking for suffix of executables... " >&6; }
5464 if { { ac_try="$ac_link"
5465 case "(($ac_try" in
5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5467 *) ac_try_echo=$ac_try;;
5468 esac
5469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5470 printf "%s\n" "$ac_try_echo"; } >&5
5471 (eval "$ac_link") 2>&5
5472 ac_status=$?
5473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5474 test $ac_status = 0; }
5475 then :
5476 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5477 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5478 # work properly (i.e., refer to `conftest.exe'), while it won't with
5479 # `rm'.
5480 for ac_file in conftest.exe conftest conftest.*; do
5481 test -f "$ac_file" || continue
5482 case $ac_file in
5483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5484 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5485 break;;
5486 * ) break;;
5487 esac
5488 done
5489 else $as_nop
5490 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5491 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5492 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5493 See \`config.log' for more details" "$LINENO" 5; }
5495 rm -f conftest conftest$ac_cv_exeext
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5497 printf "%s\n" "$ac_cv_exeext" >&6; }
5499 rm -f conftest.$ac_ext
5500 EXEEXT=$ac_cv_exeext
5501 ac_exeext=$EXEEXT
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504 #include <stdio.h>
5506 main (void)
5508 FILE *f = fopen ("conftest.out", "w");
5509 return ferror (f) || fclose (f) != 0;
5512 return 0;
5514 _ACEOF
5515 ac_clean_files="$ac_clean_files conftest.out"
5516 # Check that the compiler produces executables we can run. If not, either
5517 # the compiler is broken, or we cross compile.
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5519 printf %s "checking whether we are cross compiling... " >&6; }
5520 if test "$cross_compiling" != yes; then
5521 { { ac_try="$ac_link"
5522 case "(($ac_try" in
5523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5525 esac
5526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5527 printf "%s\n" "$ac_try_echo"; } >&5
5528 (eval "$ac_link") 2>&5
5529 ac_status=$?
5530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5531 test $ac_status = 0; }
5532 if { ac_try='./conftest$ac_cv_exeext'
5533 { { case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536 esac
5537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5538 printf "%s\n" "$ac_try_echo"; } >&5
5539 (eval "$ac_try") 2>&5
5540 ac_status=$?
5541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5542 test $ac_status = 0; }; }; then
5543 cross_compiling=no
5544 else
5545 if test "$cross_compiling" = maybe; then
5546 cross_compiling=yes
5547 else
5548 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5549 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5550 as_fn_error 77 "cannot run C compiled programs.
5551 If you meant to cross compile, use \`--host'.
5552 See \`config.log' for more details" "$LINENO" 5; }
5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5557 printf "%s\n" "$cross_compiling" >&6; }
5559 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5560 ac_clean_files=$ac_clean_files_save
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5562 printf %s "checking for suffix of object files... " >&6; }
5563 if test ${ac_cv_objext+y}
5564 then :
5565 printf %s "(cached) " >&6
5566 else $as_nop
5567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5568 /* end confdefs.h. */
5571 main (void)
5575 return 0;
5577 _ACEOF
5578 rm -f conftest.o conftest.obj
5579 if { { ac_try="$ac_compile"
5580 case "(($ac_try" in
5581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5582 *) ac_try_echo=$ac_try;;
5583 esac
5584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5585 printf "%s\n" "$ac_try_echo"; } >&5
5586 (eval "$ac_compile") 2>&5
5587 ac_status=$?
5588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5589 test $ac_status = 0; }
5590 then :
5591 for ac_file in conftest.o conftest.obj conftest.*; do
5592 test -f "$ac_file" || continue;
5593 case $ac_file in
5594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5595 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5596 break;;
5597 esac
5598 done
5599 else $as_nop
5600 printf "%s\n" "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5603 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5604 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5605 as_fn_error $? "cannot compute suffix of object files: cannot compile
5606 See \`config.log' for more details" "$LINENO" 5; }
5608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5611 printf "%s\n" "$ac_cv_objext" >&6; }
5612 OBJEXT=$ac_cv_objext
5613 ac_objext=$OBJEXT
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5615 printf %s "checking whether the compiler supports GNU C... " >&6; }
5616 if test ${ac_cv_c_compiler_gnu+y}
5617 then :
5618 printf %s "(cached) " >&6
5619 else $as_nop
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5624 main (void)
5626 #ifndef __GNUC__
5627 choke me
5628 #endif
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_compile "$LINENO"
5635 then :
5636 ac_compiler_gnu=yes
5637 else $as_nop
5638 ac_compiler_gnu=no
5640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5641 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5645 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5648 if test $ac_compiler_gnu = yes; then
5649 GCC=yes
5650 else
5651 GCC=
5653 ac_test_CFLAGS=${CFLAGS+y}
5654 ac_save_CFLAGS=$CFLAGS
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5656 printf %s "checking whether $CC accepts -g... " >&6; }
5657 if test ${ac_cv_prog_cc_g+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 ac_save_c_werror_flag=$ac_c_werror_flag
5662 ac_c_werror_flag=yes
5663 ac_cv_prog_cc_g=no
5664 CFLAGS="-g"
5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5669 main (void)
5673 return 0;
5675 _ACEOF
5676 if ac_fn_c_try_compile "$LINENO"
5677 then :
5678 ac_cv_prog_cc_g=yes
5679 else $as_nop
5680 CFLAGS=""
5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5685 main (void)
5689 return 0;
5691 _ACEOF
5692 if ac_fn_c_try_compile "$LINENO"
5693 then :
5695 else $as_nop
5696 ac_c_werror_flag=$ac_save_c_werror_flag
5697 CFLAGS="-g"
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5702 main (void)
5706 return 0;
5708 _ACEOF
5709 if ac_fn_c_try_compile "$LINENO"
5710 then :
5711 ac_cv_prog_cc_g=yes
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
5717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5718 ac_c_werror_flag=$ac_save_c_werror_flag
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5721 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5722 if test $ac_test_CFLAGS; then
5723 CFLAGS=$ac_save_CFLAGS
5724 elif test $ac_cv_prog_cc_g = yes; then
5725 if test "$GCC" = yes; then
5726 CFLAGS="-g -O2"
5727 else
5728 CFLAGS="-g"
5730 else
5731 if test "$GCC" = yes; then
5732 CFLAGS="-O2"
5733 else
5734 CFLAGS=
5737 ac_prog_cc_stdc=no
5738 if test x$ac_prog_cc_stdc = xno
5739 then :
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5741 printf %s "checking for $CC option to enable C11 features... " >&6; }
5742 if test ${ac_cv_prog_cc_c11+y}
5743 then :
5744 printf %s "(cached) " >&6
5745 else $as_nop
5746 ac_cv_prog_cc_c11=no
5747 ac_save_CC=$CC
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5750 $ac_c_conftest_c11_program
5751 _ACEOF
5752 for ac_arg in '' -std=gnu11
5754 CC="$ac_save_CC $ac_arg"
5755 if ac_fn_c_try_compile "$LINENO"
5756 then :
5757 ac_cv_prog_cc_c11=$ac_arg
5759 rm -f core conftest.err conftest.$ac_objext conftest.beam
5760 test "x$ac_cv_prog_cc_c11" != "xno" && break
5761 done
5762 rm -f conftest.$ac_ext
5763 CC=$ac_save_CC
5766 if test "x$ac_cv_prog_cc_c11" = xno
5767 then :
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5769 printf "%s\n" "unsupported" >&6; }
5770 else $as_nop
5771 if test "x$ac_cv_prog_cc_c11" = x
5772 then :
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5774 printf "%s\n" "none needed" >&6; }
5775 else $as_nop
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5777 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5778 CC="$CC $ac_cv_prog_cc_c11"
5780 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5781 ac_prog_cc_stdc=c11
5784 if test x$ac_prog_cc_stdc = xno
5785 then :
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5787 printf %s "checking for $CC option to enable C99 features... " >&6; }
5788 if test ${ac_cv_prog_cc_c99+y}
5789 then :
5790 printf %s "(cached) " >&6
5791 else $as_nop
5792 ac_cv_prog_cc_c99=no
5793 ac_save_CC=$CC
5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5796 $ac_c_conftest_c99_program
5797 _ACEOF
5798 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5800 CC="$ac_save_CC $ac_arg"
5801 if ac_fn_c_try_compile "$LINENO"
5802 then :
5803 ac_cv_prog_cc_c99=$ac_arg
5805 rm -f core conftest.err conftest.$ac_objext conftest.beam
5806 test "x$ac_cv_prog_cc_c99" != "xno" && break
5807 done
5808 rm -f conftest.$ac_ext
5809 CC=$ac_save_CC
5812 if test "x$ac_cv_prog_cc_c99" = xno
5813 then :
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5815 printf "%s\n" "unsupported" >&6; }
5816 else $as_nop
5817 if test "x$ac_cv_prog_cc_c99" = x
5818 then :
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5820 printf "%s\n" "none needed" >&6; }
5821 else $as_nop
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5823 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5824 CC="$CC $ac_cv_prog_cc_c99"
5826 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5827 ac_prog_cc_stdc=c99
5830 if test x$ac_prog_cc_stdc = xno
5831 then :
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5833 printf %s "checking for $CC option to enable C89 features... " >&6; }
5834 if test ${ac_cv_prog_cc_c89+y}
5835 then :
5836 printf %s "(cached) " >&6
5837 else $as_nop
5838 ac_cv_prog_cc_c89=no
5839 ac_save_CC=$CC
5840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5842 $ac_c_conftest_c89_program
5843 _ACEOF
5844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5846 CC="$ac_save_CC $ac_arg"
5847 if ac_fn_c_try_compile "$LINENO"
5848 then :
5849 ac_cv_prog_cc_c89=$ac_arg
5851 rm -f core conftest.err conftest.$ac_objext conftest.beam
5852 test "x$ac_cv_prog_cc_c89" != "xno" && break
5853 done
5854 rm -f conftest.$ac_ext
5855 CC=$ac_save_CC
5858 if test "x$ac_cv_prog_cc_c89" = xno
5859 then :
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5861 printf "%s\n" "unsupported" >&6; }
5862 else $as_nop
5863 if test "x$ac_cv_prog_cc_c89" = x
5864 then :
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5866 printf "%s\n" "none needed" >&6; }
5867 else $as_nop
5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5869 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5870 CC="$CC $ac_cv_prog_cc_c89"
5872 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5873 ac_prog_cc_stdc=c89
5877 ac_ext=c
5878 ac_cpp='$CPP $CPPFLAGS'
5879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5889 ac_ext=cpp
5890 ac_cpp='$CXXCPP $CPPFLAGS'
5891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5894 if test -z "$CXX"; then
5895 if test -n "$CCC"; then
5896 CXX=$CCC
5897 else
5898 if test -n "$ac_tool_prefix"; then
5899 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 printf %s "checking for $ac_word... " >&6; }
5905 if test ${ac_cv_prog_CXX+y}
5906 then :
5907 printf %s "(cached) " >&6
5908 else $as_nop
5909 if test -n "$CXX"; then
5910 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5915 IFS=$as_save_IFS
5916 case $as_dir in #(((
5917 '') as_dir=./ ;;
5918 */) ;;
5919 *) as_dir=$as_dir/ ;;
5920 esac
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5925 break 2
5927 done
5928 done
5929 IFS=$as_save_IFS
5933 CXX=$ac_cv_prog_CXX
5934 if test -n "$CXX"; then
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5936 printf "%s\n" "$CXX" >&6; }
5937 else
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 printf "%s\n" "no" >&6; }
5943 test -n "$CXX" && break
5944 done
5946 if test -z "$CXX"; then
5947 ac_ct_CXX=$CXX
5948 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 printf %s "checking for $ac_word... " >&6; }
5954 if test ${ac_cv_prog_ac_ct_CXX+y}
5955 then :
5956 printf %s "(cached) " >&6
5957 else $as_nop
5958 if test -n "$ac_ct_CXX"; then
5959 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 case $as_dir in #(((
5966 '') as_dir=./ ;;
5967 */) ;;
5968 *) as_dir=$as_dir/ ;;
5969 esac
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_ac_ct_CXX="$ac_prog"
5973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5983 if test -n "$ac_ct_CXX"; then
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5985 printf "%s\n" "$ac_ct_CXX" >&6; }
5986 else
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 printf "%s\n" "no" >&6; }
5992 test -n "$ac_ct_CXX" && break
5993 done
5995 if test "x$ac_ct_CXX" = x; then
5996 CXX="g++"
5997 else
5998 case $cross_compiling:$ac_tool_warned in
5999 yes:)
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6002 ac_tool_warned=yes ;;
6003 esac
6004 CXX=$ac_ct_CXX
6010 # Provide some information about the compiler.
6011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6012 set X $ac_compile
6013 ac_compiler=$2
6014 for ac_option in --version -v -V -qversion; do
6015 { { ac_try="$ac_compiler $ac_option >&5"
6016 case "(($ac_try" in
6017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018 *) ac_try_echo=$ac_try;;
6019 esac
6020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6021 printf "%s\n" "$ac_try_echo"; } >&5
6022 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6023 ac_status=$?
6024 if test -s conftest.err; then
6025 sed '10a\
6026 ... rest of stderr output deleted ...
6027 10q' conftest.err >conftest.er1
6028 cat conftest.er1 >&5
6030 rm -f conftest.er1 conftest.err
6031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6032 test $ac_status = 0; }
6033 done
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6036 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6037 if test ${ac_cv_cxx_compiler_gnu+y}
6038 then :
6039 printf %s "(cached) " >&6
6040 else $as_nop
6041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6045 main (void)
6047 #ifndef __GNUC__
6048 choke me
6049 #endif
6052 return 0;
6054 _ACEOF
6055 if ac_fn_cxx_try_compile "$LINENO"
6056 then :
6057 ac_compiler_gnu=yes
6058 else $as_nop
6059 ac_compiler_gnu=no
6061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6062 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6066 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6069 if test $ac_compiler_gnu = yes; then
6070 GXX=yes
6071 else
6072 GXX=
6074 ac_test_CXXFLAGS=${CXXFLAGS+y}
6075 ac_save_CXXFLAGS=$CXXFLAGS
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6077 printf %s "checking whether $CXX accepts -g... " >&6; }
6078 if test ${ac_cv_prog_cxx_g+y}
6079 then :
6080 printf %s "(cached) " >&6
6081 else $as_nop
6082 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6083 ac_cxx_werror_flag=yes
6084 ac_cv_prog_cxx_g=no
6085 CXXFLAGS="-g"
6086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6090 main (void)
6094 return 0;
6096 _ACEOF
6097 if ac_fn_cxx_try_compile "$LINENO"
6098 then :
6099 ac_cv_prog_cxx_g=yes
6100 else $as_nop
6101 CXXFLAGS=""
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6106 main (void)
6110 return 0;
6112 _ACEOF
6113 if ac_fn_cxx_try_compile "$LINENO"
6114 then :
6116 else $as_nop
6117 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6118 CXXFLAGS="-g"
6119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6123 main (void)
6127 return 0;
6129 _ACEOF
6130 if ac_fn_cxx_try_compile "$LINENO"
6131 then :
6132 ac_cv_prog_cxx_g=yes
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
6138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6139 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6142 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6143 if test $ac_test_CXXFLAGS; then
6144 CXXFLAGS=$ac_save_CXXFLAGS
6145 elif test $ac_cv_prog_cxx_g = yes; then
6146 if test "$GXX" = yes; then
6147 CXXFLAGS="-g -O2"
6148 else
6149 CXXFLAGS="-g"
6151 else
6152 if test "$GXX" = yes; then
6153 CXXFLAGS="-O2"
6154 else
6155 CXXFLAGS=
6158 ac_prog_cxx_stdcxx=no
6159 if test x$ac_prog_cxx_stdcxx = xno
6160 then :
6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6162 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6163 if test ${ac_cv_prog_cxx_11+y}
6164 then :
6165 printf %s "(cached) " >&6
6166 else $as_nop
6167 ac_cv_prog_cxx_11=no
6168 ac_save_CXX=$CXX
6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 $ac_cxx_conftest_cxx11_program
6172 _ACEOF
6173 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6175 CXX="$ac_save_CXX $ac_arg"
6176 if ac_fn_cxx_try_compile "$LINENO"
6177 then :
6178 ac_cv_prog_cxx_cxx11=$ac_arg
6180 rm -f core conftest.err conftest.$ac_objext conftest.beam
6181 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6182 done
6183 rm -f conftest.$ac_ext
6184 CXX=$ac_save_CXX
6187 if test "x$ac_cv_prog_cxx_cxx11" = xno
6188 then :
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6190 printf "%s\n" "unsupported" >&6; }
6191 else $as_nop
6192 if test "x$ac_cv_prog_cxx_cxx11" = x
6193 then :
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6195 printf "%s\n" "none needed" >&6; }
6196 else $as_nop
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6198 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6199 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6201 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6202 ac_prog_cxx_stdcxx=cxx11
6205 if test x$ac_prog_cxx_stdcxx = xno
6206 then :
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6208 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6209 if test ${ac_cv_prog_cxx_98+y}
6210 then :
6211 printf %s "(cached) " >&6
6212 else $as_nop
6213 ac_cv_prog_cxx_98=no
6214 ac_save_CXX=$CXX
6215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 $ac_cxx_conftest_cxx98_program
6218 _ACEOF
6219 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6221 CXX="$ac_save_CXX $ac_arg"
6222 if ac_fn_cxx_try_compile "$LINENO"
6223 then :
6224 ac_cv_prog_cxx_cxx98=$ac_arg
6226 rm -f core conftest.err conftest.$ac_objext conftest.beam
6227 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6228 done
6229 rm -f conftest.$ac_ext
6230 CXX=$ac_save_CXX
6233 if test "x$ac_cv_prog_cxx_cxx98" = xno
6234 then :
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6236 printf "%s\n" "unsupported" >&6; }
6237 else $as_nop
6238 if test "x$ac_cv_prog_cxx_cxx98" = x
6239 then :
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6241 printf "%s\n" "none needed" >&6; }
6242 else $as_nop
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6244 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6245 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6247 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6248 ac_prog_cxx_stdcxx=cxx98
6252 ac_ext=c
6253 ac_cpp='$CPP $CPPFLAGS'
6254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6258 if test -n "$ac_tool_prefix"; then
6259 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 printf %s "checking for $ac_word... " >&6; }
6263 if test ${ac_cv_prog_CPPBIN+y}
6264 then :
6265 printf %s "(cached) " >&6
6266 else $as_nop
6267 if test -n "$CPPBIN"; then
6268 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6269 else
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 for as_dir in $PATH
6273 IFS=$as_save_IFS
6274 case $as_dir in #(((
6275 '') as_dir=./ ;;
6276 */) ;;
6277 *) as_dir=$as_dir/ ;;
6278 esac
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6281 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6283 break 2
6285 done
6286 done
6287 IFS=$as_save_IFS
6291 CPPBIN=$ac_cv_prog_CPPBIN
6292 if test -n "$CPPBIN"; then
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6294 printf "%s\n" "$CPPBIN" >&6; }
6295 else
6296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 printf "%s\n" "no" >&6; }
6302 if test -z "$ac_cv_prog_CPPBIN"; then
6303 ac_ct_CPPBIN=$CPPBIN
6304 # Extract the first word of "cpp", so it can be a program name with args.
6305 set dummy cpp; ac_word=$2
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 printf %s "checking for $ac_word... " >&6; }
6308 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6309 then :
6310 printf %s "(cached) " >&6
6311 else $as_nop
6312 if test -n "$ac_ct_CPPBIN"; then
6313 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6314 else
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 for as_dir in $PATH
6318 IFS=$as_save_IFS
6319 case $as_dir in #(((
6320 '') as_dir=./ ;;
6321 */) ;;
6322 *) as_dir=$as_dir/ ;;
6323 esac
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_ac_ct_CPPBIN="cpp"
6327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6328 break 2
6330 done
6331 done
6332 IFS=$as_save_IFS
6336 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6337 if test -n "$ac_ct_CPPBIN"; then
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6339 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6340 else
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 printf "%s\n" "no" >&6; }
6345 if test "x$ac_ct_CPPBIN" = x; then
6346 CPPBIN="cpp"
6347 else
6348 case $cross_compiling:$ac_tool_warned in
6349 yes:)
6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6351 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6352 ac_tool_warned=yes ;;
6353 esac
6354 CPPBIN=$ac_ct_CPPBIN
6356 else
6357 CPPBIN="$ac_cv_prog_CPPBIN"
6361 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6363 if test -n "$ac_tool_prefix"; then
6364 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6365 set dummy ${ac_tool_prefix}ld; ac_word=$2
6366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367 printf %s "checking for $ac_word... " >&6; }
6368 if test ${ac_cv_prog_LD+y}
6369 then :
6370 printf %s "(cached) " >&6
6371 else $as_nop
6372 if test -n "$LD"; then
6373 ac_cv_prog_LD="$LD" # Let the user override the test.
6374 else
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 for as_dir in $PATH
6378 IFS=$as_save_IFS
6379 case $as_dir in #(((
6380 '') as_dir=./ ;;
6381 */) ;;
6382 *) as_dir=$as_dir/ ;;
6383 esac
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6386 ac_cv_prog_LD="${ac_tool_prefix}ld"
6387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6388 break 2
6390 done
6391 done
6392 IFS=$as_save_IFS
6396 LD=$ac_cv_prog_LD
6397 if test -n "$LD"; then
6398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6399 printf "%s\n" "$LD" >&6; }
6400 else
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 printf "%s\n" "no" >&6; }
6407 if test -z "$ac_cv_prog_LD"; then
6408 ac_ct_LD=$LD
6409 # Extract the first word of "ld", so it can be a program name with args.
6410 set dummy ld; ac_word=$2
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 printf %s "checking for $ac_word... " >&6; }
6413 if test ${ac_cv_prog_ac_ct_LD+y}
6414 then :
6415 printf %s "(cached) " >&6
6416 else $as_nop
6417 if test -n "$ac_ct_LD"; then
6418 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6419 else
6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6421 for as_dir in $PATH
6423 IFS=$as_save_IFS
6424 case $as_dir in #(((
6425 '') as_dir=./ ;;
6426 */) ;;
6427 *) as_dir=$as_dir/ ;;
6428 esac
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6431 ac_cv_prog_ac_ct_LD="ld"
6432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6433 break 2
6435 done
6436 done
6437 IFS=$as_save_IFS
6441 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6442 if test -n "$ac_ct_LD"; then
6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6444 printf "%s\n" "$ac_ct_LD" >&6; }
6445 else
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 printf "%s\n" "no" >&6; }
6450 if test "x$ac_ct_LD" = x; then
6451 LD=""
6452 else
6453 case $cross_compiling:$ac_tool_warned in
6454 yes:)
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6456 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6457 ac_tool_warned=yes ;;
6458 esac
6459 LD=$ac_ct_LD
6461 else
6462 LD="$ac_cv_prog_LD"
6466 case $host in
6467 *-darwin*)
6468 with_fontconfig=${with_fontconfig:-no}
6470 *-mingw32*|*-cygwin*)
6471 enable_win16=${enable_win16:-no}
6472 with_mingw=${with_mingw:-no}
6474 esac
6477 case $host in
6478 x86_64*|amd64*)
6479 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6480 then
6481 CC="$CC -m32"
6482 CXX="$CXX -m32"
6484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6485 printf %s "checking whether $CC works... " >&6; }
6486 if test ${wine_cv_cc_m32+y}
6487 then :
6488 printf %s "(cached) " >&6
6489 else $as_nop
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6494 main (void)
6498 return 0;
6500 _ACEOF
6501 if ac_fn_c_try_link "$LINENO"
6502 then :
6503 wine_cv_cc_m32=yes
6504 else $as_nop
6505 wine_cv_cc_m32=no
6507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6508 conftest$ac_exeext conftest.$ac_ext
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6511 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6512 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
6513 host_cpu="i386"
6514 notice_platform="32-bit "
6515 TARGETFLAGS="$TARGETFLAGS -m32"
6516 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6517 export PKG_CONFIG_PATH
6518 enable_win16=${enable_win16:-yes}
6519 with_unwind=${with_unwind:-no}
6520 else
6521 if test "x${GCC}" = "xyes"
6522 then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6524 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6525 if test ${wine_cv_builtin_ms_va_list+y}
6526 then :
6527 printf %s "(cached) " >&6
6528 else $as_nop
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <stdarg.h>
6533 main (void)
6535 void func(__builtin_ms_va_list *args);
6537 return 0;
6539 _ACEOF
6540 if ac_fn_c_try_compile "$LINENO"
6541 then :
6542 wine_cv_builtin_ms_va_list=yes
6543 else $as_nop
6544 wine_cv_builtin_ms_va_list=no
6546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6549 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6550 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
6552 CC="$CC -m64"
6553 CXX="$CXX -m64"
6554 host_cpu="x86_64"
6555 notice_platform="64-bit "
6556 TARGETFLAGS="$TARGETFLAGS -m64"
6557 enable_wow64=${enable_wow64:-yes}
6558 enable_wow64win=${enable_wow64win:-yes}
6559 enable_wow64cpu=${enable_wow64cpu:-yes}
6562 arm*)
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6564 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6565 if test ${wine_cv_thumb2+y}
6566 then :
6567 printf %s "(cached) " >&6
6568 else $as_nop
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6573 main (void)
6575 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6577 return 0;
6579 _ACEOF
6580 if ac_fn_c_try_link "$LINENO"
6581 then :
6582 wine_cv_thumb2=yes
6583 else $as_nop
6584 wine_cv_thumb2=no
6586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6587 conftest$ac_exeext conftest.$ac_ext
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6590 printf "%s\n" "$wine_cv_thumb2" >&6; }
6591 if test x"$wine_cv_thumb2" = xyes
6592 then
6593 CFLAGS="$CFLAGS -mthumb"
6594 TARGETFLAGS="$TARGETFLAGS -mthumb"
6595 else
6596 CFLAGS="$CFLAGS -marm"
6597 TARGETFLAGS="$TARGETFLAGS -marm"
6599 case $with_float_abi in
6600 soft|softfp|hard)
6601 float_abi=$with_float_abi ;;
6603 case $host_os in
6604 *eabihf)
6605 float_abi=hard ;;
6607 float_abi=softfp
6608 saved_CFLAGS=$CFLAGS
6609 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6611 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6612 if test ${wine_cv_float_abi+y}
6613 then :
6614 printf %s "(cached) " >&6
6615 else $as_nop
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6620 main (void)
6622 asm("vmrs r2,fpscr");
6624 return 0;
6626 _ACEOF
6627 if ac_fn_c_try_link "$LINENO"
6628 then :
6629 wine_cv_float_abi=yes
6630 else $as_nop
6631 wine_cv_float_abi=no
6633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6634 conftest$ac_exeext conftest.$ac_ext
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6637 printf "%s\n" "$wine_cv_float_abi" >&6; }
6638 if test $wine_cv_float_abi = no
6639 then
6640 float_abi=soft
6641 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6643 CFLAGS=$saved_CFLAGS
6644 esac
6646 esac
6647 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6648 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6650 aarch64*)
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6652 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6653 if test ${wine_cv_builtin_ms_va_list+y}
6654 then :
6655 printf %s "(cached) " >&6
6656 else $as_nop
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6659 #include <stdarg.h>
6661 main (void)
6663 void func(__builtin_ms_va_list *args);
6665 return 0;
6667 _ACEOF
6668 if ac_fn_c_try_compile "$LINENO"
6669 then :
6670 wine_cv_builtin_ms_va_list=yes
6671 else $as_nop
6672 wine_cv_builtin_ms_va_list=no
6674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6677 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6678 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6679 enable_wow64=${enable_wow64:-yes}
6680 enable_wow64win=${enable_wow64win:-yes}
6682 i[3456789]86*)
6683 enable_win16=${enable_win16:-yes}
6684 with_unwind=${with_unwind:-no}
6686 esac
6688 enable_win16=${enable_win16:-no}
6689 enable_win64=${enable_win64:-no}
6690 enable_wow64=${enable_wow64:-no}
6691 enable_wow64win=${enable_wow64win:-no}
6692 enable_wow64cpu=${enable_wow64cpu:-no}
6694 enable_winetest=${enable_winetest:-$enable_tests}
6696 if test "x$enable_win64" = "xyes"
6697 then
6698 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6699 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6702 case $build_os in
6703 cygwin*|mingw32*) toolsext=".exe"
6705 *) toolsext=""
6707 esac
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6710 printf %s "checking for the directory containing the Wine tools... " >&6; }
6711 if test ${wine_cv_toolsdir+y}
6712 then :
6713 printf %s "(cached) " >&6
6714 else $as_nop
6715 wine_cv_toolsdir="$with_wine_tools"
6716 if test -z "$with_wine_tools"; then
6717 if test "$cross_compiling" = "yes"; then
6718 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6719 elif test -n "$with_wine64"; then
6720 wine_cv_toolsdir="$with_wine64"
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6725 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6726 if test -z "$wine_cv_toolsdir"; then
6727 wine_makedep=tools/makedep$toolsext
6728 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6729 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6730 enable_tools=${enable_tools:-no}
6731 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6732 else
6733 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6735 toolsdir=$wine_cv_toolsdir
6737 MAKEDEP=$wine_makedep
6739 RUNTESTFLAGS="-q -P wine"
6741 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'"
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_loader=${enable_loader:-no}
9831 enable_server=${enable_server:-no}
9832 with_x=${with_x:-no}
9833 with_pthread=${with_pthread:-no}
9836 darwin*|macosx*)
9837 ac_ext=m
9838 ac_cpp='$OBJCPP $CPPFLAGS'
9839 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9840 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9841 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9843 ac_ext=m
9844 ac_cpp='$OBJCPP $CPPFLAGS'
9845 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9846 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9847 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9848 if test -n "$ac_tool_prefix"; then
9849 for ac_prog in gcc objcc objc cc CC clang
9851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9852 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9854 printf %s "checking for $ac_word... " >&6; }
9855 if test ${ac_cv_prog_OBJC+y}
9856 then :
9857 printf %s "(cached) " >&6
9858 else $as_nop
9859 if test -n "$OBJC"; then
9860 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9861 else
9862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 for as_dir in $PATH
9865 IFS=$as_save_IFS
9866 case $as_dir in #(((
9867 '') as_dir=./ ;;
9868 */) ;;
9869 *) as_dir=$as_dir/ ;;
9870 esac
9871 for ac_exec_ext in '' $ac_executable_extensions; do
9872 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9873 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9875 break 2
9877 done
9878 done
9879 IFS=$as_save_IFS
9883 OBJC=$ac_cv_prog_OBJC
9884 if test -n "$OBJC"; then
9885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9886 printf "%s\n" "$OBJC" >&6; }
9887 else
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9889 printf "%s\n" "no" >&6; }
9893 test -n "$OBJC" && break
9894 done
9896 if test -z "$OBJC"; then
9897 ac_ct_OBJC=$OBJC
9898 for ac_prog in gcc objcc objc cc CC clang
9900 # Extract the first word of "$ac_prog", so it can be a program name with args.
9901 set dummy $ac_prog; ac_word=$2
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9903 printf %s "checking for $ac_word... " >&6; }
9904 if test ${ac_cv_prog_ac_ct_OBJC+y}
9905 then :
9906 printf %s "(cached) " >&6
9907 else $as_nop
9908 if test -n "$ac_ct_OBJC"; then
9909 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9910 else
9911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9912 for as_dir in $PATH
9914 IFS=$as_save_IFS
9915 case $as_dir in #(((
9916 '') as_dir=./ ;;
9917 */) ;;
9918 *) as_dir=$as_dir/ ;;
9919 esac
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9922 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9924 break 2
9926 done
9927 done
9928 IFS=$as_save_IFS
9932 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9933 if test -n "$ac_ct_OBJC"; then
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9935 printf "%s\n" "$ac_ct_OBJC" >&6; }
9936 else
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9938 printf "%s\n" "no" >&6; }
9942 test -n "$ac_ct_OBJC" && break
9943 done
9945 if test "x$ac_ct_OBJC" = x; then
9946 OBJC="gcc"
9947 else
9948 case $cross_compiling:$ac_tool_warned in
9949 yes:)
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9951 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9952 ac_tool_warned=yes ;;
9953 esac
9954 OBJC=$ac_ct_OBJC
9958 # Provide some information about the compiler.
9959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9960 set X $ac_compile
9961 ac_compiler=$2
9962 for ac_option in --version -v -V -qversion; do
9963 { { ac_try="$ac_compiler $ac_option >&5"
9964 case "(($ac_try" in
9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9967 esac
9968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9969 printf "%s\n" "$ac_try_echo"; } >&5
9970 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9971 ac_status=$?
9972 if test -s conftest.err; then
9973 sed '10a\
9974 ... rest of stderr output deleted ...
9975 10q' conftest.err >conftest.er1
9976 cat conftest.er1 >&5
9978 rm -f conftest.er1 conftest.err
9979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9980 test $ac_status = 0; }
9981 done
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9984 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9985 if test ${ac_cv_objc_compiler_gnu+y}
9986 then :
9987 printf %s "(cached) " >&6
9988 else $as_nop
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9993 main (void)
9995 #ifndef __GNUC__
9996 choke me
9997 #endif
10000 return 0;
10002 _ACEOF
10003 if ac_fn_objc_try_compile "$LINENO"
10004 then :
10005 ac_compiler_gnu=yes
10006 else $as_nop
10007 ac_compiler_gnu=no
10009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10010 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10014 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10015 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10017 if test $ac_compiler_gnu = yes; then
10018 GOBJC=yes
10019 else
10020 GOBJC=
10022 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10023 ac_save_OBJCFLAGS=$OBJCFLAGS
10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10025 printf %s "checking whether $OBJC accepts -g... " >&6; }
10026 if test ${ac_cv_prog_objc_g+y}
10027 then :
10028 printf %s "(cached) " >&6
10029 else $as_nop
10030 ac_save_objc_werror_flag=$ac_objc_werror_flag
10031 ac_objc_werror_flag=yes
10032 ac_cv_prog_objc_g=no
10033 OBJCFLAGS="-g"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10038 main (void)
10042 return 0;
10044 _ACEOF
10045 if ac_fn_objc_try_compile "$LINENO"
10046 then :
10047 ac_cv_prog_objc_g=yes
10048 else $as_nop
10049 OBJCFLAGS=""
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10054 main (void)
10058 return 0;
10060 _ACEOF
10061 if ac_fn_objc_try_compile "$LINENO"
10062 then :
10064 else $as_nop
10065 ac_objc_werror_flag=$ac_save_objc_werror_flag
10066 OBJCFLAGS="-g"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10071 main (void)
10075 return 0;
10077 _ACEOF
10078 if ac_fn_objc_try_compile "$LINENO"
10079 then :
10080 ac_cv_prog_objc_g=yes
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 ac_objc_werror_flag=$ac_save_objc_werror_flag
10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10090 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10091 if test $ac_test_OBJCFLAGS; then
10092 OBJCFLAGS=$ac_save_OBJCFLAGS
10093 elif test $ac_cv_prog_objc_g = yes; then
10094 if test "$GOBJC" = yes; then
10095 OBJCFLAGS="-g -O2"
10096 else
10097 OBJCFLAGS="-g"
10099 else
10100 if test "$GOBJC" = yes; then
10101 OBJCFLAGS="-O2"
10102 else
10103 OBJCFLAGS=
10106 ac_ext=m
10107 ac_cpp='$OBJCPP $CPPFLAGS'
10108 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10109 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10110 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10113 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10114 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10115 then :
10116 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10120 ac_ext=c
10121 ac_cpp='$CPP $CPPFLAGS'
10122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10126 LIBEXT="dylib"
10127 DLLFLAGS="$DLLFLAGS -fPIC"
10128 LDDLLFLAGS="-fPIC"
10129 COREFOUNDATION_LIBS="-framework CoreFoundation"
10131 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10133 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10135 CORESERVICES_LIBS="-framework CoreServices"
10137 APPKIT_LIBS="-framework AppKit"
10139 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10142 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10144 wine_can_build_preloader=yes
10145 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"
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10147 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10148 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10149 then :
10150 printf %s "(cached) " >&6
10151 else $as_nop
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"
10159 then :
10160 ac_cv_cflags__Wl__no_new_main__e__main=yes
10161 else $as_nop
10162 ac_cv_cflags__Wl__no_new_main__e__main=no
10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10169 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10170 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10171 then :
10172 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10173 { 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
10174 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10175 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10176 then :
10177 printf %s "(cached) " >&6
10178 else $as_nop
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int main(int argc, char **argv) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"
10186 then :
10187 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10188 else $as_nop
10189 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10195 { 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
10196 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10197 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10198 then :
10199 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10200 else $as_nop
10201 wine_can_build_preloader=no
10203 else $as_nop
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10205 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10206 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10207 then :
10208 printf %s "(cached) " >&6
10209 else $as_nop
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"
10217 then :
10218 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10219 else $as_nop
10220 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10227 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10228 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10229 then :
10230 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10231 else $as_nop
10232 wine_can_build_preloader=no
10235 if test "$wine_can_build_preloader" = "yes"
10236 then
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10238 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10239 if test ${ac_cv_cflags__Wl__no_pie+y}
10240 then :
10241 printf %s "(cached) " >&6
10242 else $as_nop
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 CFLAGS="$CFLAGS -Wl,-no_pie"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"
10250 then :
10251 ac_cv_cflags__Wl__no_pie=yes
10252 else $as_nop
10253 ac_cv_cflags__Wl__no_pie=no
10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10260 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10261 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10262 then :
10263 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10265 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10266 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10267 else
10268 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10271 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10272 then
10273 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10276 if test "$ac_cv_header_Security_Security_h" = "yes"
10277 then
10278 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10281 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10282 then
10283 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10285 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10287 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10288 then
10289 OPENAL_LIBS="-framework OpenAL"
10292 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10294 ac_cv_lib_openal=yes
10296 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10297 then
10298 OPENCL_LIBS="-framework OpenCL"
10300 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10302 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10303 then
10304 ac_save_LIBS="$LIBS"
10305 LIBS="$LIBS $IOKIT_LIBS"
10306 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10307 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10308 then :
10309 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10313 LIBS="$ac_save_LIBS"
10316 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10317 then
10318 CARBON_LIBS="-framework Carbon"
10321 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10322 then
10323 METAL_LIBS="-framework Metal"
10327 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10328 then
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10330 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10331 ac_ext=m
10332 ac_cpp='$OBJCPP $CPPFLAGS'
10333 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10334 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10335 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 #include <Metal/Metal.h>
10341 main (void)
10343 id<MTLDevice> device; device.registryID;
10345 return 0;
10347 _ACEOF
10348 if ac_fn_objc_try_compile "$LINENO"
10349 then :
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10351 printf "%s\n" "yes" >&6; }
10353 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10355 else $as_nop
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10357 printf "%s\n" "no" >&6; }
10359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10360 ac_ext=c
10361 ac_cpp='$CPP $CPPFLAGS'
10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10368 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10369 then
10370 ac_save_LIBS="$LIBS"
10371 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10372 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10373 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10374 then :
10375 enable_winemac_drv=${enable_winemac_drv:-yes}
10378 LIBS="$ac_save_LIBS"
10381 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10382 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10384 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10386 WINELOADER_DEPENDS="wine_info.plist"
10388 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10391 linux-android*)
10393 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10395 DLLFLAGS="$DLLFLAGS -fPIC"
10396 LDDLLFLAGS="-fPIC"
10397 LDEXECFLAGS="-Wl,-pie"
10398 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10400 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10401 if test ${ac_cv_cflags__Wl__z_defs+y}
10402 then :
10403 printf %s "(cached) " >&6
10404 else $as_nop
10405 ac_wine_try_cflags_saved=$CFLAGS
10406 CFLAGS="$CFLAGS -Wl,-z,defs"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int main(int argc, char **argv) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"
10412 then :
10413 ac_cv_cflags__Wl__z_defs=yes
10414 else $as_nop
10415 ac_cv_cflags__Wl__z_defs=no
10417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10422 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10423 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10424 then :
10425 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10428 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10429 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10430 then :
10431 printf %s "(cached) " >&6
10432 else $as_nop
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 int main(int argc, char **argv) { return 0; }
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"
10440 then :
10441 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10442 else $as_nop
10443 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10450 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10451 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10452 then :
10453 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10455 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10458 printf %s "checking for -lEGL... " >&6; }
10459 if test ${ac_cv_lib_soname_EGL+y}
10460 then :
10461 printf %s "(cached) " >&6
10462 else $as_nop
10463 ac_check_soname_save_LIBS=$LIBS
10464 LIBS="-lEGL $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 char eglGetProcAddress ();
10473 main (void)
10475 return eglGetProcAddress ();
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"
10481 then :
10482 case "$LIBEXT" in
10483 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10484 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'` ;;
10485 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10486 if ${ac_cv_lib_soname_EGL:+false} :
10487 then :
10488 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10489 fi ;;
10490 esac
10491 else $as_nop
10492 ac_cv_lib_soname_EGL=
10494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10495 conftest$ac_exeext conftest.$ac_ext
10496 LIBS=$ac_check_soname_save_LIBS
10498 if ${ac_cv_lib_soname_EGL:+false} :
10499 then :
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10501 printf "%s\n" "not found" >&6; }
10503 else $as_nop
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10505 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10507 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10512 printf %s "checking for -lGLESv2... " >&6; }
10513 if test ${ac_cv_lib_soname_GLESv2+y}
10514 then :
10515 printf %s "(cached) " >&6
10516 else $as_nop
10517 ac_check_soname_save_LIBS=$LIBS
10518 LIBS="-lGLESv2 $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 char glFlush ();
10527 main (void)
10529 return glFlush ();
10531 return 0;
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"
10535 then :
10536 case "$LIBEXT" in
10537 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10538 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'` ;;
10539 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10540 if ${ac_cv_lib_soname_GLESv2:+false} :
10541 then :
10542 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10545 else $as_nop
10546 ac_cv_lib_soname_GLESv2=
10548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_soname_save_LIBS
10552 if ${ac_cv_lib_soname_GLESv2:+false} :
10553 then :
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10555 printf "%s\n" "not found" >&6; }
10557 else $as_nop
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10559 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10561 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10566 if test "x$exec_prefix" = xNONE
10567 then
10568 case $host_cpu in
10569 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10570 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10571 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10572 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10573 esac
10579 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10581 case $host_cpu in
10582 *i[3456789]86*)
10583 DLLFLAGS="$DLLFLAGS -fno-PIC"
10584 LDDLLFLAGS="-fno-PIC"
10585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10586 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10587 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10588 then :
10589 printf %s "(cached) " >&6
10590 else $as_nop
10591 ac_wine_try_cflags_saved=$CFLAGS
10592 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 int main(int argc, char **argv) { return 0; }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"
10598 then :
10599 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10600 else $as_nop
10601 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10604 conftest$ac_exeext conftest.$ac_ext
10605 CFLAGS=$ac_wine_try_cflags_saved
10607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10608 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10609 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10610 then :
10611 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10615 DLLFLAGS="$DLLFLAGS -fPIC"
10616 LDDLLFLAGS="-fPIC" ;;
10617 esac
10618 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10620 echo '{ global: *; };' >conftest.map
10621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10622 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10623 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10624 then :
10625 printf %s "(cached) " >&6
10626 else $as_nop
10627 ac_wine_try_cflags_saved=$CFLAGS
10628 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10631 int main(int argc, char **argv) { return 0; }
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"
10634 then :
10635 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10636 else $as_nop
10637 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10640 conftest$ac_exeext conftest.$ac_ext
10641 CFLAGS=$ac_wine_try_cflags_saved
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10644 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10645 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10646 then :
10647 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10649 rm -f conftest.map
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10652 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10653 if test ${ac_cv_cflags__Wl__z_defs+y}
10654 then :
10655 printf %s "(cached) " >&6
10656 else $as_nop
10657 ac_wine_try_cflags_saved=$CFLAGS
10658 CFLAGS="$CFLAGS -Wl,-z,defs"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10661 int main(int argc, char **argv) { return 0; }
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"
10664 then :
10665 ac_cv_cflags__Wl__z_defs=yes
10666 else $as_nop
10667 ac_cv_cflags__Wl__z_defs=no
10669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10670 conftest$ac_exeext conftest.$ac_ext
10671 CFLAGS=$ac_wine_try_cflags_saved
10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10674 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10675 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10676 then :
10677 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10680 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10681 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 ac_wine_try_cflags_saved=$CFLAGS
10686 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int main(int argc, char **argv) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"
10692 then :
10693 ac_cv_cflags__Wl___export_dynamic=yes
10694 else $as_nop
10695 ac_cv_cflags__Wl___export_dynamic=no
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10702 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10703 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10704 then :
10705 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10707 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10709 case $host_cpu in
10710 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10712 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10713 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10714 then :
10715 printf %s "(cached) " >&6
10716 else $as_nop
10717 ac_wine_try_cflags_saved=$CFLAGS
10718 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int main(int argc, char **argv) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"
10724 then :
10725 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10726 else $as_nop
10727 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10730 conftest$ac_exeext conftest.$ac_ext
10731 CFLAGS=$ac_wine_try_cflags_saved
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10734 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10735 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10736 then :
10737 case $host_os in
10738 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10739 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10740 esac
10741 else $as_nop
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10743 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10744 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10745 then :
10746 printf %s "(cached) " >&6
10747 else $as_nop
10748 ac_wine_try_cflags_saved=$CFLAGS
10749 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10752 int main(int argc, char **argv) { return 0; }
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"
10755 then :
10756 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10757 else $as_nop
10758 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10761 conftest$ac_exeext conftest.$ac_ext
10762 CFLAGS=$ac_wine_try_cflags_saved
10764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10765 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10766 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10767 then :
10768 case $host_os in
10769 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10770 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10771 esac
10773 # Extract the first word of "prelink", so it can be a program name with args.
10774 set dummy prelink; ac_word=$2
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10776 printf %s "checking for $ac_word... " >&6; }
10777 if test ${ac_cv_path_PRELINK+y}
10778 then :
10779 printf %s "(cached) " >&6
10780 else $as_nop
10781 case $PRELINK in
10782 [\\/]* | ?:[\\/]*)
10783 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10787 for as_dir in /sbin /usr/sbin $PATH
10789 IFS=$as_save_IFS
10790 case $as_dir in #(((
10791 '') as_dir=./ ;;
10792 */) ;;
10793 *) as_dir=$as_dir/ ;;
10794 esac
10795 for ac_exec_ext in '' $ac_executable_extensions; do
10796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10797 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10799 break 2
10801 done
10802 done
10803 IFS=$as_save_IFS
10805 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10807 esac
10809 PRELINK=$ac_cv_path_PRELINK
10810 if test -n "$PRELINK"; then
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10812 printf "%s\n" "$PRELINK" >&6; }
10813 else
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10815 printf "%s\n" "no" >&6; }
10819 if test "x$PRELINK" = xfalse
10820 then
10821 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10825 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10826 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10827 then :
10828 printf %s "(cached) " >&6
10829 else $as_nop
10830 ac_wine_try_cflags_saved=$CFLAGS
10831 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10834 int main(int argc, char **argv) { return 0; }
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"
10837 then :
10838 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10839 else $as_nop
10840 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10843 conftest$ac_exeext conftest.$ac_ext
10844 CFLAGS=$ac_wine_try_cflags_saved
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10847 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10848 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10849 then :
10850 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10853 esac
10854 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10856 LIBWINE_DEPENDS="wine.map"
10858 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10860 esac
10862 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10863 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10864 enable_winemac_drv=${enable_winemac_drv:-no}
10867 if test "x$with_mingw" != xno
10868 then
10869 case "x$with_mingw" in
10870 x|xyes) case "$host_cpu" in
10871 aarch64*)
10872 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10873 arm*)
10874 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10875 i[3456789]86*)
10876 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
10877 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10878 mingw32-gcc clang" ;;
10879 x86_64)
10880 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
10881 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10883 ac_prefix_list="" ;;
10884 esac
10885 for ac_prog in $ac_prefix_list
10887 # Extract the first word of "$ac_prog", so it can be a program name with args.
10888 set dummy $ac_prog; ac_word=$2
10889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10890 printf %s "checking for $ac_word... " >&6; }
10891 if test ${ac_cv_prog_CROSSCC+y}
10892 then :
10893 printf %s "(cached) " >&6
10894 else $as_nop
10895 if test -n "$CROSSCC"; then
10896 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10897 else
10898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10899 for as_dir in $PATH
10901 IFS=$as_save_IFS
10902 case $as_dir in #(((
10903 '') as_dir=./ ;;
10904 */) ;;
10905 *) as_dir=$as_dir/ ;;
10906 esac
10907 for ac_exec_ext in '' $ac_executable_extensions; do
10908 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10909 ac_cv_prog_CROSSCC="$ac_prog"
10910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10911 break 2
10913 done
10914 done
10915 IFS=$as_save_IFS
10919 CROSSCC=$ac_cv_prog_CROSSCC
10920 if test -n "$CROSSCC"; then
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10922 printf "%s\n" "$CROSSCC" >&6; }
10923 else
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10925 printf "%s\n" "no" >&6; }
10929 test -n "$CROSSCC" && break
10930 done
10931 test -n "$CROSSCC" || CROSSCC="false"
10933 *) CROSSCC=$with_mingw ;;
10934 esac
10935 if test "$CROSSCC" != "false"
10936 then
10937 ac_save_CC="$CC"
10938 saved_CFLAGS=$CFLAGS
10939 saved_LDFLAGS=$LDFLAGS
10940 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10942 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10946 CC="$CROSSCC"
10947 CFLAGS=$CROSSCFLAGS
10948 LDFLAGS=$CROSSLDFLAGS
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10950 printf %s "checking whether $CROSSCC works... " >&6; }
10951 if test ${wine_cv_crosscc+y}
10952 then :
10953 printf %s "(cached) " >&6
10954 else $as_nop
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10959 main (void)
10963 return 0;
10965 _ACEOF
10966 if ac_fn_c_try_compile "$LINENO"
10967 then :
10968 wine_cv_crosscc=yes
10969 else $as_nop
10970 wine_cv_crosscc=no
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10975 printf "%s\n" "$wine_cv_crosscc" >&6; }
10976 if test $wine_cv_crosscc = yes
10977 then
10978 set x $CROSSCC
10979 shift
10980 while test $# -ge 1
10982 case "$1" in
10983 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10984 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10985 esac
10986 shift
10987 done
10989 llvm_target=$CROSSTARGET
10990 llvm_cflags="-fuse-ld=lld"
10991 if test -z "$llvm_target"
10992 then
10993 case $host_cpu in
10994 *i[3456789]86*) llvm_target=i686-windows ;;
10995 *) llvm_target=$host_cpu-windows ;;
10996 esac
10998 case $llvm_target in
10999 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11000 esac
11001 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11003 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_cc=$CC
11010 ac_wine_try_cflags_saved_exeext=$ac_exeext
11011 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11012 CC="$CROSSCC"
11013 ac_exeext=".exe"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int __cdecl mainCRTStartup(void) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 eval "$as_ac_var=yes"
11021 else $as_nop
11022 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11027 CC=$ac_wine_try_cflags_saved_cc
11028 ac_exeext=$ac_wine_try_cflags_saved_exeext
11030 eval ac_res=\$$as_ac_var
11031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11032 printf "%s\n" "$ac_res" >&6; }
11033 if eval test \"x\$"$as_ac_var"\" = x"yes"
11034 then :
11035 CROSSTARGET=$llvm_target
11036 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11037 DELAYLOADFLAG="-Wl,-delayload,"
11039 CFLAGS="$CFLAGS $llvm_cflags"
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11043 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11044 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11045 then :
11046 printf %s "(cached) " >&6
11047 else $as_nop
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_cc=$CC
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11052 CC="$CROSSCC"
11053 ac_exeext=".exe"
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11056 int __cdecl mainCRTStartup(void) { return 0; }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"
11059 then :
11060 ac_cv_crosscflags__fno_strict_aliasing=yes
11061 else $as_nop
11062 ac_cv_crosscflags__fno_strict_aliasing=no
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 CC=$ac_wine_try_cflags_saved_cc
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11071 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11072 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11073 then :
11074 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11077 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11078 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11079 then :
11080 printf %s "(cached) " >&6
11081 else $as_nop
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_cc=$CC
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11086 CC="$CROSSCC"
11087 ac_exeext=".exe"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11095 else $as_nop
11096 ac_cv_crosscflags__Werror_unknown_warning_option=no
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 CC=$ac_wine_try_cflags_saved_cc
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11105 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11106 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11107 then :
11108 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11111 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11112 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11113 then :
11114 printf %s "(cached) " >&6
11115 else $as_nop
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_cc=$CC
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11120 CC="$CROSSCC"
11121 ac_exeext=".exe"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"
11127 then :
11128 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11129 else $as_nop
11130 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 CC=$ac_wine_try_cflags_saved_cc
11136 ac_exeext=$ac_wine_try_cflags_saved_exeext
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11139 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11140 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11141 then :
11142 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11145 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11146 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11147 then :
11148 printf %s "(cached) " >&6
11149 else $as_nop
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_cc=$CC
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11154 CC="$CROSSCC"
11155 ac_exeext=".exe"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11158 int __cdecl mainCRTStartup(void) { return 0; }
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"
11161 then :
11162 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11163 else $as_nop
11164 ac_cv_crosscflags__Wdeclaration_after_statement=no
11166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11167 conftest$ac_exeext conftest.$ac_ext
11168 CFLAGS=$ac_wine_try_cflags_saved
11169 CC=$ac_wine_try_cflags_saved_cc
11170 ac_exeext=$ac_wine_try_cflags_saved_exeext
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11173 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11174 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11175 then :
11176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11179 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11180 if test ${ac_cv_crosscflags__Wempty_body+y}
11181 then :
11182 printf %s "(cached) " >&6
11183 else $as_nop
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_cc=$CC
11186 ac_wine_try_cflags_saved_exeext=$ac_exeext
11187 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11188 CC="$CROSSCC"
11189 ac_exeext=".exe"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11192 int __cdecl mainCRTStartup(void) { return 0; }
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"
11195 then :
11196 ac_cv_crosscflags__Wempty_body=yes
11197 else $as_nop
11198 ac_cv_crosscflags__Wempty_body=no
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 CC=$ac_wine_try_cflags_saved_cc
11204 ac_exeext=$ac_wine_try_cflags_saved_exeext
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11207 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11208 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11209 then :
11210 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11213 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11214 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11215 then :
11216 printf %s "(cached) " >&6
11217 else $as_nop
11218 ac_wine_try_cflags_saved=$CFLAGS
11219 ac_wine_try_cflags_saved_cc=$CC
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11222 CC="$CROSSCC"
11223 ac_exeext=".exe"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11226 int __cdecl mainCRTStartup(void) { return 0; }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"
11229 then :
11230 ac_cv_crosscflags__Wignored_qualifiers=yes
11231 else $as_nop
11232 ac_cv_crosscflags__Wignored_qualifiers=no
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 CC=$ac_wine_try_cflags_saved_cc
11238 ac_exeext=$ac_wine_try_cflags_saved_exeext
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11241 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11242 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11243 then :
11244 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11247 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11248 if test ${ac_cv_crosscflags__Winit_self+y}
11249 then :
11250 printf %s "(cached) " >&6
11251 else $as_nop
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_cc=$CC
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11256 CC="$CROSSCC"
11257 ac_exeext=".exe"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 ac_cv_crosscflags__Winit_self=yes
11265 else $as_nop
11266 ac_cv_crosscflags__Winit_self=no
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 CC=$ac_wine_try_cflags_saved_cc
11272 ac_exeext=$ac_wine_try_cflags_saved_exeext
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11275 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11276 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11277 then :
11278 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11281 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11282 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11283 then :
11284 printf %s "(cached) " >&6
11285 else $as_nop
11286 ac_wine_try_cflags_saved=$CFLAGS
11287 ac_wine_try_cflags_saved_cc=$CC
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11290 CC="$CROSSCC"
11291 ac_exeext=".exe"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 ac_cv_crosscflags__Wpacked_not_aligned=yes
11299 else $as_nop
11300 ac_cv_crosscflags__Wpacked_not_aligned=no
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 CC=$ac_wine_try_cflags_saved_cc
11306 ac_exeext=$ac_wine_try_cflags_saved_exeext
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11309 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11310 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11311 then :
11312 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11315 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11316 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11317 then :
11318 printf %s "(cached) " >&6
11319 else $as_nop
11320 ac_wine_try_cflags_saved=$CFLAGS
11321 ac_wine_try_cflags_saved_cc=$CC
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11324 CC="$CROSSCC"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 ac_cv_crosscflags__Wpragma_pack=yes
11333 else $as_nop
11334 ac_cv_crosscflags__Wpragma_pack=no
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 CC=$ac_wine_try_cflags_saved_cc
11340 ac_exeext=$ac_wine_try_cflags_saved_exeext
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11343 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11344 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11345 then :
11346 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11349 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11350 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11351 then :
11352 printf %s "(cached) " >&6
11353 else $as_nop
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_cc=$CC
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11358 CC="$CROSSCC"
11359 ac_exeext=".exe"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362 int __cdecl mainCRTStartup(void) { return 0; }
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"
11365 then :
11366 ac_cv_crosscflags__Wshift_overflow_2=yes
11367 else $as_nop
11368 ac_cv_crosscflags__Wshift_overflow_2=no
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 CC=$ac_wine_try_cflags_saved_cc
11374 ac_exeext=$ac_wine_try_cflags_saved_exeext
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11377 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11378 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11379 then :
11380 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11383 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11384 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_cc=$CC
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11392 CC="$CROSSCC"
11393 ac_exeext=".exe"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11396 int __cdecl mainCRTStartup(void) { return 0; }
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"
11399 then :
11400 ac_cv_crosscflags__Wstrict_prototypes=yes
11401 else $as_nop
11402 ac_cv_crosscflags__Wstrict_prototypes=no
11404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11405 conftest$ac_exeext conftest.$ac_ext
11406 CFLAGS=$ac_wine_try_cflags_saved
11407 CC=$ac_wine_try_cflags_saved_cc
11408 ac_exeext=$ac_wine_try_cflags_saved_exeext
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11411 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11412 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11413 then :
11414 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11417 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11418 if test ${ac_cv_crosscflags__Wtype_limits+y}
11419 then :
11420 printf %s "(cached) " >&6
11421 else $as_nop
11422 ac_wine_try_cflags_saved=$CFLAGS
11423 ac_wine_try_cflags_saved_cc=$CC
11424 ac_wine_try_cflags_saved_exeext=$ac_exeext
11425 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11426 CC="$CROSSCC"
11427 ac_exeext=".exe"
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11430 int __cdecl mainCRTStartup(void) { return 0; }
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"
11433 then :
11434 ac_cv_crosscflags__Wtype_limits=yes
11435 else $as_nop
11436 ac_cv_crosscflags__Wtype_limits=no
11438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11439 conftest$ac_exeext conftest.$ac_ext
11440 CFLAGS=$ac_wine_try_cflags_saved
11441 CC=$ac_wine_try_cflags_saved_cc
11442 ac_exeext=$ac_wine_try_cflags_saved_exeext
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11445 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11446 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11447 then :
11448 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11451 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11452 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11453 then :
11454 printf %s "(cached) " >&6
11455 else $as_nop
11456 ac_wine_try_cflags_saved=$CFLAGS
11457 ac_wine_try_cflags_saved_cc=$CC
11458 ac_wine_try_cflags_saved_exeext=$ac_exeext
11459 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11460 CC="$CROSSCC"
11461 ac_exeext=".exe"
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11464 int __cdecl mainCRTStartup(void) { return 0; }
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"
11467 then :
11468 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11469 else $as_nop
11470 ac_cv_crosscflags__Wunused_but_set_parameter=no
11472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11473 conftest$ac_exeext conftest.$ac_ext
11474 CFLAGS=$ac_wine_try_cflags_saved
11475 CC=$ac_wine_try_cflags_saved_cc
11476 ac_exeext=$ac_wine_try_cflags_saved_exeext
11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11479 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11480 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11481 then :
11482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11485 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11486 if test ${ac_cv_crosscflags__Wvla+y}
11487 then :
11488 printf %s "(cached) " >&6
11489 else $as_nop
11490 ac_wine_try_cflags_saved=$CFLAGS
11491 ac_wine_try_cflags_saved_cc=$CC
11492 ac_wine_try_cflags_saved_exeext=$ac_exeext
11493 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11494 CC="$CROSSCC"
11495 ac_exeext=".exe"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11498 int __cdecl mainCRTStartup(void) { return 0; }
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"
11501 then :
11502 ac_cv_crosscflags__Wvla=yes
11503 else $as_nop
11504 ac_cv_crosscflags__Wvla=no
11506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11507 conftest$ac_exeext conftest.$ac_ext
11508 CFLAGS=$ac_wine_try_cflags_saved
11509 CC=$ac_wine_try_cflags_saved_cc
11510 ac_exeext=$ac_wine_try_cflags_saved_exeext
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11513 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11514 if test "x$ac_cv_crosscflags__Wvla" = xyes
11515 then :
11516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11519 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11520 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11521 then :
11522 printf %s "(cached) " >&6
11523 else $as_nop
11524 ac_wine_try_cflags_saved=$CFLAGS
11525 ac_wine_try_cflags_saved_cc=$CC
11526 ac_wine_try_cflags_saved_exeext=$ac_exeext
11527 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11528 CC="$CROSSCC"
11529 ac_exeext=".exe"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11532 int __cdecl mainCRTStartup(void) { return 0; }
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"
11535 then :
11536 ac_cv_crosscflags__Wwrite_strings=yes
11537 else $as_nop
11538 ac_cv_crosscflags__Wwrite_strings=no
11540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11541 conftest$ac_exeext conftest.$ac_ext
11542 CFLAGS=$ac_wine_try_cflags_saved
11543 CC=$ac_wine_try_cflags_saved_cc
11544 ac_exeext=$ac_wine_try_cflags_saved_exeext
11546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11547 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11548 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11549 then :
11550 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11553 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11554 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11555 then :
11556 printf %s "(cached) " >&6
11557 else $as_nop
11558 ac_wine_try_cflags_saved=$CFLAGS
11559 ac_wine_try_cflags_saved_cc=$CC
11560 ac_wine_try_cflags_saved_exeext=$ac_exeext
11561 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11562 CC="$CROSSCC"
11563 ac_exeext=".exe"
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11566 int __cdecl mainCRTStartup(void) { return 0; }
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"
11569 then :
11570 ac_cv_crosscflags__Wpointer_arith=yes
11571 else $as_nop
11572 ac_cv_crosscflags__Wpointer_arith=no
11574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11575 conftest$ac_exeext conftest.$ac_ext
11576 CFLAGS=$ac_wine_try_cflags_saved
11577 CC=$ac_wine_try_cflags_saved_cc
11578 ac_exeext=$ac_wine_try_cflags_saved_exeext
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11581 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11582 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11583 then :
11584 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11587 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11588 if test ${ac_cv_crosscflags__Wlogical_op+y}
11589 then :
11590 printf %s "(cached) " >&6
11591 else $as_nop
11592 ac_wine_try_cflags_saved=$CFLAGS
11593 ac_wine_try_cflags_saved_cc=$CC
11594 ac_wine_try_cflags_saved_exeext=$ac_exeext
11595 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11596 CC="$CROSSCC"
11597 ac_exeext=".exe"
11598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 int __cdecl mainCRTStartup(void) { return 0; }
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"
11603 then :
11604 ac_cv_crosscflags__Wlogical_op=yes
11605 else $as_nop
11606 ac_cv_crosscflags__Wlogical_op=no
11608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11609 conftest$ac_exeext conftest.$ac_ext
11610 CFLAGS=$ac_wine_try_cflags_saved
11611 CC=$ac_wine_try_cflags_saved_cc
11612 ac_exeext=$ac_wine_try_cflags_saved_exeext
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11615 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11616 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11617 then :
11618 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11621 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11622 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11623 then :
11624 printf %s "(cached) " >&6
11625 else $as_nop
11626 ac_wine_try_cflags_saved=$CFLAGS
11627 ac_wine_try_cflags_saved_cc=$CC
11628 ac_wine_try_cflags_saved_exeext=$ac_exeext
11629 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11630 CC="$CROSSCC"
11631 ac_exeext=".exe"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 int __cdecl mainCRTStartup(void) { return 0; }
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"
11637 then :
11638 ac_cv_crosscflags__Wabsolute_value=yes
11639 else $as_nop
11640 ac_cv_crosscflags__Wabsolute_value=no
11642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11643 conftest$ac_exeext conftest.$ac_ext
11644 CFLAGS=$ac_wine_try_cflags_saved
11645 CC=$ac_wine_try_cflags_saved_cc
11646 ac_exeext=$ac_wine_try_cflags_saved_exeext
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11649 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11650 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11651 then :
11652 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11655 case $host_cpu in
11656 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11657 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11658 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11659 then :
11660 printf %s "(cached) " >&6
11661 else $as_nop
11662 ac_wine_try_cflags_saved=$CFLAGS
11663 ac_wine_try_cflags_saved_cc=$CC
11664 ac_wine_try_cflags_saved_exeext=$ac_exeext
11665 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11666 CC="$CROSSCC"
11667 ac_exeext=".exe"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 int __cdecl mainCRTStartup(void) { return 0; }
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"
11673 then :
11674 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11675 else $as_nop
11676 ac_cv_crosscflags__fno_omit_frame_pointer=no
11678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11679 conftest$ac_exeext conftest.$ac_ext
11680 CFLAGS=$ac_wine_try_cflags_saved
11681 CC=$ac_wine_try_cflags_saved_cc
11682 ac_exeext=$ac_wine_try_cflags_saved_exeext
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11685 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11686 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11687 then :
11688 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11689 fi ;;
11690 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11691 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11692 if test ${ac_cv_crosscflags__Wno_format+y}
11693 then :
11694 printf %s "(cached) " >&6
11695 else $as_nop
11696 ac_wine_try_cflags_saved=$CFLAGS
11697 ac_wine_try_cflags_saved_cc=$CC
11698 ac_wine_try_cflags_saved_exeext=$ac_exeext
11699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11700 CC="$CROSSCC"
11701 ac_exeext=".exe"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 int __cdecl mainCRTStartup(void) { return 0; }
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"
11707 then :
11708 ac_cv_crosscflags__Wno_format=yes
11709 else $as_nop
11710 ac_cv_crosscflags__Wno_format=no
11712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11713 conftest$ac_exeext conftest.$ac_ext
11714 CFLAGS=$ac_wine_try_cflags_saved
11715 CC=$ac_wine_try_cflags_saved_cc
11716 ac_exeext=$ac_wine_try_cflags_saved_exeext
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11719 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11720 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11721 then :
11722 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11725 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11726 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11727 then :
11728 printf %s "(cached) " >&6
11729 else $as_nop
11730 ac_wine_try_cflags_saved=$CFLAGS
11731 ac_wine_try_cflags_saved_cc=$CC
11732 ac_wine_try_cflags_saved_exeext=$ac_exeext
11733 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11734 CC="$CROSSCC"
11735 ac_exeext=".exe"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11738 int __cdecl mainCRTStartup(void) { return 0; }
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"
11741 then :
11742 ac_cv_crosscflags__Wformat_overflow=yes
11743 else $as_nop
11744 ac_cv_crosscflags__Wformat_overflow=no
11746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11747 conftest$ac_exeext conftest.$ac_ext
11748 CFLAGS=$ac_wine_try_cflags_saved
11749 CC=$ac_wine_try_cflags_saved_cc
11750 ac_exeext=$ac_wine_try_cflags_saved_exeext
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11753 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11754 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11755 then :
11756 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11759 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11760 if test ${ac_cv_crosscflags__Wnonnull+y}
11761 then :
11762 printf %s "(cached) " >&6
11763 else $as_nop
11764 ac_wine_try_cflags_saved=$CFLAGS
11765 ac_wine_try_cflags_saved_cc=$CC
11766 ac_wine_try_cflags_saved_exeext=$ac_exeext
11767 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11768 CC="$CROSSCC"
11769 ac_exeext=".exe"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 int __cdecl mainCRTStartup(void) { return 0; }
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"
11775 then :
11776 ac_cv_crosscflags__Wnonnull=yes
11777 else $as_nop
11778 ac_cv_crosscflags__Wnonnull=no
11780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11781 conftest$ac_exeext conftest.$ac_ext
11782 CFLAGS=$ac_wine_try_cflags_saved
11783 CC=$ac_wine_try_cflags_saved_cc
11784 ac_exeext=$ac_wine_try_cflags_saved_exeext
11786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11787 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11788 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11789 then :
11790 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11793 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11794 if test ${ac_cv_crosscflags__mcx16+y}
11795 then :
11796 printf %s "(cached) " >&6
11797 else $as_nop
11798 ac_wine_try_cflags_saved=$CFLAGS
11799 ac_wine_try_cflags_saved_cc=$CC
11800 ac_wine_try_cflags_saved_exeext=$ac_exeext
11801 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11802 CC="$CROSSCC"
11803 ac_exeext=".exe"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 int __cdecl mainCRTStartup(void) { return 0; }
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"
11809 then :
11810 ac_cv_crosscflags__mcx16=yes
11811 else $as_nop
11812 ac_cv_crosscflags__mcx16=no
11814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11815 conftest$ac_exeext conftest.$ac_ext
11816 CFLAGS=$ac_wine_try_cflags_saved
11817 CC=$ac_wine_try_cflags_saved_cc
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11821 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11822 if test "x$ac_cv_crosscflags__mcx16" = xyes
11823 then :
11824 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11825 fi ;;
11826 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11827 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11828 if test ${ac_cv_crosscflags__Wno_format+y}
11829 then :
11830 printf %s "(cached) " >&6
11831 else $as_nop
11832 ac_wine_try_cflags_saved=$CFLAGS
11833 ac_wine_try_cflags_saved_cc=$CC
11834 ac_wine_try_cflags_saved_exeext=$ac_exeext
11835 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11836 CC="$CROSSCC"
11837 ac_exeext=".exe"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 int __cdecl mainCRTStartup(void) { return 0; }
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"
11843 then :
11844 ac_cv_crosscflags__Wno_format=yes
11845 else $as_nop
11846 ac_cv_crosscflags__Wno_format=no
11848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11849 conftest$ac_exeext conftest.$ac_ext
11850 CFLAGS=$ac_wine_try_cflags_saved
11851 CC=$ac_wine_try_cflags_saved_cc
11852 ac_exeext=$ac_wine_try_cflags_saved_exeext
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11855 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11856 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11857 then :
11858 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11859 fi ;;
11860 esac
11863 if test -z "$CROSSDEBUG"
11864 then
11865 for ac_flag in $CROSSCFLAGS; do
11866 case $ac_flag in
11867 -gdwarf*) CROSSDEBUG=dwarf ;;
11868 -gcodeview) CROSSDEBUG=pdb ;;
11869 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11870 esac
11871 done
11874 ac_debug_format_seen=""
11875 for ac_flag in $CROSSCFLAGS; do
11876 case $ac_flag in
11877 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11878 esac
11879 done
11880 if test "x$ac_debug_format_seen" = x
11881 then
11882 case $CROSSDEBUG in
11883 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11884 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11885 if test ${ac_cv_crosscflags__gdwarf_4+y}
11886 then :
11887 printf %s "(cached) " >&6
11888 else $as_nop
11889 ac_wine_try_cflags_saved=$CFLAGS
11890 ac_wine_try_cflags_saved_cc=$CC
11891 ac_wine_try_cflags_saved_exeext=$ac_exeext
11892 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11893 CC="$CROSSCC"
11894 ac_exeext=".exe"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 int __cdecl mainCRTStartup(void) { return 0; }
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"
11900 then :
11901 ac_cv_crosscflags__gdwarf_4=yes
11902 else $as_nop
11903 ac_cv_crosscflags__gdwarf_4=no
11905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11906 conftest$ac_exeext conftest.$ac_ext
11907 CFLAGS=$ac_wine_try_cflags_saved
11908 CC=$ac_wine_try_cflags_saved_cc
11909 ac_exeext=$ac_wine_try_cflags_saved_exeext
11911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11912 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11913 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11914 then :
11915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11916 fi ;;
11917 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11918 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11919 if test ${ac_cv_crosscflags__gcodeview+y}
11920 then :
11921 printf %s "(cached) " >&6
11922 else $as_nop
11923 ac_wine_try_cflags_saved=$CFLAGS
11924 ac_wine_try_cflags_saved_cc=$CC
11925 ac_wine_try_cflags_saved_exeext=$ac_exeext
11926 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11927 CC="$CROSSCC"
11928 ac_exeext=".exe"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 int __cdecl mainCRTStartup(void) { return 0; }
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"
11934 then :
11935 ac_cv_crosscflags__gcodeview=yes
11936 else $as_nop
11937 ac_cv_crosscflags__gcodeview=no
11939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11940 conftest$ac_exeext conftest.$ac_ext
11941 CFLAGS=$ac_wine_try_cflags_saved
11942 CC=$ac_wine_try_cflags_saved_cc
11943 ac_exeext=$ac_wine_try_cflags_saved_exeext
11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11946 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11947 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11948 then :
11949 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11950 fi ;;
11951 esac
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11955 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11956 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11957 then :
11958 printf %s "(cached) " >&6
11959 else $as_nop
11960 ac_wine_try_cflags_saved=$CFLAGS
11961 ac_wine_try_cflags_saved_cc=$CC
11962 ac_wine_try_cflags_saved_exeext=$ac_exeext
11963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11964 CC="$CROSSCC"
11965 ac_exeext=".exe"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11968 int __cdecl mainCRTStartup(void) { return 0; }
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"
11971 then :
11972 ac_cv_crosscflags__fexcess_precision_standard=yes
11973 else $as_nop
11974 ac_cv_crosscflags__fexcess_precision_standard=no
11976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11977 conftest$ac_exeext conftest.$ac_ext
11978 CFLAGS=$ac_wine_try_cflags_saved
11979 CC=$ac_wine_try_cflags_saved_cc
11980 ac_exeext=$ac_wine_try_cflags_saved_exeext
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11983 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11984 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11985 then :
11986 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11990 if test "x$enable_werror" = "xyes"
11991 then
11992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11993 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11994 if test ${ac_cv_crosscflags__Werror+y}
11995 then :
11996 printf %s "(cached) " >&6
11997 else $as_nop
11998 ac_wine_try_cflags_saved=$CFLAGS
11999 ac_wine_try_cflags_saved_cc=$CC
12000 ac_wine_try_cflags_saved_exeext=$ac_exeext
12001 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12002 CC="$CROSSCC"
12003 ac_exeext=".exe"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12006 int __cdecl mainCRTStartup(void) { return 0; }
12007 _ACEOF
12008 if ac_fn_c_try_link "$LINENO"
12009 then :
12010 ac_cv_crosscflags__Werror=yes
12011 else $as_nop
12012 ac_cv_crosscflags__Werror=no
12014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12015 conftest$ac_exeext conftest.$ac_ext
12016 CFLAGS=$ac_wine_try_cflags_saved
12017 CC=$ac_wine_try_cflags_saved_cc
12018 ac_exeext=$ac_wine_try_cflags_saved_exeext
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12021 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12022 if test "x$ac_cv_crosscflags__Werror" = xyes
12023 then :
12024 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12027 if test "x$enable_build_id" = "xyes"
12028 then
12029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12030 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12031 if test ${ac_cv_crosscflags__Wl___build_id+y}
12032 then :
12033 printf %s "(cached) " >&6
12034 else $as_nop
12035 ac_wine_try_cflags_saved=$CFLAGS
12036 ac_wine_try_cflags_saved_cc=$CC
12037 ac_wine_try_cflags_saved_exeext=$ac_exeext
12038 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12039 CC="$CROSSCC"
12040 ac_exeext=".exe"
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12043 int __cdecl mainCRTStartup(void) { return 0; }
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"
12046 then :
12047 ac_cv_crosscflags__Wl___build_id=yes
12048 else $as_nop
12049 ac_cv_crosscflags__Wl___build_id=no
12051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12052 conftest$ac_exeext conftest.$ac_ext
12053 CFLAGS=$ac_wine_try_cflags_saved
12054 CC=$ac_wine_try_cflags_saved_cc
12055 ac_exeext=$ac_wine_try_cflags_saved_exeext
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12058 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12059 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12060 then :
12061 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12062 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12066 CFLAGS=$saved_CFLAGS
12067 LDFLAGS=$saved_LDFLAGS
12068 CC="$ac_save_CC"
12071 if test "x$CROSSTARGET" = "x"
12072 then :
12073 case "x$with_mingw" in
12074 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12075 xno) ;;
12076 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12077 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12078 esac
12083 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12084 then
12085 case "$host_cpu" in
12086 i[3456789]86*)
12087 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12089 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12090 esac
12091 for ac_prog in $ac_prefix_list
12093 # Extract the first word of "$ac_prog", so it can be a program name with args.
12094 set dummy $ac_prog; ac_word=$2
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12096 printf %s "checking for $ac_word... " >&6; }
12097 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12098 then :
12099 printf %s "(cached) " >&6
12100 else $as_nop
12101 if test -n "$MINGW_PKG_CONFIG"; then
12102 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12103 else
12104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12105 for as_dir in $PATH
12107 IFS=$as_save_IFS
12108 case $as_dir in #(((
12109 '') as_dir=./ ;;
12110 */) ;;
12111 *) as_dir=$as_dir/ ;;
12112 esac
12113 for ac_exec_ext in '' $ac_executable_extensions; do
12114 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12115 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12117 break 2
12119 done
12120 done
12121 IFS=$as_save_IFS
12125 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12126 if test -n "$MINGW_PKG_CONFIG"; then
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12128 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12129 else
12130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12131 printf "%s\n" "no" >&6; }
12135 test -n "$MINGW_PKG_CONFIG" && break
12136 done
12137 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12139 if ${FAUDIO_PE_CFLAGS:+false} :
12140 then :
12141 if test ${MINGW_PKG_CONFIG+y}
12142 then :
12143 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12146 if ${FAUDIO_PE_LIBS:+false} :
12147 then :
12148 if test ${MINGW_PKG_CONFIG+y}
12149 then :
12150 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12153 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12154 ac_save_CPPFLAGS=$CPPFLAGS
12155 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12157 printf %s "checking for MinGW FAudio.h... " >&6; }
12158 if test ${ac_cv_mingw_header_FAudio_h+y}
12159 then :
12160 printf %s "(cached) " >&6
12161 else $as_nop
12162 ac_wine_check_headers_saved_cc=$CC
12163 ac_wine_check_headers_saved_exeext=$ac_exeext
12164 CC="$CROSSCC"
12165 ac_exeext=".exe"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 #include <FAudio.h>
12171 main (void)
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_compile "$LINENO"
12179 then :
12180 ac_cv_mingw_header_FAudio_h=yes
12181 else $as_nop
12182 ac_cv_mingw_header_FAudio_h=no
12184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12185 CC=$ac_wine_check_headers_saved_cc
12186 ac_exeext=$ac_wine_check_headers_saved_exeext
12188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12189 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12190 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12191 then :
12192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12193 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12194 if test ${ac_cv_mingw_lib_FAudio+y}
12195 then :
12196 printf %s "(cached) " >&6
12197 else $as_nop
12198 ac_wine_check_headers_saved_cc=$CC
12199 ac_wine_check_headers_saved_exeext=$ac_exeext
12200 ac_wine_check_headers_saved_libs=$LIBS
12201 CC="$CROSSCC"
12202 ac_exeext=".exe"
12203 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 /* Override any GCC internal prototype to avoid an error.
12208 Use char because int might match the return type of a GCC
12209 builtin and then its argument prototype would still apply. */
12210 char FAudio_CommitOperationSet ();
12212 main (void)
12214 return FAudio_CommitOperationSet ();
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_link "$LINENO"
12220 then :
12221 ac_cv_mingw_lib_FAudio=yes
12222 else $as_nop
12223 ac_cv_mingw_lib_FAudio=no
12225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12226 conftest$ac_exeext conftest.$ac_ext
12227 CC=$ac_wine_check_headers_saved_cc
12228 ac_exeext=$ac_wine_check_headers_saved_exeext
12229 LIBS=$ac_wine_check_headers_saved_libs
12231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12232 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12233 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12234 then :
12236 else $as_nop
12237 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12239 else $as_nop
12240 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12242 CPPFLAGS=$ac_save_CPPFLAGS
12244 if test "x$FAUDIO_PE_LIBS" = "x"
12245 then
12246 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12249 if ${JPEG_PE_CFLAGS:+false} :
12250 then :
12251 if test ${MINGW_PKG_CONFIG+y}
12252 then :
12253 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12256 if ${JPEG_PE_LIBS:+false} :
12257 then :
12258 if test ${MINGW_PKG_CONFIG+y}
12259 then :
12260 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12264 ac_save_CPPFLAGS=$CPPFLAGS
12265 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12267 printf %s "checking for MinGW jpeglib.h... " >&6; }
12268 if test ${ac_cv_mingw_header_jpeglib_h+y}
12269 then :
12270 printf %s "(cached) " >&6
12271 else $as_nop
12272 ac_wine_check_headers_saved_cc=$CC
12273 ac_wine_check_headers_saved_exeext=$ac_exeext
12274 CC="$CROSSCC"
12275 ac_exeext=".exe"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 #include <stddef.h>
12279 #include <stdio.h>
12280 #include <jpeglib.h>
12282 main (void)
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_compile "$LINENO"
12290 then :
12291 ac_cv_mingw_header_jpeglib_h=yes
12292 else $as_nop
12293 ac_cv_mingw_header_jpeglib_h=no
12295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12296 CC=$ac_wine_check_headers_saved_cc
12297 ac_exeext=$ac_wine_check_headers_saved_exeext
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12300 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12301 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12302 then :
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12304 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12305 if test ${ac_cv_mingw_lib_jpeg+y}
12306 then :
12307 printf %s "(cached) " >&6
12308 else $as_nop
12309 ac_wine_check_headers_saved_cc=$CC
12310 ac_wine_check_headers_saved_exeext=$ac_exeext
12311 ac_wine_check_headers_saved_libs=$LIBS
12312 CC="$CROSSCC"
12313 ac_exeext=".exe"
12314 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12321 char jpeg_start_decompress ();
12323 main (void)
12325 return jpeg_start_decompress ();
12327 return 0;
12329 _ACEOF
12330 if ac_fn_c_try_link "$LINENO"
12331 then :
12332 ac_cv_mingw_lib_jpeg=yes
12333 else $as_nop
12334 ac_cv_mingw_lib_jpeg=no
12336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12337 conftest$ac_exeext conftest.$ac_ext
12338 CC=$ac_wine_check_headers_saved_cc
12339 ac_exeext=$ac_wine_check_headers_saved_exeext
12340 LIBS=$ac_wine_check_headers_saved_libs
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12343 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12344 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12345 then :
12347 else $as_nop
12348 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12350 else $as_nop
12351 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12353 CPPFLAGS=$ac_save_CPPFLAGS
12355 if test "x$JPEG_PE_LIBS" = "x"
12356 then
12357 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12360 if ${LCMS2_PE_CFLAGS:+false} :
12361 then :
12362 if test ${MINGW_PKG_CONFIG+y}
12363 then :
12364 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12367 if ${LCMS2_PE_LIBS:+false} :
12368 then :
12369 if test ${MINGW_PKG_CONFIG+y}
12370 then :
12371 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12374 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12378 printf %s "checking for MinGW lcms2.h... " >&6; }
12379 if test ${ac_cv_mingw_header_lcms2_h+y}
12380 then :
12381 printf %s "(cached) " >&6
12382 else $as_nop
12383 ac_wine_check_headers_saved_cc=$CC
12384 ac_wine_check_headers_saved_exeext=$ac_exeext
12385 CC="$CROSSCC"
12386 ac_exeext=".exe"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 #include <lcms2.h>
12392 main (void)
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_compile "$LINENO"
12400 then :
12401 ac_cv_mingw_header_lcms2_h=yes
12402 else $as_nop
12403 ac_cv_mingw_header_lcms2_h=no
12405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12406 CC=$ac_wine_check_headers_saved_cc
12407 ac_exeext=$ac_wine_check_headers_saved_exeext
12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12410 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12411 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12412 then :
12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12414 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12415 if test ${ac_cv_mingw_lib_lcms2+y}
12416 then :
12417 printf %s "(cached) " >&6
12418 else $as_nop
12419 ac_wine_check_headers_saved_cc=$CC
12420 ac_wine_check_headers_saved_exeext=$ac_exeext
12421 ac_wine_check_headers_saved_libs=$LIBS
12422 CC="$CROSSCC"
12423 ac_exeext=".exe"
12424 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 char cmsOpenProfileFromFile ();
12433 main (void)
12435 return cmsOpenProfileFromFile ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"
12441 then :
12442 ac_cv_mingw_lib_lcms2=yes
12443 else $as_nop
12444 ac_cv_mingw_lib_lcms2=no
12446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12447 conftest$ac_exeext conftest.$ac_ext
12448 CC=$ac_wine_check_headers_saved_cc
12449 ac_exeext=$ac_wine_check_headers_saved_exeext
12450 LIBS=$ac_wine_check_headers_saved_libs
12452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12453 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12454 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12455 then :
12457 else $as_nop
12458 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12460 else $as_nop
12461 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12463 CPPFLAGS=$ac_save_CPPFLAGS
12465 if test "x$LCMS2_PE_LIBS" = "x"
12466 then
12467 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12470 if ${MPG123_PE_CFLAGS:+false} :
12471 then :
12472 if test ${MINGW_PKG_CONFIG+y}
12473 then :
12474 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12477 if ${MPG123_PE_LIBS:+false} :
12478 then :
12479 if test ${MINGW_PKG_CONFIG+y}
12480 then :
12481 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12484 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12485 ac_save_CPPFLAGS=$CPPFLAGS
12486 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12488 printf %s "checking for MinGW mpg123.h... " >&6; }
12489 if test ${ac_cv_mingw_header_mpg123_h+y}
12490 then :
12491 printf %s "(cached) " >&6
12492 else $as_nop
12493 ac_wine_check_headers_saved_cc=$CC
12494 ac_wine_check_headers_saved_exeext=$ac_exeext
12495 CC="$CROSSCC"
12496 ac_exeext=".exe"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 #include <mpg123.h>
12502 main (void)
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_compile "$LINENO"
12510 then :
12511 ac_cv_mingw_header_mpg123_h=yes
12512 else $as_nop
12513 ac_cv_mingw_header_mpg123_h=no
12515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12516 CC=$ac_wine_check_headers_saved_cc
12517 ac_exeext=$ac_wine_check_headers_saved_exeext
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12520 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12521 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12522 then :
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12524 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12525 if test ${ac_cv_mingw_lib_mpg123+y}
12526 then :
12527 printf %s "(cached) " >&6
12528 else $as_nop
12529 ac_wine_check_headers_saved_cc=$CC
12530 ac_wine_check_headers_saved_exeext=$ac_exeext
12531 ac_wine_check_headers_saved_libs=$LIBS
12532 CC="$CROSSCC"
12533 ac_exeext=".exe"
12534 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 char mpg123_feed ();
12543 main (void)
12545 return mpg123_feed ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"
12551 then :
12552 ac_cv_mingw_lib_mpg123=yes
12553 else $as_nop
12554 ac_cv_mingw_lib_mpg123=no
12556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12557 conftest$ac_exeext conftest.$ac_ext
12558 CC=$ac_wine_check_headers_saved_cc
12559 ac_exeext=$ac_wine_check_headers_saved_exeext
12560 LIBS=$ac_wine_check_headers_saved_libs
12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12563 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12564 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12565 then :
12567 else $as_nop
12568 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12570 else $as_nop
12571 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12573 CPPFLAGS=$ac_save_CPPFLAGS
12575 if test "x$MPG123_PE_LIBS" = "x"
12576 then
12577 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12580 if ${PNG_PE_CFLAGS:+false} :
12581 then :
12582 if test ${MINGW_PKG_CONFIG+y}
12583 then :
12584 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12587 if ${PNG_PE_LIBS:+false} :
12588 then :
12589 if test ${MINGW_PKG_CONFIG+y}
12590 then :
12591 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12595 ac_save_CPPFLAGS=$CPPFLAGS
12596 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12598 printf %s "checking for MinGW png.h... " >&6; }
12599 if test ${ac_cv_mingw_header_png_h+y}
12600 then :
12601 printf %s "(cached) " >&6
12602 else $as_nop
12603 ac_wine_check_headers_saved_cc=$CC
12604 ac_wine_check_headers_saved_exeext=$ac_exeext
12605 CC="$CROSSCC"
12606 ac_exeext=".exe"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 #include <png.h>
12612 main (void)
12616 return 0;
12618 _ACEOF
12619 if ac_fn_c_try_compile "$LINENO"
12620 then :
12621 ac_cv_mingw_header_png_h=yes
12622 else $as_nop
12623 ac_cv_mingw_header_png_h=no
12625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12626 CC=$ac_wine_check_headers_saved_cc
12627 ac_exeext=$ac_wine_check_headers_saved_exeext
12629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12630 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12631 if test "x$ac_cv_mingw_header_png_h" = xyes
12632 then :
12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12634 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12635 if test ${ac_cv_mingw_lib_png+y}
12636 then :
12637 printf %s "(cached) " >&6
12638 else $as_nop
12639 ac_wine_check_headers_saved_cc=$CC
12640 ac_wine_check_headers_saved_exeext=$ac_exeext
12641 ac_wine_check_headers_saved_libs=$LIBS
12642 CC="$CROSSCC"
12643 ac_exeext=".exe"
12644 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12648 /* Override any GCC internal prototype to avoid an error.
12649 Use char because int might match the return type of a GCC
12650 builtin and then its argument prototype would still apply. */
12651 char png_create_read_struct ();
12653 main (void)
12655 return png_create_read_struct ();
12657 return 0;
12659 _ACEOF
12660 if ac_fn_c_try_link "$LINENO"
12661 then :
12662 ac_cv_mingw_lib_png=yes
12663 else $as_nop
12664 ac_cv_mingw_lib_png=no
12666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12667 conftest$ac_exeext conftest.$ac_ext
12668 CC=$ac_wine_check_headers_saved_cc
12669 ac_exeext=$ac_wine_check_headers_saved_exeext
12670 LIBS=$ac_wine_check_headers_saved_libs
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12673 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12674 if test "x$ac_cv_mingw_lib_png" = xyes
12675 then :
12677 else $as_nop
12678 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12680 else $as_nop
12681 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12683 CPPFLAGS=$ac_save_CPPFLAGS
12685 if test "x$PNG_PE_LIBS" = "x"
12686 then
12687 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12690 if ${TIFF_PE_CFLAGS:+false} :
12691 then :
12692 if test ${MINGW_PKG_CONFIG+y}
12693 then :
12694 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12697 if ${TIFF_PE_LIBS:+false} :
12698 then :
12699 if test ${MINGW_PKG_CONFIG+y}
12700 then :
12701 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12705 ac_save_CPPFLAGS=$CPPFLAGS
12706 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12708 printf %s "checking for MinGW tiffio.h... " >&6; }
12709 if test ${ac_cv_mingw_header_tiffio_h+y}
12710 then :
12711 printf %s "(cached) " >&6
12712 else $as_nop
12713 ac_wine_check_headers_saved_cc=$CC
12714 ac_wine_check_headers_saved_exeext=$ac_exeext
12715 CC="$CROSSCC"
12716 ac_exeext=".exe"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 #include <tiffio.h>
12722 main (void)
12726 return 0;
12728 _ACEOF
12729 if ac_fn_c_try_compile "$LINENO"
12730 then :
12731 ac_cv_mingw_header_tiffio_h=yes
12732 else $as_nop
12733 ac_cv_mingw_header_tiffio_h=no
12735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12736 CC=$ac_wine_check_headers_saved_cc
12737 ac_exeext=$ac_wine_check_headers_saved_exeext
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12740 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12741 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12742 then :
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12744 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12745 if test ${ac_cv_mingw_lib_tiff+y}
12746 then :
12747 printf %s "(cached) " >&6
12748 else $as_nop
12749 ac_wine_check_headers_saved_cc=$CC
12750 ac_wine_check_headers_saved_exeext=$ac_exeext
12751 ac_wine_check_headers_saved_libs=$LIBS
12752 CC="$CROSSCC"
12753 ac_exeext=".exe"
12754 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 /* Override any GCC internal prototype to avoid an error.
12759 Use char because int might match the return type of a GCC
12760 builtin and then its argument prototype would still apply. */
12761 char TIFFClientOpen ();
12763 main (void)
12765 return TIFFClientOpen ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"
12771 then :
12772 ac_cv_mingw_lib_tiff=yes
12773 else $as_nop
12774 ac_cv_mingw_lib_tiff=no
12776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12777 conftest$ac_exeext conftest.$ac_ext
12778 CC=$ac_wine_check_headers_saved_cc
12779 ac_exeext=$ac_wine_check_headers_saved_exeext
12780 LIBS=$ac_wine_check_headers_saved_libs
12782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12783 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12784 if test "x$ac_cv_mingw_lib_tiff" = xyes
12785 then :
12787 else $as_nop
12788 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12790 else $as_nop
12791 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12793 CPPFLAGS=$ac_save_CPPFLAGS
12795 if test "x$TIFF_PE_LIBS" = "x"
12796 then
12797 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12800 if ${XML2_PE_CFLAGS:+false} :
12801 then :
12802 if test ${MINGW_PKG_CONFIG+y}
12803 then :
12804 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12807 if ${XML2_PE_LIBS:+false} :
12808 then :
12809 if test ${MINGW_PKG_CONFIG+y}
12810 then :
12811 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12814 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12815 ac_save_CPPFLAGS=$CPPFLAGS
12816 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12818 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12819 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12820 then :
12821 printf %s "(cached) " >&6
12822 else $as_nop
12823 ac_wine_check_headers_saved_cc=$CC
12824 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 CC="$CROSSCC"
12826 ac_exeext=".exe"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 #include <libxml/parser.h>
12832 main (void)
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_compile "$LINENO"
12840 then :
12841 ac_cv_mingw_header_libxml_parser_h=yes
12842 else $as_nop
12843 ac_cv_mingw_header_libxml_parser_h=no
12845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12846 CC=$ac_wine_check_headers_saved_cc
12847 ac_exeext=$ac_wine_check_headers_saved_exeext
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12850 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12851 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12852 then :
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12856 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12857 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12858 then :
12859 printf %s "(cached) " >&6
12860 else $as_nop
12861 ac_wine_check_headers_saved_cc=$CC
12862 ac_wine_check_headers_saved_exeext=$ac_exeext
12863 CC="$CROSSCC"
12864 ac_exeext=".exe"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 #include <libxml/xmlsave.h>
12870 main (void)
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_compile "$LINENO"
12878 then :
12879 ac_cv_mingw_header_libxml_xmlsave_h=yes
12880 else $as_nop
12881 ac_cv_mingw_header_libxml_xmlsave_h=no
12883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12884 CC=$ac_wine_check_headers_saved_cc
12885 ac_exeext=$ac_wine_check_headers_saved_exeext
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12888 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12889 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12890 then :
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12894 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12895 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12896 then :
12897 printf %s "(cached) " >&6
12898 else $as_nop
12899 ac_wine_check_headers_saved_cc=$CC
12900 ac_wine_check_headers_saved_exeext=$ac_exeext
12901 CC="$CROSSCC"
12902 ac_exeext=".exe"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 #include <libxml/SAX2.h>
12908 main (void)
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_compile "$LINENO"
12916 then :
12917 ac_cv_mingw_header_libxml_SAX2_h=yes
12918 else $as_nop
12919 ac_cv_mingw_header_libxml_SAX2_h=no
12921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12922 CC=$ac_wine_check_headers_saved_cc
12923 ac_exeext=$ac_wine_check_headers_saved_exeext
12925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12926 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12927 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12928 then :
12931 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"
12932 then
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12934 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12935 if test ${ac_cv_mingw_lib_xml2+y}
12936 then :
12937 printf %s "(cached) " >&6
12938 else $as_nop
12939 ac_wine_check_headers_saved_cc=$CC
12940 ac_wine_check_headers_saved_exeext=$ac_exeext
12941 ac_wine_check_headers_saved_libs=$LIBS
12942 CC="$CROSSCC"
12943 ac_exeext=".exe"
12944 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 char xmlFirstElementChild ();
12953 main (void)
12955 return xmlFirstElementChild ();
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_link "$LINENO"
12961 then :
12962 ac_cv_mingw_lib_xml2=yes
12963 else $as_nop
12964 ac_cv_mingw_lib_xml2=no
12966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12967 conftest$ac_exeext conftest.$ac_ext
12968 CC=$ac_wine_check_headers_saved_cc
12969 ac_exeext=$ac_wine_check_headers_saved_exeext
12970 LIBS=$ac_wine_check_headers_saved_libs
12972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12973 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12974 if test "x$ac_cv_mingw_lib_xml2" = xyes
12975 then :
12977 else $as_nop
12978 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12980 else
12981 XML2_PE_CFLAGS=""
12982 XML2_PE_LIBS=""
12984 CPPFLAGS=$ac_save_CPPFLAGS
12986 if test "x$XML2_PE_LIBS" = "x"
12987 then
12988 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12991 if ${XSLT_PE_CFLAGS:+false} :
12992 then :
12993 if test ${MINGW_PKG_CONFIG+y}
12994 then :
12995 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12998 if ${XSLT_PE_LIBS:+false} :
12999 then :
13000 if test ${MINGW_PKG_CONFIG+y}
13001 then :
13002 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13005 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13009 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13010 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13011 then :
13012 printf %s "(cached) " >&6
13013 else $as_nop
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 CC="$CROSSCC"
13017 ac_exeext=".exe"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 #include <libxslt/pattern.h>
13023 main (void)
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_compile "$LINENO"
13031 then :
13032 ac_cv_mingw_header_libxslt_pattern_h=yes
13033 else $as_nop
13034 ac_cv_mingw_header_libxslt_pattern_h=no
13036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13041 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13042 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13043 then :
13046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13047 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13048 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13049 then :
13050 printf %s "(cached) " >&6
13051 else $as_nop
13052 ac_wine_check_headers_saved_cc=$CC
13053 ac_wine_check_headers_saved_exeext=$ac_exeext
13054 CC="$CROSSCC"
13055 ac_exeext=".exe"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 #include <libxslt/transform.h>
13061 main (void)
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_compile "$LINENO"
13069 then :
13070 ac_cv_mingw_header_libxslt_transform_h=yes
13071 else $as_nop
13072 ac_cv_mingw_header_libxslt_transform_h=no
13074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13075 CC=$ac_wine_check_headers_saved_cc
13076 ac_exeext=$ac_wine_check_headers_saved_exeext
13078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13079 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13080 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13081 then :
13084 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13085 then
13086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13087 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13088 if test ${ac_cv_mingw_lib_xslt+y}
13089 then :
13090 printf %s "(cached) " >&6
13091 else $as_nop
13092 ac_wine_check_headers_saved_cc=$CC
13093 ac_wine_check_headers_saved_exeext=$ac_exeext
13094 ac_wine_check_headers_saved_libs=$LIBS
13095 CC="$CROSSCC"
13096 ac_exeext=".exe"
13097 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13104 char xsltCompilePattern ();
13106 main (void)
13108 return xsltCompilePattern ();
13110 return 0;
13112 _ACEOF
13113 if ac_fn_c_try_link "$LINENO"
13114 then :
13115 ac_cv_mingw_lib_xslt=yes
13116 else $as_nop
13117 ac_cv_mingw_lib_xslt=no
13119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13120 conftest$ac_exeext conftest.$ac_ext
13121 CC=$ac_wine_check_headers_saved_cc
13122 ac_exeext=$ac_wine_check_headers_saved_exeext
13123 LIBS=$ac_wine_check_headers_saved_libs
13125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13126 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13127 if test "x$ac_cv_mingw_lib_xslt" = xyes
13128 then :
13130 else $as_nop
13131 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13133 else
13134 XSLT_PE_CFLAGS=""
13135 XSLT_PE_LIBS=""
13137 CPPFLAGS=$ac_save_CPPFLAGS
13139 if test "x$XSLT_PE_LIBS" = "x"
13140 then
13141 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13144 if ${ZLIB_PE_CFLAGS:+false} :
13145 then :
13146 if test ${MINGW_PKG_CONFIG+y}
13147 then :
13148 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13151 if ${ZLIB_PE_LIBS:+false} :
13152 then :
13153 if test ${MINGW_PKG_CONFIG+y}
13154 then :
13155 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13158 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13159 ac_save_CPPFLAGS=$CPPFLAGS
13160 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13162 printf %s "checking for MinGW zlib.h... " >&6; }
13163 if test ${ac_cv_mingw_header_zlib_h+y}
13164 then :
13165 printf %s "(cached) " >&6
13166 else $as_nop
13167 ac_wine_check_headers_saved_cc=$CC
13168 ac_wine_check_headers_saved_exeext=$ac_exeext
13169 CC="$CROSSCC"
13170 ac_exeext=".exe"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 #include <zlib.h>
13176 main (void)
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_compile "$LINENO"
13184 then :
13185 ac_cv_mingw_header_zlib_h=yes
13186 else $as_nop
13187 ac_cv_mingw_header_zlib_h=no
13189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13190 CC=$ac_wine_check_headers_saved_cc
13191 ac_exeext=$ac_wine_check_headers_saved_exeext
13193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13194 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13195 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13196 then :
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13198 printf %s "checking for inflate in MinGW -lz... " >&6; }
13199 if test ${ac_cv_mingw_lib_z+y}
13200 then :
13201 printf %s "(cached) " >&6
13202 else $as_nop
13203 ac_wine_check_headers_saved_cc=$CC
13204 ac_wine_check_headers_saved_exeext=$ac_exeext
13205 ac_wine_check_headers_saved_libs=$LIBS
13206 CC="$CROSSCC"
13207 ac_exeext=".exe"
13208 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 char inflate ();
13217 main (void)
13219 return inflate ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"
13225 then :
13226 ac_cv_mingw_lib_z=yes
13227 else $as_nop
13228 ac_cv_mingw_lib_z=no
13230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13231 conftest$ac_exeext conftest.$ac_ext
13232 CC=$ac_wine_check_headers_saved_cc
13233 ac_exeext=$ac_wine_check_headers_saved_exeext
13234 LIBS=$ac_wine_check_headers_saved_libs
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13237 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13238 if test "x$ac_cv_mingw_lib_z" = xyes
13239 then :
13241 else $as_nop
13242 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13244 else $as_nop
13245 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13247 CPPFLAGS=$ac_save_CPPFLAGS
13249 if test "x$ZLIB_PE_LIBS" = "x"
13250 then
13251 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13255 if ${FAUDIO_PE_LIBS:+false} :
13256 then :
13257 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13258 if ${FAUDIO_PE_CFLAGS:+false} :
13259 then :
13260 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13261 else $as_nop
13262 enable_faudio=no
13264 else $as_nop
13265 enable_faudio=no
13267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13270 if ${GSM_PE_LIBS:+false} :
13271 then :
13272 GSM_PE_LIBS=gsm
13273 if ${GSM_PE_CFLAGS:+false} :
13274 then :
13275 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13276 else $as_nop
13277 enable_gsm=no
13279 else $as_nop
13280 enable_gsm=no
13282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13285 if ${JPEG_PE_LIBS:+false} :
13286 then :
13287 JPEG_PE_LIBS=jpeg
13288 if ${JPEG_PE_CFLAGS:+false} :
13289 then :
13290 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13291 else $as_nop
13292 enable_jpeg=no
13294 else $as_nop
13295 enable_jpeg=no
13297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13300 if ${JXR_PE_LIBS:+false} :
13301 then :
13302 JXR_PE_LIBS=jxr
13303 if ${JXR_PE_CFLAGS:+false} :
13304 then :
13305 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13306 else $as_nop
13307 enable_jxr=no
13309 else $as_nop
13310 enable_jxr=no
13312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13315 if ${LCMS2_PE_LIBS:+false} :
13316 then :
13317 LCMS2_PE_LIBS=lcms2
13318 if ${LCMS2_PE_CFLAGS:+false} :
13319 then :
13320 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13321 else $as_nop
13322 enable_lcms2=no
13324 else $as_nop
13325 enable_lcms2=no
13327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13330 if ${MPG123_PE_LIBS:+false} :
13331 then :
13332 MPG123_PE_LIBS=mpg123
13333 if ${MPG123_PE_CFLAGS:+false} :
13334 then :
13335 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13336 else $as_nop
13337 enable_mpg123=no
13339 else $as_nop
13340 enable_mpg123=no
13342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13345 if ${PNG_PE_LIBS:+false} :
13346 then :
13347 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13348 if ${PNG_PE_CFLAGS:+false} :
13349 then :
13350 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13351 else $as_nop
13352 enable_png=no
13354 else $as_nop
13355 enable_png=no
13357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13360 if ${TIFF_PE_LIBS:+false} :
13361 then :
13362 TIFF_PE_LIBS=tiff
13363 if ${TIFF_PE_CFLAGS:+false} :
13364 then :
13365 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13366 else $as_nop
13367 enable_tiff=no
13369 else $as_nop
13370 enable_tiff=no
13372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13375 if ${XML2_PE_LIBS:+false} :
13376 then :
13377 XML2_PE_LIBS=xml2
13378 if ${XML2_PE_CFLAGS:+false} :
13379 then :
13380 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13381 else $as_nop
13382 enable_xml2=no
13384 else $as_nop
13385 enable_xml2=no
13387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13390 if ${XSLT_PE_LIBS:+false} :
13391 then :
13392 XSLT_PE_LIBS=xslt
13393 if ${XSLT_PE_CFLAGS:+false} :
13394 then :
13395 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13396 else $as_nop
13397 enable_xslt=no
13399 else $as_nop
13400 enable_xslt=no
13402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13405 if ${ZLIB_PE_LIBS:+false} :
13406 then :
13407 ZLIB_PE_LIBS=z
13408 if ${ZLIB_PE_CFLAGS:+false} :
13409 then :
13410 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13411 else $as_nop
13412 enable_zlib=no
13414 else $as_nop
13415 enable_zlib=no
13417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13422 if test "$ac_cv_header_pthread_h" = "yes"
13423 then
13424 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13425 if test "x$ac_cv_func_pthread_create" = xyes
13426 then :
13428 else $as_nop
13429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13430 printf %s "checking for pthread_create in -lpthread... " >&6; }
13431 if test ${ac_cv_lib_pthread_pthread_create+y}
13432 then :
13433 printf %s "(cached) " >&6
13434 else $as_nop
13435 ac_check_lib_save_LIBS=$LIBS
13436 LIBS="-lpthread $LIBS"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 char pthread_create ();
13445 main (void)
13447 return pthread_create ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"
13453 then :
13454 ac_cv_lib_pthread_pthread_create=yes
13455 else $as_nop
13456 ac_cv_lib_pthread_pthread_create=no
13458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13459 conftest$ac_exeext conftest.$ac_ext
13460 LIBS=$ac_check_lib_save_LIBS
13462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13463 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13464 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13465 then :
13466 PTHREAD_LIBS="-lpthread"
13473 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13474 then :
13475 case "x$with_pthread" in
13476 xno) ;;
13477 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13478 Wine cannot support threads without libpthread.
13479 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13480 esac
13485 ac_ext=c
13486 ac_cpp='$CPP $CPPFLAGS'
13487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13491 printf %s "checking how to run the C preprocessor... " >&6; }
13492 # On Suns, sometimes $CPP names a directory.
13493 if test -n "$CPP" && test -d "$CPP"; then
13494 CPP=
13496 if test -z "$CPP"; then
13497 if test ${ac_cv_prog_CPP+y}
13498 then :
13499 printf %s "(cached) " >&6
13500 else $as_nop
13501 # Double quotes because $CC needs to be expanded
13502 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13504 ac_preproc_ok=false
13505 for ac_c_preproc_warn_flag in '' yes
13507 # Use a header file that comes with gcc, so configuring glibc
13508 # with a fresh cross-compiler works.
13509 # On the NeXT, cc -E runs the code through the compiler's parser,
13510 # not just through cpp. "Syntax error" is here to catch this case.
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 #include <limits.h>
13514 Syntax error
13515 _ACEOF
13516 if ac_fn_c_try_cpp "$LINENO"
13517 then :
13519 else $as_nop
13520 # Broken: fails on valid input.
13521 continue
13523 rm -f conftest.err conftest.i conftest.$ac_ext
13525 # OK, works on sane cases. Now check whether nonexistent headers
13526 # can be detected and how.
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 #include <ac_nonexistent.h>
13530 _ACEOF
13531 if ac_fn_c_try_cpp "$LINENO"
13532 then :
13533 # Broken: success on invalid input.
13534 continue
13535 else $as_nop
13536 # Passes both tests.
13537 ac_preproc_ok=:
13538 break
13540 rm -f conftest.err conftest.i conftest.$ac_ext
13542 done
13543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13544 rm -f conftest.i conftest.err conftest.$ac_ext
13545 if $ac_preproc_ok
13546 then :
13547 break
13550 done
13551 ac_cv_prog_CPP=$CPP
13554 CPP=$ac_cv_prog_CPP
13555 else
13556 ac_cv_prog_CPP=$CPP
13558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13559 printf "%s\n" "$CPP" >&6; }
13560 ac_preproc_ok=false
13561 for ac_c_preproc_warn_flag in '' yes
13563 # Use a header file that comes with gcc, so configuring glibc
13564 # with a fresh cross-compiler works.
13565 # On the NeXT, cc -E runs the code through the compiler's parser,
13566 # not just through cpp. "Syntax error" is here to catch this case.
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13569 #include <limits.h>
13570 Syntax error
13571 _ACEOF
13572 if ac_fn_c_try_cpp "$LINENO"
13573 then :
13575 else $as_nop
13576 # Broken: fails on valid input.
13577 continue
13579 rm -f conftest.err conftest.i conftest.$ac_ext
13581 # OK, works on sane cases. Now check whether nonexistent headers
13582 # can be detected and how.
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <ac_nonexistent.h>
13586 _ACEOF
13587 if ac_fn_c_try_cpp "$LINENO"
13588 then :
13589 # Broken: success on invalid input.
13590 continue
13591 else $as_nop
13592 # Passes both tests.
13593 ac_preproc_ok=:
13594 break
13596 rm -f conftest.err conftest.i conftest.$ac_ext
13598 done
13599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13600 rm -f conftest.i conftest.err conftest.$ac_ext
13601 if $ac_preproc_ok
13602 then :
13604 else $as_nop
13605 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13606 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13607 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13608 See \`config.log' for more details" "$LINENO" 5; }
13611 ac_ext=c
13612 ac_cpp='$CPP $CPPFLAGS'
13613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13619 printf %s "checking for X... " >&6; }
13622 # Check whether --with-x was given.
13623 if test ${with_x+y}
13624 then :
13625 withval=$with_x;
13628 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13629 if test "x$with_x" = xno; then
13630 # The user explicitly disabled X.
13631 have_x=disabled
13632 else
13633 case $x_includes,$x_libraries in #(
13634 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13635 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13636 then :
13637 printf %s "(cached) " >&6
13638 else $as_nop
13639 # One or both of the vars are not set, and there is no cached value.
13640 ac_x_includes=no
13641 ac_x_libraries=no
13642 # Do we need to do anything special at all?
13643 ac_save_LIBS=$LIBS
13644 LIBS="-lX11 $LIBS"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <X11/Xlib.h>
13649 main (void)
13651 XrmInitialize ()
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"
13657 then :
13658 # We can compile and link X programs with no special options.
13659 ac_x_includes=
13660 ac_x_libraries=
13662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13663 conftest$ac_exeext conftest.$ac_ext
13664 LIBS="$ac_save_LIBS"
13665 # If that didn't work, only try xmkmf and file system searches
13666 # for native compilation.
13667 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13668 then :
13669 rm -f -r conftest.dir
13670 if mkdir conftest.dir; then
13671 cd conftest.dir
13672 cat >Imakefile <<'_ACEOF'
13673 incroot:
13674 @echo incroot='${INCROOT}'
13675 usrlibdir:
13676 @echo usrlibdir='${USRLIBDIR}'
13677 libdir:
13678 @echo libdir='${LIBDIR}'
13679 _ACEOF
13680 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13681 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13682 for ac_var in incroot usrlibdir libdir; do
13683 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13684 done
13685 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13686 for ac_extension in a so sl dylib la dll; do
13687 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13688 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13689 ac_im_usrlibdir=$ac_im_libdir; break
13691 done
13692 # Screen out bogus values from the imake configuration. They are
13693 # bogus both because they are the default anyway, and because
13694 # using them would break gcc on systems where it needs fixed includes.
13695 case $ac_im_incroot in
13696 /usr/include) ac_x_includes= ;;
13697 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13698 esac
13699 case $ac_im_usrlibdir in
13700 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13701 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13702 esac
13704 cd ..
13705 rm -f -r conftest.dir
13708 # Standard set of common directories for X headers.
13709 # Check X11 before X11Rn because it is often a symlink to the current release.
13710 ac_x_header_dirs='
13711 /usr/X11/include
13712 /usr/X11R7/include
13713 /usr/X11R6/include
13714 /usr/X11R5/include
13715 /usr/X11R4/include
13717 /usr/include/X11
13718 /usr/include/X11R7
13719 /usr/include/X11R6
13720 /usr/include/X11R5
13721 /usr/include/X11R4
13723 /usr/local/X11/include
13724 /usr/local/X11R7/include
13725 /usr/local/X11R6/include
13726 /usr/local/X11R5/include
13727 /usr/local/X11R4/include
13729 /usr/local/include/X11
13730 /usr/local/include/X11R7
13731 /usr/local/include/X11R6
13732 /usr/local/include/X11R5
13733 /usr/local/include/X11R4
13735 /opt/X11/include
13737 /usr/X386/include
13738 /usr/x386/include
13739 /usr/XFree86/include/X11
13741 /usr/include
13742 /usr/local/include
13743 /usr/unsupported/include
13744 /usr/athena/include
13745 /usr/local/x11r5/include
13746 /usr/lpp/Xamples/include
13748 /usr/openwin/include
13749 /usr/openwin/share/include'
13751 if test "$ac_x_includes" = no; then
13752 # Guess where to find include files, by looking for Xlib.h.
13753 # First, try using that file with no special directory specified.
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 #include <X11/Xlib.h>
13757 _ACEOF
13758 if ac_fn_c_try_cpp "$LINENO"
13759 then :
13760 # We can compile using X headers with no special include directory.
13761 ac_x_includes=
13762 else $as_nop
13763 for ac_dir in $ac_x_header_dirs; do
13764 if test -r "$ac_dir/X11/Xlib.h"; then
13765 ac_x_includes=$ac_dir
13766 break
13768 done
13770 rm -f conftest.err conftest.i conftest.$ac_ext
13771 fi # $ac_x_includes = no
13773 if test "$ac_x_libraries" = no; then
13774 # Check for the libraries.
13775 # See if we find them without any special options.
13776 # Don't add to $LIBS permanently.
13777 ac_save_LIBS=$LIBS
13778 LIBS="-lX11 $LIBS"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 #include <X11/Xlib.h>
13783 main (void)
13785 XrmInitialize ()
13787 return 0;
13789 _ACEOF
13790 if ac_fn_c_try_link "$LINENO"
13791 then :
13792 LIBS=$ac_save_LIBS
13793 # We can link X programs with no special library path.
13794 ac_x_libraries=
13795 else $as_nop
13796 LIBS=$ac_save_LIBS
13797 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13799 # Don't even attempt the hair of trying to link an X program!
13800 for ac_extension in a so sl dylib la dll; do
13801 if test -r "$ac_dir/libX11.$ac_extension"; then
13802 ac_x_libraries=$ac_dir
13803 break 2
13805 done
13806 done
13808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13809 conftest$ac_exeext conftest.$ac_ext
13810 fi # $ac_x_libraries = no
13813 # Record the results.
13814 case $ac_x_includes,$ac_x_libraries in #(
13815 no,* | *,no | *\'*) :
13816 # Didn't find X, or a directory has "'" in its name.
13817 ac_cv_have_x="have_x=no" ;; #(
13818 *) :
13819 # Record where we found X for the cache.
13820 ac_cv_have_x="have_x=yes\
13821 ac_x_includes='$ac_x_includes'\
13822 ac_x_libraries='$ac_x_libraries'" ;;
13823 esac
13825 ;; #(
13826 *) have_x=yes;;
13827 esac
13828 eval "$ac_cv_have_x"
13829 fi # $with_x != no
13831 if test "$have_x" != yes; then
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13833 printf "%s\n" "$have_x" >&6; }
13834 no_x=yes
13835 else
13836 # If each of the values was on the command line, it overrides each guess.
13837 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13838 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13839 # Update the cache value to reflect the command line values.
13840 ac_cv_have_x="have_x=yes\
13841 ac_x_includes='$x_includes'\
13842 ac_x_libraries='$x_libraries'"
13843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13844 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13847 if test "$no_x" = yes; then
13848 # Not all programs may use this symbol, but it does not hurt to define it.
13850 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13852 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13853 else
13854 if test -n "$x_includes"; then
13855 X_CFLAGS="$X_CFLAGS -I$x_includes"
13858 # It would also be nice to do this for all -L options, not just this one.
13859 if test -n "$x_libraries"; then
13860 X_LIBS="$X_LIBS -L$x_libraries"
13861 # For Solaris; some versions of Sun CC require a space after -R and
13862 # others require no space. Words are not sufficient . . . .
13863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13864 printf %s "checking whether -R must be followed by a space... " >&6; }
13865 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13866 ac_xsave_c_werror_flag=$ac_c_werror_flag
13867 ac_c_werror_flag=yes
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13872 main (void)
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"
13880 then :
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13882 printf "%s\n" "no" >&6; }
13883 X_LIBS="$X_LIBS -R$x_libraries"
13884 else $as_nop
13885 LIBS="$ac_xsave_LIBS -R $x_libraries"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13890 main (void)
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"
13898 then :
13899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13900 printf "%s\n" "yes" >&6; }
13901 X_LIBS="$X_LIBS -R $x_libraries"
13902 else $as_nop
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13904 printf "%s\n" "neither works" >&6; }
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13910 conftest$ac_exeext conftest.$ac_ext
13911 ac_c_werror_flag=$ac_xsave_c_werror_flag
13912 LIBS=$ac_xsave_LIBS
13915 # Check for system-dependent libraries X programs must link with.
13916 # Do this before checking for the system-independent R6 libraries
13917 # (-lICE), since we may need -lsocket or whatever for X linking.
13919 if test "$ISC" = yes; then
13920 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13921 else
13922 # Martyn Johnson says this is needed for Ultrix, if the X
13923 # libraries were built with DECnet support. And Karl Berry says
13924 # the Alpha needs dnet_stub (dnet does not exist).
13925 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 char XOpenDisplay ();
13934 main (void)
13936 return XOpenDisplay ();
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"
13942 then :
13944 else $as_nop
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13946 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13947 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13948 then :
13949 printf %s "(cached) " >&6
13950 else $as_nop
13951 ac_check_lib_save_LIBS=$LIBS
13952 LIBS="-ldnet $LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13959 char dnet_ntoa ();
13961 main (void)
13963 return dnet_ntoa ();
13965 return 0;
13967 _ACEOF
13968 if ac_fn_c_try_link "$LINENO"
13969 then :
13970 ac_cv_lib_dnet_dnet_ntoa=yes
13971 else $as_nop
13972 ac_cv_lib_dnet_dnet_ntoa=no
13974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13975 conftest$ac_exeext conftest.$ac_ext
13976 LIBS=$ac_check_lib_save_LIBS
13978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13979 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13980 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13981 then :
13982 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13985 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13987 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13988 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13989 then :
13990 printf %s "(cached) " >&6
13991 else $as_nop
13992 ac_check_lib_save_LIBS=$LIBS
13993 LIBS="-ldnet_stub $LIBS"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13997 /* Override any GCC internal prototype to avoid an error.
13998 Use char because int might match the return type of a GCC
13999 builtin and then its argument prototype would still apply. */
14000 char dnet_ntoa ();
14002 main (void)
14004 return dnet_ntoa ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"
14010 then :
14011 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14012 else $as_nop
14013 ac_cv_lib_dnet_stub_dnet_ntoa=no
14015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14020 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14021 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14022 then :
14023 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS="$ac_xsave_LIBS"
14032 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14033 # to get the SysV transport functions.
14034 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14035 # needs -lnsl.
14036 # The nsl library prevents programs from opening the X display
14037 # on Irix 5.2, according to T.E. Dickey.
14038 # The functions gethostbyname, getservbyname, and inet_addr are
14039 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14040 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14041 if test "x$ac_cv_func_gethostbyname" = xyes
14042 then :
14046 if test $ac_cv_func_gethostbyname = no; then
14047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14048 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14049 if test ${ac_cv_lib_nsl_gethostbyname+y}
14050 then :
14051 printf %s "(cached) " >&6
14052 else $as_nop
14053 ac_check_lib_save_LIBS=$LIBS
14054 LIBS="-lnsl $LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 char gethostbyname ();
14063 main (void)
14065 return gethostbyname ();
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"
14071 then :
14072 ac_cv_lib_nsl_gethostbyname=yes
14073 else $as_nop
14074 ac_cv_lib_nsl_gethostbyname=no
14076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14077 conftest$ac_exeext conftest.$ac_ext
14078 LIBS=$ac_check_lib_save_LIBS
14080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14081 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14082 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14083 then :
14084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14087 if test $ac_cv_lib_nsl_gethostbyname = no; then
14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14089 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14090 if test ${ac_cv_lib_bsd_gethostbyname+y}
14091 then :
14092 printf %s "(cached) " >&6
14093 else $as_nop
14094 ac_check_lib_save_LIBS=$LIBS
14095 LIBS="-lbsd $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 char gethostbyname ();
14104 main (void)
14106 return gethostbyname ();
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"
14112 then :
14113 ac_cv_lib_bsd_gethostbyname=yes
14114 else $as_nop
14115 ac_cv_lib_bsd_gethostbyname=no
14117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14118 conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_lib_save_LIBS
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14122 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14123 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14124 then :
14125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14131 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14132 # socket/setsockopt and other routines are undefined under SCO ODT
14133 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14134 # on later versions), says Simon Leinen: it contains gethostby*
14135 # variants that don't use the name server (or something). -lsocket
14136 # must be given before -lnsl if both are needed. We assume that
14137 # if connect needs -lnsl, so does gethostbyname.
14138 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14139 if test "x$ac_cv_func_connect" = xyes
14140 then :
14144 if test $ac_cv_func_connect = no; then
14145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14146 printf %s "checking for connect in -lsocket... " >&6; }
14147 if test ${ac_cv_lib_socket_connect+y}
14148 then :
14149 printf %s "(cached) " >&6
14150 else $as_nop
14151 ac_check_lib_save_LIBS=$LIBS
14152 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 char connect ();
14161 main (void)
14163 return connect ();
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"
14169 then :
14170 ac_cv_lib_socket_connect=yes
14171 else $as_nop
14172 ac_cv_lib_socket_connect=no
14174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_lib_save_LIBS
14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14179 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14180 if test "x$ac_cv_lib_socket_connect" = xyes
14181 then :
14182 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14187 # Guillermo Gomez says -lposix is necessary on A/UX.
14188 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14189 if test "x$ac_cv_func_remove" = xyes
14190 then :
14194 if test $ac_cv_func_remove = no; then
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14196 printf %s "checking for remove in -lposix... " >&6; }
14197 if test ${ac_cv_lib_posix_remove+y}
14198 then :
14199 printf %s "(cached) " >&6
14200 else $as_nop
14201 ac_check_lib_save_LIBS=$LIBS
14202 LIBS="-lposix $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 char remove ();
14211 main (void)
14213 return remove ();
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"
14219 then :
14220 ac_cv_lib_posix_remove=yes
14221 else $as_nop
14222 ac_cv_lib_posix_remove=no
14224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14225 conftest$ac_exeext conftest.$ac_ext
14226 LIBS=$ac_check_lib_save_LIBS
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14229 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14230 if test "x$ac_cv_lib_posix_remove" = xyes
14231 then :
14232 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14237 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14238 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14239 if test "x$ac_cv_func_shmat" = xyes
14240 then :
14244 if test $ac_cv_func_shmat = no; then
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14246 printf %s "checking for shmat in -lipc... " >&6; }
14247 if test ${ac_cv_lib_ipc_shmat+y}
14248 then :
14249 printf %s "(cached) " >&6
14250 else $as_nop
14251 ac_check_lib_save_LIBS=$LIBS
14252 LIBS="-lipc $LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14256 /* Override any GCC internal prototype to avoid an error.
14257 Use char because int might match the return type of a GCC
14258 builtin and then its argument prototype would still apply. */
14259 char shmat ();
14261 main (void)
14263 return shmat ();
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"
14269 then :
14270 ac_cv_lib_ipc_shmat=yes
14271 else $as_nop
14272 ac_cv_lib_ipc_shmat=no
14274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_lib_save_LIBS
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14279 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14280 if test "x$ac_cv_lib_ipc_shmat" = xyes
14281 then :
14282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14288 # Check for libraries that X11R6 Xt/Xaw programs need.
14289 ac_save_LDFLAGS=$LDFLAGS
14290 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14291 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14292 # check for ICE first), but we must link in the order -lSM -lICE or
14293 # we get undefined symbols. So assume we have SM if we have ICE.
14294 # These have to be linked with before -lX11, unlike the other
14295 # libraries we check for below, so use a different variable.
14296 # John Interrante, Karl Berry
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14298 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14299 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14300 then :
14301 printf %s "(cached) " >&6
14302 else $as_nop
14303 ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14311 char IceConnectionNumber ();
14313 main (void)
14315 return IceConnectionNumber ();
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"
14321 then :
14322 ac_cv_lib_ICE_IceConnectionNumber=yes
14323 else $as_nop
14324 ac_cv_lib_ICE_IceConnectionNumber=no
14326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14327 conftest$ac_exeext conftest.$ac_ext
14328 LIBS=$ac_check_lib_save_LIBS
14330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14331 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14332 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14333 then :
14334 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14337 LDFLAGS=$ac_save_LDFLAGS
14342 if test "$have_x" = "yes"
14343 then
14344 ac_save_CPPFLAGS="$CPPFLAGS"
14345 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14348 printf %s "checking for -lX11... " >&6; }
14349 if test ${ac_cv_lib_soname_X11+y}
14350 then :
14351 printf %s "(cached) " >&6
14352 else $as_nop
14353 ac_check_soname_save_LIBS=$LIBS
14354 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14361 char XCreateWindow ();
14363 main (void)
14365 return XCreateWindow ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"
14371 then :
14372 case "$LIBEXT" in
14373 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14374 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'` ;;
14375 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14376 if ${ac_cv_lib_soname_X11:+false} :
14377 then :
14378 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 fi ;;
14380 esac
14381 else $as_nop
14382 ac_cv_lib_soname_X11=
14384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_soname_save_LIBS
14388 if ${ac_cv_lib_soname_X11:+false} :
14389 then :
14390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14391 printf "%s\n" "not found" >&6; }
14393 else $as_nop
14394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14395 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14397 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14402 printf %s "checking for -lXext... " >&6; }
14403 if test ${ac_cv_lib_soname_Xext+y}
14404 then :
14405 printf %s "(cached) " >&6
14406 else $as_nop
14407 ac_check_soname_save_LIBS=$LIBS
14408 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 /* Override any GCC internal prototype to avoid an error.
14413 Use char because int might match the return type of a GCC
14414 builtin and then its argument prototype would still apply. */
14415 char XextCreateExtension ();
14417 main (void)
14419 return XextCreateExtension ();
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"
14425 then :
14426 case "$LIBEXT" in
14427 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14428 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'` ;;
14429 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14430 if ${ac_cv_lib_soname_Xext:+false} :
14431 then :
14432 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14433 fi ;;
14434 esac
14435 else $as_nop
14436 ac_cv_lib_soname_Xext=
14438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14439 conftest$ac_exeext conftest.$ac_ext
14440 LIBS=$ac_check_soname_save_LIBS
14442 if ${ac_cv_lib_soname_Xext:+false} :
14443 then :
14444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14445 printf "%s\n" "not found" >&6; }
14447 else $as_nop
14448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14449 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14451 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14453 X_LIBS="$X_LIBS -lXext"
14455 X_LIBS="$X_LIBS -lX11"
14457 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14519 #endif
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14522 #endif
14524 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14525 then :
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14529 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14530 # include <X11/Xlib.h>
14531 #endif
14532 #ifdef HAVE_X11_XUTIL_H
14533 # include <X11/Xutil.h>
14534 #endif
14536 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14537 then :
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14541 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14542 # include <X11/Xlib.h>
14543 #endif
14544 #ifdef HAVE_X11_XUTIL_H
14545 # include <X11/Xutil.h>
14546 #endif
14548 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14549 then :
14550 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14553 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14554 # include <X11/Xlib.h>
14555 #endif
14556 #ifdef HAVE_X11_XUTIL_H
14557 # include <X11/Xutil.h>
14558 #endif
14560 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14561 then :
14562 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14565 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14566 # include <X11/Xlib.h>
14567 #endif
14568 #ifdef HAVE_X11_XUTIL_H
14569 # include <X11/Xutil.h>
14570 #endif
14572 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14573 then :
14574 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14577 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14578 # include <X11/Xlib.h>
14579 #endif
14580 #ifdef HAVE_X11_XUTIL_H
14581 # include <X11/Xutil.h>
14582 #endif
14584 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14585 then :
14586 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14589 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14590 # include <X11/Xlib.h>
14591 #endif
14592 #ifdef HAVE_X11_XUTIL_H
14593 # include <X11/Xutil.h>
14594 #endif
14596 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14597 then :
14598 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14601 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14602 # include <X11/Xlib.h>
14603 #endif
14604 #ifdef HAVE_X11_XUTIL_H
14605 # include <X11/Xutil.h>
14606 #endif
14608 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14609 then :
14610 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14613 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14614 # include <X11/Xlib.h>
14615 #endif
14616 #ifdef HAVE_X11_XUTIL_H
14617 # include <X11/Xutil.h>
14618 #endif
14620 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14621 then :
14622 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14625 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14626 # include <X11/Xlib.h>
14627 #endif
14628 #ifdef HAVE_X11_XUTIL_H
14629 # include <X11/Xutil.h>
14630 #endif
14632 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14633 then :
14634 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14639 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14640 then
14641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14642 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14643 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14644 then :
14645 printf %s "(cached) " >&6
14646 else $as_nop
14647 ac_check_lib_save_LIBS=$LIBS
14648 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 char XkbQueryExtension ();
14657 main (void)
14659 return XkbQueryExtension ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"
14665 then :
14666 ac_cv_lib_X11_XkbQueryExtension=yes
14667 else $as_nop
14668 ac_cv_lib_X11_XkbQueryExtension=no
14670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14671 conftest$ac_exeext conftest.$ac_ext
14672 LIBS=$ac_check_lib_save_LIBS
14674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14675 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14676 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14677 then :
14679 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14685 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14686 then
14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14688 printf %s "checking for -lXcursor... " >&6; }
14689 if test ${ac_cv_lib_soname_Xcursor+y}
14690 then :
14691 printf %s "(cached) " >&6
14692 else $as_nop
14693 ac_check_soname_save_LIBS=$LIBS
14694 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14698 /* Override any GCC internal prototype to avoid an error.
14699 Use char because int might match the return type of a GCC
14700 builtin and then its argument prototype would still apply. */
14701 char XcursorImageLoadCursor ();
14703 main (void)
14705 return XcursorImageLoadCursor ();
14707 return 0;
14709 _ACEOF
14710 if ac_fn_c_try_link "$LINENO"
14711 then :
14712 case "$LIBEXT" in
14713 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14714 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'` ;;
14715 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14716 if ${ac_cv_lib_soname_Xcursor:+false} :
14717 then :
14718 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14719 fi ;;
14720 esac
14721 else $as_nop
14722 ac_cv_lib_soname_Xcursor=
14724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14725 conftest$ac_exeext conftest.$ac_ext
14726 LIBS=$ac_check_soname_save_LIBS
14728 if ${ac_cv_lib_soname_Xcursor:+false} :
14729 then :
14730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14731 printf "%s\n" "not found" >&6; }
14733 else $as_nop
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14735 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14737 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14742 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14743 then :
14744 case "x$with_xcursor" in
14745 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14746 xno) ;;
14747 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14748 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14749 esac
14753 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14754 then
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14756 printf %s "checking for -lXi... " >&6; }
14757 if test ${ac_cv_lib_soname_Xi+y}
14758 then :
14759 printf %s "(cached) " >&6
14760 else $as_nop
14761 ac_check_soname_save_LIBS=$LIBS
14762 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 char XOpenDevice ();
14771 main (void)
14773 return XOpenDevice ();
14775 return 0;
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"
14779 then :
14780 case "$LIBEXT" in
14781 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14782 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'` ;;
14783 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14784 if ${ac_cv_lib_soname_Xi:+false} :
14785 then :
14786 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14787 fi ;;
14788 esac
14789 else $as_nop
14790 ac_cv_lib_soname_Xi=
14792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14793 conftest$ac_exeext conftest.$ac_ext
14794 LIBS=$ac_check_soname_save_LIBS
14796 if ${ac_cv_lib_soname_Xi:+false} :
14797 then :
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14799 printf "%s\n" "not found" >&6; }
14801 else $as_nop
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14803 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14805 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14810 if test "x$ac_cv_lib_soname_Xi" = "x"
14811 then :
14812 case "x$with_xinput" in
14813 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14814 xno) ;;
14815 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14816 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14817 esac
14821 if test "x$ac_cv_lib_soname_Xi" != x
14822 then
14823 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14824 then :
14825 case "x$with_xinput2" in
14826 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14827 xno) ;;
14828 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14829 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14830 esac
14835 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14836 then
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14838 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14839 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14840 then :
14841 printf %s "(cached) " >&6
14842 else $as_nop
14843 ac_check_lib_save_LIBS=$LIBS
14844 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 char XShmQueryExtension ();
14853 main (void)
14855 return XShmQueryExtension ();
14857 return 0;
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"
14861 then :
14862 ac_cv_lib_Xext_XShmQueryExtension=yes
14863 else $as_nop
14864 ac_cv_lib_Xext_XShmQueryExtension=no
14866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14867 conftest$ac_exeext conftest.$ac_ext
14868 LIBS=$ac_check_lib_save_LIBS
14870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14871 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14872 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14873 then :
14875 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14880 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14881 then :
14882 case "x$with_xshm" in
14883 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14884 xno) ;;
14885 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14886 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14887 esac
14891 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14892 then
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14894 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14895 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14896 then :
14897 printf %s "(cached) " >&6
14898 else $as_nop
14899 ac_check_lib_save_LIBS=$LIBS
14900 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14904 /* Override any GCC internal prototype to avoid an error.
14905 Use char because int might match the return type of a GCC
14906 builtin and then its argument prototype would still apply. */
14907 char XShapeQueryExtension ();
14909 main (void)
14911 return XShapeQueryExtension ();
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"
14917 then :
14918 ac_cv_lib_Xext_XShapeQueryExtension=yes
14919 else $as_nop
14920 ac_cv_lib_Xext_XShapeQueryExtension=no
14922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14927 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14928 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14929 then :
14931 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14936 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14937 then :
14938 case "x$with_xshape" in
14939 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14940 xno) ;;
14941 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14942 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14943 esac
14947 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14948 then
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14950 printf %s "checking for -lXxf86vm... " >&6; }
14951 if test ${ac_cv_lib_soname_Xxf86vm+y}
14952 then :
14953 printf %s "(cached) " >&6
14954 else $as_nop
14955 ac_check_soname_save_LIBS=$LIBS
14956 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14963 char XF86VidModeQueryExtension ();
14965 main (void)
14967 return XF86VidModeQueryExtension ();
14969 return 0;
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"
14973 then :
14974 case "$LIBEXT" in
14975 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14976 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'` ;;
14977 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14978 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14979 then :
14980 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14981 fi ;;
14982 esac
14983 else $as_nop
14984 ac_cv_lib_soname_Xxf86vm=
14986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14991 then :
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14993 printf "%s\n" "not found" >&6; }
14995 else $as_nop
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14997 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14999 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15004 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15005 then :
15006 case "x$with_xxf86vm" in
15007 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15008 xno) ;;
15009 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15010 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15011 esac
15015 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15016 then
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15018 printf %s "checking for -lXrender... " >&6; }
15019 if test ${ac_cv_lib_soname_Xrender+y}
15020 then :
15021 printf %s "(cached) " >&6
15022 else $as_nop
15023 ac_check_soname_save_LIBS=$LIBS
15024 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15031 char XRenderQueryExtension ();
15033 main (void)
15035 return XRenderQueryExtension ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"
15041 then :
15042 case "$LIBEXT" in
15043 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15044 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'` ;;
15045 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15046 if ${ac_cv_lib_soname_Xrender:+false} :
15047 then :
15048 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15049 fi ;;
15050 esac
15051 else $as_nop
15052 ac_cv_lib_soname_Xrender=
15054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_soname_save_LIBS
15058 if ${ac_cv_lib_soname_Xrender:+false} :
15059 then :
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15061 printf "%s\n" "not found" >&6; }
15063 else $as_nop
15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15065 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15067 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15070 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15071 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15072 then :
15073 printf %s "(cached) " >&6
15074 else $as_nop
15075 ac_check_lib_save_LIBS=$LIBS
15076 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 char XRenderSetPictureTransform ();
15085 main (void)
15087 return XRenderSetPictureTransform ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"
15093 then :
15094 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15095 else $as_nop
15096 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_lib_save_LIBS
15102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15103 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15104 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15105 then :
15107 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15112 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15113 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15114 then :
15115 printf %s "(cached) " >&6
15116 else $as_nop
15117 ac_check_lib_save_LIBS=$LIBS
15118 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15125 char XRenderCreateLinearGradient ();
15127 main (void)
15129 return XRenderCreateLinearGradient ();
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"
15135 then :
15136 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15137 else $as_nop
15138 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15141 conftest$ac_exeext conftest.$ac_ext
15142 LIBS=$ac_check_lib_save_LIBS
15144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15145 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15146 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15147 then :
15149 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15156 if test "x$ac_cv_lib_soname_Xrender" = "x"
15157 then :
15158 case "x$with_xrender" in
15159 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15160 xno) ;;
15161 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15162 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15163 esac
15167 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15168 then
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 #include <X11/Xlib.h>
15172 #include <X11/extensions/Xrandr.h>
15174 main (void)
15176 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_compile "$LINENO"
15182 then :
15183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15184 printf %s "checking for -lXrandr... " >&6; }
15185 if test ${ac_cv_lib_soname_Xrandr+y}
15186 then :
15187 printf %s "(cached) " >&6
15188 else $as_nop
15189 ac_check_soname_save_LIBS=$LIBS
15190 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15197 char XRRQueryExtension ();
15199 main (void)
15201 return XRRQueryExtension ();
15203 return 0;
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"
15207 then :
15208 case "$LIBEXT" in
15209 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15210 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'` ;;
15211 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15212 if ${ac_cv_lib_soname_Xrandr:+false} :
15213 then :
15214 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15215 fi ;;
15216 esac
15217 else $as_nop
15218 ac_cv_lib_soname_Xrandr=
15220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15221 conftest$ac_exeext conftest.$ac_ext
15222 LIBS=$ac_check_soname_save_LIBS
15224 if ${ac_cv_lib_soname_Xrandr:+false} :
15225 then :
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15227 printf "%s\n" "not found" >&6; }
15229 else $as_nop
15230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15231 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15233 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15237 #include <X11/Xlib.h>
15238 #include <X11/extensions/Xrandr.h>
15240 main (void)
15242 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15244 return 0;
15246 _ACEOF
15247 if ac_fn_c_try_compile "$LINENO"
15248 then :
15250 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15252 else $as_nop
15253 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15260 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15261 then :
15262 case "x$with_xrandr" in
15263 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15264 xno) ;;
15265 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15266 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15267 esac
15271 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15272 then
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 #include <X11/Xlib.h>
15276 #include <X11/extensions/Xfixes.h>
15278 main (void)
15280 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_compile "$LINENO"
15286 then :
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15288 printf %s "checking for -lXfixes... " >&6; }
15289 if test ${ac_cv_lib_soname_Xfixes+y}
15290 then :
15291 printf %s "(cached) " >&6
15292 else $as_nop
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 char XFixesQueryVersion ();
15303 main (void)
15305 return XFixesQueryVersion ();
15307 return 0;
15309 _ACEOF
15310 if ac_fn_c_try_link "$LINENO"
15311 then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_Xfixes:+false} :
15317 then :
15318 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else $as_nop
15322 ac_cv_lib_soname_Xfixes=
15324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_Xfixes:+false} :
15329 then :
15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 printf "%s\n" "not found" >&6; }
15333 else $as_nop
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15335 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15337 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15344 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15345 then :
15346 case "x$with_xfixes" in
15347 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15348 xno) ;;
15349 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15350 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15351 esac
15355 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15356 then
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15359 #include <X11/Xlib.h>
15360 #include <X11/extensions/Xinerama.h>
15362 main (void)
15364 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15366 return 0;
15368 _ACEOF
15369 if ac_fn_c_try_compile "$LINENO"
15370 then :
15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15372 printf %s "checking for -lXinerama... " >&6; }
15373 if test ${ac_cv_lib_soname_Xinerama+y}
15374 then :
15375 printf %s "(cached) " >&6
15376 else $as_nop
15377 ac_check_soname_save_LIBS=$LIBS
15378 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 /* Override any GCC internal prototype to avoid an error.
15383 Use char because int might match the return type of a GCC
15384 builtin and then its argument prototype would still apply. */
15385 char XineramaQueryScreens ();
15387 main (void)
15389 return XineramaQueryScreens ();
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"
15395 then :
15396 case "$LIBEXT" in
15397 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15398 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'` ;;
15399 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15400 if ${ac_cv_lib_soname_Xinerama:+false} :
15401 then :
15402 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15405 else $as_nop
15406 ac_cv_lib_soname_Xinerama=
15408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_soname_save_LIBS
15412 if ${ac_cv_lib_soname_Xinerama:+false} :
15413 then :
15414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15415 printf "%s\n" "not found" >&6; }
15417 else $as_nop
15418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15419 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15421 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15428 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15429 then :
15430 case "x$with_xinerama" in
15431 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15432 xno) ;;
15433 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15434 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15435 esac
15439 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15440 then
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15442 printf %s "checking for -lXcomposite... " >&6; }
15443 if test ${ac_cv_lib_soname_Xcomposite+y}
15444 then :
15445 printf %s "(cached) " >&6
15446 else $as_nop
15447 ac_check_soname_save_LIBS=$LIBS
15448 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15452 /* Override any GCC internal prototype to avoid an error.
15453 Use char because int might match the return type of a GCC
15454 builtin and then its argument prototype would still apply. */
15455 char XCompositeRedirectWindow ();
15457 main (void)
15459 return XCompositeRedirectWindow ();
15461 return 0;
15463 _ACEOF
15464 if ac_fn_c_try_link "$LINENO"
15465 then :
15466 case "$LIBEXT" in
15467 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15468 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'` ;;
15469 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15470 if ${ac_cv_lib_soname_Xcomposite:+false} :
15471 then :
15472 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15473 fi ;;
15474 esac
15475 else $as_nop
15476 ac_cv_lib_soname_Xcomposite=
15478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15479 conftest$ac_exeext conftest.$ac_ext
15480 LIBS=$ac_check_soname_save_LIBS
15482 if ${ac_cv_lib_soname_Xcomposite:+false} :
15483 then :
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15485 printf "%s\n" "not found" >&6; }
15487 else $as_nop
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15489 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15491 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15496 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15497 then :
15498 case "x$with_xcomposite" in
15499 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15500 xno) ;;
15501 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15502 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15503 esac
15507 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15508 #include <X11/Xlib.h>
15509 #endif
15511 if test "x$ac_cv_member_XICCallback_callback" = xyes
15512 then :
15514 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15518 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15519 #include <X11/Xlib.h>
15520 #endif
15522 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15523 then :
15525 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15532 opengl_msg=""
15533 if test "x$with_opengl" != "xno"
15534 then
15535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15536 printf %s "checking for -lGL... " >&6; }
15537 if test ${ac_cv_lib_soname_GL+y}
15538 then :
15539 printf %s "(cached) " >&6
15540 else $as_nop
15541 ac_check_soname_save_LIBS=$LIBS
15542 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15546 /* Override any GCC internal prototype to avoid an error.
15547 Use char because int might match the return type of a GCC
15548 builtin and then its argument prototype would still apply. */
15549 char glXCreateContext ();
15551 main (void)
15553 return glXCreateContext ();
15555 return 0;
15557 _ACEOF
15558 if ac_fn_c_try_link "$LINENO"
15559 then :
15560 case "$LIBEXT" in
15561 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15564 if ${ac_cv_lib_soname_GL:+false} :
15565 then :
15566 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15567 fi ;;
15568 esac
15569 else $as_nop
15570 ac_cv_lib_soname_GL=
15572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15573 conftest$ac_exeext conftest.$ac_ext
15574 LIBS=$ac_check_soname_save_LIBS
15576 if ${ac_cv_lib_soname_GL:+false} :
15577 then :
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15579 printf "%s\n" "not found" >&6; }
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15581 printf %s "checking for -lGL... " >&6; }
15582 if test ${ac_cv_lib_soname_GL+y}
15583 then :
15584 printf %s "(cached) " >&6
15585 else $as_nop
15586 ac_check_soname_save_LIBS=$LIBS
15587 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"
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15591 /* Override any GCC internal prototype to avoid an error.
15592 Use char because int might match the return type of a GCC
15593 builtin and then its argument prototype would still apply. */
15594 char glXCreateContext ();
15596 main (void)
15598 return glXCreateContext ();
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"
15604 then :
15605 case "$LIBEXT" in
15606 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15607 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'` ;;
15608 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15609 if ${ac_cv_lib_soname_GL:+false} :
15610 then :
15611 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15612 fi ;;
15613 esac
15614 else $as_nop
15615 ac_cv_lib_soname_GL=
15617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_soname_save_LIBS
15621 if ${ac_cv_lib_soname_GL:+false} :
15622 then :
15623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15624 printf "%s\n" "not found" >&6; }
15625 if test -f /usr/X11R6/lib/libGL.a
15626 then
15627 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15628 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15629 else
15630 opengl_msg="No OpenGL library found on this system."
15632 else $as_nop
15633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15634 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15636 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15638 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"
15640 else $as_nop
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15642 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15644 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15646 OPENGL_LIBS="-lGL"
15648 if test "x$with_osmesa" != "xno"
15649 then
15650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15651 printf %s "checking for -lOSMesa... " >&6; }
15652 if test ${ac_cv_lib_soname_OSMesa+y}
15653 then :
15654 printf %s "(cached) " >&6
15655 else $as_nop
15656 ac_check_soname_save_LIBS=$LIBS
15657 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15664 char OSMesaGetProcAddress ();
15666 main (void)
15668 return OSMesaGetProcAddress ();
15670 return 0;
15672 _ACEOF
15673 if ac_fn_c_try_link "$LINENO"
15674 then :
15675 case "$LIBEXT" in
15676 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15677 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'` ;;
15678 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15679 if ${ac_cv_lib_soname_OSMesa:+false} :
15680 then :
15681 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15682 fi ;;
15683 esac
15684 else $as_nop
15685 ac_cv_lib_soname_OSMesa=
15687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15688 conftest$ac_exeext conftest.$ac_ext
15689 LIBS=$ac_check_soname_save_LIBS
15691 if ${ac_cv_lib_soname_OSMesa:+false} :
15692 then :
15693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15694 printf "%s\n" "not found" >&6; }
15696 else $as_nop
15697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15698 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15700 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15704 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15705 then :
15706 case "x$with_osmesa" in
15707 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15708 xno) ;;
15709 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15710 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15711 esac
15716 if test -n "$opengl_msg"
15717 then :
15718 case "x$with_opengl" in
15719 x) as_fn_append wine_warnings "|$opengl_msg
15720 OpenGL and Direct3D won't be supported." ;;
15721 xno) ;;
15722 *) as_fn_error $? "$opengl_msg
15723 OpenGL and Direct3D won't be supported.
15724 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15725 esac
15729 CPPFLAGS="$ac_save_CPPFLAGS"
15730 else
15731 X_CFLAGS=""
15732 X_LIBS=""
15735 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15736 then
15737 if test "x$X_LIBS" = "x"
15738 then :
15739 case "x$with_x" in
15740 xno) ;;
15741 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15742 without X support, which probably isn't what you want. You will need
15743 to install ${notice_platform}development packages of Xlib at the very least.
15744 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15745 esac
15746 enable_winex11_drv=${enable_winex11_drv:-no}
15748 else
15749 if test "x$X_LIBS" = "x"
15750 then :
15751 case "x$with_x" in
15752 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15753 xno) ;;
15754 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15755 This is an error since --with-x was requested." "$LINENO" 5 ;;
15756 esac
15757 enable_winex11_drv=${enable_winex11_drv:-no}
15761 if test "$ac_cv_header_CL_cl_h" = "yes"
15762 then
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15764 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15765 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15766 then :
15767 printf %s "(cached) " >&6
15768 else $as_nop
15769 ac_check_lib_save_LIBS=$LIBS
15770 LIBS="-lOpenCL $LIBS"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 char clGetPlatformInfo ();
15779 main (void)
15781 return clGetPlatformInfo ();
15783 return 0;
15785 _ACEOF
15786 if ac_fn_c_try_link "$LINENO"
15787 then :
15788 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15789 else $as_nop
15790 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_check_lib_save_LIBS
15796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15797 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15798 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15799 then :
15800 OPENCL_LIBS="-lOpenCL"
15805 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15806 then :
15807 case "x$with_opencl" in
15808 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15809 xno) ;;
15810 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15811 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15812 esac
15813 enable_opencl=${enable_opencl:-no}
15816 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15817 then
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15819 printf %s "checking for pcap_create in -lpcap... " >&6; }
15820 if test ${ac_cv_lib_pcap_pcap_create+y}
15821 then :
15822 printf %s "(cached) " >&6
15823 else $as_nop
15824 ac_check_lib_save_LIBS=$LIBS
15825 LIBS="-lpcap $LIBS"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15832 char pcap_create ();
15834 main (void)
15836 return pcap_create ();
15838 return 0;
15840 _ACEOF
15841 if ac_fn_c_try_link "$LINENO"
15842 then :
15843 ac_cv_lib_pcap_pcap_create=yes
15844 else $as_nop
15845 ac_cv_lib_pcap_pcap_create=no
15847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15848 conftest$ac_exeext conftest.$ac_ext
15849 LIBS=$ac_check_lib_save_LIBS
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15852 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15853 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15854 then :
15855 PCAP_LIBS="-lpcap"
15860 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15861 then :
15862 case "x$with_pcap" in
15863 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15864 xno) ;;
15865 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15866 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15867 esac
15868 enable_wpcap=${enable_wpcap:-no}
15871 if test "x$with_inotify" != "xno"
15872 then
15873 if ${INOTIFY_CFLAGS:+false} :
15874 then :
15875 if test ${PKG_CONFIG+y}
15876 then :
15877 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15881 if ${INOTIFY_LIBS:+false} :
15882 then :
15883 if test ${PKG_CONFIG+y}
15884 then :
15885 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15892 ac_save_CPPFLAGS=$CPPFLAGS
15893 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15894 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15895 if test "x$ac_cv_header_sys_inotify_h" = xyes
15896 then :
15897 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15902 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15903 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15904 then :
15905 printf %s "(cached) " >&6
15906 else $as_nop
15907 ac_check_lib_save_LIBS=$LIBS
15908 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15912 /* Override any GCC internal prototype to avoid an error.
15913 Use char because int might match the return type of a GCC
15914 builtin and then its argument prototype would still apply. */
15915 char inotify_add_watch ();
15917 main (void)
15919 return inotify_add_watch ();
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_link "$LINENO"
15925 then :
15926 ac_cv_lib_inotify_inotify_add_watch=yes
15927 else $as_nop
15928 ac_cv_lib_inotify_inotify_add_watch=no
15930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_lib_save_LIBS
15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15935 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15936 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15937 then :
15939 else $as_nop
15940 INOTIFY_LIBS=""
15943 CPPFLAGS=$ac_save_CPPFLAGS
15946 if test "$ac_cv_header_sys_inotify_h" != "yes"
15947 then :
15948 case "x$with_inotify" in
15949 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15950 xno) ;;
15951 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15952 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15953 esac
15957 if test "x$with_dbus" != "xno"
15958 then
15959 if ${DBUS_CFLAGS:+false} :
15960 then :
15961 if test ${PKG_CONFIG+y}
15962 then :
15963 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15967 if ${DBUS_LIBS:+false} :
15968 then :
15969 if test ${PKG_CONFIG+y}
15970 then :
15971 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15980 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15981 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15982 then :
15983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15984 printf %s "checking for -ldbus-1... " >&6; }
15985 if test ${ac_cv_lib_soname_dbus_1+y}
15986 then :
15987 printf %s "(cached) " >&6
15988 else $as_nop
15989 ac_check_soname_save_LIBS=$LIBS
15990 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15994 /* Override any GCC internal prototype to avoid an error.
15995 Use char because int might match the return type of a GCC
15996 builtin and then its argument prototype would still apply. */
15997 char dbus_connection_close ();
15999 main (void)
16001 return dbus_connection_close ();
16003 return 0;
16005 _ACEOF
16006 if ac_fn_c_try_link "$LINENO"
16007 then :
16008 case "$LIBEXT" in
16009 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16010 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'` ;;
16011 *) 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'`
16012 if ${ac_cv_lib_soname_dbus_1:+false} :
16013 then :
16014 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16015 fi ;;
16016 esac
16017 else $as_nop
16018 ac_cv_lib_soname_dbus_1=
16020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_soname_save_LIBS
16024 if ${ac_cv_lib_soname_dbus_1:+false} :
16025 then :
16026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16027 printf "%s\n" "not found" >&6; }
16028 DBUS_CFLAGS=""
16029 else $as_nop
16030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16031 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16033 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16037 else $as_nop
16038 DBUS_CFLAGS=""
16041 CPPFLAGS=$ac_save_CPPFLAGS
16044 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16045 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16046 then :
16047 case "x$with_dbus" in
16048 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16049 xno) ;;
16050 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16051 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16052 esac
16056 if test "x$with_gnutls" != "xno"
16057 then
16058 if ${GNUTLS_CFLAGS:+false} :
16059 then :
16060 if test ${PKG_CONFIG+y}
16061 then :
16062 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16066 if ${GNUTLS_LIBS:+false} :
16067 then :
16068 if test ${PKG_CONFIG+y}
16069 then :
16070 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16074 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16077 ac_save_CPPFLAGS=$CPPFLAGS
16078 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16079 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16080 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16081 then :
16082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16084 #include <gnutls/gnutls.h>
16085 #include <gnutls/crypto.h>
16087 main (void)
16089 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16091 return 0;
16093 _ACEOF
16094 if ac_fn_c_try_compile "$LINENO"
16095 then :
16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16097 printf %s "checking for -lgnutls... " >&6; }
16098 if test ${ac_cv_lib_soname_gnutls+y}
16099 then :
16100 printf %s "(cached) " >&6
16101 else $as_nop
16102 ac_check_soname_save_LIBS=$LIBS
16103 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16107 /* Override any GCC internal prototype to avoid an error.
16108 Use char because int might match the return type of a GCC
16109 builtin and then its argument prototype would still apply. */
16110 char gnutls_global_init ();
16112 main (void)
16114 return gnutls_global_init ();
16116 return 0;
16118 _ACEOF
16119 if ac_fn_c_try_link "$LINENO"
16120 then :
16121 case "$LIBEXT" in
16122 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16123 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'` ;;
16124 *) 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'`
16125 if ${ac_cv_lib_soname_gnutls:+false} :
16126 then :
16127 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'`
16128 fi ;;
16129 esac
16130 else $as_nop
16131 ac_cv_lib_soname_gnutls=
16133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16134 conftest$ac_exeext conftest.$ac_ext
16135 LIBS=$ac_check_soname_save_LIBS
16137 if ${ac_cv_lib_soname_gnutls:+false} :
16138 then :
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16140 printf "%s\n" "not found" >&6; }
16141 GNUTLS_CFLAGS=""
16142 else $as_nop
16143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16144 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16146 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16150 ac_wine_check_funcs_save_LIBS="$LIBS"
16151 LIBS="$LIBS $GNUTLS_LIBS"
16153 for ac_func in gnutls_cipher_init
16154 do :
16155 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16156 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16157 then :
16158 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16160 else $as_nop
16161 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16164 done
16165 LIBS="$ac_wine_check_funcs_save_LIBS"
16167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16168 else $as_nop
16169 GNUTLS_CFLAGS=""
16172 CPPFLAGS=$ac_save_CPPFLAGS
16175 if test "x$ac_cv_lib_soname_gnutls" = "x"
16176 then :
16177 case "x$with_gnutls" in
16178 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16179 xno) ;;
16180 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16181 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16182 esac
16186 if test "x$with_sane" != "xno"
16187 then
16188 if ${SANE_CFLAGS:+false} :
16189 then :
16190 if test ${PKG_CONFIG+y}
16191 then :
16192 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16195 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16196 if ${SANE_LIBS:+false} :
16197 then :
16198 if test ${PKG_CONFIG+y}
16199 then :
16200 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16203 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16207 ac_save_CPPFLAGS=$CPPFLAGS
16208 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16209 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_sane_sane_h" = xyes
16211 then :
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16213 printf %s "checking for sane_init in -lsane... " >&6; }
16214 if test ${ac_cv_lib_sane_sane_init+y}
16215 then :
16216 printf %s "(cached) " >&6
16217 else $as_nop
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-lsane $SANE_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char sane_init ();
16228 main (void)
16230 return sane_init ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"
16236 then :
16237 ac_cv_lib_sane_sane_init=yes
16238 else $as_nop
16239 ac_cv_lib_sane_sane_init=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16242 conftest$ac_exeext conftest.$ac_ext
16243 LIBS=$ac_check_lib_save_LIBS
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16246 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16247 if test "x$ac_cv_lib_sane_sane_init" = xyes
16248 then :
16254 CPPFLAGS=$ac_save_CPPFLAGS
16257 if test "$ac_cv_lib_sane_sane_init" != "yes"
16258 then :
16259 case "x$with_sane" in
16260 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16261 xno) ;;
16262 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16263 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16264 esac
16265 enable_sane_ds=${enable_sane_ds:-no}
16268 if test "x$with_usb" != "xno"
16269 then
16270 if ${USB_CFLAGS:+false} :
16271 then :
16272 if test ${PKG_CONFIG+y}
16273 then :
16274 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16278 if ${USB_LIBS:+false} :
16279 then :
16280 if test ${PKG_CONFIG+y}
16281 then :
16282 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16286 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16289 ac_save_CPPFLAGS=$CPPFLAGS
16290 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16291 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16292 if test "x$ac_cv_header_libusb_h" = xyes
16293 then :
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16295 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16296 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16297 then :
16298 printf %s "(cached) " >&6
16299 else $as_nop
16300 ac_check_lib_save_LIBS=$LIBS
16301 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 char libusb_interrupt_event_handler ();
16310 main (void)
16312 return libusb_interrupt_event_handler ();
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"
16318 then :
16319 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16320 else $as_nop
16321 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_lib_save_LIBS
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16328 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16329 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16330 then :
16332 else $as_nop
16333 USB_LIBS=""
16336 else $as_nop
16337 USB_LIBS=""
16340 CPPFLAGS=$ac_save_CPPFLAGS
16343 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16344 then :
16345 case "x$with_usb" in
16346 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16347 xno) ;;
16348 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16349 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16350 esac
16351 enable_wineusb_sys=${enable_wineusb_sys:-no}
16354 if test "x$with_v4l2" != "xno"
16355 then
16356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16357 printf %s "checking for -lv4l2... " >&6; }
16358 if test ${ac_cv_lib_soname_v4l2+y}
16359 then :
16360 printf %s "(cached) " >&6
16361 else $as_nop
16362 ac_check_soname_save_LIBS=$LIBS
16363 LIBS="-lv4l2 $LIBS"
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 char v4l2_open ();
16372 main (void)
16374 return v4l2_open ();
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_link "$LINENO"
16380 then :
16381 case "$LIBEXT" in
16382 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16383 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'` ;;
16384 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16385 if ${ac_cv_lib_soname_v4l2:+false} :
16386 then :
16387 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16388 fi ;;
16389 esac
16390 else $as_nop
16391 ac_cv_lib_soname_v4l2=
16393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16394 conftest$ac_exeext conftest.$ac_ext
16395 LIBS=$ac_check_soname_save_LIBS
16397 if ${ac_cv_lib_soname_v4l2:+false} :
16398 then :
16399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16400 printf "%s\n" "not found" >&6; }
16402 else $as_nop
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16404 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16406 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16411 if test "x$ac_cv_lib_soname_v4l2" = "x"
16412 then :
16413 case "x$with_v4l2" in
16414 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16415 xno) ;;
16416 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16417 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16418 esac
16422 if test "x$with_gphoto" != "xno"
16423 then
16424 if ${GPHOTO2_CFLAGS:+false} :
16425 then :
16426 if test ${PKG_CONFIG+y}
16427 then :
16428 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16431 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16432 if ${GPHOTO2_LIBS:+false} :
16433 then :
16434 if test ${PKG_CONFIG+y}
16435 then :
16436 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16439 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16440 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16443 ac_save_CPPFLAGS=$CPPFLAGS
16444 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16445 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16446 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16447 then :
16448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16449 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16450 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16451 then :
16452 printf %s "(cached) " >&6
16453 else $as_nop
16454 ac_check_lib_save_LIBS=$LIBS
16455 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16459 /* Override any GCC internal prototype to avoid an error.
16460 Use char because int might match the return type of a GCC
16461 builtin and then its argument prototype would still apply. */
16462 char gp_camera_new ();
16464 main (void)
16466 return gp_camera_new ();
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"
16472 then :
16473 ac_cv_lib_gphoto2_gp_camera_new=yes
16474 else $as_nop
16475 ac_cv_lib_gphoto2_gp_camera_new=no
16477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16478 conftest$ac_exeext conftest.$ac_ext
16479 LIBS=$ac_check_lib_save_LIBS
16481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16482 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16483 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16484 then :
16490 CPPFLAGS=$ac_save_CPPFLAGS
16492 if ${GPHOTO2_PORT_CFLAGS:+false} :
16493 then :
16494 if test ${PKG_CONFIG+y}
16495 then :
16496 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16499 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16500 if ${GPHOTO2_PORT_LIBS:+false} :
16501 then :
16502 if test ${PKG_CONFIG+y}
16503 then :
16504 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16507 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16508 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16511 ac_save_CPPFLAGS=$CPPFLAGS
16512 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16513 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16514 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16515 then :
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16517 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16518 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16519 then :
16520 printf %s "(cached) " >&6
16521 else $as_nop
16522 ac_check_lib_save_LIBS=$LIBS
16523 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16530 char gp_port_info_list_new ();
16532 main (void)
16534 return gp_port_info_list_new ();
16536 return 0;
16538 _ACEOF
16539 if ac_fn_c_try_link "$LINENO"
16540 then :
16541 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16542 else $as_nop
16543 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_lib_save_LIBS
16549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16550 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16551 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16552 then :
16554 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16556 else $as_nop
16557 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16560 else $as_nop
16561 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16564 CPPFLAGS=$ac_save_CPPFLAGS
16567 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16568 then :
16569 case "x$with_gphoto" in
16570 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16571 xno) ;;
16572 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16573 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16574 esac
16575 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16577 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16578 then :
16579 case "x$with_gphoto" in
16580 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16581 xno) ;;
16582 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16583 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16584 esac
16589 if test "$ac_cv_header_resolv_h" = "yes"
16590 then
16591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16592 printf %s "checking for resolver library... " >&6; }
16593 if test ${ac_cv_have_resolv+y}
16594 then :
16595 printf %s "(cached) " >&6
16596 else $as_nop
16597 ac_save_LIBS="$LIBS"
16598 for lib in '' -lresolv
16600 LIBS="$lib $ac_save_LIBS"
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16603 #ifdef HAVE_NETINET_IN_H
16604 #include <netinet/in.h>
16605 #endif
16606 #include <resolv.h>
16608 main (void)
16610 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_link "$LINENO"
16616 then :
16617 ac_cv_have_resolv=${lib:-"none required"}
16618 else $as_nop
16619 ac_cv_have_resolv="not found"
16621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16622 conftest$ac_exeext conftest.$ac_ext
16623 test "x$ac_cv_have_resolv" = "xnot found" || break
16624 done
16625 LIBS="$ac_save_LIBS"
16627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16628 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16630 case "$ac_cv_have_resolv" in
16631 "not found") ;;
16632 "none required")
16634 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16637 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16639 RESOLV_LIBS=$ac_cv_have_resolv
16641 esac
16643 if test "x$ac_cv_have_resolv" != "xnot found"
16644 then
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16646 printf %s "checking for res_getservers... " >&6; }
16647 if test ${ac_cv_have_res_getservers+y}
16648 then :
16649 printf %s "(cached) " >&6
16650 else $as_nop
16651 ac_save_LIBS="$LIBS"
16652 LIBS="$RESOLV_LIBS $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16655 #include <resolv.h>
16657 main (void)
16659 res_getservers(NULL, NULL, 0);
16661 return 0;
16663 _ACEOF
16664 if ac_fn_c_try_link "$LINENO"
16665 then :
16666 ac_cv_have_res_getservers=yes
16667 else $as_nop
16668 ac_cv_have_res_getservers=no
16670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16671 conftest$ac_exeext conftest.$ac_ext
16672 LIBS="$ac_save_LIBS"
16674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16675 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16676 if test "$ac_cv_have_res_getservers" = "yes"
16677 then
16679 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16685 if test "x$with_freetype" != "xno"
16686 then
16687 if ${FREETYPE_CFLAGS:+false} :
16688 then :
16689 if test ${PKG_CONFIG+y}
16690 then :
16691 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16694 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16695 if ${FREETYPE_LIBS:+false} :
16696 then :
16697 if test ${PKG_CONFIG+y}
16698 then :
16699 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16702 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16703 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16706 ac_save_CPPFLAGS=$CPPFLAGS
16707 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16708 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_ft2build_h" = xyes
16710 then :
16711 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16715 if test "$ac_cv_header_ft2build_h" = "yes"
16716 then
16717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16718 printf %s "checking for -lfreetype... " >&6; }
16719 if test ${ac_cv_lib_soname_freetype+y}
16720 then :
16721 printf %s "(cached) " >&6
16722 else $as_nop
16723 ac_check_soname_save_LIBS=$LIBS
16724 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16728 /* Override any GCC internal prototype to avoid an error.
16729 Use char because int might match the return type of a GCC
16730 builtin and then its argument prototype would still apply. */
16731 char FT_Init_FreeType ();
16733 main (void)
16735 return FT_Init_FreeType ();
16737 return 0;
16739 _ACEOF
16740 if ac_fn_c_try_link "$LINENO"
16741 then :
16742 case "$LIBEXT" in
16743 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16744 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'` ;;
16745 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16746 if ${ac_cv_lib_soname_freetype:+false} :
16747 then :
16748 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16749 fi ;;
16750 esac
16751 else $as_nop
16752 ac_cv_lib_soname_freetype=
16754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16755 conftest$ac_exeext conftest.$ac_ext
16756 LIBS=$ac_check_soname_save_LIBS
16758 if ${ac_cv_lib_soname_freetype:+false} :
16759 then :
16760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16761 printf "%s\n" "not found" >&6; }
16762 FREETYPE_LIBS=""
16763 else $as_nop
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16765 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16767 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16770 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16772 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16773 #include FT_MODULE_H
16775 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16776 then :
16778 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16784 else
16785 FREETYPE_CFLAGS=""
16786 FREETYPE_LIBS=""
16788 CPPFLAGS=$ac_save_CPPFLAGS
16791 if test "x$ac_cv_lib_soname_freetype" = x
16792 then :
16793 case "x$with_freetype" in
16794 xno) ;;
16795 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16796 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16797 esac
16798 enable_fonts=${enable_fonts:-no}
16801 ac_wine_check_funcs_save_LIBS="$LIBS"
16802 LIBS="$LIBS $PTHREAD_LIBS"
16803 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16804 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16805 then :
16806 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16810 LIBS="$ac_wine_check_funcs_save_LIBS"
16812 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16813 then
16814 if test "$ac_cv_header_gettext_po_h" = "yes"
16815 then
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16817 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16818 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16819 then :
16820 printf %s "(cached) " >&6
16821 else $as_nop
16822 ac_check_lib_save_LIBS=$LIBS
16823 LIBS="-lgettextpo $LIBS"
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16830 char po_message_msgctxt ();
16832 main (void)
16834 return po_message_msgctxt ();
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_link "$LINENO"
16840 then :
16841 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16842 else $as_nop
16843 ac_cv_lib_gettextpo_po_message_msgctxt=no
16845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16846 conftest$ac_exeext conftest.$ac_ext
16847 LIBS=$ac_check_lib_save_LIBS
16849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16850 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16851 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16852 then :
16854 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16856 GETTEXTPO_LIBS="-lgettextpo"
16861 if test "x$GETTEXTPO_LIBS" = "x"
16862 then :
16863 case "x$with_gettextpo" in
16864 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16865 xno) ;;
16866 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16867 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16868 esac
16871 if test "$srcdir" != .
16872 then :
16873 case "x$with_gettextpo" in
16874 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16875 xno) ;;
16876 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16877 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16878 esac
16883 if test "x$with_pulse" != "xno";
16884 then
16885 if ${PULSE_CFLAGS:+false} :
16886 then :
16887 if test ${PKG_CONFIG+y}
16888 then :
16889 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16893 if ${PULSE_LIBS:+false} :
16894 then :
16895 if test ${PKG_CONFIG+y}
16896 then :
16897 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16904 ac_save_CPPFLAGS=$CPPFLAGS
16905 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16906 for ac_header in pulse/pulseaudio.h
16907 do :
16908 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16909 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16910 then :
16911 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16913 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16914 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16915 then :
16916 printf %s "(cached) " >&6
16917 else $as_nop
16918 ac_check_lib_save_LIBS=$LIBS
16919 LIBS="-lpulse $PULSE_LIBS $LIBS"
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16923 /* Override any GCC internal prototype to avoid an error.
16924 Use char because int might match the return type of a GCC
16925 builtin and then its argument prototype would still apply. */
16926 char pa_stream_is_corked ();
16928 main (void)
16930 return pa_stream_is_corked ();
16932 return 0;
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"
16936 then :
16937 ac_cv_lib_pulse_pa_stream_is_corked=yes
16938 else $as_nop
16939 ac_cv_lib_pulse_pa_stream_is_corked=no
16941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16942 conftest$ac_exeext conftest.$ac_ext
16943 LIBS=$ac_check_lib_save_LIBS
16945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16946 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16947 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16948 then :
16950 else $as_nop
16951 PULSE_LIBS=""
16954 else $as_nop
16955 PULSE_LIBS=""
16958 done
16959 CPPFLAGS=$ac_save_CPPFLAGS
16962 if test -z "$PULSE_LIBS"
16963 then :
16964 case "x$with_pulse" in
16965 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16966 xno) ;;
16967 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16968 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16969 esac
16970 enable_winepulse_drv=${enable_winepulse_drv:-no}
16973 if test "x$with_gstreamer" != "xno"
16974 then
16975 if ${GSTREAMER_CFLAGS:+false} :
16976 then :
16977 if test ${PKG_CONFIG+y}
16978 then :
16979 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16983 if ${GSTREAMER_LIBS:+false} :
16984 then :
16985 if test ${PKG_CONFIG+y}
16986 then :
16987 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16994 ac_save_CPPFLAGS=$CPPFLAGS
16995 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16996 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16997 if test "x$ac_cv_header_gst_gst_h" = xyes
16998 then :
16999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17000 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #include <gst/gst.h>
17005 main (void)
17007 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17009 return 0;
17011 _ACEOF
17012 if ac_fn_c_try_compile "$LINENO"
17013 then :
17014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17015 printf "%s\n" "yes" >&6; }
17016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17017 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17018 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17019 then :
17020 printf %s "(cached) " >&6
17021 else $as_nop
17022 ac_check_lib_save_LIBS=$LIBS
17023 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17027 /* Override any GCC internal prototype to avoid an error.
17028 Use char because int might match the return type of a GCC
17029 builtin and then its argument prototype would still apply. */
17030 char gst_pad_new ();
17032 main (void)
17034 return gst_pad_new ();
17036 return 0;
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"
17040 then :
17041 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17042 else $as_nop
17043 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17046 conftest$ac_exeext conftest.$ac_ext
17047 LIBS=$ac_check_lib_save_LIBS
17049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17050 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17051 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17052 then :
17056 else $as_nop
17057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17058 printf "%s\n" "no" >&6; }
17059 ac_glib2_broken=yes
17060 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17065 CPPFLAGS=$ac_save_CPPFLAGS
17068 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17069 then :
17070 case "x$with_gstreamer" in
17071 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17072 xno) ;;
17073 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17074 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17075 esac
17076 enable_winegstreamer=${enable_winegstreamer:-no}
17079 ALSA_LIBS=""
17081 if test "x$with_alsa" != "xno"
17082 then
17083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17084 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17085 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17086 then :
17087 printf %s "(cached) " >&6
17088 else $as_nop
17089 ac_check_lib_save_LIBS=$LIBS
17090 LIBS="-lasound $LIBS"
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17094 /* Override any GCC internal prototype to avoid an error.
17095 Use char because int might match the return type of a GCC
17096 builtin and then its argument prototype would still apply. */
17097 char snd_pcm_hw_params_get_access_mask ();
17099 main (void)
17101 return snd_pcm_hw_params_get_access_mask ();
17103 return 0;
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"
17107 then :
17108 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17109 else $as_nop
17110 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17113 conftest$ac_exeext conftest.$ac_ext
17114 LIBS=$ac_check_lib_save_LIBS
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17117 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17118 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17119 then :
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #include <alsa/asoundlib.h>
17124 main (void)
17126 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17128 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_compile "$LINENO"
17132 then :
17133 ALSA_LIBS="-lasound"
17135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17139 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17141 if test "x$with_oss" != xno
17142 then
17143 ac_save_CPPFLAGS="$CPPFLAGS"
17144 if test -f /etc/oss.conf
17145 then
17146 . /etc/oss.conf
17148 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17149 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17150 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17151 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17152 then :
17153 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17155 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17156 then :
17158 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17160 OSS4_CFLAGS="$ac_oss_incl"
17162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17163 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17164 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17165 then :
17166 printf %s "(cached) " >&6
17167 else $as_nop
17168 ac_check_lib_save_LIBS=$LIBS
17169 LIBS="-lossaudio $LIBS"
17170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17173 /* Override any GCC internal prototype to avoid an error.
17174 Use char because int might match the return type of a GCC
17175 builtin and then its argument prototype would still apply. */
17176 char _oss_ioctl ();
17178 main (void)
17180 return _oss_ioctl ();
17182 return 0;
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"
17186 then :
17187 ac_cv_lib_ossaudio__oss_ioctl=yes
17188 else $as_nop
17189 ac_cv_lib_ossaudio__oss_ioctl=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17192 conftest$ac_exeext conftest.$ac_ext
17193 LIBS=$ac_check_lib_save_LIBS
17195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17196 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17197 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17198 then :
17199 OSS4_LIBS="-lossaudio"
17207 CPPFLAGS="$ac_save_CPPFLAGS"
17209 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17210 then :
17211 case "x$with_oss" in
17212 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17213 xno) ;;
17214 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17215 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17216 esac
17217 enable_wineoss_drv=${enable_wineoss_drv:-no}
17220 if test "x$with_udev" != "xno"
17221 then
17222 if ${UDEV_CFLAGS:+false} :
17223 then :
17224 if test ${PKG_CONFIG+y}
17225 then :
17226 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17230 if ${UDEV_LIBS:+false} :
17231 then :
17232 if test ${PKG_CONFIG+y}
17233 then :
17234 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17238 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17241 ac_save_CPPFLAGS=$CPPFLAGS
17242 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17243 for ac_header in libudev.h
17244 do :
17245 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17246 if test "x$ac_cv_header_libudev_h" = xyes
17247 then :
17248 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17250 printf %s "checking for udev_new in -ludev... " >&6; }
17251 if test ${ac_cv_lib_udev_udev_new+y}
17252 then :
17253 printf %s "(cached) " >&6
17254 else $as_nop
17255 ac_check_lib_save_LIBS=$LIBS
17256 LIBS="-ludev $UDEV_LIBS $LIBS"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17260 /* Override any GCC internal prototype to avoid an error.
17261 Use char because int might match the return type of a GCC
17262 builtin and then its argument prototype would still apply. */
17263 char udev_new ();
17265 main (void)
17267 return udev_new ();
17269 return 0;
17271 _ACEOF
17272 if ac_fn_c_try_link "$LINENO"
17273 then :
17274 ac_cv_lib_udev_udev_new=yes
17275 else $as_nop
17276 ac_cv_lib_udev_udev_new=no
17278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17279 conftest$ac_exeext conftest.$ac_ext
17280 LIBS=$ac_check_lib_save_LIBS
17282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17283 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17284 if test "x$ac_cv_lib_udev_udev_new" = xyes
17285 then :
17287 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17289 else $as_nop
17290 UDEV_LIBS=""
17293 else $as_nop
17294 UDEV_LIBS=""
17297 done
17298 CPPFLAGS=$ac_save_CPPFLAGS
17301 if test "x$UDEV_LIBS" = "x"
17302 then :
17303 case "x$with_udev" in
17304 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17305 xno) ;;
17306 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17307 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17308 esac
17312 if test "x$with_unwind" != xno
17313 then
17314 if ${UNWIND_CFLAGS:+false} :
17315 then :
17316 if test ${PKG_CONFIG+y}
17317 then :
17318 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17322 if ${UNWIND_LIBS:+false} :
17323 then :
17324 if test ${PKG_CONFIG+y}
17325 then :
17326 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17330 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17333 ac_save_CPPFLAGS=$CPPFLAGS
17334 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17336 printf %s "checking for unw_step... " >&6; }
17337 if test ${wine_cv_have_unw_step+y}
17338 then :
17339 printf %s "(cached) " >&6
17340 else $as_nop
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #define UNW_LOCAL_ONLY
17344 #include <libunwind.h>
17346 main (void)
17348 unw_cursor_t cursor; unw_step( &cursor );
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"
17354 then :
17355 wine_cv_have_unw_step="yes"
17356 else $as_nop
17357 wine_cv_have_unw_step="no"
17359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17360 conftest$ac_exeext conftest.$ac_ext
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17363 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17364 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17365 then
17366 save_libs=$LIBS
17367 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17368 LIBS="$UNWIND_LIBS $LIBS"
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17370 printf %s "checking for unw_step in libunwind... " >&6; }
17371 if test ${wine_cv_have_libunwind_unw_step+y}
17372 then :
17373 printf %s "(cached) " >&6
17374 else $as_nop
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #define UNW_LOCAL_ONLY
17378 #include <libunwind.h>
17380 main (void)
17382 unw_cursor_t cursor; unw_step( &cursor );
17384 return 0;
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"
17388 then :
17389 wine_cv_have_libunwind_unw_step="yes"
17390 else $as_nop
17391 wine_cv_have_libunwind_unw_step="no"
17393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17394 conftest$ac_exeext conftest.$ac_ext
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17397 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17398 LIBS=$save_libs
17400 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17401 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17402 then
17404 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17407 CPPFLAGS=$ac_save_CPPFLAGS
17410 case $host in
17411 aarch64*|*-darwin*)
17412 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17413 then :
17414 case "x$with_unwind" in
17415 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17416 xno) ;;
17417 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17418 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17419 esac
17421 fi ;;
17422 esac
17424 if test "x$with_sdl" != "xno"
17425 then
17426 if ${SDL2_CFLAGS:+false} :
17427 then :
17428 if test ${PKG_CONFIG+y}
17429 then :
17430 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17434 if ${SDL2_LIBS:+false} :
17435 then :
17436 if test ${PKG_CONFIG+y}
17437 then :
17438 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17442 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17445 ac_save_CPPFLAGS=$CPPFLAGS
17446 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17447 for ac_header in SDL.h
17448 do :
17449 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17450 if test "x$ac_cv_header_SDL_h" = xyes
17451 then :
17452 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17454 printf %s "checking for -lSDL2... " >&6; }
17455 if test ${ac_cv_lib_soname_SDL2+y}
17456 then :
17457 printf %s "(cached) " >&6
17458 else $as_nop
17459 ac_check_soname_save_LIBS=$LIBS
17460 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 /* Override any GCC internal prototype to avoid an error.
17465 Use char because int might match the return type of a GCC
17466 builtin and then its argument prototype would still apply. */
17467 char SDL_Init ();
17469 main (void)
17471 return SDL_Init ();
17473 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"
17477 then :
17478 case "$LIBEXT" in
17479 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17480 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'` ;;
17481 *) 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'`
17482 if ${ac_cv_lib_soname_SDL2:+false} :
17483 then :
17484 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17485 fi ;;
17486 esac
17487 else $as_nop
17488 ac_cv_lib_soname_SDL2=
17490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17491 conftest$ac_exeext conftest.$ac_ext
17492 LIBS=$ac_check_soname_save_LIBS
17494 if ${ac_cv_lib_soname_SDL2:+false} :
17495 then :
17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17497 printf "%s\n" "not found" >&6; }
17499 else $as_nop
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17501 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17503 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17509 done
17510 CPPFLAGS=$ac_save_CPPFLAGS
17513 if test "x$ac_cv_lib_soname_SDL2" = "x"
17514 then :
17515 case "x$with_sdl" in
17516 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17517 xno) ;;
17518 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17519 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17520 esac
17524 if test "x$with_capi" != "xno"
17525 then
17526 if ${CAPI20_CFLAGS:+false} :
17527 then :
17528 if test ${PKG_CONFIG+y}
17529 then :
17530 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17534 if ${CAPI20_LIBS:+false} :
17535 then :
17536 if test ${PKG_CONFIG+y}
17537 then :
17538 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17545 ac_save_CPPFLAGS=$CPPFLAGS
17546 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17547 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17549 if test "x$ac_cv_header_capi20_h" = xyes
17550 then :
17551 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17554 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17556 if test "x$ac_cv_header_linux_capi_h" = xyes
17557 then :
17558 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17562 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17563 then
17564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17565 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17566 if test ${ac_cv_lib_capi20_capi20_register+y}
17567 then :
17568 printf %s "(cached) " >&6
17569 else $as_nop
17570 ac_check_lib_save_LIBS=$LIBS
17571 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17578 char capi20_register ();
17580 main (void)
17582 return capi20_register ();
17584 return 0;
17586 _ACEOF
17587 if ac_fn_c_try_link "$LINENO"
17588 then :
17589 ac_cv_lib_capi20_capi20_register=yes
17590 else $as_nop
17591 ac_cv_lib_capi20_capi20_register=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17594 conftest$ac_exeext conftest.$ac_ext
17595 LIBS=$ac_check_lib_save_LIBS
17597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17598 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17599 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17600 then :
17602 else $as_nop
17603 CAPI20_LIBS=""
17607 CPPFLAGS=$ac_save_CPPFLAGS
17610 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17611 then :
17612 case "x$with_capi" in
17613 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17614 xno) ;;
17615 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17616 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17617 esac
17618 enable_capi2032=${enable_capi2032:-no}
17621 if test "x$with_cups" != "xno"
17622 then
17623 if ${CUPS_CFLAGS:+false} :
17624 then :
17625 if test ${PKG_CONFIG+y}
17626 then :
17627 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17630 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17631 if ${CUPS_LIBS:+false} :
17632 then :
17633 if test ${PKG_CONFIG+y}
17634 then :
17635 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17638 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17639 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17642 ac_save_CPPFLAGS=$CPPFLAGS
17643 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17644 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17645 if test "x$ac_cv_header_cups_cups_h" = xyes
17646 then :
17647 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17650 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17651 if test "x$ac_cv_header_cups_ppd_h" = xyes
17652 then :
17653 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17657 if test "$ac_cv_header_cups_cups_h" = "yes"
17658 then
17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17660 printf %s "checking for -lcups... " >&6; }
17661 if test ${ac_cv_lib_soname_cups+y}
17662 then :
17663 printf %s "(cached) " >&6
17664 else $as_nop
17665 ac_check_soname_save_LIBS=$LIBS
17666 LIBS="-lcups $CUPS_LIBS $LIBS"
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17670 /* Override any GCC internal prototype to avoid an error.
17671 Use char because int might match the return type of a GCC
17672 builtin and then its argument prototype would still apply. */
17673 char cupsGetDefault ();
17675 main (void)
17677 return cupsGetDefault ();
17679 return 0;
17681 _ACEOF
17682 if ac_fn_c_try_link "$LINENO"
17683 then :
17684 case "$LIBEXT" in
17685 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17686 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'` ;;
17687 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17688 if ${ac_cv_lib_soname_cups:+false} :
17689 then :
17690 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17691 fi ;;
17692 esac
17693 else $as_nop
17694 ac_cv_lib_soname_cups=
17696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17697 conftest$ac_exeext conftest.$ac_ext
17698 LIBS=$ac_check_soname_save_LIBS
17700 if ${ac_cv_lib_soname_cups:+false} :
17701 then :
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17703 printf "%s\n" "not found" >&6; }
17704 CUPS_LIBS=""
17705 else $as_nop
17706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17707 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17709 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17713 else
17714 CUPS_CFLAGS=""
17715 CUPS_LIBS=""
17717 CPPFLAGS=$ac_save_CPPFLAGS
17720 if test "x$ac_cv_lib_soname_cups" = "x"
17721 then :
17722 case "x$with_cups" in
17723 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17724 xno) ;;
17725 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17726 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17727 esac
17731 if test "x$with_fontconfig" != "xno"
17732 then
17733 if ${FONTCONFIG_CFLAGS:+false} :
17734 then :
17735 if test ${PKG_CONFIG+y}
17736 then :
17737 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17740 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17741 if ${FONTCONFIG_LIBS:+false} :
17742 then :
17743 if test ${PKG_CONFIG+y}
17744 then :
17745 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17748 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17752 ac_save_CPPFLAGS=$CPPFLAGS
17753 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17754 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17755 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17756 then :
17757 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17761 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17762 then
17763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17764 printf %s "checking for -lfontconfig... " >&6; }
17765 if test ${ac_cv_lib_soname_fontconfig+y}
17766 then :
17767 printf %s "(cached) " >&6
17768 else $as_nop
17769 ac_check_soname_save_LIBS=$LIBS
17770 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17774 /* Override any GCC internal prototype to avoid an error.
17775 Use char because int might match the return type of a GCC
17776 builtin and then its argument prototype would still apply. */
17777 char FcInit ();
17779 main (void)
17781 return FcInit ();
17783 return 0;
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"
17787 then :
17788 case "$LIBEXT" in
17789 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17790 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'` ;;
17791 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17792 if ${ac_cv_lib_soname_fontconfig:+false} :
17793 then :
17794 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17795 fi ;;
17796 esac
17797 else $as_nop
17798 ac_cv_lib_soname_fontconfig=
17800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17801 conftest$ac_exeext conftest.$ac_ext
17802 LIBS=$ac_check_soname_save_LIBS
17804 if ${ac_cv_lib_soname_fontconfig:+false} :
17805 then :
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17807 printf "%s\n" "not found" >&6; }
17808 FONTCONFIG_CFLAGS=""
17809 else $as_nop
17810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17811 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17813 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17817 else
17818 FONTCONFIG_CFLAGS=""
17820 CPPFLAGS=$ac_save_CPPFLAGS
17823 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17824 then :
17825 case "x$with_fontconfig" in
17826 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17827 xno) ;;
17828 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17829 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17830 esac
17834 if test "x$with_krb5" != "xno"
17835 then
17836 if ${KRB5_CFLAGS:+false} :
17837 then :
17838 if test ${PKG_CONFIG+y}
17839 then :
17840 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17843 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17844 if ${KRB5_LIBS:+false} :
17845 then :
17846 if test ${PKG_CONFIG+y}
17847 then :
17848 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17851 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17855 ac_save_CPPFLAGS=$CPPFLAGS
17856 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17857 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17858 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17859 then :
17860 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17864 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17865 then
17866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17867 printf %s "checking for -lkrb5... " >&6; }
17868 if test ${ac_cv_lib_soname_krb5+y}
17869 then :
17870 printf %s "(cached) " >&6
17871 else $as_nop
17872 ac_check_soname_save_LIBS=$LIBS
17873 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 char krb5_is_config_principal ();
17882 main (void)
17884 return krb5_is_config_principal ();
17886 return 0;
17888 _ACEOF
17889 if ac_fn_c_try_link "$LINENO"
17890 then :
17891 case "$LIBEXT" in
17892 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17893 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'` ;;
17894 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17895 if ${ac_cv_lib_soname_krb5:+false} :
17896 then :
17897 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17898 fi ;;
17899 esac
17900 else $as_nop
17901 ac_cv_lib_soname_krb5=
17903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17904 conftest$ac_exeext conftest.$ac_ext
17905 LIBS=$ac_check_soname_save_LIBS
17907 if ${ac_cv_lib_soname_krb5:+false} :
17908 then :
17909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17910 printf "%s\n" "not found" >&6; }
17911 KRB5_CFLAGS=""
17912 else $as_nop
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17914 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17916 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17920 else
17921 KRB5_CFLAGS=""
17923 CPPFLAGS=$ac_save_CPPFLAGS
17926 if test "x$ac_cv_lib_soname_krb5" = "x"
17927 then :
17928 case "x$with_krb5" in
17929 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17930 xno) ;;
17931 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17932 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17933 esac
17936 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17938 if test "x$with_gssapi" != "xno"
17939 then
17940 if ${GSSAPI_CFLAGS:+false} :
17941 then :
17942 if test ${PKG_CONFIG+y}
17943 then :
17944 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17947 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17948 if ${GSSAPI_LIBS:+false} :
17949 then :
17950 if test ${PKG_CONFIG+y}
17951 then :
17952 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17955 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17959 ac_save_CPPFLAGS=$CPPFLAGS
17960 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17961 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17963 then :
17964 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17967 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17968 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17969 then :
17970 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17974 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17975 then
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17977 printf %s "checking for -lgssapi_krb5... " >&6; }
17978 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17979 then :
17980 printf %s "(cached) " >&6
17981 else $as_nop
17982 ac_check_soname_save_LIBS=$LIBS
17983 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 char gss_init_sec_context ();
17992 main (void)
17994 return gss_init_sec_context ();
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_link "$LINENO"
18000 then :
18001 case "$LIBEXT" in
18002 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18003 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'` ;;
18004 *) 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'`
18005 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18006 then :
18007 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18008 fi ;;
18009 esac
18010 else $as_nop
18011 ac_cv_lib_soname_gssapi_krb5=
18013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18014 conftest$ac_exeext conftest.$ac_ext
18015 LIBS=$ac_check_soname_save_LIBS
18017 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18018 then :
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18020 printf "%s\n" "not found" >&6; }
18021 GSSAPI_CFLAGS=""
18022 else $as_nop
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18024 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18026 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18030 else
18031 GSSAPI_CFLAGS=""
18033 CPPFLAGS=$ac_save_CPPFLAGS
18036 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18037 then :
18038 case "x$with_gssapi" in
18039 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18040 xno) ;;
18041 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18042 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18043 esac
18047 if test "$ac_cv_header_AL_al_h" = "yes"
18048 then
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18050 printf %s "checking for -lopenal... " >&6; }
18051 if test ${ac_cv_lib_soname_openal+y}
18052 then :
18053 printf %s "(cached) " >&6
18054 else $as_nop
18055 ac_check_soname_save_LIBS=$LIBS
18056 LIBS="-lopenal $LIBS"
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char alGetSource3i ();
18065 main (void)
18067 return alGetSource3i ();
18069 return 0;
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"
18073 then :
18074 case "$LIBEXT" in
18075 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18076 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'` ;;
18077 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18078 if ${ac_cv_lib_soname_openal:+false} :
18079 then :
18080 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18081 fi ;;
18082 esac
18083 else $as_nop
18084 ac_cv_lib_soname_openal=
18086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18087 conftest$ac_exeext conftest.$ac_ext
18088 LIBS=$ac_check_soname_save_LIBS
18090 if ${ac_cv_lib_soname_openal:+false} :
18091 then :
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18093 printf "%s\n" "not found" >&6; }
18095 else $as_nop
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18097 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18099 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18101 OPENAL_LIBS="-lopenal"
18103 ac_cv_lib_openal=yes
18105 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18109 if test "x$ac_cv_lib_openal" != xyes
18110 then :
18111 case "x$with_openal" in
18112 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18113 xno) ;;
18114 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18115 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18116 esac
18117 enable_openal32=${enable_openal32:-no}
18120 if test "$ac_cv_header_libprocstat_h" = "yes"
18121 then
18122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18123 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18124 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18125 then :
18126 printf %s "(cached) " >&6
18127 else $as_nop
18128 ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lprocstat $LIBS"
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18133 /* Override any GCC internal prototype to avoid an error.
18134 Use char because int might match the return type of a GCC
18135 builtin and then its argument prototype would still apply. */
18136 char procstat_open_sysctl ();
18138 main (void)
18140 return procstat_open_sysctl ();
18142 return 0;
18144 _ACEOF
18145 if ac_fn_c_try_link "$LINENO"
18146 then :
18147 ac_cv_lib_procstat_procstat_open_sysctl=yes
18148 else $as_nop
18149 ac_cv_lib_procstat_procstat_open_sysctl=no
18151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18152 conftest$ac_exeext conftest.$ac_ext
18153 LIBS=$ac_check_lib_save_LIBS
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18156 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18157 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18158 then :
18160 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18162 PROCSTAT_LIBS="-lprocstat"
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18169 printf %s "checking for -lodbc... " >&6; }
18170 if test ${ac_cv_lib_soname_odbc+y}
18171 then :
18172 printf %s "(cached) " >&6
18173 else $as_nop
18174 ac_check_soname_save_LIBS=$LIBS
18175 LIBS="-lodbc $LIBS"
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18179 /* Override any GCC internal prototype to avoid an error.
18180 Use char because int might match the return type of a GCC
18181 builtin and then its argument prototype would still apply. */
18182 char SQLConnect ();
18184 main (void)
18186 return SQLConnect ();
18188 return 0;
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"
18192 then :
18193 case "$LIBEXT" in
18194 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18195 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'` ;;
18196 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18197 if ${ac_cv_lib_soname_odbc:+false} :
18198 then :
18199 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18200 fi ;;
18201 esac
18202 else $as_nop
18203 ac_cv_lib_soname_odbc=
18205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18206 conftest$ac_exeext conftest.$ac_ext
18207 LIBS=$ac_check_soname_save_LIBS
18209 if ${ac_cv_lib_soname_odbc:+false} :
18210 then :
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18212 printf "%s\n" "not found" >&6; }
18213 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18215 else $as_nop
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18217 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18219 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18224 if test "x$with_netapi" != "xno"
18225 then
18226 if ${NETAPI_CFLAGS:+false} :
18227 then :
18228 if test ${PKG_CONFIG+y}
18229 then :
18230 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18234 if ${NETAPI_LIBS:+false} :
18235 then :
18236 if test ${PKG_CONFIG+y}
18237 then :
18238 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18245 ac_save_CPPFLAGS=$CPPFLAGS
18246 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18248 printf %s "checking for -lnetapi... " >&6; }
18249 if test ${ac_cv_lib_soname_netapi+y}
18250 then :
18251 printf %s "(cached) " >&6
18252 else $as_nop
18253 ac_check_soname_save_LIBS=$LIBS
18254 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 /* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
18261 char libnetapi_init ();
18263 main (void)
18265 return libnetapi_init ();
18267 return 0;
18269 _ACEOF
18270 if ac_fn_c_try_link "$LINENO"
18271 then :
18272 case "$LIBEXT" in
18273 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18274 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'` ;;
18275 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18276 if ${ac_cv_lib_soname_netapi:+false} :
18277 then :
18278 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18279 fi ;;
18280 esac
18281 else $as_nop
18282 ac_cv_lib_soname_netapi=
18284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18285 conftest$ac_exeext conftest.$ac_ext
18286 LIBS=$ac_check_soname_save_LIBS
18288 if ${ac_cv_lib_soname_netapi:+false} :
18289 then :
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18291 printf "%s\n" "not found" >&6; }
18292 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18294 else $as_nop
18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18296 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18298 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18302 CPPFLAGS=$ac_save_CPPFLAGS
18305 if test "x$ac_cv_lib_soname_netapi" = "x"
18306 then :
18307 case "x$with_netapi" in
18308 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18309 xno) ;;
18310 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18311 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18312 esac
18313 enable_netapi=${enable_netapi:-no}
18317 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18318 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18319 then
18320 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18323 if test "x$with_vulkan" != "xno"
18324 then
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18326 printf %s "checking for -lvulkan... " >&6; }
18327 if test ${ac_cv_lib_soname_vulkan+y}
18328 then :
18329 printf %s "(cached) " >&6
18330 else $as_nop
18331 ac_check_soname_save_LIBS=$LIBS
18332 LIBS="-lvulkan $LIBS"
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18336 /* Override any GCC internal prototype to avoid an error.
18337 Use char because int might match the return type of a GCC
18338 builtin and then its argument prototype would still apply. */
18339 char vkGetInstanceProcAddr ();
18341 main (void)
18343 return vkGetInstanceProcAddr ();
18345 return 0;
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"
18349 then :
18350 case "$LIBEXT" in
18351 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18352 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'` ;;
18353 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18354 if ${ac_cv_lib_soname_vulkan:+false} :
18355 then :
18356 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18357 fi ;;
18358 esac
18359 else $as_nop
18360 ac_cv_lib_soname_vulkan=
18362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18363 conftest$ac_exeext conftest.$ac_ext
18364 LIBS=$ac_check_soname_save_LIBS
18366 if ${ac_cv_lib_soname_vulkan:+false} :
18367 then :
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18369 printf "%s\n" "not found" >&6; }
18371 else $as_nop
18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18373 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18375 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18379 if test "x$ac_cv_lib_soname_vulkan" = "x"
18380 then
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18382 printf %s "checking for -lMoltenVK... " >&6; }
18383 if test ${ac_cv_lib_soname_MoltenVK+y}
18384 then :
18385 printf %s "(cached) " >&6
18386 else $as_nop
18387 ac_check_soname_save_LIBS=$LIBS
18388 LIBS="-lMoltenVK $LIBS"
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18395 char vkGetInstanceProcAddr ();
18397 main (void)
18399 return vkGetInstanceProcAddr ();
18401 return 0;
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"
18405 then :
18406 case "$LIBEXT" in
18407 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18408 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'` ;;
18409 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18410 if ${ac_cv_lib_soname_MoltenVK:+false} :
18411 then :
18412 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18413 fi ;;
18414 esac
18415 else $as_nop
18416 ac_cv_lib_soname_MoltenVK=
18418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18419 conftest$ac_exeext conftest.$ac_ext
18420 LIBS=$ac_check_soname_save_LIBS
18422 if ${ac_cv_lib_soname_MoltenVK:+false} :
18423 then :
18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18425 printf "%s\n" "not found" >&6; }
18427 else $as_nop
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18429 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18431 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18437 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18438 then :
18439 case "x$with_vulkan" in
18440 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18441 xno) ;;
18442 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18443 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18444 esac
18448 if test "x$with_vkd3d" != "xno"
18449 then
18450 if ${VKD3D_CFLAGS:+false} :
18451 then :
18452 if test ${PKG_CONFIG+y}
18453 then :
18454 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18458 if ${VKD3D_LIBS:+false} :
18459 then :
18460 if test ${PKG_CONFIG+y}
18461 then :
18462 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18469 ac_save_CPPFLAGS=$CPPFLAGS
18470 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18472 printf %s "checking for -lvkd3d... " >&6; }
18473 if test ${ac_cv_lib_soname_vkd3d+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_check_soname_save_LIBS=$LIBS
18478 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18482 /* Override any GCC internal prototype to avoid an error.
18483 Use char because int might match the return type of a GCC
18484 builtin and then its argument prototype would still apply. */
18485 char vkd3d_serialize_versioned_root_signature ();
18487 main (void)
18489 return vkd3d_serialize_versioned_root_signature ();
18491 return 0;
18493 _ACEOF
18494 if ac_fn_c_try_link "$LINENO"
18495 then :
18496 case "$LIBEXT" in
18497 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18498 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'` ;;
18499 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18500 if ${ac_cv_lib_soname_vkd3d:+false} :
18501 then :
18502 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18503 fi ;;
18504 esac
18505 else $as_nop
18506 ac_cv_lib_soname_vkd3d=
18508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18509 conftest$ac_exeext conftest.$ac_ext
18510 LIBS=$ac_check_soname_save_LIBS
18512 if ${ac_cv_lib_soname_vkd3d:+false} :
18513 then :
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18515 printf "%s\n" "not found" >&6; }
18517 else $as_nop
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18519 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18521 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18525 CPPFLAGS=$ac_save_CPPFLAGS
18527 if ${VKD3D_SHADER_CFLAGS:+false} :
18528 then :
18529 if test ${PKG_CONFIG+y}
18530 then :
18531 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18535 if ${VKD3D_SHADER_LIBS:+false} :
18536 then :
18537 if test ${PKG_CONFIG+y}
18538 then :
18539 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18546 ac_save_CPPFLAGS=$CPPFLAGS
18547 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18549 printf %s "checking for -lvkd3d-shader... " >&6; }
18550 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18551 then :
18552 printf %s "(cached) " >&6
18553 else $as_nop
18554 ac_check_soname_save_LIBS=$LIBS
18555 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18559 /* Override any GCC internal prototype to avoid an error.
18560 Use char because int might match the return type of a GCC
18561 builtin and then its argument prototype would still apply. */
18562 char vkd3d_shader_compile ();
18564 main (void)
18566 return vkd3d_shader_compile ();
18568 return 0;
18570 _ACEOF
18571 if ac_fn_c_try_link "$LINENO"
18572 then :
18573 case "$LIBEXT" in
18574 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18575 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'` ;;
18576 *) 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'`
18577 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18578 then :
18579 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18580 fi ;;
18581 esac
18582 else $as_nop
18583 ac_cv_lib_soname_vkd3d_shader=
18585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18586 conftest$ac_exeext conftest.$ac_ext
18587 LIBS=$ac_check_soname_save_LIBS
18589 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18590 then :
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18592 printf "%s\n" "not found" >&6; }
18594 else $as_nop
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18596 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18598 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18602 CPPFLAGS=$ac_save_CPPFLAGS
18605 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18606 then :
18607 case "x$with_vkd3d" in
18608 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18609 xno) ;;
18610 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18611 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18612 esac
18615 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18618 if test "x${GCC}" = "xyes"
18619 then
18620 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18622 saved_CFLAGS=$CFLAGS
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18624 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18625 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18626 then :
18627 printf %s "(cached) " >&6
18628 else $as_nop
18629 ac_wine_try_cflags_saved=$CFLAGS
18630 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"
18636 then :
18637 ac_cv_cflags__Werror_unknown_warning_option=yes
18638 else $as_nop
18639 ac_cv_cflags__Werror_unknown_warning_option=no
18641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18642 conftest$ac_exeext conftest.$ac_ext
18643 CFLAGS=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18646 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18647 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18648 then :
18649 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18652 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18653 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18654 then :
18655 printf %s "(cached) " >&6
18656 else $as_nop
18657 ac_wine_try_cflags_saved=$CFLAGS
18658 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_cflags__Werror_unused_command_line_argument=yes
18666 else $as_nop
18667 ac_cv_cflags__Werror_unused_command_line_argument=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 CFLAGS=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18674 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18675 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18676 then :
18677 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18680 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18681 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18682 then :
18683 printf %s "(cached) " >&6
18684 else $as_nop
18685 ac_wine_try_cflags_saved=$CFLAGS
18686 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"
18692 then :
18693 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18694 else $as_nop
18695 ac_cv_cflags__Werror_ignored_optimization_argument=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18698 conftest$ac_exeext conftest.$ac_ext
18699 CFLAGS=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18702 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18703 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18704 then :
18705 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18708 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18709 if test ${ac_cv_cflags__fcf_protection_none+y}
18710 then :
18711 printf %s "(cached) " >&6
18712 else $as_nop
18713 ac_wine_try_cflags_saved=$CFLAGS
18714 CFLAGS="$CFLAGS -fcf-protection=none"
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18718 _ACEOF
18719 if ac_fn_c_try_link "$LINENO"
18720 then :
18721 ac_cv_cflags__fcf_protection_none=yes
18722 else $as_nop
18723 ac_cv_cflags__fcf_protection_none=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18726 conftest$ac_exeext conftest.$ac_ext
18727 CFLAGS=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18730 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18731 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18732 then :
18733 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18736 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18737 if test ${ac_cv_cflags__fno_stack_protector+y}
18738 then :
18739 printf %s "(cached) " >&6
18740 else $as_nop
18741 ac_wine_try_cflags_saved=$CFLAGS
18742 CFLAGS="$CFLAGS -fno-stack-protector"
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"
18748 then :
18749 ac_cv_cflags__fno_stack_protector=yes
18750 else $as_nop
18751 ac_cv_cflags__fno_stack_protector=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18754 conftest$ac_exeext conftest.$ac_ext
18755 CFLAGS=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18758 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18759 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18760 then :
18761 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18764 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18765 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18766 then :
18767 printf %s "(cached) " >&6
18768 else $as_nop
18769 ac_wine_try_cflags_saved=$CFLAGS
18770 CFLAGS="$CFLAGS -fno-strict-aliasing"
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18774 _ACEOF
18775 if ac_fn_c_try_link "$LINENO"
18776 then :
18777 ac_cv_cflags__fno_strict_aliasing=yes
18778 else $as_nop
18779 ac_cv_cflags__fno_strict_aliasing=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18782 conftest$ac_exeext conftest.$ac_ext
18783 CFLAGS=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18786 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18787 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18788 then :
18789 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18792 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18793 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18794 then :
18795 printf %s "(cached) " >&6
18796 else $as_nop
18797 ac_wine_try_cflags_saved=$CFLAGS
18798 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"
18804 then :
18805 ac_cv_cflags__Wdeclaration_after_statement=yes
18806 else $as_nop
18807 ac_cv_cflags__Wdeclaration_after_statement=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18810 conftest$ac_exeext conftest.$ac_ext
18811 CFLAGS=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18815 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18816 then :
18817 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18820 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18821 if test ${ac_cv_cflags__Wempty_body+y}
18822 then :
18823 printf %s "(cached) " >&6
18824 else $as_nop
18825 ac_wine_try_cflags_saved=$CFLAGS
18826 CFLAGS="$CFLAGS -Wempty-body"
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"
18832 then :
18833 ac_cv_cflags__Wempty_body=yes
18834 else $as_nop
18835 ac_cv_cflags__Wempty_body=no
18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18838 conftest$ac_exeext conftest.$ac_ext
18839 CFLAGS=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18842 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18843 if test "x$ac_cv_cflags__Wempty_body" = xyes
18844 then :
18845 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18848 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18849 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18850 then :
18851 printf %s "(cached) " >&6
18852 else $as_nop
18853 ac_wine_try_cflags_saved=$CFLAGS
18854 CFLAGS="$CFLAGS -Wignored-qualifiers"
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"
18860 then :
18861 ac_cv_cflags__Wignored_qualifiers=yes
18862 else $as_nop
18863 ac_cv_cflags__Wignored_qualifiers=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18866 conftest$ac_exeext conftest.$ac_ext
18867 CFLAGS=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18871 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18872 then :
18873 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18876 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18877 if test ${ac_cv_cflags__Winit_self+y}
18878 then :
18879 printf %s "(cached) " >&6
18880 else $as_nop
18881 ac_wine_try_cflags_saved=$CFLAGS
18882 CFLAGS="$CFLAGS -Winit-self"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"
18888 then :
18889 ac_cv_cflags__Winit_self=yes
18890 else $as_nop
18891 ac_cv_cflags__Winit_self=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 CFLAGS=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18898 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18899 if test "x$ac_cv_cflags__Winit_self" = xyes
18900 then :
18901 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18904 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18905 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18906 then :
18907 printf %s "(cached) " >&6
18908 else $as_nop
18909 ac_wine_try_cflags_saved=$CFLAGS
18910 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"
18916 then :
18917 ac_cv_cflags__Wpacked_not_aligned=yes
18918 else $as_nop
18919 ac_cv_cflags__Wpacked_not_aligned=no
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18922 conftest$ac_exeext conftest.$ac_ext
18923 CFLAGS=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18927 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18928 then :
18929 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18932 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18933 if test ${ac_cv_cflags__Wpragma_pack+y}
18934 then :
18935 printf %s "(cached) " >&6
18936 else $as_nop
18937 ac_wine_try_cflags_saved=$CFLAGS
18938 CFLAGS="$CFLAGS -Wpragma-pack"
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18942 _ACEOF
18943 if ac_fn_c_try_link "$LINENO"
18944 then :
18945 ac_cv_cflags__Wpragma_pack=yes
18946 else $as_nop
18947 ac_cv_cflags__Wpragma_pack=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18950 conftest$ac_exeext conftest.$ac_ext
18951 CFLAGS=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18955 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18956 then :
18957 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18960 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18961 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18962 then :
18963 printf %s "(cached) " >&6
18964 else $as_nop
18965 ac_wine_try_cflags_saved=$CFLAGS
18966 CFLAGS="$CFLAGS -Wshift-overflow=2"
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 int main(int argc, char **argv) { return 0; }
18970 _ACEOF
18971 if ac_fn_c_try_link "$LINENO"
18972 then :
18973 ac_cv_cflags__Wshift_overflow_2=yes
18974 else $as_nop
18975 ac_cv_cflags__Wshift_overflow_2=no
18977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18978 conftest$ac_exeext conftest.$ac_ext
18979 CFLAGS=$ac_wine_try_cflags_saved
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18982 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18983 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18984 then :
18985 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18988 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18989 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18990 then :
18991 printf %s "(cached) " >&6
18992 else $as_nop
18993 ac_wine_try_cflags_saved=$CFLAGS
18994 CFLAGS="$CFLAGS -Wstrict-prototypes"
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 int main(int argc, char **argv) { return 0; }
18998 _ACEOF
18999 if ac_fn_c_try_link "$LINENO"
19000 then :
19001 ac_cv_cflags__Wstrict_prototypes=yes
19002 else $as_nop
19003 ac_cv_cflags__Wstrict_prototypes=no
19005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19006 conftest$ac_exeext conftest.$ac_ext
19007 CFLAGS=$ac_wine_try_cflags_saved
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19010 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19011 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19012 then :
19013 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19016 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19017 if test ${ac_cv_cflags__Wtype_limits+y}
19018 then :
19019 printf %s "(cached) " >&6
19020 else $as_nop
19021 ac_wine_try_cflags_saved=$CFLAGS
19022 CFLAGS="$CFLAGS -Wtype-limits"
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 int main(int argc, char **argv) { return 0; }
19026 _ACEOF
19027 if ac_fn_c_try_link "$LINENO"
19028 then :
19029 ac_cv_cflags__Wtype_limits=yes
19030 else $as_nop
19031 ac_cv_cflags__Wtype_limits=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19034 conftest$ac_exeext conftest.$ac_ext
19035 CFLAGS=$ac_wine_try_cflags_saved
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19038 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19039 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19040 then :
19041 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19044 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19045 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19046 then :
19047 printf %s "(cached) " >&6
19048 else $as_nop
19049 ac_wine_try_cflags_saved=$CFLAGS
19050 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 int main(int argc, char **argv) { return 0; }
19054 _ACEOF
19055 if ac_fn_c_try_link "$LINENO"
19056 then :
19057 ac_cv_cflags__Wunused_but_set_parameter=yes
19058 else $as_nop
19059 ac_cv_cflags__Wunused_but_set_parameter=no
19061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19062 conftest$ac_exeext conftest.$ac_ext
19063 CFLAGS=$ac_wine_try_cflags_saved
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19066 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19067 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19068 then :
19069 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19072 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19073 if test ${ac_cv_cflags__Wvla+y}
19074 then :
19075 printf %s "(cached) " >&6
19076 else $as_nop
19077 ac_wine_try_cflags_saved=$CFLAGS
19078 CFLAGS="$CFLAGS -Wvla"
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19081 int main(int argc, char **argv) { return 0; }
19082 _ACEOF
19083 if ac_fn_c_try_link "$LINENO"
19084 then :
19085 ac_cv_cflags__Wvla=yes
19086 else $as_nop
19087 ac_cv_cflags__Wvla=no
19089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19090 conftest$ac_exeext conftest.$ac_ext
19091 CFLAGS=$ac_wine_try_cflags_saved
19093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19094 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19095 if test "x$ac_cv_cflags__Wvla" = xyes
19096 then :
19097 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19100 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19101 if test ${ac_cv_cflags__Wwrite_strings+y}
19102 then :
19103 printf %s "(cached) " >&6
19104 else $as_nop
19105 ac_wine_try_cflags_saved=$CFLAGS
19106 CFLAGS="$CFLAGS -Wwrite-strings"
19107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 int main(int argc, char **argv) { return 0; }
19110 _ACEOF
19111 if ac_fn_c_try_link "$LINENO"
19112 then :
19113 ac_cv_cflags__Wwrite_strings=yes
19114 else $as_nop
19115 ac_cv_cflags__Wwrite_strings=no
19117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19118 conftest$ac_exeext conftest.$ac_ext
19119 CFLAGS=$ac_wine_try_cflags_saved
19121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19122 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19123 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19124 then :
19125 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19128 if test -z "$CROSSTARGET"
19129 then
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19131 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19132 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19133 then :
19134 printf %s "(cached) " >&6
19135 else $as_nop
19136 ac_wine_try_cflags_saved=$CFLAGS
19137 CFLAGS="$CFLAGS -fexcess-precision=standard"
19138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19140 int main(int argc, char **argv) { return 0; }
19141 _ACEOF
19142 if ac_fn_c_try_link "$LINENO"
19143 then :
19144 ac_cv_cflags__fexcess_precision_standard=yes
19145 else $as_nop
19146 ac_cv_cflags__fexcess_precision_standard=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19149 conftest$ac_exeext conftest.$ac_ext
19150 CFLAGS=$ac_wine_try_cflags_saved
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19153 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19154 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19155 then :
19156 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19162 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19163 if test ${ac_cv_cflags__Wpointer_arith+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 ac_wine_try_cflags_saved=$CFLAGS
19168 CFLAGS="$CFLAGS -Wpointer-arith"
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 int main(int argc, char **argv) { return 0; }
19172 _ACEOF
19173 if ac_fn_c_try_link "$LINENO"
19174 then :
19175 ac_cv_cflags__Wpointer_arith=yes
19176 else $as_nop
19177 ac_cv_cflags__Wpointer_arith=no
19179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19180 conftest$ac_exeext conftest.$ac_ext
19181 CFLAGS=$ac_wine_try_cflags_saved
19183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19184 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19185 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19186 then :
19187 saved_string_h_CFLAGS=$CFLAGS
19188 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19190 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19191 if test ${ac_cv_c_string_h_warnings+y}
19192 then :
19193 printf %s "(cached) " >&6
19194 else $as_nop
19195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19196 /* end confdefs.h. */
19197 #include <string.h>
19199 main (void)
19203 return 0;
19205 _ACEOF
19206 if ac_fn_c_try_compile "$LINENO"
19207 then :
19208 ac_cv_c_string_h_warnings=no
19209 else $as_nop
19210 ac_cv_c_string_h_warnings=yes
19212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19215 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19216 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19217 CFLAGS=$saved_string_h_CFLAGS
19220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19221 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19222 if test ${ac_cv_cflags__Wlogical_op+y}
19223 then :
19224 printf %s "(cached) " >&6
19225 else $as_nop
19226 ac_wine_try_cflags_saved=$CFLAGS
19227 CFLAGS="$CFLAGS -Wlogical-op"
19228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h. */
19230 int main(int argc, char **argv) { return 0; }
19231 _ACEOF
19232 if ac_fn_c_try_link "$LINENO"
19233 then :
19234 ac_cv_cflags__Wlogical_op=yes
19235 else $as_nop
19236 ac_cv_cflags__Wlogical_op=no
19238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19239 conftest$ac_exeext conftest.$ac_ext
19240 CFLAGS=$ac_wine_try_cflags_saved
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19243 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19244 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19245 then :
19246 saved_string_h_CFLAGS=$CFLAGS
19247 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19249 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19250 if test ${ac_cv_c_logicalop_noisy+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19256 #include <string.h>
19257 char*f(const char *h,char n) {return strchr(h,n);}
19259 main (void)
19263 return 0;
19265 _ACEOF
19266 if ac_fn_c_try_compile "$LINENO"
19267 then :
19268 ac_cv_c_logicalop_noisy=no
19269 else $as_nop
19270 ac_cv_c_logicalop_noisy=yes
19272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19275 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19276 CFLAGS=$saved_string_h_CFLAGS
19277 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19281 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19282 if test ${wine_cv_64bit_compare_swap+y}
19283 then :
19284 printf %s "(cached) " >&6
19285 else $as_nop
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19289 #error no
19290 #endif
19292 main (void)
19296 return 0;
19298 _ACEOF
19299 if ac_fn_c_try_compile "$LINENO"
19300 then :
19301 wine_cv_64bit_compare_swap="none needed"
19302 else $as_nop
19303 case $host_cpu in
19304 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19305 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19306 *) wine_cv_64bit_compare_swap="unknown" ;;
19307 esac
19308 if test "x$wine_cv_64bit_compare_swap" != xunknown
19309 then
19310 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19314 #error no
19315 #endif
19317 main (void)
19321 return 0;
19323 _ACEOF
19324 if ac_fn_c_try_compile "$LINENO"
19325 then :
19327 else $as_nop
19328 wine_cv_64bit_compare_swap="unknown"
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19331 CFLAGS=$saved_CFLAGS
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19337 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19338 case "$wine_cv_64bit_compare_swap" in
19339 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19340 "none needed") ;;
19341 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19342 esac
19344 ac_debug_format_seen=""
19345 for ac_flag in $CFLAGS; do
19346 case $ac_flag in
19347 -gdwarf*) ac_debug_format_seen=yes ;;
19348 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19349 esac
19350 done
19351 if test "x$ac_debug_format_seen" = xdefault
19352 then
19353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19354 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19355 if test ${ac_cv_cflags__gdwarf_4+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 ac_wine_try_cflags_saved=$CFLAGS
19360 CFLAGS="$CFLAGS -gdwarf-4"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19364 _ACEOF
19365 if ac_fn_c_try_link "$LINENO"
19366 then :
19367 ac_cv_cflags__gdwarf_4=yes
19368 else $as_nop
19369 ac_cv_cflags__gdwarf_4=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19372 conftest$ac_exeext conftest.$ac_ext
19373 CFLAGS=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19376 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19377 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19378 then :
19379 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19383 MSVCRTFLAGS=""
19385 case $host_os in
19386 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19387 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19388 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19389 then :
19390 printf %s "(cached) " >&6
19391 else $as_nop
19392 ac_wine_try_cflags_saved=$CFLAGS
19393 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395 /* end confdefs.h. */
19396 int main(int argc, char **argv) { return 0; }
19397 _ACEOF
19398 if ac_fn_c_try_link "$LINENO"
19399 then :
19400 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19401 else $as_nop
19402 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19405 conftest$ac_exeext conftest.$ac_ext
19406 CFLAGS=$ac_wine_try_cflags_saved
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19409 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19410 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19411 then :
19412 DELAYLOADFLAG="-Wl,-delayload,"
19414 fi ;;
19415 *) MSVCRTFLAGS="-D_WIN32"
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19417 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19418 if test ${ac_cv_cflags__fno_builtin+y}
19419 then :
19420 printf %s "(cached) " >&6
19421 else $as_nop
19422 ac_wine_try_cflags_saved=$CFLAGS
19423 CFLAGS="$CFLAGS -fno-builtin"
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 int main(int argc, char **argv) { return 0; }
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"
19429 then :
19430 ac_cv_cflags__fno_builtin=yes
19431 else $as_nop
19432 ac_cv_cflags__fno_builtin=no
19434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19435 conftest$ac_exeext conftest.$ac_ext
19436 CFLAGS=$ac_wine_try_cflags_saved
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19439 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19440 if test "x$ac_cv_cflags__fno_builtin" = xyes
19441 then :
19442 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19445 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19446 if test ${ac_cv_cflags__fshort_wchar+y}
19447 then :
19448 printf %s "(cached) " >&6
19449 else $as_nop
19450 ac_wine_try_cflags_saved=$CFLAGS
19451 CFLAGS="$CFLAGS -fshort-wchar"
19452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 int main(int argc, char **argv) { return 0; }
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"
19457 then :
19458 ac_cv_cflags__fshort_wchar=yes
19459 else $as_nop
19460 ac_cv_cflags__fshort_wchar=no
19462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19463 conftest$ac_exeext conftest.$ac_ext
19464 CFLAGS=$ac_wine_try_cflags_saved
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19467 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19468 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19469 then :
19470 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19473 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19474 if test ${ac_cv_cflags__Wno_format+y}
19475 then :
19476 printf %s "(cached) " >&6
19477 else $as_nop
19478 ac_wine_try_cflags_saved=$CFLAGS
19479 CFLAGS="$CFLAGS -Wno-format"
19480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19482 int main(int argc, char **argv) { return 0; }
19483 _ACEOF
19484 if ac_fn_c_try_link "$LINENO"
19485 then :
19486 ac_cv_cflags__Wno_format=yes
19487 else $as_nop
19488 ac_cv_cflags__Wno_format=no
19490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19491 conftest$ac_exeext conftest.$ac_ext
19492 CFLAGS=$ac_wine_try_cflags_saved
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19495 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19496 if test "x$ac_cv_cflags__Wno_format" = xyes
19497 then :
19498 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19499 fi ;;
19500 esac
19502 case $host_cpu in
19503 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19504 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19505 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19506 then :
19507 printf %s "(cached) " >&6
19508 else $as_nop
19509 ac_wine_try_cflags_saved=$CFLAGS
19510 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 int main(int argc, char **argv) { return 0; }
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_cflags__fno_omit_frame_pointer=yes
19518 else $as_nop
19519 ac_cv_cflags__fno_omit_frame_pointer=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19522 conftest$ac_exeext conftest.$ac_ext
19523 CFLAGS=$ac_wine_try_cflags_saved
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19526 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19527 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19528 then :
19529 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19530 fi ;;
19531 *x86_64*)
19532 case $host_os in
19533 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19534 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19535 if test ${ac_cv_cflags__Wno_format+y}
19536 then :
19537 printf %s "(cached) " >&6
19538 else $as_nop
19539 ac_wine_try_cflags_saved=$CFLAGS
19540 CFLAGS="$CFLAGS -Wno-format"
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 int main(int argc, char **argv) { return 0; }
19544 _ACEOF
19545 if ac_fn_c_try_link "$LINENO"
19546 then :
19547 ac_cv_cflags__Wno_format=yes
19548 else $as_nop
19549 ac_cv_cflags__Wno_format=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19552 conftest$ac_exeext conftest.$ac_ext
19553 CFLAGS=$ac_wine_try_cflags_saved
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19556 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19557 if test "x$ac_cv_cflags__Wno_format" = xyes
19558 then :
19559 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19560 fi ;;
19561 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19562 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19563 if test ${ac_cv_cflags__mabi_ms+y}
19564 then :
19565 printf %s "(cached) " >&6
19566 else $as_nop
19567 ac_wine_try_cflags_saved=$CFLAGS
19568 CFLAGS="$CFLAGS -mabi=ms"
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19571 int main(int argc, char **argv) { return 0; }
19572 _ACEOF
19573 if ac_fn_c_try_link "$LINENO"
19574 then :
19575 ac_cv_cflags__mabi_ms=yes
19576 else $as_nop
19577 ac_cv_cflags__mabi_ms=no
19579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19580 conftest$ac_exeext conftest.$ac_ext
19581 CFLAGS=$ac_wine_try_cflags_saved
19583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19584 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19585 if test "x$ac_cv_cflags__mabi_ms" = xyes
19586 then :
19587 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19588 fi ;;
19589 esac ;;
19590 esac
19592 CFLAGS=$saved_CFLAGS
19594 if test "x$enable_werror" = "xyes"
19595 then
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19597 printf %s "checking whether the compiler supports -Werror... " >&6; }
19598 if test ${ac_cv_cflags__Werror+y}
19599 then :
19600 printf %s "(cached) " >&6
19601 else $as_nop
19602 ac_wine_try_cflags_saved=$CFLAGS
19603 CFLAGS="$CFLAGS -Werror"
19604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19605 /* end confdefs.h. */
19606 int main(int argc, char **argv) { return 0; }
19607 _ACEOF
19608 if ac_fn_c_try_link "$LINENO"
19609 then :
19610 ac_cv_cflags__Werror=yes
19611 else $as_nop
19612 ac_cv_cflags__Werror=no
19614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19615 conftest$ac_exeext conftest.$ac_ext
19616 CFLAGS=$ac_wine_try_cflags_saved
19618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19619 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19620 if test "x$ac_cv_cflags__Werror" = xyes
19621 then :
19622 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19625 if test "x$enable_build_id" = "xyes"
19626 then
19627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19628 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19629 if test ${ac_cv_cflags__Wl___build_id+y}
19630 then :
19631 printf %s "(cached) " >&6
19632 else $as_nop
19633 ac_wine_try_cflags_saved=$CFLAGS
19634 CFLAGS="$CFLAGS -Wl,--build-id"
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h. */
19637 int main(int argc, char **argv) { return 0; }
19638 _ACEOF
19639 if ac_fn_c_try_link "$LINENO"
19640 then :
19641 ac_cv_cflags__Wl___build_id=yes
19642 else $as_nop
19643 ac_cv_cflags__Wl___build_id=no
19645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19646 conftest$ac_exeext conftest.$ac_ext
19647 CFLAGS=$ac_wine_try_cflags_saved
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19650 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19651 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19652 then :
19653 CFLAGS="$CFLAGS -Wl,--build-id"
19654 LDFLAGS="$LDFLAGS -Wl,--build-id"
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19661 printf %s "checking for the need to disable Fortify... " >&6; }
19662 if test ${ac_cv_c_fortify_enabled+y}
19663 then :
19664 printf %s "(cached) " >&6
19665 else $as_nop
19666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19668 #include <string.h>
19670 main (void)
19672 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19673 #error Fortify enabled
19674 #endif
19676 return 0;
19678 _ACEOF
19679 if ac_fn_c_try_compile "$LINENO"
19680 then :
19681 ac_cv_c_fortify_enabled=no
19682 else $as_nop
19683 ac_cv_c_fortify_enabled=yes
19685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19688 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19689 if test "$ac_cv_c_fortify_enabled" = yes
19690 then
19691 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19696 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19697 if test ${ac_cv_c_cfi_support+y}
19698 then :
19699 printf %s "(cached) " >&6
19700 else $as_nop
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19703 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19705 main (void)
19709 return 0;
19711 _ACEOF
19712 if ac_fn_c_try_compile "$LINENO"
19713 then :
19714 ac_cv_c_cfi_support="yes"
19715 else $as_nop
19716 ac_cv_c_cfi_support="no"
19718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19721 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19722 if test "$ac_cv_c_cfi_support" = "yes"
19723 then
19724 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19725 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19726 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19727 else
19728 if test "x$enable_win64" = "xyes"
19729 then
19730 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19735 case $host_os in
19736 linux*)
19737 case $host_cpu in
19738 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19739 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19740 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19742 esac
19744 esac
19747 ac_save_CFLAGS="$CFLAGS"
19748 CFLAGS="$CFLAGS $BUILTINFLAG"
19749 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19750 if test "x$ac_cv_func_epoll_create" = xyes
19751 then :
19752 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19755 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19756 if test "x$ac_cv_func_fstatfs" = xyes
19757 then :
19758 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19761 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19762 if test "x$ac_cv_func_futimens" = xyes
19763 then :
19764 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19767 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19768 if test "x$ac_cv_func_futimes" = xyes
19769 then :
19770 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19773 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19774 if test "x$ac_cv_func_futimesat" = xyes
19775 then :
19776 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19779 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19780 if test "x$ac_cv_func_getattrlist" = xyes
19781 then :
19782 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19785 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19786 if test "x$ac_cv_func_getauxval" = xyes
19787 then :
19788 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19791 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19792 if test "x$ac_cv_func_getifaddrs" = xyes
19793 then :
19794 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19797 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19798 if test "x$ac_cv_func_getrandom" = xyes
19799 then :
19800 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19803 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19804 if test "x$ac_cv_func_kqueue" = xyes
19805 then :
19806 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19809 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19810 if test "x$ac_cv_func_mach_continuous_time" = xyes
19811 then :
19812 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19815 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19816 if test "x$ac_cv_func_pipe2" = xyes
19817 then :
19818 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19821 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19822 if test "x$ac_cv_func_port_create" = xyes
19823 then :
19824 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19827 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19828 if test "x$ac_cv_func_posix_fadvise" = xyes
19829 then :
19830 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19833 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19834 if test "x$ac_cv_func_posix_fallocate" = xyes
19835 then :
19836 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19839 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19840 if test "x$ac_cv_func_prctl" = xyes
19841 then :
19842 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19845 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19846 if test "x$ac_cv_func_proc_pidinfo" = xyes
19847 then :
19848 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19851 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19852 if test "x$ac_cv_func_sched_yield" = xyes
19853 then :
19854 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19857 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19858 if test "x$ac_cv_func_setproctitle" = xyes
19859 then :
19860 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19863 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19864 if test "x$ac_cv_func_setprogname" = xyes
19865 then :
19866 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19869 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19870 if test "x$ac_cv_func_sigprocmask" = xyes
19871 then :
19872 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19875 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19876 if test "x$ac_cv_func_sysinfo" = xyes
19877 then :
19878 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19881 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19882 if test "x$ac_cv_func_tcdrain" = xyes
19883 then :
19884 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19887 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19888 if test "x$ac_cv_func_thr_kill2" = xyes
19889 then :
19890 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19894 CFLAGS="$ac_save_CFLAGS"
19896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19897 printf %s "checking for library containing dlopen... " >&6; }
19898 if test ${ac_cv_search_dlopen+y}
19899 then :
19900 printf %s "(cached) " >&6
19901 else $as_nop
19902 ac_func_search_save_LIBS=$LIBS
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19906 /* Override any GCC internal prototype to avoid an error.
19907 Use char because int might match the return type of a GCC
19908 builtin and then its argument prototype would still apply. */
19909 char dlopen ();
19911 main (void)
19913 return dlopen ();
19915 return 0;
19917 _ACEOF
19918 for ac_lib in '' dl
19920 if test -z "$ac_lib"; then
19921 ac_res="none required"
19922 else
19923 ac_res=-l$ac_lib
19924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19926 if ac_fn_c_try_link "$LINENO"
19927 then :
19928 ac_cv_search_dlopen=$ac_res
19930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19931 conftest$ac_exeext
19932 if test ${ac_cv_search_dlopen+y}
19933 then :
19934 break
19936 done
19937 if test ${ac_cv_search_dlopen+y}
19938 then :
19940 else $as_nop
19941 ac_cv_search_dlopen=no
19943 rm conftest.$ac_ext
19944 LIBS=$ac_func_search_save_LIBS
19946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19947 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19948 ac_res=$ac_cv_search_dlopen
19949 if test "$ac_res" != no
19950 then :
19951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19955 ac_wine_check_funcs_save_LIBS="$LIBS"
19956 LIBS="$LIBS $DL_LIBS"
19957 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19958 if test "x$ac_cv_func_dlinfo" = xyes
19959 then :
19960 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19964 LIBS="$ac_wine_check_funcs_save_LIBS"
19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19967 printf %s "checking for library containing gethostbyname... " >&6; }
19968 if test ${ac_cv_search_gethostbyname+y}
19969 then :
19970 printf %s "(cached) " >&6
19971 else $as_nop
19972 ac_func_search_save_LIBS=$LIBS
19973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19974 /* end confdefs.h. */
19976 /* Override any GCC internal prototype to avoid an error.
19977 Use char because int might match the return type of a GCC
19978 builtin and then its argument prototype would still apply. */
19979 char gethostbyname ();
19981 main (void)
19983 return gethostbyname ();
19985 return 0;
19987 _ACEOF
19988 for ac_lib in '' nsl
19990 if test -z "$ac_lib"; then
19991 ac_res="none required"
19992 else
19993 ac_res=-l$ac_lib
19994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19996 if ac_fn_c_try_link "$LINENO"
19997 then :
19998 ac_cv_search_gethostbyname=$ac_res
20000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20001 conftest$ac_exeext
20002 if test ${ac_cv_search_gethostbyname+y}
20003 then :
20004 break
20006 done
20007 if test ${ac_cv_search_gethostbyname+y}
20008 then :
20010 else $as_nop
20011 ac_cv_search_gethostbyname=no
20013 rm conftest.$ac_ext
20014 LIBS=$ac_func_search_save_LIBS
20016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20017 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20018 ac_res=$ac_cv_search_gethostbyname
20019 if test "$ac_res" != no
20020 then :
20021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20027 printf %s "checking for library containing connect... " >&6; }
20028 if test ${ac_cv_search_connect+y}
20029 then :
20030 printf %s "(cached) " >&6
20031 else $as_nop
20032 ac_func_search_save_LIBS=$LIBS
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20036 /* Override any GCC internal prototype to avoid an error.
20037 Use char because int might match the return type of a GCC
20038 builtin and then its argument prototype would still apply. */
20039 char connect ();
20041 main (void)
20043 return connect ();
20045 return 0;
20047 _ACEOF
20048 for ac_lib in '' socket
20050 if test -z "$ac_lib"; then
20051 ac_res="none required"
20052 else
20053 ac_res=-l$ac_lib
20054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20056 if ac_fn_c_try_link "$LINENO"
20057 then :
20058 ac_cv_search_connect=$ac_res
20060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20061 conftest$ac_exeext
20062 if test ${ac_cv_search_connect+y}
20063 then :
20064 break
20066 done
20067 if test ${ac_cv_search_connect+y}
20068 then :
20070 else $as_nop
20071 ac_cv_search_connect=no
20073 rm conftest.$ac_ext
20074 LIBS=$ac_func_search_save_LIBS
20076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20077 printf "%s\n" "$ac_cv_search_connect" >&6; }
20078 ac_res=$ac_cv_search_connect
20079 if test "$ac_res" != no
20080 then :
20081 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20087 printf %s "checking for library containing inet_aton... " >&6; }
20088 if test ${ac_cv_search_inet_aton+y}
20089 then :
20090 printf %s "(cached) " >&6
20091 else $as_nop
20092 ac_func_search_save_LIBS=$LIBS
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20096 /* Override any GCC internal prototype to avoid an error.
20097 Use char because int might match the return type of a GCC
20098 builtin and then its argument prototype would still apply. */
20099 char inet_aton ();
20101 main (void)
20103 return inet_aton ();
20105 return 0;
20107 _ACEOF
20108 for ac_lib in '' resolv
20110 if test -z "$ac_lib"; then
20111 ac_res="none required"
20112 else
20113 ac_res=-l$ac_lib
20114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20116 if ac_fn_c_try_link "$LINENO"
20117 then :
20118 ac_cv_search_inet_aton=$ac_res
20120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20121 conftest$ac_exeext
20122 if test ${ac_cv_search_inet_aton+y}
20123 then :
20124 break
20126 done
20127 if test ${ac_cv_search_inet_aton+y}
20128 then :
20130 else $as_nop
20131 ac_cv_search_inet_aton=no
20133 rm conftest.$ac_ext
20134 LIBS=$ac_func_search_save_LIBS
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20137 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20138 ac_res=$ac_cv_search_inet_aton
20139 if test "$ac_res" != no
20140 then :
20141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20146 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20147 if test "x$ac_cv_func_getaddrinfo" = xyes
20148 then :
20149 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20154 case $host_os in
20155 darwin*|macosx*) ;;
20156 *) ac_save_LIBS=$LIBS
20157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20158 printf %s "checking for library containing clock_gettime... " >&6; }
20159 if test ${ac_cv_search_clock_gettime+y}
20160 then :
20161 printf %s "(cached) " >&6
20162 else $as_nop
20163 ac_func_search_save_LIBS=$LIBS
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20167 /* Override any GCC internal prototype to avoid an error.
20168 Use char because int might match the return type of a GCC
20169 builtin and then its argument prototype would still apply. */
20170 char clock_gettime ();
20172 main (void)
20174 return clock_gettime ();
20176 return 0;
20178 _ACEOF
20179 for ac_lib in '' rt
20181 if test -z "$ac_lib"; then
20182 ac_res="none required"
20183 else
20184 ac_res=-l$ac_lib
20185 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20187 if ac_fn_c_try_link "$LINENO"
20188 then :
20189 ac_cv_search_clock_gettime=$ac_res
20191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20192 conftest$ac_exeext
20193 if test ${ac_cv_search_clock_gettime+y}
20194 then :
20195 break
20197 done
20198 if test ${ac_cv_search_clock_gettime+y}
20199 then :
20201 else $as_nop
20202 ac_cv_search_clock_gettime=no
20204 rm conftest.$ac_ext
20205 LIBS=$ac_func_search_save_LIBS
20207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20208 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20209 ac_res=$ac_cv_search_clock_gettime
20210 if test "$ac_res" != no
20211 then :
20212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20214 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20216 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20220 LIBS=$ac_save_LIBS
20222 esac
20224 if test "x$with_ldap" != "xno"
20225 then
20226 if ${LDAP_CFLAGS:+false} :
20227 then :
20228 if test ${PKG_CONFIG+y}
20229 then :
20230 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20234 if ${LDAP_LIBS:+false} :
20235 then :
20236 if test ${PKG_CONFIG+y}
20237 then :
20238 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20242 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20245 ac_save_CPPFLAGS=$CPPFLAGS
20246 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20247 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20248 if test "x$ac_cv_header_ldap_h" = xyes
20249 then :
20250 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20253 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20254 if test "x$ac_cv_header_lber_h" = xyes
20255 then :
20256 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20260 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20261 then
20262 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20264 if test "x$ac_cv_type_LDAPSortKey" = xyes
20265 then :
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20267 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20268 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20269 then :
20270 printf %s "(cached) " >&6
20271 else $as_nop
20272 ac_check_lib_save_LIBS=$LIBS
20273 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20275 /* end confdefs.h. */
20277 /* Override any GCC internal prototype to avoid an error.
20278 Use char because int might match the return type of a GCC
20279 builtin and then its argument prototype would still apply. */
20280 char ldap_initialize ();
20282 main (void)
20284 return ldap_initialize ();
20286 return 0;
20288 _ACEOF
20289 if ac_fn_c_try_link "$LINENO"
20290 then :
20291 ac_cv_lib_ldap_ldap_initialize=yes
20292 else $as_nop
20293 ac_cv_lib_ldap_ldap_initialize=no
20295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20296 conftest$ac_exeext conftest.$ac_ext
20297 LIBS=$ac_check_lib_save_LIBS
20299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20300 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20301 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20302 then :
20303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20304 printf %s "checking for ber_init in -llber... " >&6; }
20305 if test ${ac_cv_lib_lber_ber_init+y}
20306 then :
20307 printf %s "(cached) " >&6
20308 else $as_nop
20309 ac_check_lib_save_LIBS=$LIBS
20310 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20314 /* Override any GCC internal prototype to avoid an error.
20315 Use char because int might match the return type of a GCC
20316 builtin and then its argument prototype would still apply. */
20317 char ber_init ();
20319 main (void)
20321 return ber_init ();
20323 return 0;
20325 _ACEOF
20326 if ac_fn_c_try_link "$LINENO"
20327 then :
20328 ac_cv_lib_lber_ber_init=yes
20329 else $as_nop
20330 ac_cv_lib_lber_ber_init=no
20332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20333 conftest$ac_exeext conftest.$ac_ext
20334 LIBS=$ac_check_lib_save_LIBS
20336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20337 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20338 if test "x$ac_cv_lib_lber_ber_init" = xyes
20339 then :
20341 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20343 else $as_nop
20344 LDAP_LIBS=""
20347 else $as_nop
20348 LDAP_LIBS=""
20351 else $as_nop
20352 LDAP_LIBS=""
20355 else
20356 LDAP_LIBS=""
20358 CPPFLAGS=$ac_save_CPPFLAGS
20361 if test "x$LDAP_LIBS" = "x"
20362 then :
20363 case "x$with_ldap" in
20364 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20365 xno) ;;
20366 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20367 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20368 esac
20372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20373 printf %s "checking for sched_setaffinity... " >&6; }
20374 if test ${wine_cv_have_sched_setaffinity+y}
20375 then :
20376 printf %s "(cached) " >&6
20377 else $as_nop
20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h. */
20380 #include <sched.h>
20382 main (void)
20384 sched_setaffinity(0, 0, 0);
20386 return 0;
20388 _ACEOF
20389 if ac_fn_c_try_link "$LINENO"
20390 then :
20391 wine_cv_have_sched_setaffinity=yes
20392 else $as_nop
20393 wine_cv_have_sched_setaffinity=no
20395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20396 conftest$ac_exeext conftest.$ac_ext
20398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20399 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20400 if test "$wine_cv_have_sched_setaffinity" = "yes"
20401 then
20403 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20409 printf %s "checking for inline... " >&6; }
20410 if test ${ac_cv_c_inline+y}
20411 then :
20412 printf %s "(cached) " >&6
20413 else $as_nop
20414 ac_cv_c_inline=no
20415 for ac_kw in inline __inline__ __inline; do
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h. */
20418 #ifndef __cplusplus
20419 typedef int foo_t;
20420 static $ac_kw foo_t static_foo (void) {return 0; }
20421 $ac_kw foo_t foo (void) {return 0; }
20422 #endif
20424 _ACEOF
20425 if ac_fn_c_try_compile "$LINENO"
20426 then :
20427 ac_cv_c_inline=$ac_kw
20429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20430 test "$ac_cv_c_inline" != no && break
20431 done
20434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20435 printf "%s\n" "$ac_cv_c_inline" >&6; }
20437 case $ac_cv_c_inline in
20438 inline | yes) ;;
20440 case $ac_cv_c_inline in
20441 no) ac_val=;;
20442 *) ac_val=$ac_cv_c_inline;;
20443 esac
20444 cat >>confdefs.h <<_ACEOF
20445 #ifndef __cplusplus
20446 #define inline $ac_val
20447 #endif
20448 _ACEOF
20450 esac
20452 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20453 #include <signal.h>
20455 if test "x$ac_cv_type_sigset_t" = xyes
20456 then :
20458 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20463 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20465 if test "x$ac_cv_type_request_sense" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20474 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20475 #include <sys/socket.h>
20476 #ifdef HAVE_SYS_SOCKETVAR_H
20477 #include <sys/socketvar.h>
20478 #endif
20479 #ifdef HAVE_NET_ROUTE_H
20480 #include <net/route.h>
20481 #endif
20482 #ifdef HAVE_NETINET_IN_H
20483 #include <netinet/in.h>
20484 #endif
20485 #ifdef HAVE_NETINET_IN_SYSTM_H
20486 #include <netinet/in_systm.h>
20487 #endif
20488 #ifdef HAVE_NETINET_IP_H
20489 #include <netinet/ip.h>
20490 #endif
20491 #ifdef HAVE_NETINET_IN_PCB_H
20492 #include <netinet/in_pcb.h>
20493 #endif
20495 if test "x$ac_cv_type_struct_xinpgen" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20505 printf %s "checking for sigaddset... " >&6; }
20506 if test ${wine_cv_have_sigaddset+y}
20507 then :
20508 printf %s "(cached) " >&6
20509 else $as_nop
20510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20512 #include <signal.h>
20514 main (void)
20516 sigset_t set; sigaddset(&set,SIGTERM);
20518 return 0;
20520 _ACEOF
20521 if ac_fn_c_try_link "$LINENO"
20522 then :
20523 wine_cv_have_sigaddset=yes
20524 else $as_nop
20525 wine_cv_have_sigaddset=no
20527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20528 conftest$ac_exeext conftest.$ac_ext
20530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20531 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20532 if test "$wine_cv_have_sigaddset" = "yes"
20533 then
20535 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20541 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20542 if test ${wine_cv_linux_gethostbyname_r_6+y}
20543 then :
20544 printf %s "(cached) " >&6
20545 else $as_nop
20546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20547 /* end confdefs.h. */
20548 #include <netdb.h>
20550 main (void)
20553 char *name=0;
20554 struct hostent he;
20555 struct hostent *result;
20556 char *buf=0;
20557 int bufsize=0;
20558 int errnr;
20559 char *addr=0;
20560 int addrlen=0;
20561 int addrtype=0;
20562 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20563 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20566 return 0;
20568 _ACEOF
20569 if ac_fn_c_try_link "$LINENO"
20570 then :
20571 wine_cv_linux_gethostbyname_r_6=yes
20572 else $as_nop
20573 wine_cv_linux_gethostbyname_r_6=no
20576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20577 conftest$ac_exeext conftest.$ac_ext
20580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20581 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20582 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20583 then
20585 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20590 #include <sys/socket.h>
20591 #ifdef HAVE_SYS_UN_H
20592 # include <sys/un.h>
20593 #endif
20595 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20596 then :
20598 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20602 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20603 #include <sys/socket.h>
20604 #ifdef HAVE_SYS_UN_H
20605 # include <sys/un.h>
20606 #endif
20608 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20609 then :
20611 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20617 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20618 #ifdef HAVE_SCSI_SG_H
20619 #include <scsi/sg.h>
20620 #endif
20622 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20623 then :
20625 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20629 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>
20630 #ifdef HAVE_SCSI_SG_H
20631 #include <scsi/sg.h>
20632 #endif
20634 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20643 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20645 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20646 then :
20648 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20654 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20655 #ifdef HAVE_SYS_MTIO_H
20656 #include <sys/mtio.h>
20657 #endif
20659 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20660 then :
20662 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20666 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20667 #ifdef HAVE_SYS_MTIO_H
20668 #include <sys/mtio.h>
20669 #endif
20671 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20678 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20679 #ifdef HAVE_SYS_MTIO_H
20680 #include <sys/mtio.h>
20681 #endif
20683 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20684 then :
20686 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20692 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20693 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20694 then :
20696 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20700 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20701 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20702 then :
20704 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20708 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20709 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20710 then :
20712 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20716 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20717 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20718 then :
20720 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20724 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20725 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20726 then :
20728 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20732 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20733 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20734 then :
20736 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20740 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20741 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20742 then :
20744 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20748 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20749 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20750 then :
20752 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20756 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20757 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20758 then :
20760 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20764 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20765 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20766 then :
20768 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20772 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20773 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20774 then :
20776 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20782 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>
20783 #ifdef HAVE_NETINET_IN_H
20784 #include <netinet/in.h>
20785 #endif
20787 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20788 then :
20790 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20796 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
20797 #include <resolv.h>
20798 #endif
20800 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20801 then :
20803 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20809 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20810 #include <netinet/in.h>
20811 #endif
20813 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20814 then :
20816 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20822 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20823 #ifdef HAVE_SYS_SOCKETVAR_H
20824 #include <sys/socketvar.h>
20825 #endif
20826 #ifdef HAVE_NETINET_IN_H
20827 #include <netinet/in.h>
20828 #endif
20829 #ifdef HAVE_NETINET_IP_VAR_H
20830 #include <netinet/ip_var.h>
20831 #endif
20833 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20834 then :
20836 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20842 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
20843 #include <netinet/ip_var.h>
20844 #endif
20846 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20847 then :
20849 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20855 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20856 #ifdef HAVE_SYS_SOCKETVAR_H
20857 #include <sys/socketvar.h>
20858 #endif
20859 #ifdef HAVE_NETINET_IN_H
20860 #include <netinet/in.h>
20861 #endif
20862 #ifdef HAVE_NETINET_TCP_H
20863 #include <netinet/tcp.h>
20864 #endif
20865 #ifdef HAVE_NETINET_TCP_VAR_H
20866 #include <netinet/tcp_var.h>
20867 #endif
20869 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20870 then :
20872 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20878 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
20879 #include <netinet/tcp_var.h>
20880 #endif
20882 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20883 then :
20885 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20891 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20892 #ifdef HAVE_NETINET_IN_H
20893 #include <netinet/in.h>
20894 #endif
20895 #ifdef HAVE_NETINET_IP_VAR_H
20896 #include <netinet/ip_var.h>
20897 #endif
20898 #ifdef HAVE_NETINET_UDP_H
20899 #include <netinet/udp.h>
20900 #endif
20901 #ifdef HAVE_NETINET_UDP_VAR_H
20902 #include <netinet/udp_var.h>
20903 #endif
20905 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20906 then :
20908 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20914 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20915 #ifdef HAVE_NET_IF_H
20916 # include <net/if.h>
20917 #endif
20919 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20920 then :
20922 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20928 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20929 # include <sys/sysinfo.h>
20930 #endif
20932 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20933 then :
20935 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20939 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20940 # include <sys/sysinfo.h>
20941 #endif
20943 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20944 then :
20946 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20952 ac_save_LIBS="$LIBS"
20953 LIBS="$LIBS -lm"
20954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20955 printf %s "checking for isfinite... " >&6; }
20956 if test ${ac_cv_have_isfinite+y}
20957 then :
20958 printf %s "(cached) " >&6
20959 else $as_nop
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #include <math.h>
20964 main (void)
20966 float f = 0.0; return isfinite(f)
20968 return 0;
20970 _ACEOF
20971 if ac_fn_c_try_link "$LINENO"
20972 then :
20973 ac_cv_have_isfinite="yes"
20974 else $as_nop
20975 ac_cv_have_isfinite="no"
20977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20978 conftest$ac_exeext conftest.$ac_ext
20980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20981 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20982 if test "$ac_cv_have_isfinite" = "yes"
20983 then
20985 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20990 printf %s "checking for isinf... " >&6; }
20991 if test ${ac_cv_have_isinf+y}
20992 then :
20993 printf %s "(cached) " >&6
20994 else $as_nop
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #include <math.h>
20999 main (void)
21001 float f = 0.0; return isinf(f)
21003 return 0;
21005 _ACEOF
21006 if ac_fn_c_try_link "$LINENO"
21007 then :
21008 ac_cv_have_isinf="yes"
21009 else $as_nop
21010 ac_cv_have_isinf="no"
21012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21013 conftest$ac_exeext conftest.$ac_ext
21015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21016 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21017 if test "$ac_cv_have_isinf" = "yes"
21018 then
21020 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21025 printf %s "checking for isnan... " >&6; }
21026 if test ${ac_cv_have_isnan+y}
21027 then :
21028 printf %s "(cached) " >&6
21029 else $as_nop
21030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21032 #include <math.h>
21034 main (void)
21036 float f = 0.0; return isnan(f)
21038 return 0;
21040 _ACEOF
21041 if ac_fn_c_try_link "$LINENO"
21042 then :
21043 ac_cv_have_isnan="yes"
21044 else $as_nop
21045 ac_cv_have_isnan="no"
21047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21048 conftest$ac_exeext conftest.$ac_ext
21050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21051 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21052 if test "$ac_cv_have_isnan" = "yes"
21053 then
21055 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21059 LIBS="$ac_save_LIBS"
21061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21062 printf %s "checking for __builtin_popcount... " >&6; }
21063 if test ${ac_cv_have___builtin_popcount+y}
21064 then :
21065 printf %s "(cached) " >&6
21066 else $as_nop
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21071 main (void)
21073 return __builtin_popcount(1)
21075 return 0;
21077 _ACEOF
21078 if ac_fn_c_try_link "$LINENO"
21079 then :
21080 ac_cv_have___builtin_popcount="yes"
21081 else $as_nop
21082 ac_cv_have___builtin_popcount="no"
21084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21085 conftest$ac_exeext conftest.$ac_ext
21087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21088 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21089 if test "$ac_cv_have___builtin_popcount" = "yes"
21090 then
21092 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21097 printf %s "checking for __clear_cache... " >&6; }
21098 if test ${ac_cv_have___clear_cache+y}
21099 then :
21100 printf %s "(cached) " >&6
21101 else $as_nop
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21106 main (void)
21108 __clear_cache((void*)0, (void*)0); return 0;
21110 return 0;
21112 _ACEOF
21113 if ac_fn_c_try_link "$LINENO"
21114 then :
21115 ac_cv_have___clear_cache="yes"
21116 else $as_nop
21117 ac_cv_have___clear_cache="no"
21119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21120 conftest$ac_exeext conftest.$ac_ext
21122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21123 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21124 if test "$ac_cv_have___clear_cache" = "yes"
21125 then
21127 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21132 case $host_cpu in
21133 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21134 printf %s "checking whether we need to define __i386__... " >&6; }
21135 if test ${ac_cv_cpp_def___i386__+y}
21136 then :
21137 printf %s "(cached) " >&6
21138 else $as_nop
21139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21140 /* end confdefs.h. */
21141 #ifndef __i386__
21143 #endif
21144 _ACEOF
21145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21146 $EGREP "yes" >/dev/null 2>&1
21147 then :
21148 ac_cv_cpp_def___i386__=yes
21149 else $as_nop
21150 ac_cv_cpp_def___i386__=no
21152 rm -rf conftest*
21155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21156 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21157 if test "x$ac_cv_cpp_def___i386__" = xyes
21158 then :
21159 CFLAGS="$CFLAGS -D__i386__"
21160 LINTFLAGS="$LINTFLAGS -D__i386__"
21161 fi ;;
21162 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21163 printf %s "checking whether we need to define __x86_64__... " >&6; }
21164 if test ${ac_cv_cpp_def___x86_64__+y}
21165 then :
21166 printf %s "(cached) " >&6
21167 else $as_nop
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21170 #ifndef __x86_64__
21172 #endif
21173 _ACEOF
21174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21175 $EGREP "yes" >/dev/null 2>&1
21176 then :
21177 ac_cv_cpp_def___x86_64__=yes
21178 else $as_nop
21179 ac_cv_cpp_def___x86_64__=no
21181 rm -rf conftest*
21184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21185 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21186 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21187 then :
21188 CFLAGS="$CFLAGS -D__x86_64__"
21189 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21190 fi ;;
21191 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21192 printf %s "checking whether we need to define __sparc64__... " >&6; }
21193 if test ${ac_cv_cpp_def___sparc64__+y}
21194 then :
21195 printf %s "(cached) " >&6
21196 else $as_nop
21197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21198 /* end confdefs.h. */
21199 #ifndef __sparc64__
21201 #endif
21202 _ACEOF
21203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21204 $EGREP "yes" >/dev/null 2>&1
21205 then :
21206 ac_cv_cpp_def___sparc64__=yes
21207 else $as_nop
21208 ac_cv_cpp_def___sparc64__=no
21210 rm -rf conftest*
21213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21214 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21215 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21216 then :
21217 CFLAGS="$CFLAGS -D__sparc64__"
21218 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21219 fi ;;
21220 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21221 printf %s "checking whether we need to define __sparc__... " >&6; }
21222 if test ${ac_cv_cpp_def___sparc__+y}
21223 then :
21224 printf %s "(cached) " >&6
21225 else $as_nop
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #ifndef __sparc__
21230 #endif
21231 _ACEOF
21232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21233 $EGREP "yes" >/dev/null 2>&1
21234 then :
21235 ac_cv_cpp_def___sparc__=yes
21236 else $as_nop
21237 ac_cv_cpp_def___sparc__=no
21239 rm -rf conftest*
21242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21243 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21244 if test "x$ac_cv_cpp_def___sparc__" = xyes
21245 then :
21246 CFLAGS="$CFLAGS -D__sparc__"
21247 LINTFLAGS="$LINTFLAGS -D__sparc__"
21248 fi ;;
21249 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21250 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21251 if test ${ac_cv_cpp_def___powerpc64__+y}
21252 then :
21253 printf %s "(cached) " >&6
21254 else $as_nop
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21257 #ifndef __powerpc64__
21259 #endif
21260 _ACEOF
21261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21262 $EGREP "yes" >/dev/null 2>&1
21263 then :
21264 ac_cv_cpp_def___powerpc64__=yes
21265 else $as_nop
21266 ac_cv_cpp_def___powerpc64__=no
21268 rm -rf conftest*
21271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21272 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21273 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21274 then :
21275 CFLAGS="$CFLAGS -D__powerpc64__"
21276 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21277 fi ;;
21278 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21279 printf %s "checking whether we need to define __powerpc__... " >&6; }
21280 if test ${ac_cv_cpp_def___powerpc__+y}
21281 then :
21282 printf %s "(cached) " >&6
21283 else $as_nop
21284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21286 #ifndef __powerpc__
21288 #endif
21289 _ACEOF
21290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21291 $EGREP "yes" >/dev/null 2>&1
21292 then :
21293 ac_cv_cpp_def___powerpc__=yes
21294 else $as_nop
21295 ac_cv_cpp_def___powerpc__=no
21297 rm -rf conftest*
21300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21301 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21302 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21303 then :
21304 CFLAGS="$CFLAGS -D__powerpc__"
21305 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21306 fi ;;
21307 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21308 printf %s "checking whether we need to define __aarch64__... " >&6; }
21309 if test ${ac_cv_cpp_def___aarch64__+y}
21310 then :
21311 printf %s "(cached) " >&6
21312 else $as_nop
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21315 #ifndef __aarch64__
21317 #endif
21318 _ACEOF
21319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21320 $EGREP "yes" >/dev/null 2>&1
21321 then :
21322 ac_cv_cpp_def___aarch64__=yes
21323 else $as_nop
21324 ac_cv_cpp_def___aarch64__=no
21326 rm -rf conftest*
21329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21330 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21331 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21332 then :
21333 CFLAGS="$CFLAGS -D__aarch64__"
21334 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21335 fi ;;
21336 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21337 printf %s "checking whether we need to define __arm__... " >&6; }
21338 if test ${ac_cv_cpp_def___arm__+y}
21339 then :
21340 printf %s "(cached) " >&6
21341 else $as_nop
21342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21343 /* end confdefs.h. */
21344 #ifndef __arm__
21346 #endif
21347 _ACEOF
21348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21349 $EGREP "yes" >/dev/null 2>&1
21350 then :
21351 ac_cv_cpp_def___arm__=yes
21352 else $as_nop
21353 ac_cv_cpp_def___arm__=no
21355 rm -rf conftest*
21358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21359 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21360 if test "x$ac_cv_cpp_def___arm__" = xyes
21361 then :
21362 CFLAGS="$CFLAGS -D__arm__"
21363 LINTFLAGS="$LINTFLAGS -D__arm__"
21364 fi ;;
21365 esac
21367 case $host_vendor in
21368 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21369 printf %s "checking whether we need to define __sun__... " >&6; }
21370 if test ${ac_cv_cpp_def___sun__+y}
21371 then :
21372 printf %s "(cached) " >&6
21373 else $as_nop
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21376 #ifndef __sun__
21378 #endif
21379 _ACEOF
21380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21381 $EGREP "yes" >/dev/null 2>&1
21382 then :
21383 ac_cv_cpp_def___sun__=yes
21384 else $as_nop
21385 ac_cv_cpp_def___sun__=no
21387 rm -rf conftest*
21390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21391 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21392 if test "x$ac_cv_cpp_def___sun__" = xyes
21393 then :
21394 CFLAGS="$CFLAGS -D__sun__"
21395 LINTFLAGS="$LINTFLAGS -D__sun__"
21396 fi ;;
21397 esac
21403 ac_config_commands="$ac_config_commands include/stamp-h"
21405 printf %s "creating Makefile rules..." >&6
21407 makedep_flags=""
21408 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21410 wine_srcdir=
21411 test "$srcdir" = . || wine_srcdir="$srcdir/"
21413 ac_config_links="$ac_config_links wine:tools/winewrapper"
21414 wine_fn_config_symlink wine
21415 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21416 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21417 wine_fn_config_symlink wine64
21420 wine_fn_config_makefile dlls/acledit enable_acledit
21421 wine_fn_config_makefile dlls/aclui enable_aclui
21422 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21423 wine_fn_config_makefile dlls/activeds enable_activeds
21424 wine_fn_config_makefile dlls/activeds/tests enable_tests
21425 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21426 wine_fn_config_makefile dlls/adsldp enable_adsldp
21427 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21428 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21429 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21430 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21431 wine_fn_config_makefile dlls/advpack enable_advpack
21432 wine_fn_config_makefile dlls/advpack/tests enable_tests
21433 wine_fn_config_makefile dlls/amsi enable_amsi
21434 wine_fn_config_makefile dlls/amstream enable_amstream
21435 wine_fn_config_makefile dlls/amstream/tests enable_tests
21436 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21437 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21438 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21439 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21440 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21441 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21442 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21443 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21444 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21445 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21446 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21447 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21456 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21457 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21459 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21460 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21461 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21462 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21463 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21464 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21465 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21466 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21467 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21468 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21469 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21470 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21472 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21473 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21474 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21476 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21477 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21482 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21485 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21486 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21490 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21491 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21492 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21493 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21495 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21496 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21497 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21498 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21499 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21501 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21502 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21503 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21504 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21509 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21512 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21513 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21514 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21515 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21518 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21519 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21520 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21523 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21527 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21528 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21529 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21532 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21533 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21539 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21543 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21555 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21557 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21559 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21561 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21562 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21564 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21565 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21567 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21573 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21576 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21577 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21578 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21579 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21580 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21583 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21584 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21585 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21586 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21587 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21606 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21607 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21611 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21612 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21628 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21633 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21634 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21639 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21643 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21644 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21645 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21646 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21647 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21648 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21649 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21650 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21651 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21652 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21653 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21654 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21655 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21657 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21659 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21660 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21661 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21662 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21663 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21664 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21665 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21666 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21667 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21668 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21669 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21670 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21671 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21672 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21673 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21674 wine_fn_config_makefile dlls/apphelp enable_apphelp
21675 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21676 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21677 wine_fn_config_makefile dlls/atl enable_atl
21678 wine_fn_config_makefile dlls/atl/tests enable_tests
21679 wine_fn_config_makefile dlls/atl100 enable_atl100
21680 wine_fn_config_makefile dlls/atl100/tests enable_tests
21681 wine_fn_config_makefile dlls/atl110 enable_atl110
21682 wine_fn_config_makefile dlls/atl80 enable_atl80
21683 wine_fn_config_makefile dlls/atl80/tests enable_tests
21684 wine_fn_config_makefile dlls/atl90 enable_atl90
21685 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21686 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21687 wine_fn_config_makefile dlls/atmlib enable_atmlib
21688 wine_fn_config_makefile dlls/authz enable_authz
21689 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21690 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21691 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21692 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21693 wine_fn_config_makefile dlls/avrt enable_avrt
21694 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21695 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21696 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21697 wine_fn_config_makefile dlls/browseui enable_browseui
21698 wine_fn_config_makefile dlls/browseui/tests enable_tests
21699 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21700 wine_fn_config_makefile dlls/cabinet enable_cabinet
21701 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21702 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21703 wine_fn_config_makefile dlls/cards enable_cards
21704 wine_fn_config_makefile dlls/cdosys enable_cdosys
21705 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21706 wine_fn_config_makefile dlls/clusapi enable_clusapi
21707 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21708 wine_fn_config_makefile dlls/combase enable_combase
21709 wine_fn_config_makefile dlls/combase/tests enable_tests
21710 wine_fn_config_makefile dlls/comcat enable_comcat
21711 wine_fn_config_makefile dlls/comcat/tests enable_tests
21712 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21713 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21714 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21715 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21716 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21717 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21718 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21719 wine_fn_config_makefile dlls/compstui enable_compstui
21720 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21721 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21722 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21723 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21724 wine_fn_config_makefile dlls/connect enable_connect
21725 wine_fn_config_makefile dlls/credui enable_credui
21726 wine_fn_config_makefile dlls/credui/tests enable_tests
21727 wine_fn_config_makefile dlls/crtdll enable_crtdll
21728 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21729 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21730 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21731 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21732 wine_fn_config_makefile dlls/cryptext enable_cryptext
21733 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21734 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21735 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21736 wine_fn_config_makefile dlls/cryptui enable_cryptui
21737 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21738 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21739 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21740 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21741 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21742 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21743 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21744 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21745 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21746 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21747 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21748 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21749 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21750 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21751 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21752 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21753 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21754 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21755 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21756 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21757 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21758 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21759 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21760 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21761 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21762 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21763 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21764 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21765 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21766 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21767 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21768 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21769 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21770 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21771 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21772 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21773 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21774 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21775 wine_fn_config_makefile dlls/d3dim enable_d3dim
21776 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21777 wine_fn_config_makefile dlls/d3drm enable_d3drm
21778 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21779 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21780 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21781 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21782 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21783 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21784 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21785 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21786 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21787 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21788 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21789 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21790 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21791 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21792 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21793 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21794 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21795 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21796 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21797 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21798 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21799 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21800 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21801 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21802 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21803 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21804 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21805 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21806 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21807 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21808 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21809 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21810 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21811 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21812 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21813 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21814 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21815 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21816 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21817 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21818 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21819 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21820 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21821 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21822 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21823 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21824 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21825 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21826 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21827 wine_fn_config_makefile dlls/davclnt enable_davclnt
21828 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21829 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21830 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21831 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21832 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21833 wine_fn_config_makefile dlls/dcomp enable_dcomp
21834 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21835 wine_fn_config_makefile dlls/ddraw enable_ddraw
21836 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21837 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21838 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21839 wine_fn_config_makefile dlls/devenum enable_devenum
21840 wine_fn_config_makefile dlls/devenum/tests enable_tests
21841 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21842 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21843 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21844 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21845 wine_fn_config_makefile dlls/difxapi enable_difxapi
21846 wine_fn_config_makefile dlls/dinput enable_dinput
21847 wine_fn_config_makefile dlls/dinput/tests enable_tests
21848 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21849 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21850 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21851 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21852 wine_fn_config_makefile dlls/dispex enable_dispex
21853 wine_fn_config_makefile dlls/dispex/tests enable_tests
21854 wine_fn_config_makefile dlls/display.drv16 enable_win16
21855 wine_fn_config_makefile dlls/dmband enable_dmband
21856 wine_fn_config_makefile dlls/dmband/tests enable_tests
21857 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21858 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21859 wine_fn_config_makefile dlls/dmime enable_dmime
21860 wine_fn_config_makefile dlls/dmime/tests enable_tests
21861 wine_fn_config_makefile dlls/dmloader enable_dmloader
21862 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21863 wine_fn_config_makefile dlls/dmscript enable_dmscript
21864 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21865 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21866 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21867 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21868 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21869 wine_fn_config_makefile dlls/dmusic enable_dmusic
21870 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21871 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21872 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21873 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21874 wine_fn_config_makefile dlls/dplay enable_dplay
21875 wine_fn_config_makefile dlls/dplayx enable_dplayx
21876 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21877 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21878 wine_fn_config_makefile dlls/dpnet enable_dpnet
21879 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21880 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21881 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21882 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21883 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21884 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21885 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21886 wine_fn_config_makefile dlls/drmclien enable_drmclien
21887 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21888 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21889 wine_fn_config_makefile dlls/dsound enable_dsound
21890 wine_fn_config_makefile dlls/dsound/tests enable_tests
21891 wine_fn_config_makefile dlls/dsquery enable_dsquery
21892 wine_fn_config_makefile dlls/dssenh enable_dssenh
21893 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21894 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21895 wine_fn_config_makefile dlls/dswave enable_dswave
21896 wine_fn_config_makefile dlls/dswave/tests enable_tests
21897 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21898 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21899 wine_fn_config_makefile dlls/dwrite enable_dwrite
21900 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21901 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21902 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21903 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21904 wine_fn_config_makefile dlls/dxgi enable_dxgi
21905 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21906 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21907 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21908 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21909 wine_fn_config_makefile dlls/esent enable_esent
21910 wine_fn_config_makefile dlls/evr enable_evr
21911 wine_fn_config_makefile dlls/evr/tests enable_tests
21912 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21913 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21914 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21915 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21916 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21917 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21918 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21919 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21920 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21921 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21922 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21923 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21924 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21925 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21927 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21928 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21930 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21932 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21933 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21934 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21935 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21936 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21937 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21938 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21939 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21940 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21941 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21942 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21943 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21944 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21945 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21947 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21948 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21949 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21950 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21951 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21952 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21953 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21954 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
21955 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21956 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21957 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21959 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21960 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21961 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21962 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21963 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21964 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21965 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21966 wine_fn_config_makefile dlls/faultrep enable_faultrep
21967 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21968 wine_fn_config_makefile dlls/feclient enable_feclient
21969 wine_fn_config_makefile dlls/fltlib enable_fltlib
21970 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21971 wine_fn_config_makefile dlls/fntcache enable_fntcache
21972 wine_fn_config_makefile dlls/fontsub enable_fontsub
21973 wine_fn_config_makefile dlls/fusion enable_fusion
21974 wine_fn_config_makefile dlls/fusion/tests enable_tests
21975 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21976 wine_fn_config_makefile dlls/gameux enable_gameux
21977 wine_fn_config_makefile dlls/gameux/tests enable_tests
21978 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21979 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21980 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21981 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21982 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21983 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21984 wine_fn_config_makefile dlls/glu32 enable_glu32
21985 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21986 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21987 wine_fn_config_makefile dlls/hal enable_hal
21988 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21989 wine_fn_config_makefile dlls/hid enable_hid
21990 wine_fn_config_makefile dlls/hid/tests enable_tests
21991 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21992 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21993 wine_fn_config_makefile dlls/hlink enable_hlink
21994 wine_fn_config_makefile dlls/hlink/tests enable_tests
21995 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21996 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21997 wine_fn_config_makefile dlls/http.sys enable_http_sys
21998 wine_fn_config_makefile dlls/httpapi enable_httpapi
21999 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22000 wine_fn_config_makefile dlls/iccvid enable_iccvid
22001 wine_fn_config_makefile dlls/icmp enable_icmp
22002 wine_fn_config_makefile dlls/ieframe enable_ieframe
22003 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22004 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22005 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22006 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22007 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22008 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22009 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22010 wine_fn_config_makefile dlls/imm32 enable_imm32
22011 wine_fn_config_makefile dlls/imm32/tests enable_tests
22012 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22013 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22014 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22015 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22016 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22017 wine_fn_config_makefile dlls/infosoft enable_infosoft
22018 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22019 wine_fn_config_makefile dlls/initpki enable_initpki
22020 wine_fn_config_makefile dlls/inkobj enable_inkobj
22021 wine_fn_config_makefile dlls/inseng enable_inseng
22022 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22023 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22024 wine_fn_config_makefile dlls/iprop enable_iprop
22025 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22026 wine_fn_config_makefile dlls/itircl enable_itircl
22027 wine_fn_config_makefile dlls/itss enable_itss
22028 wine_fn_config_makefile dlls/itss/tests enable_tests
22029 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22030 wine_fn_config_makefile dlls/jscript enable_jscript
22031 wine_fn_config_makefile dlls/jscript/tests enable_tests
22032 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22033 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22034 wine_fn_config_makefile dlls/kerberos enable_kerberos
22035 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22036 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22037 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22038 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22039 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22040 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22041 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22042 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22043 wine_fn_config_makefile dlls/ksuser enable_ksuser
22044 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22045 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22046 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22047 wine_fn_config_makefile dlls/loadperf enable_loadperf
22048 wine_fn_config_makefile dlls/localspl enable_localspl
22049 wine_fn_config_makefile dlls/localspl/tests enable_tests
22050 wine_fn_config_makefile dlls/localui enable_localui
22051 wine_fn_config_makefile dlls/localui/tests enable_tests
22052 wine_fn_config_makefile dlls/lz32 enable_lz32
22053 wine_fn_config_makefile dlls/lz32/tests enable_tests
22054 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22055 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22056 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22057 wine_fn_config_makefile dlls/mapistub enable_mapistub
22058 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22059 wine_fn_config_makefile dlls/mcicda enable_mcicda
22060 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22061 wine_fn_config_makefile dlls/mciseq enable_mciseq
22062 wine_fn_config_makefile dlls/mciwave enable_mciwave
22063 wine_fn_config_makefile dlls/mf enable_mf
22064 wine_fn_config_makefile dlls/mf/tests enable_tests
22065 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22066 wine_fn_config_makefile dlls/mferror enable_mferror
22067 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22068 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22069 wine_fn_config_makefile dlls/mfplat enable_mfplat
22070 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22071 wine_fn_config_makefile dlls/mfplay enable_mfplay
22072 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22073 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22074 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22075 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22076 wine_fn_config_makefile dlls/midimap enable_midimap
22077 wine_fn_config_makefile dlls/mlang enable_mlang
22078 wine_fn_config_makefile dlls/mlang/tests enable_tests
22079 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22080 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22081 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22082 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22083 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22084 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22085 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22086 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22087 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22088 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22089 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22090 wine_fn_config_makefile dlls/mpr enable_mpr
22091 wine_fn_config_makefile dlls/mpr/tests enable_tests
22092 wine_fn_config_makefile dlls/mprapi enable_mprapi
22093 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22094 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22095 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22096 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22097 wine_fn_config_makefile dlls/msado15 enable_msado15
22098 wine_fn_config_makefile dlls/msado15/tests enable_tests
22099 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22100 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22101 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22102 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22103 wine_fn_config_makefile dlls/mscms enable_mscms
22104 wine_fn_config_makefile dlls/mscms/tests enable_tests
22105 wine_fn_config_makefile dlls/mscoree enable_mscoree
22106 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22107 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22108 wine_fn_config_makefile dlls/msctf enable_msctf
22109 wine_fn_config_makefile dlls/msctf/tests enable_tests
22110 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22111 wine_fn_config_makefile dlls/msctfp enable_msctfp
22112 wine_fn_config_makefile dlls/msdaps enable_msdaps
22113 wine_fn_config_makefile dlls/msdasql enable_msdasql
22114 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22115 wine_fn_config_makefile dlls/msdelta enable_msdelta
22116 wine_fn_config_makefile dlls/msdmo enable_msdmo
22117 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22118 wine_fn_config_makefile dlls/msdrm enable_msdrm
22119 wine_fn_config_makefile dlls/msftedit enable_msftedit
22120 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22121 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22122 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22123 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22124 wine_fn_config_makefile dlls/mshtml enable_mshtml
22125 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22126 wine_fn_config_makefile dlls/msi enable_msi
22127 wine_fn_config_makefile dlls/msi/tests enable_tests
22128 wine_fn_config_makefile dlls/msident enable_msident
22129 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22130 wine_fn_config_makefile dlls/msimsg enable_msimsg
22131 wine_fn_config_makefile dlls/msimtf enable_msimtf
22132 wine_fn_config_makefile dlls/msisip enable_msisip
22133 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22134 wine_fn_config_makefile dlls/msls31 enable_msls31
22135 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22136 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22137 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22138 wine_fn_config_makefile dlls/msports enable_msports
22139 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22140 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22141 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22142 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22143 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22144 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22145 wine_fn_config_makefile dlls/mstask enable_mstask
22146 wine_fn_config_makefile dlls/mstask/tests enable_tests
22147 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22148 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22149 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22150 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22151 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22152 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22153 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22154 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22155 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22156 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22157 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22158 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22159 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22160 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22161 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22162 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22163 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22164 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22165 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22166 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22167 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22168 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22169 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22170 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22171 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22172 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22173 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22174 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22175 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22176 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22177 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22178 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22179 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22180 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22181 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22182 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22183 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22184 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22185 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22186 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22187 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22188 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22189 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22190 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22191 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22192 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22193 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22194 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22195 wine_fn_config_makefile dlls/mswsock enable_mswsock
22196 wine_fn_config_makefile dlls/msxml enable_msxml
22197 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22198 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22199 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22200 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22201 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22202 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22203 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22204 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22205 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22206 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22207 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22208 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22209 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22210 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22211 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22212 wine_fn_config_makefile dlls/netprofm enable_netprofm
22213 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22214 wine_fn_config_makefile dlls/netutils enable_netutils
22215 wine_fn_config_makefile dlls/newdev enable_newdev
22216 wine_fn_config_makefile dlls/ninput enable_ninput
22217 wine_fn_config_makefile dlls/ninput/tests enable_tests
22218 wine_fn_config_makefile dlls/normaliz enable_normaliz
22219 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22220 wine_fn_config_makefile dlls/npptools enable_npptools
22221 wine_fn_config_makefile dlls/nsi enable_nsi
22222 wine_fn_config_makefile dlls/nsi/tests enable_tests
22223 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22224 wine_fn_config_makefile dlls/ntdll enable_ntdll
22225 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22226 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22227 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22228 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22229 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22230 wine_fn_config_makefile dlls/ntprint enable_ntprint
22231 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22232 wine_fn_config_makefile dlls/objsel enable_objsel
22233 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22234 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22235 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22236 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22237 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22238 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22239 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22240 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22241 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22242 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22243 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22244 wine_fn_config_makefile dlls/ole32 enable_ole32
22245 wine_fn_config_makefile dlls/ole32/tests enable_tests
22246 wine_fn_config_makefile dlls/oleacc enable_oleacc
22247 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22248 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22249 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22250 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22251 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22252 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22253 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22254 wine_fn_config_makefile dlls/oledlg enable_oledlg
22255 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22256 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22257 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22258 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22259 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22260 wine_fn_config_makefile dlls/opcservices enable_opcservices
22261 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22262 wine_fn_config_makefile dlls/openal32 enable_openal32
22263 wine_fn_config_makefile dlls/opencl enable_opencl
22264 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22265 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22266 wine_fn_config_makefile dlls/packager enable_packager
22267 wine_fn_config_makefile dlls/packager/tests enable_tests
22268 wine_fn_config_makefile dlls/pdh enable_pdh
22269 wine_fn_config_makefile dlls/pdh/tests enable_tests
22270 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22271 wine_fn_config_makefile dlls/pidgen enable_pidgen
22272 wine_fn_config_makefile dlls/powrprof enable_powrprof
22273 wine_fn_config_makefile dlls/printui enable_printui
22274 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22275 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22276 wine_fn_config_makefile dlls/propsys enable_propsys
22277 wine_fn_config_makefile dlls/propsys/tests enable_tests
22278 wine_fn_config_makefile dlls/psapi enable_psapi
22279 wine_fn_config_makefile dlls/psapi/tests enable_tests
22280 wine_fn_config_makefile dlls/pstorec enable_pstorec
22281 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22282 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22283 wine_fn_config_makefile dlls/qasf enable_qasf
22284 wine_fn_config_makefile dlls/qasf/tests enable_tests
22285 wine_fn_config_makefile dlls/qcap enable_qcap
22286 wine_fn_config_makefile dlls/qcap/tests enable_tests
22287 wine_fn_config_makefile dlls/qdvd enable_qdvd
22288 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22289 wine_fn_config_makefile dlls/qedit enable_qedit
22290 wine_fn_config_makefile dlls/qedit/tests enable_tests
22291 wine_fn_config_makefile dlls/qmgr enable_qmgr
22292 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22293 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22294 wine_fn_config_makefile dlls/quartz enable_quartz
22295 wine_fn_config_makefile dlls/quartz/tests enable_tests
22296 wine_fn_config_makefile dlls/query enable_query
22297 wine_fn_config_makefile dlls/qwave enable_qwave
22298 wine_fn_config_makefile dlls/qwave/tests enable_tests
22299 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22300 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22301 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22302 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22303 wine_fn_config_makefile dlls/regapi enable_regapi
22304 wine_fn_config_makefile dlls/resutils enable_resutils
22305 wine_fn_config_makefile dlls/riched20 enable_riched20
22306 wine_fn_config_makefile dlls/riched20/tests enable_tests
22307 wine_fn_config_makefile dlls/riched32 enable_riched32
22308 wine_fn_config_makefile dlls/riched32/tests enable_tests
22309 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22310 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22311 wine_fn_config_makefile dlls/rsabase enable_rsabase
22312 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22313 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22314 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22315 wine_fn_config_makefile dlls/rtutils enable_rtutils
22316 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22317 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22318 wine_fn_config_makefile dlls/samlib enable_samlib
22319 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22320 wine_fn_config_makefile dlls/sapi enable_sapi
22321 wine_fn_config_makefile dlls/sapi/tests enable_tests
22322 wine_fn_config_makefile dlls/sas enable_sas
22323 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22324 wine_fn_config_makefile dlls/sccbase enable_sccbase
22325 wine_fn_config_makefile dlls/schannel enable_schannel
22326 wine_fn_config_makefile dlls/schannel/tests enable_tests
22327 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22328 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22329 wine_fn_config_makefile dlls/scrobj enable_scrobj
22330 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22331 wine_fn_config_makefile dlls/scrrun enable_scrrun
22332 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22333 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22334 wine_fn_config_makefile dlls/sechost enable_sechost
22335 wine_fn_config_makefile dlls/secur32 enable_secur32
22336 wine_fn_config_makefile dlls/secur32/tests enable_tests
22337 wine_fn_config_makefile dlls/security enable_security
22338 wine_fn_config_makefile dlls/sensapi enable_sensapi
22339 wine_fn_config_makefile dlls/serialui enable_serialui
22340 wine_fn_config_makefile dlls/serialui/tests enable_tests
22341 wine_fn_config_makefile dlls/setupapi enable_setupapi
22342 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22343 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22344 wine_fn_config_makefile dlls/sfc enable_sfc
22345 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22346 wine_fn_config_makefile dlls/shcore enable_shcore
22347 wine_fn_config_makefile dlls/shcore/tests enable_tests
22348 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22349 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22350 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22351 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22352 wine_fn_config_makefile dlls/shell32 enable_shell32
22353 wine_fn_config_makefile dlls/shell32/tests enable_tests
22354 wine_fn_config_makefile dlls/shfolder enable_shfolder
22355 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22356 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22357 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22358 wine_fn_config_makefile dlls/slc enable_slc
22359 wine_fn_config_makefile dlls/slc/tests enable_tests
22360 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22361 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22362 wine_fn_config_makefile dlls/softpub enable_softpub
22363 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22364 wine_fn_config_makefile dlls/spoolss enable_spoolss
22365 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22366 wine_fn_config_makefile dlls/sppc enable_sppc
22367 wine_fn_config_makefile dlls/srclient enable_srclient
22368 wine_fn_config_makefile dlls/srvcli enable_srvcli
22369 wine_fn_config_makefile dlls/sspicli enable_sspicli
22370 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22371 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22372 wine_fn_config_makefile dlls/sti enable_sti
22373 wine_fn_config_makefile dlls/sti/tests enable_tests
22374 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22375 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22376 wine_fn_config_makefile dlls/strmdll enable_strmdll
22377 wine_fn_config_makefile dlls/svrapi enable_svrapi
22378 wine_fn_config_makefile dlls/sxs enable_sxs
22379 wine_fn_config_makefile dlls/sxs/tests enable_tests
22380 wine_fn_config_makefile dlls/system.drv16 enable_win16
22381 wine_fn_config_makefile dlls/t2embed enable_t2embed
22382 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22383 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22384 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22385 wine_fn_config_makefile dlls/taskschd enable_taskschd
22386 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22387 wine_fn_config_makefile dlls/tbs enable_tbs
22388 wine_fn_config_makefile dlls/tdh enable_tdh
22389 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22390 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22391 wine_fn_config_makefile dlls/traffic enable_traffic
22392 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22393 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22394 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22395 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22396 wine_fn_config_makefile dlls/tzres enable_tzres
22397 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22398 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22399 wine_fn_config_makefile dlls/uianimation enable_uianimation
22400 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22401 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22402 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22403 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22404 wine_fn_config_makefile dlls/unicows enable_unicows
22405 wine_fn_config_makefile dlls/updspapi enable_updspapi
22406 wine_fn_config_makefile dlls/url enable_url
22407 wine_fn_config_makefile dlls/urlmon enable_urlmon
22408 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22409 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22410 wine_fn_config_makefile dlls/user.exe16 enable_win16
22411 wine_fn_config_makefile dlls/user32 enable_user32
22412 wine_fn_config_makefile dlls/user32/tests enable_tests
22413 wine_fn_config_makefile dlls/userenv enable_userenv
22414 wine_fn_config_makefile dlls/userenv/tests enable_tests
22415 wine_fn_config_makefile dlls/usp10 enable_usp10
22416 wine_fn_config_makefile dlls/usp10/tests enable_tests
22417 wine_fn_config_makefile dlls/utildll enable_utildll
22418 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22419 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22420 wine_fn_config_makefile dlls/vbscript enable_vbscript
22421 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22422 wine_fn_config_makefile dlls/vcomp enable_vcomp
22423 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22424 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22425 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22426 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22427 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22428 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22429 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22430 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22431 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22432 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22433 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22434 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22435 wine_fn_config_makefile dlls/version enable_version
22436 wine_fn_config_makefile dlls/version/tests enable_tests
22437 wine_fn_config_makefile dlls/vga enable_vga
22438 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22439 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22440 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22441 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22442 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22443 wine_fn_config_makefile dlls/vssapi enable_vssapi
22444 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22445 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22446 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22447 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22448 wine_fn_config_makefile dlls/w32skrnl enable_win16
22449 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22450 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22451 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22452 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22453 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22454 wine_fn_config_makefile dlls/wdscore enable_wdscore
22455 wine_fn_config_makefile dlls/webservices enable_webservices
22456 wine_fn_config_makefile dlls/webservices/tests enable_tests
22457 wine_fn_config_makefile dlls/websocket enable_websocket
22458 wine_fn_config_makefile dlls/wer enable_wer
22459 wine_fn_config_makefile dlls/wer/tests enable_tests
22460 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22461 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22462 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22463 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22464 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22465 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22466 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22467 wine_fn_config_makefile dlls/win32u enable_win32u
22468 wine_fn_config_makefile dlls/win32u/tests enable_tests
22469 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22470 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22471 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22472 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22473 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22474 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22475 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22476 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22477 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22478 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22479 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22480 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22481 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22482 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22483 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22484 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22485 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22486 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22487 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22488 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22489 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22490 wine_fn_config_makefile dlls/wined3d enable_wined3d
22491 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22492 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22493 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22494 wine_fn_config_makefile dlls/winemapi enable_winemapi
22495 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22496 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22497 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22498 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22499 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22500 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22501 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22502 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22503 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22504 wine_fn_config_makefile dlls/wing32 enable_wing32
22505 wine_fn_config_makefile dlls/winhttp enable_winhttp
22506 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22507 wine_fn_config_makefile dlls/wininet enable_wininet
22508 wine_fn_config_makefile dlls/wininet/tests enable_tests
22509 wine_fn_config_makefile dlls/winmm enable_winmm
22510 wine_fn_config_makefile dlls/winmm/tests enable_tests
22511 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22512 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22513 wine_fn_config_makefile dlls/winscard enable_winscard
22514 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22515 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22516 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22517 wine_fn_config_makefile dlls/winsta enable_winsta
22518 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22519 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22520 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22521 wine_fn_config_makefile dlls/wintrust enable_wintrust
22522 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22523 wine_fn_config_makefile dlls/winusb enable_winusb
22524 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22525 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22526 wine_fn_config_makefile dlls/wlanui enable_wlanui
22527 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22528 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22529 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
22530 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
22531 wine_fn_config_makefile dlls/wmasf enable_wmasf
22532 wine_fn_config_makefile dlls/wmi enable_wmi
22533 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22534 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22535 wine_fn_config_makefile dlls/wmp enable_wmp
22536 wine_fn_config_makefile dlls/wmp/tests enable_tests
22537 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22538 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22539 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22540 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22541 wine_fn_config_makefile dlls/wow32 enable_win16
22542 wine_fn_config_makefile dlls/wow64 enable_wow64
22543 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22544 wine_fn_config_makefile dlls/wow64win enable_wow64win
22545 wine_fn_config_makefile dlls/wpc enable_wpc
22546 wine_fn_config_makefile dlls/wpc/tests enable_tests
22547 wine_fn_config_makefile dlls/wpcap enable_wpcap
22548 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22549 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22550 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22551 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22552 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22553 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22554 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22555 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22556 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22557 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22558 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22559 wine_fn_config_makefile dlls/wuapi enable_wuapi
22560 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22561 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22562 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22563 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22564 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22565 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22566 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22567 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22568 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22569 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22570 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22571 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22572 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22573 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22574 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22575 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22576 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22577 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22578 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22579 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22580 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22581 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22582 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22583 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22584 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22585 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22586 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22587 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22588 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22589 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22590 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22591 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22592 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22593 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22594 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22595 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22596 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22597 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22598 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22599 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22600 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22601 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22602 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22603 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22604 wine_fn_config_makefile dlls/xmllite enable_xmllite
22605 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22606 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22607 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22608 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22609 wine_fn_config_makefile fonts enable_fonts
22610 wine_fn_config_makefile include enable_include
22611 wine_fn_config_makefile libs/adsiid enable_adsiid
22612 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22613 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22614 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22615 wine_fn_config_makefile libs/dxguid enable_dxguid
22616 wine_fn_config_makefile libs/faudio enable_faudio
22617 wine_fn_config_makefile libs/gsm enable_gsm
22618 wine_fn_config_makefile libs/jpeg enable_jpeg
22619 wine_fn_config_makefile libs/jxr enable_jxr
22620 wine_fn_config_makefile libs/lcms2 enable_lcms2
22621 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22622 wine_fn_config_makefile libs/mpg123 enable_mpg123
22623 wine_fn_config_makefile libs/png enable_png
22624 wine_fn_config_makefile libs/strmbase enable_strmbase
22625 wine_fn_config_makefile libs/strmiids enable_strmiids
22626 wine_fn_config_makefile libs/tiff enable_tiff
22627 wine_fn_config_makefile libs/uuid enable_uuid
22628 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22629 wine_fn_config_makefile libs/wine enable_wine
22630 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22631 wine_fn_config_makefile libs/xml2 enable_xml2
22632 wine_fn_config_makefile libs/xslt enable_xslt
22633 wine_fn_config_makefile libs/zlib enable_zlib
22634 wine_fn_config_makefile loader enable_loader
22635 wine_fn_config_makefile nls enable_nls
22636 wine_fn_config_makefile po enable_po
22637 wine_fn_config_makefile programs/arp enable_arp
22638 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22639 wine_fn_config_makefile programs/attrib enable_attrib
22640 wine_fn_config_makefile programs/cabarc enable_cabarc
22641 wine_fn_config_makefile programs/cacls enable_cacls
22642 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22643 wine_fn_config_makefile programs/clock enable_clock
22644 wine_fn_config_makefile programs/cmd enable_cmd
22645 wine_fn_config_makefile programs/cmd/tests enable_tests
22646 wine_fn_config_makefile programs/conhost enable_conhost
22647 wine_fn_config_makefile programs/conhost/tests enable_tests
22648 wine_fn_config_makefile programs/control enable_control
22649 wine_fn_config_makefile programs/cscript enable_cscript
22650 wine_fn_config_makefile programs/dism enable_dism
22651 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22652 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22653 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22654 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22655 wine_fn_config_makefile programs/eject enable_eject
22656 wine_fn_config_makefile programs/expand enable_expand
22657 wine_fn_config_makefile programs/explorer enable_explorer
22658 wine_fn_config_makefile programs/extrac32 enable_extrac32
22659 wine_fn_config_makefile programs/fc enable_fc
22660 wine_fn_config_makefile programs/find enable_find
22661 wine_fn_config_makefile programs/find/tests enable_tests
22662 wine_fn_config_makefile programs/findstr enable_findstr
22663 wine_fn_config_makefile programs/fsutil enable_fsutil
22664 wine_fn_config_makefile programs/fsutil/tests enable_tests
22665 wine_fn_config_makefile programs/hh enable_hh
22666 wine_fn_config_makefile programs/hostname enable_hostname
22667 wine_fn_config_makefile programs/icacls enable_icacls
22668 wine_fn_config_makefile programs/icinfo enable_icinfo
22669 wine_fn_config_makefile programs/iexplore enable_iexplore
22670 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22671 wine_fn_config_makefile programs/lodctr enable_lodctr
22672 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22673 wine_fn_config_makefile programs/mshta enable_mshta
22674 wine_fn_config_makefile programs/msidb enable_msidb
22675 wine_fn_config_makefile programs/msiexec enable_msiexec
22676 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22677 wine_fn_config_makefile programs/net enable_net
22678 wine_fn_config_makefile programs/netsh enable_netsh
22679 wine_fn_config_makefile programs/netstat enable_netstat
22680 wine_fn_config_makefile programs/ngen enable_ngen
22681 wine_fn_config_makefile programs/notepad enable_notepad
22682 wine_fn_config_makefile programs/oleview enable_oleview
22683 wine_fn_config_makefile programs/ping enable_ping
22684 wine_fn_config_makefile programs/plugplay enable_plugplay
22685 wine_fn_config_makefile programs/powershell enable_powershell
22686 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22687 wine_fn_config_makefile programs/progman enable_progman
22688 wine_fn_config_makefile programs/reg enable_reg
22689 wine_fn_config_makefile programs/reg/tests enable_tests
22690 wine_fn_config_makefile programs/regasm enable_regasm
22691 wine_fn_config_makefile programs/regedit enable_regedit
22692 wine_fn_config_makefile programs/regedit/tests enable_tests
22693 wine_fn_config_makefile programs/regini enable_regini
22694 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22695 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22696 wine_fn_config_makefile programs/robocopy enable_robocopy
22697 wine_fn_config_makefile programs/rpcss enable_rpcss
22698 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22699 wine_fn_config_makefile programs/rundll32 enable_rundll32
22700 wine_fn_config_makefile programs/sc enable_sc
22701 wine_fn_config_makefile programs/schtasks enable_schtasks
22702 wine_fn_config_makefile programs/schtasks/tests enable_tests
22703 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22704 wine_fn_config_makefile programs/secedit enable_secedit
22705 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22706 wine_fn_config_makefile programs/services enable_services
22707 wine_fn_config_makefile programs/services/tests enable_tests
22708 wine_fn_config_makefile programs/shutdown enable_shutdown
22709 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22710 wine_fn_config_makefile programs/start enable_start
22711 wine_fn_config_makefile programs/subst enable_subst
22712 wine_fn_config_makefile programs/svchost enable_svchost
22713 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22714 wine_fn_config_makefile programs/taskkill enable_taskkill
22715 wine_fn_config_makefile programs/tasklist enable_tasklist
22716 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22717 wine_fn_config_makefile programs/termsv enable_termsv
22718 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22719 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22720 wine_fn_config_makefile programs/view enable_view
22721 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22722 wine_fn_config_makefile programs/where enable_where
22723 wine_fn_config_makefile programs/whoami enable_whoami
22724 wine_fn_config_makefile programs/wineboot enable_wineboot
22725 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22726 wine_fn_config_makefile programs/winecfg enable_winecfg
22727 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22728 wine_fn_config_makefile programs/winedbg enable_winedbg
22729 wine_fn_config_makefile programs/winedevice enable_winedevice
22730 wine_fn_config_makefile programs/winefile enable_winefile
22731 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22732 wine_fn_config_makefile programs/winemine enable_winemine
22733 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22734 wine_fn_config_makefile programs/winepath enable_winepath
22735 wine_fn_config_makefile programs/winetest enable_winetest
22736 wine_fn_config_makefile programs/winevdm enable_win16
22737 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22738 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22739 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22740 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22741 wine_fn_config_makefile programs/winver enable_winver
22742 wine_fn_config_makefile programs/wmic enable_wmic
22743 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22744 wine_fn_config_makefile programs/wordpad enable_wordpad
22745 wine_fn_config_makefile programs/write enable_write
22746 wine_fn_config_makefile programs/wscript enable_wscript
22747 wine_fn_config_makefile programs/wscript/tests enable_tests
22748 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22749 wine_fn_config_makefile programs/wusa enable_wusa
22750 wine_fn_config_makefile programs/xcopy enable_xcopy
22751 wine_fn_config_makefile programs/xcopy/tests enable_tests
22752 wine_fn_config_makefile server enable_server
22753 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22754 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22755 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22756 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22757 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22758 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22759 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22760 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22761 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22764 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22765 wine_fn_append_file CONFIGURE_TARGETS "tags"
22766 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22767 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22768 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22769 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22770 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22771 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22773 if test "x$enable_tools" != xno
22774 then
22775 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22776 ac_config_commands="$ac_config_commands tools/makedep"
22780 ac_config_commands="$ac_config_commands Makefile"
22784 SHELL=/bin/sh
22787 wine_fn_append_rule "all: wine
22788 @echo \"Wine build complete.\"
22789 .INIT: Makefile
22790 .MAKEFILEDEPS:
22791 all: Makefile
22792 Makefile: config.status \$(MAKEDEP)
22793 @./config.status Makefile
22794 depend: \$(MAKEDEP)
22795 \$(MAKEDEP)$makedep_flags"
22798 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22799 @./config.status --recheck
22800 include/config.h: include/stamp-h
22801 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22802 @./config.status include/config.h include/stamp-h"
22804 if test "x$enable_maintainer_mode" = xyes
22805 then
22806 wine_fn_append_rule "configure: configure.ac aclocal.m4
22807 autoconf --warnings=all
22808 include/config.h.in: include/stamp-h.in
22809 include/stamp-h.in: configure.ac aclocal.m4
22810 autoheader --warnings=all
22811 @echo timestamp > \$@"
22814 if test "x$enable_tools" != xno
22815 then
22816 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22817 @./config.status tools/makedep
22818 Makefile: tools/makedep$ac_exeext"
22819 else
22820 wine_fn_append_rule "\$(MAKEDEP):
22821 @echo \"You need to run make in $toolsdir first\" && false"
22825 if test -n "$with_wine64"
22826 then
22827 case "$with_wine64" in
22828 /*) reldir="" ;;
22829 *) reldir="../" ;;
22830 esac
22831 rm -f fonts server 2>/dev/null
22832 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22833 loader/wine64 loader/wine64-preloader:
22834 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22835 $with_wine64/loader/wine:
22836 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22837 $with_wine64/loader/wine-preloader:
22838 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22839 clean::
22840 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22841 else
22842 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22843 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22844 fonts \
22845 loader/wine.inf \
22846 nls \
22847 programs/msidb/msidb \
22848 programs/msiexec/msiexec \
22849 programs/notepad/notepad \
22850 programs/regedit/regedit \
22851 programs/regsvr32/regsvr32 \
22852 programs/wineboot/wineboot \
22853 programs/winecfg/winecfg \
22854 programs/wineconsole/wineconsole \
22855 programs/winedbg/winedbg \
22856 programs/winefile/winefile \
22857 programs/winemine/winemine \
22858 programs/winepath/winepath \
22859 server/wineserver"
22861 case $host_os in
22862 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22863 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22864 esac
22868 wine_fn_append_rule "distclean:: clean
22869 rm -rf autom4te.cache
22870 maintainer-clean::
22871 rm -f configure include/config.h.in"
22874 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22875 @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)
22876 programs/winetest/build.rc: dummy
22877 @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)
22878 programs/winetest/build.nfo:
22879 @-\$(CC) -v 2>\$@
22880 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
22881 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22882 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22885 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22887 wine_fn_append_rule "TAGS etags:
22888 rm -f TAGS
22889 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22890 tags ctags:
22891 rm -f tags
22892 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22893 dummy:
22894 .PHONY: depend dummy install-manpages"
22896 printf "%s\n" " done" >&6
22897 cat >confcache <<\_ACEOF
22898 # This file is a shell script that caches the results of configure
22899 # tests run on this system so they can be shared between configure
22900 # scripts and configure runs, see configure's option --config-cache.
22901 # It is not useful on other systems. If it contains results you don't
22902 # want to keep, you may remove or edit it.
22904 # config.status only pays attention to the cache file if you give it
22905 # the --recheck option to rerun configure.
22907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22909 # following values.
22911 _ACEOF
22913 # The following way of writing the cache mishandles newlines in values,
22914 # but we know of no workaround that is simple, portable, and efficient.
22915 # So, we kill variables containing newlines.
22916 # Ultrix sh set writes to stderr and can't be redirected directly,
22917 # and sets the high bit in the cache file unless we assign to the vars.
22919 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22920 eval ac_val=\$$ac_var
22921 case $ac_val in #(
22922 *${as_nl}*)
22923 case $ac_var in #(
22924 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22925 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22926 esac
22927 case $ac_var in #(
22928 _ | IFS | as_nl) ;; #(
22929 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22930 *) { eval $ac_var=; unset $ac_var;} ;;
22931 esac ;;
22932 esac
22933 done
22935 (set) 2>&1 |
22936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22937 *${as_nl}ac_space=\ *)
22938 # `set' does not quote correctly, so add quotes: double-quote
22939 # substitution turns \\\\ into \\, and sed turns \\ into \.
22940 sed -n \
22941 "s/'/'\\\\''/g;
22942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22943 ;; #(
22945 # `set' quotes correctly as required by POSIX, so do not add quotes.
22946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22948 esac |
22949 sort
22951 sed '
22952 /^ac_cv_env_/b end
22953 t clear
22954 :clear
22955 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22956 t end
22957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22958 :end' >>confcache
22959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22960 if test -w "$cache_file"; then
22961 if test "x$cache_file" != "x/dev/null"; then
22962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22963 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22964 if test ! -f "$cache_file" || test -h "$cache_file"; then
22965 cat confcache >"$cache_file"
22966 else
22967 case $cache_file in #(
22968 */* | ?:*)
22969 mv -f confcache "$cache_file"$$ &&
22970 mv -f "$cache_file"$$ "$cache_file" ;; #(
22972 mv -f confcache "$cache_file" ;;
22973 esac
22976 else
22977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22978 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22981 rm -f confcache
22983 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22984 # Let make expand exec_prefix.
22985 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22987 DEFS=-DHAVE_CONFIG_H
22989 ac_libobjs=
22990 ac_ltlibobjs=
22992 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22993 # 1. Remove the extension, and $U if already installed.
22994 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22995 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22996 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22997 # will be set to the directory where LIBOBJS objects are built.
22998 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22999 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23000 done
23001 LIBOBJS=$ac_libobjs
23003 LTLIBOBJS=$ac_ltlibobjs
23007 : "${CONFIG_STATUS=./config.status}"
23008 ac_write_fail=0
23009 ac_clean_files_save=$ac_clean_files
23010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23012 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23013 as_write_fail=0
23014 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23015 #! $SHELL
23016 # Generated by $as_me.
23017 # Run this file to recreate the current configuration.
23018 # Compiler output produced by configure, useful for debugging
23019 # configure, is in config.log if it exists.
23021 debug=false
23022 ac_cs_recheck=false
23023 ac_cs_silent=false
23025 SHELL=\${CONFIG_SHELL-$SHELL}
23026 export SHELL
23027 _ASEOF
23028 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23029 ## -------------------- ##
23030 ## M4sh Initialization. ##
23031 ## -------------------- ##
23033 # Be more Bourne compatible
23034 DUALCASE=1; export DUALCASE # for MKS sh
23035 as_nop=:
23036 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23037 then :
23038 emulate sh
23039 NULLCMD=:
23040 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23041 # is contrary to our usage. Disable this feature.
23042 alias -g '${1+"$@"}'='"$@"'
23043 setopt NO_GLOB_SUBST
23044 else $as_nop
23045 case `(set -o) 2>/dev/null` in #(
23046 *posix*) :
23047 set -o posix ;; #(
23048 *) :
23050 esac
23055 # Reset variables that may have inherited troublesome values from
23056 # the environment.
23058 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23059 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23060 # side effect of setting IFS to empty, thus disabling word splitting.)
23061 # Quoting is to prevent editors from complaining about space-tab.
23062 as_nl='
23064 export as_nl
23065 IFS=" "" $as_nl"
23067 PS1='$ '
23068 PS2='> '
23069 PS4='+ '
23071 # Ensure predictable behavior from utilities with locale-dependent output.
23072 LC_ALL=C
23073 export LC_ALL
23074 LANGUAGE=C
23075 export LANGUAGE
23077 # We cannot yet rely on "unset" to work, but we need these variables
23078 # to be unset--not just set to an empty or harmless value--now, to
23079 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23080 # also avoids known problems related to "unset" and subshell syntax
23081 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23082 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23083 do eval test \${$as_var+y} \
23084 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23085 done
23087 # Ensure that fds 0, 1, and 2 are open.
23088 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23089 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23090 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23092 # The user is always right.
23093 if ${PATH_SEPARATOR+false} :; then
23094 PATH_SEPARATOR=:
23095 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23096 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23097 PATH_SEPARATOR=';'
23102 # Find who we are. Look in the path if we contain no directory separator.
23103 as_myself=
23104 case $0 in #((
23105 *[\\/]* ) as_myself=$0 ;;
23106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23107 for as_dir in $PATH
23109 IFS=$as_save_IFS
23110 case $as_dir in #(((
23111 '') as_dir=./ ;;
23112 */) ;;
23113 *) as_dir=$as_dir/ ;;
23114 esac
23115 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23116 done
23117 IFS=$as_save_IFS
23120 esac
23121 # We did not find ourselves, most probably we were run as `sh COMMAND'
23122 # in which case we are not to be found in the path.
23123 if test "x$as_myself" = x; then
23124 as_myself=$0
23126 if test ! -f "$as_myself"; then
23127 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23128 exit 1
23133 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23134 # ----------------------------------------
23135 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23136 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23137 # script with STATUS, using 1 if that was 0.
23138 as_fn_error ()
23140 as_status=$1; test $as_status -eq 0 && as_status=1
23141 if test "$4"; then
23142 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23145 printf "%s\n" "$as_me: error: $2" >&2
23146 as_fn_exit $as_status
23147 } # as_fn_error
23151 # as_fn_set_status STATUS
23152 # -----------------------
23153 # Set $? to STATUS, without forking.
23154 as_fn_set_status ()
23156 return $1
23157 } # as_fn_set_status
23159 # as_fn_exit STATUS
23160 # -----------------
23161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23162 as_fn_exit ()
23164 set +e
23165 as_fn_set_status $1
23166 exit $1
23167 } # as_fn_exit
23169 # as_fn_unset VAR
23170 # ---------------
23171 # Portably unset VAR.
23172 as_fn_unset ()
23174 { eval $1=; unset $1;}
23176 as_unset=as_fn_unset
23178 # as_fn_append VAR VALUE
23179 # ----------------------
23180 # Append the text in VALUE to the end of the definition contained in VAR. Take
23181 # advantage of any shell optimizations that allow amortized linear growth over
23182 # repeated appends, instead of the typical quadratic growth present in naive
23183 # implementations.
23184 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23185 then :
23186 eval 'as_fn_append ()
23188 eval $1+=\$2
23190 else $as_nop
23191 as_fn_append ()
23193 eval $1=\$$1\$2
23195 fi # as_fn_append
23197 # as_fn_arith ARG...
23198 # ------------------
23199 # Perform arithmetic evaluation on the ARGs, and store the result in the
23200 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23201 # must be portable across $(()) and expr.
23202 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23203 then :
23204 eval 'as_fn_arith ()
23206 as_val=$(( $* ))
23208 else $as_nop
23209 as_fn_arith ()
23211 as_val=`expr "$@" || test $? -eq 1`
23213 fi # as_fn_arith
23216 if expr a : '\(a\)' >/dev/null 2>&1 &&
23217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23218 as_expr=expr
23219 else
23220 as_expr=false
23223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23224 as_basename=basename
23225 else
23226 as_basename=false
23229 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23230 as_dirname=dirname
23231 else
23232 as_dirname=false
23235 as_me=`$as_basename -- "$0" ||
23236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23237 X"$0" : 'X\(//\)$' \| \
23238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23239 printf "%s\n" X/"$0" |
23240 sed '/^.*\/\([^/][^/]*\)\/*$/{
23241 s//\1/
23244 /^X\/\(\/\/\)$/{
23245 s//\1/
23248 /^X\/\(\/\).*/{
23249 s//\1/
23252 s/.*/./; q'`
23254 # Avoid depending upon Character Ranges.
23255 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23256 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23257 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23258 as_cr_digits='0123456789'
23259 as_cr_alnum=$as_cr_Letters$as_cr_digits
23262 # Determine whether it's possible to make 'echo' print without a newline.
23263 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23264 # for compatibility with existing Makefiles.
23265 ECHO_C= ECHO_N= ECHO_T=
23266 case `echo -n x` in #(((((
23267 -n*)
23268 case `echo 'xy\c'` in
23269 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23270 xy) ECHO_C='\c';;
23271 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23272 ECHO_T=' ';;
23273 esac;;
23275 ECHO_N='-n';;
23276 esac
23278 # For backward compatibility with old third-party macros, we provide
23279 # the shell variables $as_echo and $as_echo_n. New code should use
23280 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23281 as_echo='printf %s\n'
23282 as_echo_n='printf %s'
23284 rm -f conf$$ conf$$.exe conf$$.file
23285 if test -d conf$$.dir; then
23286 rm -f conf$$.dir/conf$$.file
23287 else
23288 rm -f conf$$.dir
23289 mkdir conf$$.dir 2>/dev/null
23291 if (echo >conf$$.file) 2>/dev/null; then
23292 if ln -s conf$$.file conf$$ 2>/dev/null; then
23293 as_ln_s='ln -s'
23294 # ... but there are two gotchas:
23295 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23296 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23297 # In both cases, we have to default to `cp -pR'.
23298 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23299 as_ln_s='cp -pR'
23300 elif ln conf$$.file conf$$ 2>/dev/null; then
23301 as_ln_s=ln
23302 else
23303 as_ln_s='cp -pR'
23305 else
23306 as_ln_s='cp -pR'
23308 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23309 rmdir conf$$.dir 2>/dev/null
23312 # as_fn_mkdir_p
23313 # -------------
23314 # Create "$as_dir" as a directory, including parents if necessary.
23315 as_fn_mkdir_p ()
23318 case $as_dir in #(
23319 -*) as_dir=./$as_dir;;
23320 esac
23321 test -d "$as_dir" || eval $as_mkdir_p || {
23322 as_dirs=
23323 while :; do
23324 case $as_dir in #(
23325 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23326 *) as_qdir=$as_dir;;
23327 esac
23328 as_dirs="'$as_qdir' $as_dirs"
23329 as_dir=`$as_dirname -- "$as_dir" ||
23330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23331 X"$as_dir" : 'X\(//\)[^/]' \| \
23332 X"$as_dir" : 'X\(//\)$' \| \
23333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23334 printf "%s\n" X"$as_dir" |
23335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23336 s//\1/
23339 /^X\(\/\/\)[^/].*/{
23340 s//\1/
23343 /^X\(\/\/\)$/{
23344 s//\1/
23347 /^X\(\/\).*/{
23348 s//\1/
23351 s/.*/./; q'`
23352 test -d "$as_dir" && break
23353 done
23354 test -z "$as_dirs" || eval "mkdir $as_dirs"
23355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23358 } # as_fn_mkdir_p
23359 if mkdir -p . 2>/dev/null; then
23360 as_mkdir_p='mkdir -p "$as_dir"'
23361 else
23362 test -d ./-p && rmdir ./-p
23363 as_mkdir_p=false
23367 # as_fn_executable_p FILE
23368 # -----------------------
23369 # Test if FILE is an executable regular file.
23370 as_fn_executable_p ()
23372 test -f "$1" && test -x "$1"
23373 } # as_fn_executable_p
23374 as_test_x='test -x'
23375 as_executable_p=as_fn_executable_p
23377 # Sed expression to map a string onto a valid CPP name.
23378 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23380 # Sed expression to map a string onto a valid variable name.
23381 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23384 exec 6>&1
23385 ## ----------------------------------- ##
23386 ## Main body of $CONFIG_STATUS script. ##
23387 ## ----------------------------------- ##
23388 _ASEOF
23389 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23392 # Save the log message, to keep $0 and so on meaningful, and to
23393 # report actual input values of CONFIG_FILES etc. instead of their
23394 # values after options handling.
23395 ac_log="
23396 This file was extended by Wine $as_me 7.1, which was
23397 generated by GNU Autoconf 2.71. Invocation command line was
23399 CONFIG_FILES = $CONFIG_FILES
23400 CONFIG_HEADERS = $CONFIG_HEADERS
23401 CONFIG_LINKS = $CONFIG_LINKS
23402 CONFIG_COMMANDS = $CONFIG_COMMANDS
23403 $ $0 $@
23405 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23408 _ACEOF
23411 case $ac_config_headers in *"
23412 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23413 esac
23416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23417 # Files that config.status was made for.
23418 config_headers="$ac_config_headers"
23419 config_links="$ac_config_links"
23420 config_commands="$ac_config_commands"
23422 _ACEOF
23424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23425 ac_cs_usage="\
23426 \`$as_me' instantiates files and other configuration actions
23427 from templates according to the current configuration. Unless the files
23428 and actions are specified as TAGs, all are instantiated by default.
23430 Usage: $0 [OPTION]... [TAG]...
23432 -h, --help print this help, then exit
23433 -V, --version print version number and configuration settings, then exit
23434 --config print configuration, then exit
23435 -q, --quiet, --silent
23436 do not print progress messages
23437 -d, --debug don't remove temporary files
23438 --recheck update $as_me by reconfiguring in the same conditions
23439 --header=FILE[:TEMPLATE]
23440 instantiate the configuration header FILE
23442 Configuration headers:
23443 $config_headers
23445 Configuration links:
23446 $config_links
23448 Configuration commands:
23449 $config_commands
23451 Report bugs to <wine-devel@winehq.org>.
23452 Wine home page: <https://www.winehq.org>."
23454 _ACEOF
23455 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23456 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23458 ac_cs_config='$ac_cs_config_escaped'
23459 ac_cs_version="\\
23460 Wine config.status 7.1
23461 configured by $0, generated by GNU Autoconf 2.71,
23462 with options \\"\$ac_cs_config\\"
23464 Copyright (C) 2021 Free Software Foundation, Inc.
23465 This config.status script is free software; the Free Software Foundation
23466 gives unlimited permission to copy, distribute and modify it."
23468 ac_pwd='$ac_pwd'
23469 srcdir='$srcdir'
23470 test -n "\$AWK" || AWK=awk
23471 _ACEOF
23473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23474 # The default lists apply if the user does not specify any file.
23475 ac_need_defaults=:
23476 while test $# != 0
23478 case $1 in
23479 --*=?*)
23480 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23481 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23482 ac_shift=:
23484 --*=)
23485 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23486 ac_optarg=
23487 ac_shift=:
23490 ac_option=$1
23491 ac_optarg=$2
23492 ac_shift=shift
23494 esac
23496 case $ac_option in
23497 # Handling of the options.
23498 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23499 ac_cs_recheck=: ;;
23500 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23501 printf "%s\n" "$ac_cs_version"; exit ;;
23502 --config | --confi | --conf | --con | --co | --c )
23503 printf "%s\n" "$ac_cs_config"; exit ;;
23504 --debug | --debu | --deb | --de | --d | -d )
23505 debug=: ;;
23506 --header | --heade | --head | --hea )
23507 $ac_shift
23508 case $ac_optarg in
23509 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23510 esac
23511 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23512 ac_need_defaults=false;;
23513 --he | --h)
23514 # Conflict between --help and --header
23515 as_fn_error $? "ambiguous option: \`$1'
23516 Try \`$0 --help' for more information.";;
23517 --help | --hel | -h )
23518 printf "%s\n" "$ac_cs_usage"; exit ;;
23519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23520 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23521 ac_cs_silent=: ;;
23523 # This is an error.
23524 -*) as_fn_error $? "unrecognized option: \`$1'
23525 Try \`$0 --help' for more information." ;;
23527 *) as_fn_append ac_config_targets " $1"
23528 ac_need_defaults=false ;;
23530 esac
23531 shift
23532 done
23534 ac_configure_extra_args=
23536 if $ac_cs_silent; then
23537 exec 6>/dev/null
23538 ac_configure_extra_args="$ac_configure_extra_args --silent"
23541 _ACEOF
23542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23543 if \$ac_cs_recheck; then
23544 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23545 shift
23546 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23547 CONFIG_SHELL='$SHELL'
23548 export CONFIG_SHELL
23549 exec "\$@"
23552 _ACEOF
23553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23554 exec 5>>config.log
23556 echo
23557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23558 ## Running $as_me. ##
23559 _ASBOX
23560 printf "%s\n" "$ac_log"
23561 } >&5
23563 _ACEOF
23564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23566 # INIT-COMMANDS
23568 wine_fn_output_makedep ()
23570 as_dir=tools; as_fn_mkdir_p
23571 $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
23573 wine_fn_output_makefile ()
23575 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23576 # This Makefile understands the following targets:
23578 # all (default): build wine
23579 # clean: remove all intermediate files
23580 # distclean: also remove all files created by configure
23581 # test: run tests
23582 # testclean: clean test results to force running all tests again
23583 # install-lib: install libraries needed to run applications
23584 # install-dev: install development environment
23585 # install: install everything
23586 # uninstall: uninstall everything
23587 # ctags: create a tags file for vim and others.
23588 # etags: create a TAGS file for Emacs.
23590 SHELL = $SHELL
23591 PATH_SEPARATOR = $PATH_SEPARATOR
23592 PACKAGE_NAME = $PACKAGE_NAME
23593 PACKAGE_TARNAME = $PACKAGE_TARNAME
23594 PACKAGE_VERSION = $PACKAGE_VERSION
23595 PACKAGE_STRING = $PACKAGE_STRING
23596 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23597 PACKAGE_URL = $PACKAGE_URL
23598 exec_prefix = $exec_prefix
23599 prefix = $prefix
23600 program_transform_name = $program_transform_name
23601 bindir = $bindir
23602 sbindir = $sbindir
23603 libexecdir = $libexecdir
23604 datarootdir = $datarootdir
23605 datadir = $datadir
23606 sysconfdir = $sysconfdir
23607 sharedstatedir = $sharedstatedir
23608 localstatedir = $localstatedir
23609 runstatedir = $runstatedir
23610 includedir = $includedir
23611 oldincludedir = $oldincludedir
23612 docdir = $docdir
23613 infodir = $infodir
23614 htmldir = $htmldir
23615 dvidir = $dvidir
23616 pdfdir = $pdfdir
23617 psdir = $psdir
23618 libdir = $libdir
23619 localedir = $localedir
23620 mandir = $mandir
23621 DEFS = $DEFS
23622 ECHO_C = $ECHO_C
23623 ECHO_N = $ECHO_N
23624 ECHO_T = $ECHO_T
23625 LIBS = $LIBS
23626 build_alias = $build_alias
23627 host_alias = $host_alias
23628 target_alias = $target_alias
23629 system_dllpath = $system_dllpath
23630 build = $build
23631 build_cpu = $build_cpu
23632 build_vendor = $build_vendor
23633 build_os = $build_os
23634 host = $host
23635 host_cpu = $host_cpu
23636 host_vendor = $host_vendor
23637 host_os = $host_os
23638 dlldir = $dlldir
23639 fontdir = $fontdir
23640 nlsdir = $nlsdir
23641 srcdir = $srcdir
23642 SET_MAKE = $SET_MAKE
23643 CC = $CC
23644 CFLAGS = $CFLAGS
23645 LDFLAGS = $LDFLAGS
23646 CPPFLAGS = $CPPFLAGS
23647 ac_ct_CC = $ac_ct_CC
23648 EXEEXT = $EXEEXT
23649 OBJEXT = $OBJEXT
23650 CXX = $CXX
23651 CXXFLAGS = $CXXFLAGS
23652 ac_ct_CXX = $ac_ct_CXX
23653 CPPBIN = $CPPBIN
23654 LD = $LD
23655 TARGETFLAGS = $TARGETFLAGS
23656 toolsext = $toolsext
23657 toolsdir = $toolsdir
23658 MAKEDEP = $MAKEDEP
23659 RUNTESTFLAGS = $RUNTESTFLAGS
23660 SED_CMD = $SED_CMD
23661 FLEX = $FLEX
23662 BISON = $BISON
23663 AR = $AR
23664 ac_ct_AR = $ac_ct_AR
23665 STRIP = $STRIP
23666 RANLIB = $RANLIB
23667 LN_S = $LN_S
23668 GREP = $GREP
23669 EGREP = $EGREP
23670 LDCONFIG = $LDCONFIG
23671 MSGFMT = $MSGFMT
23672 PKG_CONFIG = $PKG_CONFIG
23673 FONTFORGE = $FONTFORGE
23674 RSVG = $RSVG
23675 CONVERT = $CONVERT
23676 ICOTOOL = $ICOTOOL
23677 I386_LIBS = $I386_LIBS
23678 OPENGL_LIBS = $OPENGL_LIBS
23679 DLLFLAGS = $DLLFLAGS
23680 LDDLLFLAGS = $LDDLLFLAGS
23681 LDEXECFLAGS = $LDEXECFLAGS
23682 EXTRACFLAGS = $EXTRACFLAGS
23683 UNIXDLLFLAGS = $UNIXDLLFLAGS
23684 UNIXLDFLAGS = $UNIXLDFLAGS
23685 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23686 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23687 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23688 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23689 LDD = $LDD
23690 OTOOL = $OTOOL
23691 READELF = $READELF
23692 SUBDIRS = $SUBDIRS
23693 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23694 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23695 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23696 DLLTOOL = $DLLTOOL
23697 OBJC = $OBJC
23698 OBJCFLAGS = $OBJCFLAGS
23699 ac_ct_OBJC = $ac_ct_OBJC
23700 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23701 IOKIT_LIBS = $IOKIT_LIBS
23702 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23703 CORESERVICES_LIBS = $CORESERVICES_LIBS
23704 APPKIT_LIBS = $APPKIT_LIBS
23705 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23706 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23707 SECURITY_LIBS = $SECURITY_LIBS
23708 COREAUDIO_LIBS = $COREAUDIO_LIBS
23709 OPENAL_LIBS = $OPENAL_LIBS
23710 OPENCL_LIBS = $OPENCL_LIBS
23711 CARBON_LIBS = $CARBON_LIBS
23712 METAL_LIBS = $METAL_LIBS
23713 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23714 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23715 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23716 PRELINK = $PRELINK
23717 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23718 CROSSTARGET = $CROSSTARGET
23719 CROSSCC = $CROSSCC
23720 CROSSCFLAGS = $CROSSCFLAGS
23721 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23722 CROSSLDFLAGS = $CROSSLDFLAGS
23723 DELAYLOADFLAG = $DELAYLOADFLAG
23724 CROSSDEBUG = $CROSSDEBUG
23725 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23726 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23727 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23728 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23729 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23730 GSM_PE_LIBS = $GSM_PE_LIBS
23731 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23732 JPEG_PE_LIBS = $JPEG_PE_LIBS
23733 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23734 JXR_PE_LIBS = $JXR_PE_LIBS
23735 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23736 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23737 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23738 MPG123_PE_LIBS = $MPG123_PE_LIBS
23739 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23740 PNG_PE_LIBS = $PNG_PE_LIBS
23741 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23742 TIFF_PE_LIBS = $TIFF_PE_LIBS
23743 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23744 XML2_PE_LIBS = $XML2_PE_LIBS
23745 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23746 XSLT_PE_LIBS = $XSLT_PE_LIBS
23747 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23748 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23749 PTHREAD_LIBS = $PTHREAD_LIBS
23750 XMKMF = $XMKMF
23751 CPP = $CPP
23752 X_CFLAGS = $X_CFLAGS
23753 X_PRE_LIBS = $X_PRE_LIBS
23754 X_LIBS = $X_LIBS
23755 X_EXTRA_LIBS = $X_EXTRA_LIBS
23756 PCAP_LIBS = $PCAP_LIBS
23757 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23758 INOTIFY_LIBS = $INOTIFY_LIBS
23759 DBUS_CFLAGS = $DBUS_CFLAGS
23760 DBUS_LIBS = $DBUS_LIBS
23761 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23762 GNUTLS_LIBS = $GNUTLS_LIBS
23763 SANE_CFLAGS = $SANE_CFLAGS
23764 SANE_LIBS = $SANE_LIBS
23765 USB_CFLAGS = $USB_CFLAGS
23766 USB_LIBS = $USB_LIBS
23767 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23768 GPHOTO2_LIBS = $GPHOTO2_LIBS
23769 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23770 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23771 RESOLV_LIBS = $RESOLV_LIBS
23772 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23773 FREETYPE_LIBS = $FREETYPE_LIBS
23774 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23775 PULSE_CFLAGS = $PULSE_CFLAGS
23776 PULSE_LIBS = $PULSE_LIBS
23777 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23778 GSTREAMER_LIBS = $GSTREAMER_LIBS
23779 ALSA_LIBS = $ALSA_LIBS
23780 OSS4_CFLAGS = $OSS4_CFLAGS
23781 OSS4_LIBS = $OSS4_LIBS
23782 UDEV_CFLAGS = $UDEV_CFLAGS
23783 UDEV_LIBS = $UDEV_LIBS
23784 UNWIND_CFLAGS = $UNWIND_CFLAGS
23785 UNWIND_LIBS = $UNWIND_LIBS
23786 SDL2_CFLAGS = $SDL2_CFLAGS
23787 SDL2_LIBS = $SDL2_LIBS
23788 CAPI20_CFLAGS = $CAPI20_CFLAGS
23789 CAPI20_LIBS = $CAPI20_LIBS
23790 CUPS_CFLAGS = $CUPS_CFLAGS
23791 CUPS_LIBS = $CUPS_LIBS
23792 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23793 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23794 KRB5_CFLAGS = $KRB5_CFLAGS
23795 KRB5_LIBS = $KRB5_LIBS
23796 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23797 GSSAPI_LIBS = $GSSAPI_LIBS
23798 PROCSTAT_LIBS = $PROCSTAT_LIBS
23799 NETAPI_CFLAGS = $NETAPI_CFLAGS
23800 NETAPI_LIBS = $NETAPI_LIBS
23801 VKD3D_CFLAGS = $VKD3D_CFLAGS
23802 VKD3D_LIBS = $VKD3D_LIBS
23803 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23804 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23805 MSVCRTFLAGS = $MSVCRTFLAGS
23806 RT_LIBS = $RT_LIBS
23807 LDAP_CFLAGS = $LDAP_CFLAGS
23808 LDAP_LIBS = $LDAP_LIBS
23809 TAGSFLAGS = $TAGSFLAGS
23810 LIBOBJS = $LIBOBJS
23811 LTLIBOBJS = $LTLIBOBJS
23812 $SET_MAKE
23813 $wine_rules
23814 _WINE_EOF
23815 as_fn_error $? "could not create Makefile" "$LINENO" 5
23818 _ACEOF
23820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23822 # Handling of arguments.
23823 for ac_config_target in $ac_config_targets
23825 case $ac_config_target in
23826 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23827 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23828 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23829 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23830 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23831 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23833 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23834 esac
23835 done
23838 # If the user did not use the arguments to specify the items to instantiate,
23839 # then the envvar interface is used. Set only those that are not.
23840 # We use the long form for the default assignment because of an extremely
23841 # bizarre bug on SunOS 4.1.3.
23842 if $ac_need_defaults; then
23843 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23844 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23845 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23848 # Have a temporary directory for convenience. Make it in the build tree
23849 # simply because there is no reason against having it here, and in addition,
23850 # creating and moving files from /tmp can sometimes cause problems.
23851 # Hook for its removal unless debugging.
23852 # Note that there is a small window in which the directory will not be cleaned:
23853 # after its creation but before its name has been assigned to `$tmp'.
23854 $debug ||
23856 tmp= ac_tmp=
23857 trap 'exit_status=$?
23858 : "${ac_tmp:=$tmp}"
23859 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23861 trap 'as_fn_exit 1' 1 2 13 15
23863 # Create a (secure) tmp directory for tmp files.
23866 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23867 test -d "$tmp"
23868 } ||
23870 tmp=./conf$$-$RANDOM
23871 (umask 077 && mkdir "$tmp")
23872 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23873 ac_tmp=$tmp
23875 # Set up the scripts for CONFIG_HEADERS section.
23876 # No need to generate them if there are no CONFIG_HEADERS.
23877 # This happens for instance with `./config.status Makefile'.
23878 if test -n "$CONFIG_HEADERS"; then
23879 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23880 BEGIN {
23881 _ACEOF
23883 # Transform confdefs.h into an awk script `defines.awk', embedded as
23884 # here-document in config.status, that substitutes the proper values into
23885 # config.h.in to produce config.h.
23887 # Create a delimiter string that does not exist in confdefs.h, to ease
23888 # handling of long lines.
23889 ac_delim='%!_!# '
23890 for ac_last_try in false false :; do
23891 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23892 if test -z "$ac_tt"; then
23893 break
23894 elif $ac_last_try; then
23895 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23896 else
23897 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23899 done
23901 # For the awk script, D is an array of macro values keyed by name,
23902 # likewise P contains macro parameters if any. Preserve backslash
23903 # newline sequences.
23905 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23906 sed -n '
23907 s/.\{148\}/&'"$ac_delim"'/g
23908 t rset
23909 :rset
23910 s/^[ ]*#[ ]*define[ ][ ]*/ /
23911 t def
23913 :def
23914 s/\\$//
23915 t bsnl
23916 s/["\\]/\\&/g
23917 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23918 D["\1"]=" \3"/p
23919 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23921 :bsnl
23922 s/["\\]/\\&/g
23923 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23924 D["\1"]=" \3\\\\\\n"\\/p
23925 t cont
23926 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23927 t cont
23929 :cont
23931 s/.\{148\}/&'"$ac_delim"'/g
23932 t clear
23933 :clear
23934 s/\\$//
23935 t bsnlc
23936 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23938 :bsnlc
23939 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23940 b cont
23941 ' <confdefs.h | sed '
23942 s/'"$ac_delim"'/"\\\
23943 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23946 for (key in D) D_is_set[key] = 1
23947 FS = "\a"
23949 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23950 line = \$ 0
23951 split(line, arg, " ")
23952 if (arg[1] == "#") {
23953 defundef = arg[2]
23954 mac1 = arg[3]
23955 } else {
23956 defundef = substr(arg[1], 2)
23957 mac1 = arg[2]
23959 split(mac1, mac2, "(") #)
23960 macro = mac2[1]
23961 prefix = substr(line, 1, index(line, defundef) - 1)
23962 if (D_is_set[macro]) {
23963 # Preserve the white space surrounding the "#".
23964 print prefix "define", macro P[macro] D[macro]
23965 next
23966 } else {
23967 # Replace #undef with comments. This is necessary, for example,
23968 # in the case of _POSIX_SOURCE, which is predefined and required
23969 # on some systems where configure will not decide to define it.
23970 if (defundef == "undef") {
23971 print "/*", prefix defundef, macro, "*/"
23972 next
23976 { print }
23977 _ACAWK
23978 _ACEOF
23979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23980 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23981 fi # test -n "$CONFIG_HEADERS"
23984 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23985 shift
23986 for ac_tag
23988 case $ac_tag in
23989 :[FHLC]) ac_mode=$ac_tag; continue;;
23990 esac
23991 case $ac_mode$ac_tag in
23992 :[FHL]*:*);;
23993 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23994 :[FH]-) ac_tag=-:-;;
23995 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23996 esac
23997 ac_save_IFS=$IFS
23998 IFS=:
23999 set x $ac_tag
24000 IFS=$ac_save_IFS
24001 shift
24002 ac_file=$1
24003 shift
24005 case $ac_mode in
24006 :L) ac_source=$1;;
24007 :[FH])
24008 ac_file_inputs=
24009 for ac_f
24011 case $ac_f in
24012 -) ac_f="$ac_tmp/stdin";;
24013 *) # Look for the file first in the build tree, then in the source tree
24014 # (if the path is not absolute). The absolute path cannot be DOS-style,
24015 # because $ac_f cannot contain `:'.
24016 test -f "$ac_f" ||
24017 case $ac_f in
24018 [\\/$]*) false;;
24019 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24020 esac ||
24021 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24022 esac
24023 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24024 as_fn_append ac_file_inputs " '$ac_f'"
24025 done
24027 # Let's still pretend it is `configure' which instantiates (i.e., don't
24028 # use $as_me), people would be surprised to read:
24029 # /* config.h. Generated by config.status. */
24030 configure_input='Generated from '`
24031 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24032 `' by configure.'
24033 if test x"$ac_file" != x-; then
24034 configure_input="$ac_file. $configure_input"
24035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24036 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24038 # Neutralize special characters interpreted by sed in replacement strings.
24039 case $configure_input in #(
24040 *\&* | *\|* | *\\* )
24041 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24042 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24043 *) ac_sed_conf_input=$configure_input;;
24044 esac
24046 case $ac_tag in
24047 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24048 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24049 esac
24051 esac
24053 ac_dir=`$as_dirname -- "$ac_file" ||
24054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24055 X"$ac_file" : 'X\(//\)[^/]' \| \
24056 X"$ac_file" : 'X\(//\)$' \| \
24057 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24058 printf "%s\n" X"$ac_file" |
24059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24060 s//\1/
24063 /^X\(\/\/\)[^/].*/{
24064 s//\1/
24067 /^X\(\/\/\)$/{
24068 s//\1/
24071 /^X\(\/\).*/{
24072 s//\1/
24075 s/.*/./; q'`
24076 as_dir="$ac_dir"; as_fn_mkdir_p
24077 ac_builddir=.
24079 case "$ac_dir" in
24080 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24082 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24083 # A ".." for each directory in $ac_dir_suffix.
24084 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24085 case $ac_top_builddir_sub in
24086 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24087 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24088 esac ;;
24089 esac
24090 ac_abs_top_builddir=$ac_pwd
24091 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24092 # for backward compatibility:
24093 ac_top_builddir=$ac_top_build_prefix
24095 case $srcdir in
24096 .) # We are building in place.
24097 ac_srcdir=.
24098 ac_top_srcdir=$ac_top_builddir_sub
24099 ac_abs_top_srcdir=$ac_pwd ;;
24100 [\\/]* | ?:[\\/]* ) # Absolute name.
24101 ac_srcdir=$srcdir$ac_dir_suffix;
24102 ac_top_srcdir=$srcdir
24103 ac_abs_top_srcdir=$srcdir ;;
24104 *) # Relative name.
24105 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24106 ac_top_srcdir=$ac_top_build_prefix$srcdir
24107 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24108 esac
24109 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24112 case $ac_mode in
24116 # CONFIG_HEADER
24118 if test x"$ac_file" != x-; then
24120 printf "%s\n" "/* $configure_input */" >&1 \
24121 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24122 } >"$ac_tmp/config.h" \
24123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24124 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24126 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24127 else
24128 rm -f "$ac_file"
24129 mv "$ac_tmp/config.h" "$ac_file" \
24130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24132 else
24133 printf "%s\n" "/* $configure_input */" >&1 \
24134 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24135 || as_fn_error $? "could not create -" "$LINENO" 5
24140 # CONFIG_LINK
24143 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24145 else
24146 # Prefer the file from the source tree if names are identical.
24147 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24148 ac_source=$srcdir/$ac_source
24151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24152 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24154 if test ! -r "$ac_source"; then
24155 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24157 rm -f "$ac_file"
24159 # Try a relative symlink, then a hard link, then a copy.
24160 case $ac_source in
24161 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24162 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24163 esac
24164 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24165 ln "$ac_source" "$ac_file" 2>/dev/null ||
24166 cp -p "$ac_source" "$ac_file" ||
24167 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24170 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24171 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24173 esac
24176 case $ac_file$ac_mode in
24177 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24178 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24179 "Makefile":C) wine_fn_output_makefile Makefile ;;
24181 esac
24182 done # for ac_tag
24185 as_fn_exit 0
24186 _ACEOF
24187 ac_clean_files=$ac_clean_files_save
24189 test $ac_write_fail = 0 ||
24190 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24193 # configure is writing to config.log, and then calls config.status.
24194 # config.status does its own redirection, appending to config.log.
24195 # Unfortunately, on DOS this fails, as config.log is still kept open
24196 # by configure, so config.status won't be able to write to it; its
24197 # output is simply discarded. So we exec the FD to /dev/null,
24198 # effectively closing config.log, so it can be properly (re)opened and
24199 # appended to by config.status. When coming back to configure, we
24200 # need to make the FD available again.
24201 if test "$no_create" != yes; then
24202 ac_cs_success=:
24203 ac_config_status_args=
24204 test "$silent" = yes &&
24205 ac_config_status_args="$ac_config_status_args --quiet"
24206 exec 5>/dev/null
24207 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24208 exec 5>>config.log
24209 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24210 # would make configure fail if this is the last instruction.
24211 $ac_cs_success || as_fn_exit 1
24213 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24215 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24219 if test "$no_create" = "yes"
24220 then
24221 exit 0
24224 ac_save_IFS="$IFS"
24225 if test "x$wine_notices" != x; then
24226 echo >&6
24227 IFS="|"
24228 for msg in $wine_notices; do
24229 IFS="$ac_save_IFS"
24230 if ${msg:+false} :
24231 then :
24233 else $as_nop
24234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24235 printf "%s\n" "$as_me: $msg" >&6;}
24237 done
24239 IFS="|"
24240 for msg in $wine_warnings; do
24241 IFS="$ac_save_IFS"
24242 if ${msg:+false} :
24243 then :
24245 else $as_nop
24246 echo >&2
24247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24248 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24250 done
24251 IFS="$ac_save_IFS"
24253 printf "%s\n" "
24254 $as_me: Finished. Do '${ac_make}' to compile Wine.
24255 " >&6