msi/tests: Avoid "misleading indentation" warnings.
[wine.git] / configure
blobbcefc8e324797ca7a41ec9459d8ef5cfc64d9abd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='7.0'
615 PACKAGE_STRING='Wine 7.0'
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_wmasf
1745 enable_wmi
1746 enable_wmiutils
1747 enable_wmp
1748 enable_wmphoto
1749 enable_wmvcore
1750 enable_wnaspi32
1751 enable_wow64
1752 enable_wow64cpu
1753 enable_wow64win
1754 enable_wpc
1755 enable_wpcap
1756 enable_ws2_32
1757 enable_wsdapi
1758 enable_wshom_ocx
1759 enable_wsnmp32
1760 enable_wsock32
1761 enable_wtsapi32
1762 enable_wuapi
1763 enable_wuaueng
1764 enable_x3daudio1_0
1765 enable_x3daudio1_1
1766 enable_x3daudio1_2
1767 enable_x3daudio1_3
1768 enable_x3daudio1_4
1769 enable_x3daudio1_5
1770 enable_x3daudio1_6
1771 enable_x3daudio1_7
1772 enable_xactengine2_0
1773 enable_xactengine2_4
1774 enable_xactengine2_7
1775 enable_xactengine2_9
1776 enable_xactengine3_0
1777 enable_xactengine3_1
1778 enable_xactengine3_2
1779 enable_xactengine3_3
1780 enable_xactengine3_4
1781 enable_xactengine3_5
1782 enable_xactengine3_6
1783 enable_xactengine3_7
1784 enable_xapofx1_1
1785 enable_xapofx1_2
1786 enable_xapofx1_3
1787 enable_xapofx1_4
1788 enable_xapofx1_5
1789 enable_xaudio2_0
1790 enable_xaudio2_1
1791 enable_xaudio2_2
1792 enable_xaudio2_3
1793 enable_xaudio2_4
1794 enable_xaudio2_5
1795 enable_xaudio2_6
1796 enable_xaudio2_7
1797 enable_xaudio2_8
1798 enable_xaudio2_9
1799 enable_xinput1_1
1800 enable_xinput1_2
1801 enable_xinput1_3
1802 enable_xinput1_4
1803 enable_xinput9_1_0
1804 enable_xmllite
1805 enable_xolehlp
1806 enable_xpsprint
1807 enable_xpssvcs
1808 enable_fonts
1809 enable_include
1810 enable_adsiid
1811 enable_dmoguids
1812 enable_dxerr8
1813 enable_dxerr9
1814 enable_dxguid
1815 enable_faudio
1816 enable_gsm
1817 enable_jpeg
1818 enable_jxr
1819 enable_lcms2
1820 enable_mfuuid
1821 enable_mpg123
1822 enable_png
1823 enable_strmbase
1824 enable_strmiids
1825 enable_tiff
1826 enable_uuid
1827 enable_wbemuuid
1828 enable_wine
1829 enable_wmcodecdspuuid
1830 enable_xml2
1831 enable_xslt
1832 enable_zlib
1833 enable_loader
1834 enable_nls
1835 enable_po
1836 enable_arp
1837 enable_aspnet_regiis
1838 enable_attrib
1839 enable_cabarc
1840 enable_cacls
1841 enable_chcp_com
1842 enable_clock
1843 enable_cmd
1844 enable_conhost
1845 enable_control
1846 enable_cscript
1847 enable_dism
1848 enable_dplaysvr
1849 enable_dpnsvr
1850 enable_dpvsetup
1851 enable_dxdiag
1852 enable_eject
1853 enable_expand
1854 enable_explorer
1855 enable_extrac32
1856 enable_fc
1857 enable_find
1858 enable_findstr
1859 enable_fsutil
1860 enable_hh
1861 enable_hostname
1862 enable_icacls
1863 enable_icinfo
1864 enable_iexplore
1865 enable_ipconfig
1866 enable_lodctr
1867 enable_mofcomp
1868 enable_mshta
1869 enable_msidb
1870 enable_msiexec
1871 enable_msinfo32
1872 enable_net
1873 enable_netsh
1874 enable_netstat
1875 enable_ngen
1876 enable_notepad
1877 enable_oleview
1878 enable_ping
1879 enable_plugplay
1880 enable_powershell
1881 enable_presentationfontcache
1882 enable_progman
1883 enable_reg
1884 enable_regasm
1885 enable_regedit
1886 enable_regini
1887 enable_regsvcs
1888 enable_regsvr32
1889 enable_robocopy
1890 enable_rpcss
1891 enable_rundll32
1892 enable_sc
1893 enable_schtasks
1894 enable_sdbinst
1895 enable_secedit
1896 enable_servicemodelreg
1897 enable_services
1898 enable_shutdown
1899 enable_spoolsv
1900 enable_start
1901 enable_subst
1902 enable_svchost
1903 enable_systeminfo
1904 enable_taskkill
1905 enable_tasklist
1906 enable_taskmgr
1907 enable_termsv
1908 enable_uninstaller
1909 enable_unlodctr
1910 enable_view
1911 enable_wevtutil
1912 enable_where
1913 enable_whoami
1914 enable_wineboot
1915 enable_winebrowser
1916 enable_winecfg
1917 enable_wineconsole
1918 enable_winedbg
1919 enable_winedevice
1920 enable_winefile
1921 enable_winemenubuilder
1922 enable_winemine
1923 enable_winemsibuilder
1924 enable_winepath
1925 enable_winetest
1926 enable_winhlp32
1927 enable_winmgmt
1928 enable_winver
1929 enable_wmic
1930 enable_wmplayer
1931 enable_wordpad
1932 enable_write
1933 enable_wscript
1934 enable_wuauserv
1935 enable_wusa
1936 enable_xcopy
1937 enable_server
1938 enable_tools
1939 enable_sfnt2fon
1940 enable_widl
1941 enable_winebuild
1942 enable_winedump
1943 enable_winegcc
1944 enable_winemaker
1945 enable_wmc
1946 enable_wrc
1948 ac_precious_vars='build_alias
1949 host_alias
1950 target_alias
1952 CFLAGS
1953 LDFLAGS
1954 LIBS
1955 CPPFLAGS
1957 CXXFLAGS
1959 OBJC
1960 OBJCFLAGS
1961 FAUDIO_PE_CFLAGS
1962 FAUDIO_PE_LIBS
1963 GSM_PE_CFLAGS
1964 GSM_PE_LIBS
1965 JPEG_PE_CFLAGS
1966 JPEG_PE_LIBS
1967 JXR_PE_CFLAGS
1968 JXR_PE_LIBS
1969 LCMS2_PE_CFLAGS
1970 LCMS2_PE_LIBS
1971 MPG123_PE_CFLAGS
1972 MPG123_PE_LIBS
1973 PNG_PE_CFLAGS
1974 PNG_PE_LIBS
1975 TIFF_PE_CFLAGS
1976 TIFF_PE_LIBS
1977 XML2_PE_CFLAGS
1978 XML2_PE_LIBS
1979 XSLT_PE_CFLAGS
1980 XSLT_PE_LIBS
1981 ZLIB_PE_CFLAGS
1982 ZLIB_PE_LIBS
1983 XMKMF
1985 INOTIFY_CFLAGS
1986 INOTIFY_LIBS
1987 DBUS_CFLAGS
1988 DBUS_LIBS
1989 GNUTLS_CFLAGS
1990 GNUTLS_LIBS
1991 SANE_CFLAGS
1992 SANE_LIBS
1993 USB_CFLAGS
1994 USB_LIBS
1995 GPHOTO2_CFLAGS
1996 GPHOTO2_LIBS
1997 GPHOTO2_PORT_CFLAGS
1998 GPHOTO2_PORT_LIBS
1999 FREETYPE_CFLAGS
2000 FREETYPE_LIBS
2001 PULSE_CFLAGS
2002 PULSE_LIBS
2003 GSTREAMER_CFLAGS
2004 GSTREAMER_LIBS
2005 UDEV_CFLAGS
2006 UDEV_LIBS
2007 UNWIND_CFLAGS
2008 UNWIND_LIBS
2009 SDL2_CFLAGS
2010 SDL2_LIBS
2011 CAPI20_CFLAGS
2012 CAPI20_LIBS
2013 CUPS_CFLAGS
2014 CUPS_LIBS
2015 FONTCONFIG_CFLAGS
2016 FONTCONFIG_LIBS
2017 KRB5_CFLAGS
2018 KRB5_LIBS
2019 GSSAPI_CFLAGS
2020 GSSAPI_LIBS
2021 NETAPI_CFLAGS
2022 NETAPI_LIBS
2023 VKD3D_CFLAGS
2024 VKD3D_LIBS
2025 VKD3D_SHADER_CFLAGS
2026 VKD3D_SHADER_LIBS
2027 LDAP_CFLAGS
2028 LDAP_LIBS'
2031 # Initialize some variables set by options.
2032 ac_init_help=
2033 ac_init_version=false
2034 ac_unrecognized_opts=
2035 ac_unrecognized_sep=
2036 # The variables have the same names as the options, with
2037 # dashes changed to underlines.
2038 cache_file=/dev/null
2039 exec_prefix=NONE
2040 no_create=
2041 no_recursion=
2042 prefix=NONE
2043 program_prefix=NONE
2044 program_suffix=NONE
2045 program_transform_name=s,x,x,
2046 silent=
2047 site=
2048 srcdir=
2049 verbose=
2050 x_includes=NONE
2051 x_libraries=NONE
2053 # Installation directory options.
2054 # These are left unexpanded so users can "make install exec_prefix=/foo"
2055 # and all the variables that are supposed to be based on exec_prefix
2056 # by default will actually change.
2057 # Use braces instead of parens because sh, perl, etc. also accept them.
2058 # (The list follows the same order as the GNU Coding Standards.)
2059 bindir='${exec_prefix}/bin'
2060 sbindir='${exec_prefix}/sbin'
2061 libexecdir='${exec_prefix}/libexec'
2062 datarootdir='${prefix}/share'
2063 datadir='${datarootdir}'
2064 sysconfdir='${prefix}/etc'
2065 sharedstatedir='${prefix}/com'
2066 localstatedir='${prefix}/var'
2067 runstatedir='${localstatedir}/run'
2068 includedir='${prefix}/include'
2069 oldincludedir='/usr/include'
2070 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2071 infodir='${datarootdir}/info'
2072 htmldir='${docdir}'
2073 dvidir='${docdir}'
2074 pdfdir='${docdir}'
2075 psdir='${docdir}'
2076 libdir='${exec_prefix}/lib'
2077 localedir='${datarootdir}/locale'
2078 mandir='${datarootdir}/man'
2080 ac_prev=
2081 ac_dashdash=
2082 for ac_option
2084 # If the previous option needs an argument, assign it.
2085 if test -n "$ac_prev"; then
2086 eval $ac_prev=\$ac_option
2087 ac_prev=
2088 continue
2091 case $ac_option in
2092 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2093 *=) ac_optarg= ;;
2094 *) ac_optarg=yes ;;
2095 esac
2097 case $ac_dashdash$ac_option in
2099 ac_dashdash=yes ;;
2101 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2102 ac_prev=bindir ;;
2103 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2104 bindir=$ac_optarg ;;
2106 -build | --build | --buil | --bui | --bu)
2107 ac_prev=build_alias ;;
2108 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2109 build_alias=$ac_optarg ;;
2111 -cache-file | --cache-file | --cache-fil | --cache-fi \
2112 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2113 ac_prev=cache_file ;;
2114 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2115 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2116 cache_file=$ac_optarg ;;
2118 --config-cache | -C)
2119 cache_file=config.cache ;;
2121 -datadir | --datadir | --datadi | --datad)
2122 ac_prev=datadir ;;
2123 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2124 datadir=$ac_optarg ;;
2126 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2127 | --dataroo | --dataro | --datar)
2128 ac_prev=datarootdir ;;
2129 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2130 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2131 datarootdir=$ac_optarg ;;
2133 -disable-* | --disable-*)
2134 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2135 # Reject names that are not valid shell variable names.
2136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2137 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2138 ac_useropt_orig=$ac_useropt
2139 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2140 case $ac_user_opts in
2142 "enable_$ac_useropt"
2143 "*) ;;
2144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2145 ac_unrecognized_sep=', ';;
2146 esac
2147 eval enable_$ac_useropt=no ;;
2149 -docdir | --docdir | --docdi | --doc | --do)
2150 ac_prev=docdir ;;
2151 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2152 docdir=$ac_optarg ;;
2154 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2155 ac_prev=dvidir ;;
2156 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2157 dvidir=$ac_optarg ;;
2159 -enable-* | --enable-*)
2160 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2161 # Reject names that are not valid shell variable names.
2162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2163 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2164 ac_useropt_orig=$ac_useropt
2165 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2166 case $ac_user_opts in
2168 "enable_$ac_useropt"
2169 "*) ;;
2170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2171 ac_unrecognized_sep=', ';;
2172 esac
2173 eval enable_$ac_useropt=\$ac_optarg ;;
2175 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2176 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2177 | --exec | --exe | --ex)
2178 ac_prev=exec_prefix ;;
2179 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2180 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2181 | --exec=* | --exe=* | --ex=*)
2182 exec_prefix=$ac_optarg ;;
2184 -gas | --gas | --ga | --g)
2185 # Obsolete; use --with-gas.
2186 with_gas=yes ;;
2188 -help | --help | --hel | --he | -h)
2189 ac_init_help=long ;;
2190 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2191 ac_init_help=recursive ;;
2192 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2193 ac_init_help=short ;;
2195 -host | --host | --hos | --ho)
2196 ac_prev=host_alias ;;
2197 -host=* | --host=* | --hos=* | --ho=*)
2198 host_alias=$ac_optarg ;;
2200 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2201 ac_prev=htmldir ;;
2202 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2203 | --ht=*)
2204 htmldir=$ac_optarg ;;
2206 -includedir | --includedir | --includedi | --included | --include \
2207 | --includ | --inclu | --incl | --inc)
2208 ac_prev=includedir ;;
2209 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2210 | --includ=* | --inclu=* | --incl=* | --inc=*)
2211 includedir=$ac_optarg ;;
2213 -infodir | --infodir | --infodi | --infod | --info | --inf)
2214 ac_prev=infodir ;;
2215 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2216 infodir=$ac_optarg ;;
2218 -libdir | --libdir | --libdi | --libd)
2219 ac_prev=libdir ;;
2220 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2221 libdir=$ac_optarg ;;
2223 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2224 | --libexe | --libex | --libe)
2225 ac_prev=libexecdir ;;
2226 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2227 | --libexe=* | --libex=* | --libe=*)
2228 libexecdir=$ac_optarg ;;
2230 -localedir | --localedir | --localedi | --localed | --locale)
2231 ac_prev=localedir ;;
2232 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2233 localedir=$ac_optarg ;;
2235 -localstatedir | --localstatedir | --localstatedi | --localstated \
2236 | --localstate | --localstat | --localsta | --localst | --locals)
2237 ac_prev=localstatedir ;;
2238 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2239 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2240 localstatedir=$ac_optarg ;;
2242 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2243 ac_prev=mandir ;;
2244 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2245 mandir=$ac_optarg ;;
2247 -nfp | --nfp | --nf)
2248 # Obsolete; use --without-fp.
2249 with_fp=no ;;
2251 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2252 | --no-cr | --no-c | -n)
2253 no_create=yes ;;
2255 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2256 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2257 no_recursion=yes ;;
2259 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2260 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2261 | --oldin | --oldi | --old | --ol | --o)
2262 ac_prev=oldincludedir ;;
2263 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2264 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2265 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2266 oldincludedir=$ac_optarg ;;
2268 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2269 ac_prev=prefix ;;
2270 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2271 prefix=$ac_optarg ;;
2273 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2274 | --program-pre | --program-pr | --program-p)
2275 ac_prev=program_prefix ;;
2276 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2277 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2278 program_prefix=$ac_optarg ;;
2280 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2281 | --program-suf | --program-su | --program-s)
2282 ac_prev=program_suffix ;;
2283 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2284 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2285 program_suffix=$ac_optarg ;;
2287 -program-transform-name | --program-transform-name \
2288 | --program-transform-nam | --program-transform-na \
2289 | --program-transform-n | --program-transform- \
2290 | --program-transform | --program-transfor \
2291 | --program-transfo | --program-transf \
2292 | --program-trans | --program-tran \
2293 | --progr-tra | --program-tr | --program-t)
2294 ac_prev=program_transform_name ;;
2295 -program-transform-name=* | --program-transform-name=* \
2296 | --program-transform-nam=* | --program-transform-na=* \
2297 | --program-transform-n=* | --program-transform-=* \
2298 | --program-transform=* | --program-transfor=* \
2299 | --program-transfo=* | --program-transf=* \
2300 | --program-trans=* | --program-tran=* \
2301 | --progr-tra=* | --program-tr=* | --program-t=*)
2302 program_transform_name=$ac_optarg ;;
2304 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2305 ac_prev=pdfdir ;;
2306 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2307 pdfdir=$ac_optarg ;;
2309 -psdir | --psdir | --psdi | --psd | --ps)
2310 ac_prev=psdir ;;
2311 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2312 psdir=$ac_optarg ;;
2314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2315 | -silent | --silent | --silen | --sile | --sil)
2316 silent=yes ;;
2318 -runstatedir | --runstatedir | --runstatedi | --runstated \
2319 | --runstate | --runstat | --runsta | --runst | --runs \
2320 | --run | --ru | --r)
2321 ac_prev=runstatedir ;;
2322 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2323 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2324 | --run=* | --ru=* | --r=*)
2325 runstatedir=$ac_optarg ;;
2327 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2328 ac_prev=sbindir ;;
2329 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2330 | --sbi=* | --sb=*)
2331 sbindir=$ac_optarg ;;
2333 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2334 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2335 | --sharedst | --shareds | --shared | --share | --shar \
2336 | --sha | --sh)
2337 ac_prev=sharedstatedir ;;
2338 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2339 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2340 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2341 | --sha=* | --sh=*)
2342 sharedstatedir=$ac_optarg ;;
2344 -site | --site | --sit)
2345 ac_prev=site ;;
2346 -site=* | --site=* | --sit=*)
2347 site=$ac_optarg ;;
2349 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2350 ac_prev=srcdir ;;
2351 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2352 srcdir=$ac_optarg ;;
2354 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2355 | --syscon | --sysco | --sysc | --sys | --sy)
2356 ac_prev=sysconfdir ;;
2357 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2358 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2359 sysconfdir=$ac_optarg ;;
2361 -target | --target | --targe | --targ | --tar | --ta | --t)
2362 ac_prev=target_alias ;;
2363 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2364 target_alias=$ac_optarg ;;
2366 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2367 verbose=yes ;;
2369 -version | --version | --versio | --versi | --vers | -V)
2370 ac_init_version=: ;;
2372 -with-* | --with-*)
2373 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2374 # Reject names that are not valid shell variable names.
2375 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2376 as_fn_error $? "invalid package name: \`$ac_useropt'"
2377 ac_useropt_orig=$ac_useropt
2378 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2379 case $ac_user_opts in
2381 "with_$ac_useropt"
2382 "*) ;;
2383 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2384 ac_unrecognized_sep=', ';;
2385 esac
2386 eval with_$ac_useropt=\$ac_optarg ;;
2388 -without-* | --without-*)
2389 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2390 # Reject names that are not valid shell variable names.
2391 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2392 as_fn_error $? "invalid package name: \`$ac_useropt'"
2393 ac_useropt_orig=$ac_useropt
2394 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2395 case $ac_user_opts in
2397 "with_$ac_useropt"
2398 "*) ;;
2399 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2400 ac_unrecognized_sep=', ';;
2401 esac
2402 eval with_$ac_useropt=no ;;
2404 --x)
2405 # Obsolete; use --with-x.
2406 with_x=yes ;;
2408 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2409 | --x-incl | --x-inc | --x-in | --x-i)
2410 ac_prev=x_includes ;;
2411 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2412 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2413 x_includes=$ac_optarg ;;
2415 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2416 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2417 ac_prev=x_libraries ;;
2418 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2419 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2420 x_libraries=$ac_optarg ;;
2422 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2423 Try \`$0 --help' for more information"
2426 *=*)
2427 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2428 # Reject names that are not valid shell variable names.
2429 case $ac_envvar in #(
2430 '' | [0-9]* | *[!_$as_cr_alnum]* )
2431 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2432 esac
2433 eval $ac_envvar=\$ac_optarg
2434 export $ac_envvar ;;
2437 # FIXME: should be removed in autoconf 3.0.
2438 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2439 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2440 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2441 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2444 esac
2445 done
2447 if test -n "$ac_prev"; then
2448 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2449 as_fn_error $? "missing argument to $ac_option"
2452 if test -n "$ac_unrecognized_opts"; then
2453 case $enable_option_checking in
2454 no) ;;
2455 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2456 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2457 esac
2460 # Check all directory arguments for consistency.
2461 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2462 datadir sysconfdir sharedstatedir localstatedir includedir \
2463 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2464 libdir localedir mandir runstatedir
2466 eval ac_val=\$$ac_var
2467 # Remove trailing slashes.
2468 case $ac_val in
2469 */ )
2470 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2471 eval $ac_var=\$ac_val;;
2472 esac
2473 # Be sure to have absolute directory names.
2474 case $ac_val in
2475 [\\/$]* | ?:[\\/]* ) continue;;
2476 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2477 esac
2478 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2479 done
2481 # There might be people who depend on the old broken behavior: `$host'
2482 # used to hold the argument of --host etc.
2483 # FIXME: To remove some day.
2484 build=$build_alias
2485 host=$host_alias
2486 target=$target_alias
2488 # FIXME: To remove some day.
2489 if test "x$host_alias" != x; then
2490 if test "x$build_alias" = x; then
2491 cross_compiling=maybe
2492 elif test "x$build_alias" != "x$host_alias"; then
2493 cross_compiling=yes
2497 ac_tool_prefix=
2498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2500 test "$silent" = yes && exec 6>/dev/null
2503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2504 ac_ls_di=`ls -di .` &&
2505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2506 as_fn_error $? "working directory cannot be determined"
2507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2508 as_fn_error $? "pwd does not report name of working directory"
2511 # Find the source files, if location was not specified.
2512 if test -z "$srcdir"; then
2513 ac_srcdir_defaulted=yes
2514 # Try the directory containing this script, then the parent directory.
2515 ac_confdir=`$as_dirname -- "$as_myself" ||
2516 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2517 X"$as_myself" : 'X\(//\)[^/]' \| \
2518 X"$as_myself" : 'X\(//\)$' \| \
2519 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2520 printf "%s\n" X"$as_myself" |
2521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2522 s//\1/
2525 /^X\(\/\/\)[^/].*/{
2526 s//\1/
2529 /^X\(\/\/\)$/{
2530 s//\1/
2533 /^X\(\/\).*/{
2534 s//\1/
2537 s/.*/./; q'`
2538 srcdir=$ac_confdir
2539 if test ! -r "$srcdir/$ac_unique_file"; then
2540 srcdir=..
2542 else
2543 ac_srcdir_defaulted=no
2545 if test ! -r "$srcdir/$ac_unique_file"; then
2546 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2547 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2549 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2550 ac_abs_confdir=`(
2551 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2552 pwd)`
2553 # When building in place, set srcdir=.
2554 if test "$ac_abs_confdir" = "$ac_pwd"; then
2555 srcdir=.
2557 # Remove unnecessary trailing slashes from srcdir.
2558 # Double slashes in file names in object file debugging info
2559 # mess up M-x gdb in Emacs.
2560 case $srcdir in
2561 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2562 esac
2563 for ac_var in $ac_precious_vars; do
2564 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2565 eval ac_env_${ac_var}_value=\$${ac_var}
2566 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2567 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2568 done
2571 # Report the --help message.
2573 if test "$ac_init_help" = "long"; then
2574 # Omit some internal or obsolete options to make the list less imposing.
2575 # This message is too long to be a string in the A/UX 3.1 sh.
2576 cat <<_ACEOF
2577 \`configure' configures Wine 7.0 to adapt to many kinds of systems.
2579 Usage: $0 [OPTION]... [VAR=VALUE]...
2581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2582 VAR=VALUE. See below for descriptions of some of the useful variables.
2584 Defaults for the options are specified in brackets.
2586 Configuration:
2587 -h, --help display this help and exit
2588 --help=short display options specific to this package
2589 --help=recursive display the short help of all the included packages
2590 -V, --version display version information and exit
2591 -q, --quiet, --silent do not print \`checking ...' messages
2592 --cache-file=FILE cache test results in FILE [disabled]
2593 -C, --config-cache alias for \`--cache-file=config.cache'
2594 -n, --no-create do not create output files
2595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2597 Installation directories:
2598 --prefix=PREFIX install architecture-independent files in PREFIX
2599 [$ac_default_prefix]
2600 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2601 [PREFIX]
2603 By default, \`make install' will install all the files in
2604 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2605 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2606 for instance \`--prefix=\$HOME'.
2608 For better control, use the options below.
2610 Fine tuning of the installation directories:
2611 --bindir=DIR user executables [EPREFIX/bin]
2612 --sbindir=DIR system admin executables [EPREFIX/sbin]
2613 --libexecdir=DIR program executables [EPREFIX/libexec]
2614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2617 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2618 --libdir=DIR object code libraries [EPREFIX/lib]
2619 --includedir=DIR C header files [PREFIX/include]
2620 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2621 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2622 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2623 --infodir=DIR info documentation [DATAROOTDIR/info]
2624 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2625 --mandir=DIR man documentation [DATAROOTDIR/man]
2626 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2627 --htmldir=DIR html documentation [DOCDIR]
2628 --dvidir=DIR dvi documentation [DOCDIR]
2629 --pdfdir=DIR pdf documentation [DOCDIR]
2630 --psdir=DIR ps documentation [DOCDIR]
2631 _ACEOF
2633 cat <<\_ACEOF
2635 X features:
2636 --x-includes=DIR X include files are in DIR
2637 --x-libraries=DIR X library files are in DIR
2639 System types:
2640 --build=BUILD configure for building on BUILD [guessed]
2641 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2642 _ACEOF
2645 if test -n "$ac_init_help"; then
2646 case $ac_init_help in
2647 short | recursive ) echo "Configuration of Wine 7.0:";;
2648 esac
2649 cat <<\_ACEOF
2651 Optional Features:
2652 --disable-option-checking ignore unrecognized --enable/--with options
2653 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2654 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2655 --disable-win16 do not include Win16 support
2656 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2657 binaries)
2658 --disable-tests do not build the regression tests
2659 --enable-build-id include .buildid section in output objects
2660 --enable-maintainer-mode
2661 enable maintainer-specific build rules
2662 --enable-silent-rules use silent build rules (override: "make V=1")
2663 --enable-werror treat compilation warnings as errors
2664 --disable-largefile omit support for large files
2666 Optional Packages:
2667 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2668 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2669 --without-alsa do not use the Alsa sound support
2670 --without-capi do not use CAPI (ISDN support)
2671 --without-coreaudio do not use the CoreAudio sound support
2672 --without-cups do not use CUPS
2673 --without-dbus do not use DBus (dynamic device support)
2674 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2675 --without-fontconfig do not use fontconfig
2676 --without-freetype do not use the FreeType library
2677 --without-gettext do not use gettext
2678 --with-gettextpo use the GetTextPO library to rebuild po files
2679 --without-gphoto do not use gphoto (Digital Camera support)
2680 --without-gnutls do not use GnuTLS (schannel support)
2681 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2682 --without-gstreamer do not use GStreamer (codecs support)
2683 --without-inotify do not use inotify (filesystem change notifications)
2684 --without-krb5 do not use krb5 (Kerberos)
2685 --without-ldap do not use LDAP
2686 --without-mingw do not use the MinGW cross-compiler
2687 --without-netapi do not use the Samba NetAPI library
2688 --without-openal do not use OpenAL
2689 --without-opencl do not use OpenCL
2690 --without-opengl do not use OpenGL
2691 --without-osmesa do not use the OSMesa library
2692 --without-oss do not use the OSS sound support
2693 --without-pcap do not use the Packet Capture library
2694 --without-pthread do not use the pthread library
2695 --without-pulse do not use PulseAudio sound support
2696 --without-sane do not use SANE (scanner support)
2697 --without-sdl do not use SDL
2698 --without-udev do not use udev (plug and play support)
2699 --without-unwind do not use the libunwind library (exception
2700 handling)
2701 --without-usb do not use the libusb library
2702 --without-v4l2 do not use v4l2 (video capture)
2703 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2704 --without-vulkan do not use Vulkan
2705 --without-xcomposite do not use the Xcomposite extension
2706 --without-xcursor do not use the Xcursor extension
2707 --without-xfixes do not use Xfixes for clipboard change notifications
2708 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2709 --without-xinput do not use the Xinput extension
2710 --without-xinput2 do not use the Xinput 2 extension
2711 --without-xrandr do not use Xrandr (multi-monitor support)
2712 --without-xrender do not use the Xrender extension
2713 --without-xshape do not use the Xshape extension
2714 --without-xshm do not use XShm (shared memory extension)
2715 --without-xxf86vm do not use XFree video mode extension
2716 --with-system-dllpath=PATH
2717 load external PE dependencies from colon-separated
2718 path PATH
2719 --with-wine-tools=DIR use Wine tools from directory DIR
2720 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2721 --with-x use the X Window System
2723 Some influential environment variables:
2724 CC C compiler command
2725 CFLAGS C compiler flags
2726 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2727 nonstandard directory <lib dir>
2728 LIBS libraries to pass to the linker, e.g. -l<library>
2729 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2730 you have headers in a nonstandard directory <include dir>
2731 CXX C++ compiler command
2732 CXXFLAGS C++ compiler flags
2733 OBJC Objective C compiler command
2734 OBJCFLAGS Objective C compiler flags
2735 FAUDIO_PE_CFLAGS
2736 C compiler flags for the PE faudio, overriding the bundled
2737 version
2738 FAUDIO_PE_LIBS
2739 Linker flags for the PE faudio, overriding the bundled version
2740 GSM_PE_CFLAGS
2741 C compiler flags for the PE gsm, overriding the bundled version
2742 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2743 JPEG_PE_CFLAGS
2744 C compiler flags for the PE jpeg, overriding the bundled version
2745 JPEG_PE_LIBS
2746 Linker flags for the PE jpeg, overriding the bundled version
2747 JXR_PE_CFLAGS
2748 C compiler flags for the PE jxr, overriding the bundled version
2749 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2750 LCMS2_PE_CFLAGS
2751 C compiler flags for the PE lcms2, overriding the bundled
2752 version
2753 LCMS2_PE_LIBS
2754 Linker flags for the PE lcms2, overriding the bundled version
2755 MPG123_PE_CFLAGS
2756 C compiler flags for the PE mpg123, overriding the bundled
2757 version
2758 MPG123_PE_LIBS
2759 Linker flags for the PE mpg123, overriding the bundled version
2760 PNG_PE_CFLAGS
2761 C compiler flags for the PE png, overriding the bundled version
2762 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2763 TIFF_PE_CFLAGS
2764 C compiler flags for the PE tiff, overriding the bundled version
2765 TIFF_PE_LIBS
2766 Linker flags for the PE tiff, overriding the bundled version
2767 XML2_PE_CFLAGS
2768 C compiler flags for the PE xml2, overriding the bundled version
2769 XML2_PE_LIBS
2770 Linker flags for the PE xml2, overriding the bundled version
2771 XSLT_PE_CFLAGS
2772 C compiler flags for the PE xslt, overriding the bundled version
2773 XSLT_PE_LIBS
2774 Linker flags for the PE xslt, overriding the bundled version
2775 ZLIB_PE_CFLAGS
2776 C compiler flags for the PE zlib, overriding the bundled version
2777 ZLIB_PE_LIBS
2778 Linker flags for the PE zlib, overriding the bundled version
2779 XMKMF Path to xmkmf, Makefile generator for X Window System
2780 CPP C preprocessor
2781 INOTIFY_CFLAGS
2782 C compiler flags for libinotify, overriding pkg-config
2783 INOTIFY_LIBS
2784 Linker flags for libinotify, overriding pkg-config
2785 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2786 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2787 GNUTLS_CFLAGS
2788 C compiler flags for gnutls, overriding pkg-config
2789 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2790 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2791 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2792 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2793 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2794 GPHOTO2_CFLAGS
2795 C compiler flags for libgphoto2, overriding pkg-config
2796 GPHOTO2_LIBS
2797 Linker flags for libgphoto2, overriding pkg-config
2798 GPHOTO2_PORT_CFLAGS
2799 C compiler flags for libgphoto2_port, overriding pkg-config
2800 GPHOTO2_PORT_LIBS
2801 Linker flags for libgphoto2_port, overriding pkg-config
2802 FREETYPE_CFLAGS
2803 C compiler flags for freetype2, overriding pkg-config
2804 FREETYPE_LIBS
2805 Linker flags for freetype2, overriding pkg-config
2806 PULSE_CFLAGS
2807 C compiler flags for libpulse, overriding pkg-config
2808 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2809 GSTREAMER_CFLAGS
2810 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2811 gstreamer-audio-1.0, overriding pkg-config
2812 GSTREAMER_LIBS
2813 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2814 gstreamer-audio-1.0, overriding pkg-config
2815 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2816 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2817 UNWIND_CFLAGS
2818 C compiler flags for libunwind, overriding pkg-config
2819 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2820 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2821 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2822 CAPI20_CFLAGS
2823 C compiler flags for capi20, overriding pkg-config
2824 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2825 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2826 CUPS_LIBS Linker flags for cups, overriding pkg-config
2827 FONTCONFIG_CFLAGS
2828 C compiler flags for fontconfig, overriding pkg-config
2829 FONTCONFIG_LIBS
2830 Linker flags for fontconfig, overriding pkg-config
2831 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2832 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2833 GSSAPI_CFLAGS
2834 C compiler flags for krb5-gssapi, overriding pkg-config
2835 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2836 NETAPI_CFLAGS
2837 C compiler flags for netapi, overriding pkg-config
2838 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2839 VKD3D_CFLAGS
2840 C compiler flags for libvkd3d, overriding pkg-config
2841 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2842 VKD3D_SHADER_CFLAGS
2843 C compiler flags for libvkd3d-shader, overriding pkg-config
2844 VKD3D_SHADER_LIBS
2845 Linker flags for libvkd3d-shader, overriding pkg-config
2846 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2847 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2849 Use these variables to override the choices made by `configure' or to help
2850 it to find libraries and programs with nonstandard names/locations.
2852 Report bugs to <wine-devel@winehq.org>.
2853 Wine home page: <https://www.winehq.org>.
2854 _ACEOF
2855 ac_status=$?
2858 if test "$ac_init_help" = "recursive"; then
2859 # If there are subdirs, report their specific --help.
2860 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2861 test -d "$ac_dir" ||
2862 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2863 continue
2864 ac_builddir=.
2866 case "$ac_dir" in
2867 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2869 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2870 # A ".." for each directory in $ac_dir_suffix.
2871 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2872 case $ac_top_builddir_sub in
2873 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2874 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2875 esac ;;
2876 esac
2877 ac_abs_top_builddir=$ac_pwd
2878 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2879 # for backward compatibility:
2880 ac_top_builddir=$ac_top_build_prefix
2882 case $srcdir in
2883 .) # We are building in place.
2884 ac_srcdir=.
2885 ac_top_srcdir=$ac_top_builddir_sub
2886 ac_abs_top_srcdir=$ac_pwd ;;
2887 [\\/]* | ?:[\\/]* ) # Absolute name.
2888 ac_srcdir=$srcdir$ac_dir_suffix;
2889 ac_top_srcdir=$srcdir
2890 ac_abs_top_srcdir=$srcdir ;;
2891 *) # Relative name.
2892 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2893 ac_top_srcdir=$ac_top_build_prefix$srcdir
2894 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2895 esac
2896 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2898 cd "$ac_dir" || { ac_status=$?; continue; }
2899 # Check for configure.gnu first; this name is used for a wrapper for
2900 # Metaconfig's "Configure" on case-insensitive file systems.
2901 if test -f "$ac_srcdir/configure.gnu"; then
2902 echo &&
2903 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2904 elif test -f "$ac_srcdir/configure"; then
2905 echo &&
2906 $SHELL "$ac_srcdir/configure" --help=recursive
2907 else
2908 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2909 fi || ac_status=$?
2910 cd "$ac_pwd" || { ac_status=$?; break; }
2911 done
2914 test -n "$ac_init_help" && exit $ac_status
2915 if $ac_init_version; then
2916 cat <<\_ACEOF
2917 Wine configure 7.0
2918 generated by GNU Autoconf 2.71
2920 Copyright (C) 2021 Free Software Foundation, Inc.
2921 This configure script is free software; the Free Software Foundation
2922 gives unlimited permission to copy, distribute and modify it.
2923 _ACEOF
2924 exit
2927 ## ------------------------ ##
2928 ## Autoconf initialization. ##
2929 ## ------------------------ ##
2931 # ac_fn_c_try_compile LINENO
2932 # --------------------------
2933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_c_try_compile ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 rm -f conftest.$ac_objext conftest.beam
2938 if { { ac_try="$ac_compile"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_compile") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } && {
2954 test -z "$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_compile
2970 # ac_fn_cxx_try_compile LINENO
2971 # ----------------------------
2972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2973 ac_fn_cxx_try_compile ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 rm -f conftest.$ac_objext conftest.beam
2977 if { { ac_try="$ac_compile"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 printf "%s\n" "$ac_try_echo"; } >&5
2984 (eval "$ac_compile") 2>conftest.err
2985 ac_status=$?
2986 if test -s conftest.err; then
2987 grep -v '^ *+' conftest.err >conftest.er1
2988 cat conftest.er1 >&5
2989 mv -f conftest.er1 conftest.err
2991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; } && {
2993 test -z "$ac_cxx_werror_flag" ||
2994 test ! -s conftest.err
2995 } && test -s conftest.$ac_objext
2996 then :
2997 ac_retval=0
2998 else $as_nop
2999 printf "%s\n" "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_retval=1
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 as_fn_set_status $ac_retval
3007 } # ac_fn_cxx_try_compile
3009 # ac_fn_c_try_link LINENO
3010 # -----------------------
3011 # Try to link conftest.$ac_ext, and return whether this succeeded.
3012 ac_fn_c_try_link ()
3014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3015 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3016 if { { ac_try="$ac_link"
3017 case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3020 esac
3021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3022 printf "%s\n" "$ac_try_echo"; } >&5
3023 (eval "$ac_link") 2>conftest.err
3024 ac_status=$?
3025 if test -s conftest.err; then
3026 grep -v '^ *+' conftest.err >conftest.er1
3027 cat conftest.er1 >&5
3028 mv -f conftest.er1 conftest.err
3030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest$ac_exeext && {
3035 test "$cross_compiling" = yes ||
3036 test -x conftest$ac_exeext
3038 then :
3039 ac_retval=0
3040 else $as_nop
3041 printf "%s\n" "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3044 ac_retval=1
3046 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3047 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3048 # interfere with the next link command; also delete a directory that is
3049 # left behind by Apple's compiler. We do this before executing the actions.
3050 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 as_fn_set_status $ac_retval
3054 } # ac_fn_c_try_link
3056 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3057 # -------------------------------------------------------
3058 # Tests whether HEADER exists and can be compiled using the include files in
3059 # INCLUDES, setting the cache variable VAR accordingly.
3060 ac_fn_c_check_header_compile ()
3062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3064 printf %s "checking for $2... " >&6; }
3065 if eval test \${$3+y}
3066 then :
3067 printf %s "(cached) " >&6
3068 else $as_nop
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3072 #include <$2>
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3076 eval "$3=yes"
3077 else $as_nop
3078 eval "$3=no"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 eval ac_res=\$$3
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 printf "%s\n" "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_header_compile
3089 # ac_fn_objc_try_compile LINENO
3090 # -----------------------------
3091 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3092 ac_fn_objc_try_compile ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 rm -f conftest.$ac_objext conftest.beam
3096 if { { ac_try="$ac_compile"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 printf "%s\n" "$ac_try_echo"; } >&5
3103 (eval "$ac_compile") 2>conftest.err
3104 ac_status=$?
3105 if test -s conftest.err; then
3106 grep -v '^ *+' conftest.err >conftest.er1
3107 cat conftest.er1 >&5
3108 mv -f conftest.er1 conftest.err
3110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; } && {
3112 test -z "$ac_objc_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext
3115 then :
3116 ac_retval=0
3117 else $as_nop
3118 printf "%s\n" "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3121 ac_retval=1
3123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3124 as_fn_set_status $ac_retval
3126 } # ac_fn_objc_try_compile
3128 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3129 # ----------------------------------------------------------
3130 # Tests whether HEADER exists and can be compiled using the include files in
3131 # INCLUDES, setting the cache variable VAR accordingly.
3132 ac_fn_objc_check_header_compile ()
3134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3136 printf %s "checking for $2... " >&6; }
3137 if eval test \${$3+y}
3138 then :
3139 printf %s "(cached) " >&6
3140 else $as_nop
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3144 #include <$2>
3145 _ACEOF
3146 if ac_fn_objc_try_compile "$LINENO"
3147 then :
3148 eval "$3=yes"
3149 else $as_nop
3150 eval "$3=no"
3152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3154 eval ac_res=\$$3
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3156 printf "%s\n" "$ac_res" >&6; }
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 } # ac_fn_objc_check_header_compile
3161 # ac_fn_c_check_func LINENO FUNC VAR
3162 # ----------------------------------
3163 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3164 ac_fn_c_check_func ()
3166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3168 printf %s "checking for $2... " >&6; }
3169 if eval test \${$3+y}
3170 then :
3171 printf %s "(cached) " >&6
3172 else $as_nop
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3177 #define $2 innocuous_$2
3179 /* System header to define __stub macros and hopefully few prototypes,
3180 which can conflict with char $2 (); below. */
3182 #include <limits.h>
3183 #undef $2
3185 /* Override any GCC internal prototype to avoid an error.
3186 Use char because int might match the return type of a GCC
3187 builtin and then its argument prototype would still apply. */
3188 #ifdef __cplusplus
3189 extern "C"
3190 #endif
3191 char $2 ();
3192 /* The GNU C library defines this for functions which it implements
3193 to always fail with ENOSYS. Some functions are actually named
3194 something starting with __ and the normal name is an alias. */
3195 #if defined __stub_$2 || defined __stub___$2
3196 choke me
3197 #endif
3200 main (void)
3202 return $2 ();
3204 return 0;
3206 _ACEOF
3207 if ac_fn_c_try_link "$LINENO"
3208 then :
3209 eval "$3=yes"
3210 else $as_nop
3211 eval "$3=no"
3213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3214 conftest$ac_exeext conftest.$ac_ext
3216 eval ac_res=\$$3
3217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3218 printf "%s\n" "$ac_res" >&6; }
3219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3221 } # ac_fn_c_check_func
3223 # ac_fn_c_try_cpp LINENO
3224 # ----------------------
3225 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3226 ac_fn_c_try_cpp ()
3228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3229 if { { ac_try="$ac_cpp conftest.$ac_ext"
3230 case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3233 esac
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 printf "%s\n" "$ac_try_echo"; } >&5
3236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3237 ac_status=$?
3238 if test -s conftest.err; then
3239 grep -v '^ *+' conftest.err >conftest.er1
3240 cat conftest.er1 >&5
3241 mv -f conftest.er1 conftest.err
3243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; } > conftest.i && {
3245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3246 test ! -s conftest.err
3248 then :
3249 ac_retval=0
3250 else $as_nop
3251 printf "%s\n" "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_retval=1
3256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3257 as_fn_set_status $ac_retval
3259 } # ac_fn_c_try_cpp
3261 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3262 # ----------------------------------------------------
3263 # Tries to find if the field MEMBER exists in type AGGR, after including
3264 # INCLUDES, setting cache variable VAR accordingly.
3265 ac_fn_c_check_member ()
3267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3269 printf %s "checking for $2.$3... " >&6; }
3270 if eval test \${$4+y}
3271 then :
3272 printf %s "(cached) " >&6
3273 else $as_nop
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3278 main (void)
3280 static $2 ac_aggr;
3281 if (ac_aggr.$3)
3282 return 0;
3284 return 0;
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"
3288 then :
3289 eval "$4=yes"
3290 else $as_nop
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main (void)
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"
3305 then :
3306 eval "$4=yes"
3307 else $as_nop
3308 eval "$4=no"
3310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3314 eval ac_res=\$$4
3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3316 printf "%s\n" "$ac_res" >&6; }
3317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3319 } # ac_fn_c_check_member
3321 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3322 # -------------------------------------------
3323 # Tests whether TYPE exists after having included INCLUDES, setting cache
3324 # variable VAR accordingly.
3325 ac_fn_c_check_type ()
3327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 printf %s "checking for $2... " >&6; }
3330 if eval test \${$3+y}
3331 then :
3332 printf %s "(cached) " >&6
3333 else $as_nop
3334 eval "$3=no"
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3339 main (void)
3341 if (sizeof ($2))
3342 return 0;
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"
3348 then :
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main (void)
3355 if (sizeof (($2)))
3356 return 0;
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"
3362 then :
3364 else $as_nop
3365 eval "$3=yes"
3367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3371 eval ac_res=\$$3
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3373 printf "%s\n" "$ac_res" >&6; }
3374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3376 } # ac_fn_c_check_type
3377 ac_configure_args_raw=
3378 for ac_arg
3380 case $ac_arg in
3381 *\'*)
3382 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3383 esac
3384 as_fn_append ac_configure_args_raw " '$ac_arg'"
3385 done
3387 case $ac_configure_args_raw in
3388 *$as_nl*)
3389 ac_safe_unquote= ;;
3391 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3392 ac_unsafe_a="$ac_unsafe_z#~"
3393 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3394 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3395 esac
3397 cat >config.log <<_ACEOF
3398 This file contains any messages produced by compilers while
3399 running configure, to aid debugging if configure makes a mistake.
3401 It was created by Wine $as_me 7.0, which was
3402 generated by GNU Autoconf 2.71. Invocation command line was
3404 $ $0$ac_configure_args_raw
3406 _ACEOF
3407 exec 5>>config.log
3409 cat <<_ASUNAME
3410 ## --------- ##
3411 ## Platform. ##
3412 ## --------- ##
3414 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3415 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3416 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3417 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3418 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3420 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3421 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3423 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3424 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3425 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3426 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3427 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3428 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3429 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3431 _ASUNAME
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 for as_dir in $PATH
3436 IFS=$as_save_IFS
3437 case $as_dir in #(((
3438 '') as_dir=./ ;;
3439 */) ;;
3440 *) as_dir=$as_dir/ ;;
3441 esac
3442 printf "%s\n" "PATH: $as_dir"
3443 done
3444 IFS=$as_save_IFS
3446 } >&5
3448 cat >&5 <<_ACEOF
3451 ## ----------- ##
3452 ## Core tests. ##
3453 ## ----------- ##
3455 _ACEOF
3458 # Keep a trace of the command line.
3459 # Strip out --no-create and --no-recursion so they do not pile up.
3460 # Strip out --silent because we don't want to record it for future runs.
3461 # Also quote any args containing shell meta-characters.
3462 # Make two passes to allow for proper duplicate-argument suppression.
3463 ac_configure_args=
3464 ac_configure_args0=
3465 ac_configure_args1=
3466 ac_must_keep_next=false
3467 for ac_pass in 1 2
3469 for ac_arg
3471 case $ac_arg in
3472 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3474 | -silent | --silent | --silen | --sile | --sil)
3475 continue ;;
3476 *\'*)
3477 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3478 esac
3479 case $ac_pass in
3480 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3482 as_fn_append ac_configure_args1 " '$ac_arg'"
3483 if test $ac_must_keep_next = true; then
3484 ac_must_keep_next=false # Got value, back to normal.
3485 else
3486 case $ac_arg in
3487 *=* | --config-cache | -C | -disable-* | --disable-* \
3488 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3489 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3490 | -with-* | --with-* | -without-* | --without-* | --x)
3491 case "$ac_configure_args0 " in
3492 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3493 esac
3495 -* ) ac_must_keep_next=true ;;
3496 esac
3498 as_fn_append ac_configure_args " '$ac_arg'"
3500 esac
3501 done
3502 done
3503 { ac_configure_args0=; unset ac_configure_args0;}
3504 { ac_configure_args1=; unset ac_configure_args1;}
3506 # When interrupted or exit'd, cleanup temporary files, and complete
3507 # config.log. We remove comments because anyway the quotes in there
3508 # would cause problems or look ugly.
3509 # WARNING: Use '\'' to represent an apostrophe within the trap.
3510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3511 trap 'exit_status=$?
3512 # Sanitize IFS.
3513 IFS=" "" $as_nl"
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 printf "%s\n" "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 printf "%s\n" "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 printf "%s\n" "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 printf "%s\n" "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 printf "%s\n" "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 printf "%s\n" "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 printf "%s\n" "$as_me: caught signal $ac_signal"
3594 printf "%s\n" "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 printf "%s\n" "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3614 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3616 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3618 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3625 # Let the site file select an alternate cache file if it wants to.
3626 # Prefer an explicitly selected file to automatically selected ones.
3627 if test -n "$CONFIG_SITE"; then
3628 ac_site_files="$CONFIG_SITE"
3629 elif test "x$prefix" != xNONE; then
3630 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3631 else
3632 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3635 for ac_site_file in $ac_site_files
3637 case $ac_site_file in #(
3638 */*) :
3639 ;; #(
3640 *) :
3641 ac_site_file=./$ac_site_file ;;
3642 esac
3643 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3645 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3646 sed 's/^/| /' "$ac_site_file" >&5
3647 . "$ac_site_file" \
3648 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error $? "failed to load site script $ac_site_file
3651 See \`config.log' for more details" "$LINENO" 5; }
3653 done
3655 if test -r "$cache_file"; then
3656 # Some versions of bash will fail to source /dev/null (special files
3657 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3658 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3660 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3661 case $cache_file in
3662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3663 *) . "./$cache_file";;
3664 esac
3666 else
3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3668 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3669 >$cache_file
3672 # Test code for whether the C compiler supports C89 (global declarations)
3673 ac_c_conftest_c89_globals='
3674 /* Does the compiler advertise C89 conformance?
3675 Do not test the value of __STDC__, because some compilers set it to 0
3676 while being otherwise adequately conformant. */
3677 #if !defined __STDC__
3678 # error "Compiler does not advertise C89 conformance"
3679 #endif
3681 #include <stddef.h>
3682 #include <stdarg.h>
3683 struct stat;
3684 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3685 struct buf { int x; };
3686 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3687 static char *e (p, i)
3688 char **p;
3689 int i;
3691 return p[i];
3693 static char *f (char * (*g) (char **, int), char **p, ...)
3695 char *s;
3696 va_list v;
3697 va_start (v,p);
3698 s = g (p, va_arg (v,int));
3699 va_end (v);
3700 return s;
3703 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3704 function prototypes and stuff, but not \xHH hex character constants.
3705 These do not provoke an error unfortunately, instead are silently treated
3706 as an "x". The following induces an error, until -std is added to get
3707 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3708 array size at least. It is necessary to write \x00 == 0 to get something
3709 that is true only with -std. */
3710 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3712 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3713 inside strings and character constants. */
3714 #define FOO(x) '\''x'\''
3715 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3717 int test (int i, double x);
3718 struct s1 {int (*f) (int a);};
3719 struct s2 {int (*f) (double a);};
3720 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3721 int, int);'
3723 # Test code for whether the C compiler supports C89 (body of main).
3724 ac_c_conftest_c89_main='
3725 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3728 # Test code for whether the C compiler supports C99 (global declarations)
3729 ac_c_conftest_c99_globals='
3730 // Does the compiler advertise C99 conformance?
3731 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3732 # error "Compiler does not advertise C99 conformance"
3733 #endif
3735 #include <stdbool.h>
3736 extern int puts (const char *);
3737 extern int printf (const char *, ...);
3738 extern int dprintf (int, const char *, ...);
3739 extern void *malloc (size_t);
3741 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3742 // dprintf is used instead of fprintf to avoid needing to declare
3743 // FILE and stderr.
3744 #define debug(...) dprintf (2, __VA_ARGS__)
3745 #define showlist(...) puts (#__VA_ARGS__)
3746 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3747 static void
3748 test_varargs_macros (void)
3750 int x = 1234;
3751 int y = 5678;
3752 debug ("Flag");
3753 debug ("X = %d\n", x);
3754 showlist (The first, second, and third items.);
3755 report (x>y, "x is %d but y is %d", x, y);
3758 // Check long long types.
3759 #define BIG64 18446744073709551615ull
3760 #define BIG32 4294967295ul
3761 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3762 #if !BIG_OK
3763 #error "your preprocessor is broken"
3764 #endif
3765 #if BIG_OK
3766 #else
3767 #error "your preprocessor is broken"
3768 #endif
3769 static long long int bignum = -9223372036854775807LL;
3770 static unsigned long long int ubignum = BIG64;
3772 struct incomplete_array
3774 int datasize;
3775 double data[];
3778 struct named_init {
3779 int number;
3780 const wchar_t *name;
3781 double average;
3784 typedef const char *ccp;
3786 static inline int
3787 test_restrict (ccp restrict text)
3789 // See if C++-style comments work.
3790 // Iterate through items via the restricted pointer.
3791 // Also check for declarations in for loops.
3792 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3793 continue;
3794 return 0;
3797 // Check varargs and va_copy.
3798 static bool
3799 test_varargs (const char *format, ...)
3801 va_list args;
3802 va_start (args, format);
3803 va_list args_copy;
3804 va_copy (args_copy, args);
3806 const char *str = "";
3807 int number = 0;
3808 float fnumber = 0;
3810 while (*format)
3812 switch (*format++)
3814 case '\''s'\'': // string
3815 str = va_arg (args_copy, const char *);
3816 break;
3817 case '\''d'\'': // int
3818 number = va_arg (args_copy, int);
3819 break;
3820 case '\''f'\'': // float
3821 fnumber = va_arg (args_copy, double);
3822 break;
3823 default:
3824 break;
3827 va_end (args_copy);
3828 va_end (args);
3830 return *str && number && fnumber;
3834 # Test code for whether the C compiler supports C99 (body of main).
3835 ac_c_conftest_c99_main='
3836 // Check bool.
3837 _Bool success = false;
3838 success |= (argc != 0);
3840 // Check restrict.
3841 if (test_restrict ("String literal") == 0)
3842 success = true;
3843 char *restrict newvar = "Another string";
3845 // Check varargs.
3846 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3847 test_varargs_macros ();
3849 // Check flexible array members.
3850 struct incomplete_array *ia =
3851 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3852 ia->datasize = 10;
3853 for (int i = 0; i < ia->datasize; ++i)
3854 ia->data[i] = i * 1.234;
3856 // Check named initializers.
3857 struct named_init ni = {
3858 .number = 34,
3859 .name = L"Test wide string",
3860 .average = 543.34343,
3863 ni.number = 58;
3865 int dynamic_array[ni.number];
3866 dynamic_array[0] = argv[0][0];
3867 dynamic_array[ni.number - 1] = 543;
3869 // work around unused variable warnings
3870 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3871 || dynamic_array[ni.number - 1] != 543);
3874 # Test code for whether the C compiler supports C11 (global declarations)
3875 ac_c_conftest_c11_globals='
3876 // Does the compiler advertise C11 conformance?
3877 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3878 # error "Compiler does not advertise C11 conformance"
3879 #endif
3881 // Check _Alignas.
3882 char _Alignas (double) aligned_as_double;
3883 char _Alignas (0) no_special_alignment;
3884 extern char aligned_as_int;
3885 char _Alignas (0) _Alignas (int) aligned_as_int;
3887 // Check _Alignof.
3888 enum
3890 int_alignment = _Alignof (int),
3891 int_array_alignment = _Alignof (int[100]),
3892 char_alignment = _Alignof (char)
3894 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3896 // Check _Noreturn.
3897 int _Noreturn does_not_return (void) { for (;;) continue; }
3899 // Check _Static_assert.
3900 struct test_static_assert
3902 int x;
3903 _Static_assert (sizeof (int) <= sizeof (long int),
3904 "_Static_assert does not work in struct");
3905 long int y;
3908 // Check UTF-8 literals.
3909 #define u8 syntax error!
3910 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3912 // Check duplicate typedefs.
3913 typedef long *long_ptr;
3914 typedef long int *long_ptr;
3915 typedef long_ptr long_ptr;
3917 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3918 struct anonymous
3920 union {
3921 struct { int i; int j; };
3922 struct { int k; long int l; } w;
3924 int m;
3925 } v1;
3928 # Test code for whether the C compiler supports C11 (body of main).
3929 ac_c_conftest_c11_main='
3930 _Static_assert ((offsetof (struct anonymous, i)
3931 == offsetof (struct anonymous, w.k)),
3932 "Anonymous union alignment botch");
3933 v1.i = 2;
3934 v1.w.k = 5;
3935 ok |= v1.i != 5;
3938 # Test code for whether the C compiler supports C11 (complete).
3939 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3940 ${ac_c_conftest_c99_globals}
3941 ${ac_c_conftest_c11_globals}
3944 main (int argc, char **argv)
3946 int ok = 0;
3947 ${ac_c_conftest_c89_main}
3948 ${ac_c_conftest_c99_main}
3949 ${ac_c_conftest_c11_main}
3950 return ok;
3954 # Test code for whether the C compiler supports C99 (complete).
3955 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3956 ${ac_c_conftest_c99_globals}
3959 main (int argc, char **argv)
3961 int ok = 0;
3962 ${ac_c_conftest_c89_main}
3963 ${ac_c_conftest_c99_main}
3964 return ok;
3968 # Test code for whether the C compiler supports C89 (complete).
3969 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3972 main (int argc, char **argv)
3974 int ok = 0;
3975 ${ac_c_conftest_c89_main}
3976 return ok;
3980 # Test code for whether the C++ compiler supports C++98 (global declarations)
3981 ac_cxx_conftest_cxx98_globals='
3982 // Does the compiler advertise C++98 conformance?
3983 #if !defined __cplusplus || __cplusplus < 199711L
3984 # error "Compiler does not advertise C++98 conformance"
3985 #endif
3987 // These inclusions are to reject old compilers that
3988 // lack the unsuffixed header files.
3989 #include <cstdlib>
3990 #include <exception>
3992 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3993 extern void assert (int);
3994 namespace std {
3995 extern int strcmp (const char *, const char *);
3998 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3999 using std::exception;
4000 using std::strcmp;
4002 namespace {
4004 void test_exception_syntax()
4006 try {
4007 throw "test";
4008 } catch (const char *s) {
4009 // Extra parentheses suppress a warning when building autoconf itself,
4010 // due to lint rules shared with more typical C programs.
4011 assert (!(strcmp) (s, "test"));
4015 template <typename T> struct test_template
4017 T const val;
4018 explicit test_template(T t) : val(t) {}
4019 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4022 } // anonymous namespace
4025 # Test code for whether the C++ compiler supports C++98 (body of main)
4026 ac_cxx_conftest_cxx98_main='
4027 assert (argc);
4028 assert (! argv[0]);
4030 test_exception_syntax ();
4031 test_template<double> tt (2.0);
4032 assert (tt.add (4) == 6.0);
4033 assert (true && !false);
4037 # Test code for whether the C++ compiler supports C++11 (global declarations)
4038 ac_cxx_conftest_cxx11_globals='
4039 // Does the compiler advertise C++ 2011 conformance?
4040 #if !defined __cplusplus || __cplusplus < 201103L
4041 # error "Compiler does not advertise C++11 conformance"
4042 #endif
4044 namespace cxx11test
4046 constexpr int get_val() { return 20; }
4048 struct testinit
4050 int i;
4051 double d;
4054 class delegate
4056 public:
4057 delegate(int n) : n(n) {}
4058 delegate(): delegate(2354) {}
4060 virtual int getval() { return this->n; };
4061 protected:
4062 int n;
4065 class overridden : public delegate
4067 public:
4068 overridden(int n): delegate(n) {}
4069 virtual int getval() override final { return this->n * 2; }
4072 class nocopy
4074 public:
4075 nocopy(int i): i(i) {}
4076 nocopy() = default;
4077 nocopy(const nocopy&) = delete;
4078 nocopy & operator=(const nocopy&) = delete;
4079 private:
4080 int i;
4083 // for testing lambda expressions
4084 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4086 return f(v);
4089 // for testing variadic templates and trailing return types
4090 template <typename V> auto sum(V first) -> V
4092 return first;
4094 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4096 return first + sum(rest...);
4101 # Test code for whether the C++ compiler supports C++11 (body of main)
4102 ac_cxx_conftest_cxx11_main='
4104 // Test auto and decltype
4105 auto a1 = 6538;
4106 auto a2 = 48573953.4;
4107 auto a3 = "String literal";
4109 int total = 0;
4110 for (auto i = a3; *i; ++i) { total += *i; }
4112 decltype(a2) a4 = 34895.034;
4115 // Test constexpr
4116 short sa[cxx11test::get_val()] = { 0 };
4119 // Test initializer lists
4120 cxx11test::testinit il = { 4323, 435234.23544 };
4123 // Test range-based for
4124 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4125 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4126 for (auto &x : array) { x += 23; }
4129 // Test lambda expressions
4130 using cxx11test::eval;
4131 assert (eval ([](int x) { return x*2; }, 21) == 42);
4132 double d = 2.0;
4133 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4134 assert (d == 5.0);
4135 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4136 assert (d == 5.0);
4139 // Test use of variadic templates
4140 using cxx11test::sum;
4141 auto a = sum(1);
4142 auto b = sum(1, 2);
4143 auto c = sum(1.0, 2.0, 3.0);
4146 // Test constructor delegation
4147 cxx11test::delegate d1;
4148 cxx11test::delegate d2();
4149 cxx11test::delegate d3(45);
4152 // Test override and final
4153 cxx11test::overridden o1(55464);
4156 // Test nullptr
4157 char *c = nullptr;
4160 // Test template brackets
4161 test_template<::test_template<int>> v(test_template<int>(12));
4164 // Unicode literals
4165 char const *utf8 = u8"UTF-8 string \u2500";
4166 char16_t const *utf16 = u"UTF-8 string \u2500";
4167 char32_t const *utf32 = U"UTF-32 string \u2500";
4171 # Test code for whether the C compiler supports C++11 (complete).
4172 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4173 ${ac_cxx_conftest_cxx11_globals}
4176 main (int argc, char **argv)
4178 int ok = 0;
4179 ${ac_cxx_conftest_cxx98_main}
4180 ${ac_cxx_conftest_cxx11_main}
4181 return ok;
4185 # Test code for whether the C compiler supports C++98 (complete).
4186 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4188 main (int argc, char **argv)
4190 int ok = 0;
4191 ${ac_cxx_conftest_cxx98_main}
4192 return ok;
4196 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4197 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4198 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4199 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4200 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4201 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4202 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4203 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4204 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4206 # Auxiliary files required by this configure script.
4207 ac_aux_files="config.guess config.sub"
4209 # Locations in which to look for auxiliary files.
4210 ac_aux_dir_candidates="${srcdir}/tools"
4212 # Search for a directory containing all of the required auxiliary files,
4213 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4214 # If we don't find one directory that contains all the files we need,
4215 # we report the set of missing files from the *first* directory in
4216 # $ac_aux_dir_candidates and give up.
4217 ac_missing_aux_files=""
4218 ac_first_candidate=:
4219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 as_found=false
4222 for as_dir in $ac_aux_dir_candidates
4224 IFS=$as_save_IFS
4225 case $as_dir in #(((
4226 '') as_dir=./ ;;
4227 */) ;;
4228 *) as_dir=$as_dir/ ;;
4229 esac
4230 as_found=:
4232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4233 ac_aux_dir_found=yes
4234 ac_install_sh=
4235 for ac_aux in $ac_aux_files
4237 # As a special case, if "install-sh" is required, that requirement
4238 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4239 # and $ac_install_sh is set appropriately for whichever one is found.
4240 if test x"$ac_aux" = x"install-sh"
4241 then
4242 if test -f "${as_dir}install-sh"; then
4243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4244 ac_install_sh="${as_dir}install-sh -c"
4245 elif test -f "${as_dir}install.sh"; then
4246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4247 ac_install_sh="${as_dir}install.sh -c"
4248 elif test -f "${as_dir}shtool"; then
4249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4250 ac_install_sh="${as_dir}shtool install -c"
4251 else
4252 ac_aux_dir_found=no
4253 if $ac_first_candidate; then
4254 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4255 else
4256 break
4259 else
4260 if test -f "${as_dir}${ac_aux}"; then
4261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4262 else
4263 ac_aux_dir_found=no
4264 if $ac_first_candidate; then
4265 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4266 else
4267 break
4271 done
4272 if test "$ac_aux_dir_found" = yes; then
4273 ac_aux_dir="$as_dir"
4274 break
4276 ac_first_candidate=false
4278 as_found=false
4279 done
4280 IFS=$as_save_IFS
4281 if $as_found
4282 then :
4284 else $as_nop
4285 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4289 # These three variables are undocumented and unsupported,
4290 # and are intended to be withdrawn in a future Autoconf release.
4291 # They can cause serious problems if a builder's source tree is in a directory
4292 # whose full name contains unusual characters.
4293 if test -f "${ac_aux_dir}config.guess"; then
4294 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4296 if test -f "${ac_aux_dir}config.sub"; then
4297 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4299 if test -f "$ac_aux_dir/configure"; then
4300 ac_configure="$SHELL ${ac_aux_dir}configure"
4303 # Check that the precious variables saved in the cache have kept the same
4304 # value.
4305 ac_cache_corrupted=false
4306 for ac_var in $ac_precious_vars; do
4307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4308 eval ac_new_set=\$ac_env_${ac_var}_set
4309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4310 eval ac_new_val=\$ac_env_${ac_var}_value
4311 case $ac_old_set,$ac_new_set in
4312 set,)
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4314 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4315 ac_cache_corrupted=: ;;
4316 ,set)
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4318 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4319 ac_cache_corrupted=: ;;
4320 ,);;
4322 if test "x$ac_old_val" != "x$ac_new_val"; then
4323 # differences in whitespace do not lead to failure.
4324 ac_old_val_w=`echo x $ac_old_val`
4325 ac_new_val_w=`echo x $ac_new_val`
4326 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4328 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4329 ac_cache_corrupted=:
4330 else
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4332 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4333 eval $ac_var=\$ac_old_val
4335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4336 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4338 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4339 fi;;
4340 esac
4341 # Pass precious variables to config.status.
4342 if test "$ac_new_set" = set; then
4343 case $ac_new_val in
4344 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4345 *) ac_arg=$ac_var=$ac_new_val ;;
4346 esac
4347 case " $ac_configure_args " in
4348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4349 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4350 esac
4352 done
4353 if $ac_cache_corrupted; then
4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4357 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4358 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4359 and start over" "$LINENO" 5
4361 ## -------------------- ##
4362 ## Main body of script. ##
4363 ## -------------------- ##
4365 ac_ext=c
4366 ac_cpp='$CPP $CPPFLAGS'
4367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4373 ac_config_headers="$ac_config_headers include/config.h"
4377 libwine_version="1.0"
4380 # Check whether --enable-win16 was given.
4381 if test ${enable_win16+y}
4382 then :
4383 enableval=$enable_win16;
4386 # Check whether --enable-win64 was given.
4387 if test ${enable_win64+y}
4388 then :
4389 enableval=$enable_win64;
4392 # Check whether --enable-tests was given.
4393 if test ${enable_tests+y}
4394 then :
4395 enableval=$enable_tests;
4398 # Check whether --enable-build-id was given.
4399 if test ${enable_build_id+y}
4400 then :
4401 enableval=$enable_build_id;
4404 # Check whether --enable-maintainer-mode was given.
4405 if test ${enable_maintainer_mode+y}
4406 then :
4407 enableval=$enable_maintainer_mode;
4410 # Check whether --enable-silent-rules was given.
4411 if test ${enable_silent_rules+y}
4412 then :
4413 enableval=$enable_silent_rules;
4416 # Check whether --enable-werror was given.
4417 if test ${enable_werror+y}
4418 then :
4419 enableval=$enable_werror;
4424 # Check whether --with-alsa was given.
4425 if test ${with_alsa+y}
4426 then :
4427 withval=$with_alsa;
4431 # Check whether --with-capi was given.
4432 if test ${with_capi+y}
4433 then :
4434 withval=$with_capi;
4438 # Check whether --with-coreaudio was given.
4439 if test ${with_coreaudio+y}
4440 then :
4441 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4445 # Check whether --with-cups was given.
4446 if test ${with_cups+y}
4447 then :
4448 withval=$with_cups;
4452 # Check whether --with-dbus was given.
4453 if test ${with_dbus+y}
4454 then :
4455 withval=$with_dbus;
4459 # Check whether --with-float-abi was given.
4460 if test ${with_float_abi+y}
4461 then :
4462 withval=$with_float_abi;
4466 # Check whether --with-fontconfig was given.
4467 if test ${with_fontconfig+y}
4468 then :
4469 withval=$with_fontconfig;
4473 # Check whether --with-freetype was given.
4474 if test ${with_freetype+y}
4475 then :
4476 withval=$with_freetype;
4480 # Check whether --with-gettext was given.
4481 if test ${with_gettext+y}
4482 then :
4483 withval=$with_gettext;
4487 # Check whether --with-gettextpo was given.
4488 if test ${with_gettextpo+y}
4489 then :
4490 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4494 # Check whether --with-gphoto was given.
4495 if test ${with_gphoto+y}
4496 then :
4497 withval=$with_gphoto;
4501 # Check whether --with-gnutls was given.
4502 if test ${with_gnutls+y}
4503 then :
4504 withval=$with_gnutls;
4508 # Check whether --with-gssapi was given.
4509 if test ${with_gssapi+y}
4510 then :
4511 withval=$with_gssapi;
4515 # Check whether --with-gstreamer was given.
4516 if test ${with_gstreamer+y}
4517 then :
4518 withval=$with_gstreamer;
4522 # Check whether --with-inotify was given.
4523 if test ${with_inotify+y}
4524 then :
4525 withval=$with_inotify;
4529 # Check whether --with-krb5 was given.
4530 if test ${with_krb5+y}
4531 then :
4532 withval=$with_krb5;
4536 # Check whether --with-ldap was given.
4537 if test ${with_ldap+y}
4538 then :
4539 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4543 # Check whether --with-mingw was given.
4544 if test ${with_mingw+y}
4545 then :
4546 withval=$with_mingw;
4550 # Check whether --with-netapi was given.
4551 if test ${with_netapi+y}
4552 then :
4553 withval=$with_netapi;
4557 # Check whether --with-openal was given.
4558 if test ${with_openal+y}
4559 then :
4560 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4564 # Check whether --with-opencl was given.
4565 if test ${with_opencl+y}
4566 then :
4567 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4571 # Check whether --with-opengl was given.
4572 if test ${with_opengl+y}
4573 then :
4574 withval=$with_opengl;
4578 # Check whether --with-osmesa was given.
4579 if test ${with_osmesa+y}
4580 then :
4581 withval=$with_osmesa;
4585 # Check whether --with-oss was given.
4586 if test ${with_oss+y}
4587 then :
4588 withval=$with_oss;
4592 # Check whether --with-pcap was given.
4593 if test ${with_pcap+y}
4594 then :
4595 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4599 # Check whether --with-pthread was given.
4600 if test ${with_pthread+y}
4601 then :
4602 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4606 # Check whether --with-pulse was given.
4607 if test ${with_pulse+y}
4608 then :
4609 withval=$with_pulse;
4613 # Check whether --with-sane was given.
4614 if test ${with_sane+y}
4615 then :
4616 withval=$with_sane;
4620 # Check whether --with-sdl was given.
4621 if test ${with_sdl+y}
4622 then :
4623 withval=$with_sdl;
4627 # Check whether --with-udev was given.
4628 if test ${with_udev+y}
4629 then :
4630 withval=$with_udev;
4634 # Check whether --with-unwind was given.
4635 if test ${with_unwind+y}
4636 then :
4637 withval=$with_unwind;
4641 # Check whether --with-usb was given.
4642 if test ${with_usb+y}
4643 then :
4644 withval=$with_usb;
4648 # Check whether --with-v4l2 was given.
4649 if test ${with_v4l2+y}
4650 then :
4651 withval=$with_v4l2;
4655 # Check whether --with-vkd3d was given.
4656 if test ${with_vkd3d+y}
4657 then :
4658 withval=$with_vkd3d;
4662 # Check whether --with-vulkan was given.
4663 if test ${with_vulkan+y}
4664 then :
4665 withval=$with_vulkan;
4669 # Check whether --with-xcomposite was given.
4670 if test ${with_xcomposite+y}
4671 then :
4672 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4676 # Check whether --with-xcursor was given.
4677 if test ${with_xcursor+y}
4678 then :
4679 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4683 # Check whether --with-xfixes was given.
4684 if test ${with_xfixes+y}
4685 then :
4686 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4690 # Check whether --with-xinerama was given.
4691 if test ${with_xinerama+y}
4692 then :
4693 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4697 # Check whether --with-xinput was given.
4698 if test ${with_xinput+y}
4699 then :
4700 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4704 # Check whether --with-xinput2 was given.
4705 if test ${with_xinput2+y}
4706 then :
4707 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4711 # Check whether --with-xrandr was given.
4712 if test ${with_xrandr+y}
4713 then :
4714 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4718 # Check whether --with-xrender was given.
4719 if test ${with_xrender+y}
4720 then :
4721 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4725 # Check whether --with-xshape was given.
4726 if test ${with_xshape+y}
4727 then :
4728 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4732 # Check whether --with-xshm was given.
4733 if test ${with_xshm+y}
4734 then :
4735 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4739 # Check whether --with-xxf86vm was given.
4740 if test ${with_xxf86vm+y}
4741 then :
4742 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
4747 # Check whether --with-system-dllpath was given.
4748 if test ${with_system_dllpath+y}
4749 then :
4750 withval=$with_system_dllpath; system_dllpath=$withval
4755 # Check whether --with-wine-tools was given.
4756 if test ${with_wine_tools+y}
4757 then :
4758 withval=$with_wine_tools;
4762 # Check whether --with-wine64 was given.
4763 if test ${with_wine64+y}
4764 then :
4765 withval=$with_wine64;
4772 # Make sure we can run config.sub.
4773 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4774 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4777 printf %s "checking build system type... " >&6; }
4778 if test ${ac_cv_build+y}
4779 then :
4780 printf %s "(cached) " >&6
4781 else $as_nop
4782 ac_build_alias=$build_alias
4783 test "x$ac_build_alias" = x &&
4784 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4785 test "x$ac_build_alias" = x &&
4786 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4787 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4788 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4792 printf "%s\n" "$ac_cv_build" >&6; }
4793 case $ac_cv_build in
4794 *-*-*) ;;
4795 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4796 esac
4797 build=$ac_cv_build
4798 ac_save_IFS=$IFS; IFS='-'
4799 set x $ac_cv_build
4800 shift
4801 build_cpu=$1
4802 build_vendor=$2
4803 shift; shift
4804 # Remember, the first character of IFS is used to create $*,
4805 # except with old shells:
4806 build_os=$*
4807 IFS=$ac_save_IFS
4808 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4812 printf %s "checking host system type... " >&6; }
4813 if test ${ac_cv_host+y}
4814 then :
4815 printf %s "(cached) " >&6
4816 else $as_nop
4817 if test "x$host_alias" = x; then
4818 ac_cv_host=$ac_cv_build
4819 else
4820 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4821 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4826 printf "%s\n" "$ac_cv_host" >&6; }
4827 case $ac_cv_host in
4828 *-*-*) ;;
4829 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4830 esac
4831 host=$ac_cv_host
4832 ac_save_IFS=$IFS; IFS='-'
4833 set x $ac_cv_host
4834 shift
4835 host_cpu=$1
4836 host_vendor=$2
4837 shift; shift
4838 # Remember, the first character of IFS is used to create $*,
4839 # except with old shells:
4840 host_os=$*
4841 IFS=$ac_save_IFS
4842 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4846 dlldir=\${libdir}/wine
4848 fontdir=\${datadir}/wine/fonts
4850 nlsdir=\${datadir}/wine/nls
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4856 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4857 set x ${MAKE-make}
4858 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4859 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4860 then :
4861 printf %s "(cached) " >&6
4862 else $as_nop
4863 cat >conftest.make <<\_ACEOF
4864 SHELL = /bin/sh
4865 all:
4866 @echo '@@@%%%=$(MAKE)=@@@%%%'
4867 _ACEOF
4868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4870 *@@@%%%=?*=@@@%%%*)
4871 eval ac_cv_prog_make_${ac_make}_set=yes;;
4873 eval ac_cv_prog_make_${ac_make}_set=no;;
4874 esac
4875 rm -f conftest.make
4877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4879 printf "%s\n" "yes" >&6; }
4880 SET_MAKE=
4881 else
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883 printf "%s\n" "no" >&6; }
4884 SET_MAKE="MAKE=${MAKE-make}"
4896 ac_ext=c
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 printf %s "checking for $ac_word... " >&6; }
4906 if test ${ac_cv_prog_CC+y}
4907 then :
4908 printf %s "(cached) " >&6
4909 else $as_nop
4910 if test -n "$CC"; then
4911 ac_cv_prog_CC="$CC" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4916 IFS=$as_save_IFS
4917 case $as_dir in #(((
4918 '') as_dir=./ ;;
4919 */) ;;
4920 *) as_dir=$as_dir/ ;;
4921 esac
4922 for ac_exec_ext in '' $ac_executable_extensions; do
4923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4924 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4926 break 2
4928 done
4929 done
4930 IFS=$as_save_IFS
4934 CC=$ac_cv_prog_CC
4935 if test -n "$CC"; then
4936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4937 printf "%s\n" "$CC" >&6; }
4938 else
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 printf "%s\n" "no" >&6; }
4945 if test -z "$ac_cv_prog_CC"; then
4946 ac_ct_CC=$CC
4947 # Extract the first word of "gcc", so it can be a program name with args.
4948 set dummy gcc; ac_word=$2
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 printf %s "checking for $ac_word... " >&6; }
4951 if test ${ac_cv_prog_ac_ct_CC+y}
4952 then :
4953 printf %s "(cached) " >&6
4954 else $as_nop
4955 if test -n "$ac_ct_CC"; then
4956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 case $as_dir in #(((
4963 '') as_dir=./ ;;
4964 */) ;;
4965 *) as_dir=$as_dir/ ;;
4966 esac
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_CC="gcc"
4970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4980 if test -n "$ac_ct_CC"; then
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4982 printf "%s\n" "$ac_ct_CC" >&6; }
4983 else
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 printf "%s\n" "no" >&6; }
4988 if test "x$ac_ct_CC" = x; then
4989 CC=""
4990 else
4991 case $cross_compiling:$ac_tool_warned in
4992 yes:)
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4994 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4995 ac_tool_warned=yes ;;
4996 esac
4997 CC=$ac_ct_CC
4999 else
5000 CC="$ac_cv_prog_CC"
5003 if test -z "$CC"; then
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5006 set dummy ${ac_tool_prefix}cc; ac_word=$2
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 printf %s "checking for $ac_word... " >&6; }
5009 if test ${ac_cv_prog_CC+y}
5010 then :
5011 printf %s "(cached) " >&6
5012 else $as_nop
5013 if test -n "$CC"; then
5014 ac_cv_prog_CC="$CC" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 case $as_dir in #(((
5021 '') as_dir=./ ;;
5022 */) ;;
5023 *) as_dir=$as_dir/ ;;
5024 esac
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CC="${ac_tool_prefix}cc"
5028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 CC=$ac_cv_prog_CC
5038 if test -n "$CC"; then
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5040 printf "%s\n" "$CC" >&6; }
5041 else
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 printf "%s\n" "no" >&6; }
5049 if test -z "$CC"; then
5050 # Extract the first word of "cc", so it can be a program name with args.
5051 set dummy cc; ac_word=$2
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 printf %s "checking for $ac_word... " >&6; }
5054 if test ${ac_cv_prog_CC+y}
5055 then :
5056 printf %s "(cached) " >&6
5057 else $as_nop
5058 if test -n "$CC"; then
5059 ac_cv_prog_CC="$CC" # Let the user override the test.
5060 else
5061 ac_prog_rejected=no
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 case $as_dir in #(((
5067 '') as_dir=./ ;;
5068 */) ;;
5069 *) as_dir=$as_dir/ ;;
5070 esac
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5073 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5074 ac_prog_rejected=yes
5075 continue
5077 ac_cv_prog_CC="cc"
5078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5085 if test $ac_prog_rejected = yes; then
5086 # We found a bogon in the path, so make sure we never use it.
5087 set dummy $ac_cv_prog_CC
5088 shift
5089 if test $# != 0; then
5090 # We chose a different compiler from the bogus one.
5091 # However, it has the same basename, so the bogon will be chosen
5092 # first if we set CC to just the basename; use the full file name.
5093 shift
5094 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5099 CC=$ac_cv_prog_CC
5100 if test -n "$CC"; then
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5102 printf "%s\n" "$CC" >&6; }
5103 else
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 printf "%s\n" "no" >&6; }
5110 if test -z "$CC"; then
5111 if test -n "$ac_tool_prefix"; then
5112 for ac_prog in cl.exe
5114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 printf %s "checking for $ac_word... " >&6; }
5118 if test ${ac_cv_prog_CC+y}
5119 then :
5120 printf %s "(cached) " >&6
5121 else $as_nop
5122 if test -n "$CC"; then
5123 ac_cv_prog_CC="$CC" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 case $as_dir in #(((
5130 '') as_dir=./ ;;
5131 */) ;;
5132 *) as_dir=$as_dir/ ;;
5133 esac
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 CC=$ac_cv_prog_CC
5147 if test -n "$CC"; then
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5149 printf "%s\n" "$CC" >&6; }
5150 else
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 printf "%s\n" "no" >&6; }
5156 test -n "$CC" && break
5157 done
5159 if test -z "$CC"; then
5160 ac_ct_CC=$CC
5161 for ac_prog in cl.exe
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 printf %s "checking for $ac_word... " >&6; }
5167 if test ${ac_cv_prog_ac_ct_CC+y}
5168 then :
5169 printf %s "(cached) " >&6
5170 else $as_nop
5171 if test -n "$ac_ct_CC"; then
5172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 case $as_dir in #(((
5179 '') as_dir=./ ;;
5180 */) ;;
5181 *) as_dir=$as_dir/ ;;
5182 esac
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_CC="$ac_prog"
5186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5196 if test -n "$ac_ct_CC"; then
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5198 printf "%s\n" "$ac_ct_CC" >&6; }
5199 else
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 printf "%s\n" "no" >&6; }
5205 test -n "$ac_ct_CC" && break
5206 done
5208 if test "x$ac_ct_CC" = x; then
5209 CC=""
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 CC=$ac_ct_CC
5222 if test -z "$CC"; then
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}clang; ac_word=$2
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 printf %s "checking for $ac_word... " >&6; }
5228 if test ${ac_cv_prog_CC+y}
5229 then :
5230 printf %s "(cached) " >&6
5231 else $as_nop
5232 if test -n "$CC"; then
5233 ac_cv_prog_CC="$CC" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 case $as_dir in #(((
5240 '') as_dir=./ ;;
5241 */) ;;
5242 *) as_dir=$as_dir/ ;;
5243 esac
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_CC="${ac_tool_prefix}clang"
5247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5248 break 2
5250 done
5251 done
5252 IFS=$as_save_IFS
5256 CC=$ac_cv_prog_CC
5257 if test -n "$CC"; then
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5259 printf "%s\n" "$CC" >&6; }
5260 else
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 printf "%s\n" "no" >&6; }
5267 if test -z "$ac_cv_prog_CC"; then
5268 ac_ct_CC=$CC
5269 # Extract the first word of "clang", so it can be a program name with args.
5270 set dummy clang; ac_word=$2
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 printf %s "checking for $ac_word... " >&6; }
5273 if test ${ac_cv_prog_ac_ct_CC+y}
5274 then :
5275 printf %s "(cached) " >&6
5276 else $as_nop
5277 if test -n "$ac_ct_CC"; then
5278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 case $as_dir in #(((
5285 '') as_dir=./ ;;
5286 */) ;;
5287 *) as_dir=$as_dir/ ;;
5288 esac
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_CC="clang"
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5302 if test -n "$ac_ct_CC"; then
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5304 printf "%s\n" "$ac_ct_CC" >&6; }
5305 else
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 printf "%s\n" "no" >&6; }
5310 if test "x$ac_ct_CC" = x; then
5311 CC=""
5312 else
5313 case $cross_compiling:$ac_tool_warned in
5314 yes:)
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned=yes ;;
5318 esac
5319 CC=$ac_ct_CC
5321 else
5322 CC="$ac_cv_prog_CC"
5328 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5329 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5330 as_fn_error $? "no acceptable C compiler found in \$PATH
5331 See \`config.log' for more details" "$LINENO" 5; }
5333 # Provide some information about the compiler.
5334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5335 set X $ac_compile
5336 ac_compiler=$2
5337 for ac_option in --version -v -V -qversion -version; do
5338 { { ac_try="$ac_compiler $ac_option >&5"
5339 case "(($ac_try" in
5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5342 esac
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 printf "%s\n" "$ac_try_echo"; } >&5
5345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5346 ac_status=$?
5347 if test -s conftest.err; then
5348 sed '10a\
5349 ... rest of stderr output deleted ...
5350 10q' conftest.err >conftest.er1
5351 cat conftest.er1 >&5
5353 rm -f conftest.er1 conftest.err
5354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5355 test $ac_status = 0; }
5356 done
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main (void)
5366 return 0;
5368 _ACEOF
5369 ac_clean_files_save=$ac_clean_files
5370 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5371 # Try to create an executable without -o first, disregard a.out.
5372 # It will help us diagnose broken compilers, and finding out an intuition
5373 # of exeext.
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5375 printf %s "checking whether the C compiler works... " >&6; }
5376 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5378 # The possible output files:
5379 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5381 ac_rmfiles=
5382 for ac_file in $ac_files
5384 case $ac_file in
5385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5386 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5387 esac
5388 done
5389 rm -f $ac_rmfiles
5391 if { { ac_try="$ac_link_default"
5392 case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5395 esac
5396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5397 printf "%s\n" "$ac_try_echo"; } >&5
5398 (eval "$ac_link_default") 2>&5
5399 ac_status=$?
5400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401 test $ac_status = 0; }
5402 then :
5403 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5404 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5405 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5406 # so that the user can short-circuit this test for compilers unknown to
5407 # Autoconf.
5408 for ac_file in $ac_files ''
5410 test -f "$ac_file" || continue
5411 case $ac_file in
5412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5414 [ab].out )
5415 # We found the default executable, but exeext='' is most
5416 # certainly right.
5417 break;;
5418 *.* )
5419 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5420 then :; else
5421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5423 # We set ac_cv_exeext here because the later test for it is not
5424 # safe: cross compilers may not add the suffix if given an `-o'
5425 # argument, so we may need to know it at that point already.
5426 # Even if this section looks crufty: it has the advantage of
5427 # actually working.
5428 break;;
5430 break;;
5431 esac
5432 done
5433 test "$ac_cv_exeext" = no && ac_cv_exeext=
5435 else $as_nop
5436 ac_file=''
5438 if test -z "$ac_file"
5439 then :
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 printf "%s\n" "no" >&6; }
5442 printf "%s\n" "$as_me: failed program was:" >&5
5443 sed 's/^/| /' conftest.$ac_ext >&5
5445 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5446 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5447 as_fn_error 77 "C compiler cannot create executables
5448 See \`config.log' for more details" "$LINENO" 5; }
5449 else $as_nop
5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5451 printf "%s\n" "yes" >&6; }
5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5454 printf %s "checking for C compiler default output file name... " >&6; }
5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5456 printf "%s\n" "$ac_file" >&6; }
5457 ac_exeext=$ac_cv_exeext
5459 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5460 ac_clean_files=$ac_clean_files_save
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5462 printf %s "checking for suffix of executables... " >&6; }
5463 if { { ac_try="$ac_link"
5464 case "(($ac_try" in
5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5467 esac
5468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5469 printf "%s\n" "$ac_try_echo"; } >&5
5470 (eval "$ac_link") 2>&5
5471 ac_status=$?
5472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5473 test $ac_status = 0; }
5474 then :
5475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5477 # work properly (i.e., refer to `conftest.exe'), while it won't with
5478 # `rm'.
5479 for ac_file in conftest.exe conftest conftest.*; do
5480 test -f "$ac_file" || continue
5481 case $ac_file in
5482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5484 break;;
5485 * ) break;;
5486 esac
5487 done
5488 else $as_nop
5489 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5490 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5491 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5492 See \`config.log' for more details" "$LINENO" 5; }
5494 rm -f conftest conftest$ac_cv_exeext
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5496 printf "%s\n" "$ac_cv_exeext" >&6; }
5498 rm -f conftest.$ac_ext
5499 EXEEXT=$ac_cv_exeext
5500 ac_exeext=$EXEEXT
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 #include <stdio.h>
5505 main (void)
5507 FILE *f = fopen ("conftest.out", "w");
5508 return ferror (f) || fclose (f) != 0;
5511 return 0;
5513 _ACEOF
5514 ac_clean_files="$ac_clean_files conftest.out"
5515 # Check that the compiler produces executables we can run. If not, either
5516 # the compiler is broken, or we cross compile.
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5518 printf %s "checking whether we are cross compiling... " >&6; }
5519 if test "$cross_compiling" != yes; then
5520 { { ac_try="$ac_link"
5521 case "(($ac_try" in
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5524 esac
5525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5526 printf "%s\n" "$ac_try_echo"; } >&5
5527 (eval "$ac_link") 2>&5
5528 ac_status=$?
5529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test $ac_status = 0; }
5531 if { ac_try='./conftest$ac_cv_exeext'
5532 { { case "(($ac_try" in
5533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5535 esac
5536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537 printf "%s\n" "$ac_try_echo"; } >&5
5538 (eval "$ac_try") 2>&5
5539 ac_status=$?
5540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5541 test $ac_status = 0; }; }; then
5542 cross_compiling=no
5543 else
5544 if test "$cross_compiling" = maybe; then
5545 cross_compiling=yes
5546 else
5547 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5548 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5549 as_fn_error 77 "cannot run C compiled programs.
5550 If you meant to cross compile, use \`--host'.
5551 See \`config.log' for more details" "$LINENO" 5; }
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5556 printf "%s\n" "$cross_compiling" >&6; }
5558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5559 ac_clean_files=$ac_clean_files_save
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5561 printf %s "checking for suffix of object files... " >&6; }
5562 if test ${ac_cv_objext+y}
5563 then :
5564 printf %s "(cached) " >&6
5565 else $as_nop
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5570 main (void)
5574 return 0;
5576 _ACEOF
5577 rm -f conftest.o conftest.obj
5578 if { { ac_try="$ac_compile"
5579 case "(($ac_try" in
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5582 esac
5583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5584 printf "%s\n" "$ac_try_echo"; } >&5
5585 (eval "$ac_compile") 2>&5
5586 ac_status=$?
5587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5588 test $ac_status = 0; }
5589 then :
5590 for ac_file in conftest.o conftest.obj conftest.*; do
5591 test -f "$ac_file" || continue;
5592 case $ac_file in
5593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5595 break;;
5596 esac
5597 done
5598 else $as_nop
5599 printf "%s\n" "$as_me: failed program was:" >&5
5600 sed 's/^/| /' conftest.$ac_ext >&5
5602 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5603 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5604 as_fn_error $? "cannot compute suffix of object files: cannot compile
5605 See \`config.log' for more details" "$LINENO" 5; }
5607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5610 printf "%s\n" "$ac_cv_objext" >&6; }
5611 OBJEXT=$ac_cv_objext
5612 ac_objext=$OBJEXT
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5614 printf %s "checking whether the compiler supports GNU C... " >&6; }
5615 if test ${ac_cv_c_compiler_gnu+y}
5616 then :
5617 printf %s "(cached) " >&6
5618 else $as_nop
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5623 main (void)
5625 #ifndef __GNUC__
5626 choke me
5627 #endif
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"
5634 then :
5635 ac_compiler_gnu=yes
5636 else $as_nop
5637 ac_compiler_gnu=no
5639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5644 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5647 if test $ac_compiler_gnu = yes; then
5648 GCC=yes
5649 else
5650 GCC=
5652 ac_test_CFLAGS=${CFLAGS+y}
5653 ac_save_CFLAGS=$CFLAGS
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5655 printf %s "checking whether $CC accepts -g... " >&6; }
5656 if test ${ac_cv_prog_cc_g+y}
5657 then :
5658 printf %s "(cached) " >&6
5659 else $as_nop
5660 ac_save_c_werror_flag=$ac_c_werror_flag
5661 ac_c_werror_flag=yes
5662 ac_cv_prog_cc_g=no
5663 CFLAGS="-g"
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 main (void)
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_compile "$LINENO"
5676 then :
5677 ac_cv_prog_cc_g=yes
5678 else $as_nop
5679 CFLAGS=""
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5684 main (void)
5688 return 0;
5690 _ACEOF
5691 if ac_fn_c_try_compile "$LINENO"
5692 then :
5694 else $as_nop
5695 ac_c_werror_flag=$ac_save_c_werror_flag
5696 CFLAGS="-g"
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5701 main (void)
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_compile "$LINENO"
5709 then :
5710 ac_cv_prog_cc_g=yes
5712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5717 ac_c_werror_flag=$ac_save_c_werror_flag
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5720 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5721 if test $ac_test_CFLAGS; then
5722 CFLAGS=$ac_save_CFLAGS
5723 elif test $ac_cv_prog_cc_g = yes; then
5724 if test "$GCC" = yes; then
5725 CFLAGS="-g -O2"
5726 else
5727 CFLAGS="-g"
5729 else
5730 if test "$GCC" = yes; then
5731 CFLAGS="-O2"
5732 else
5733 CFLAGS=
5736 ac_prog_cc_stdc=no
5737 if test x$ac_prog_cc_stdc = xno
5738 then :
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5740 printf %s "checking for $CC option to enable C11 features... " >&6; }
5741 if test ${ac_cv_prog_cc_c11+y}
5742 then :
5743 printf %s "(cached) " >&6
5744 else $as_nop
5745 ac_cv_prog_cc_c11=no
5746 ac_save_CC=$CC
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5749 $ac_c_conftest_c11_program
5750 _ACEOF
5751 for ac_arg in '' -std=gnu11
5753 CC="$ac_save_CC $ac_arg"
5754 if ac_fn_c_try_compile "$LINENO"
5755 then :
5756 ac_cv_prog_cc_c11=$ac_arg
5758 rm -f core conftest.err conftest.$ac_objext conftest.beam
5759 test "x$ac_cv_prog_cc_c11" != "xno" && break
5760 done
5761 rm -f conftest.$ac_ext
5762 CC=$ac_save_CC
5765 if test "x$ac_cv_prog_cc_c11" = xno
5766 then :
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5768 printf "%s\n" "unsupported" >&6; }
5769 else $as_nop
5770 if test "x$ac_cv_prog_cc_c11" = x
5771 then :
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5773 printf "%s\n" "none needed" >&6; }
5774 else $as_nop
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5776 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5777 CC="$CC $ac_cv_prog_cc_c11"
5779 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5780 ac_prog_cc_stdc=c11
5783 if test x$ac_prog_cc_stdc = xno
5784 then :
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5786 printf %s "checking for $CC option to enable C99 features... " >&6; }
5787 if test ${ac_cv_prog_cc_c99+y}
5788 then :
5789 printf %s "(cached) " >&6
5790 else $as_nop
5791 ac_cv_prog_cc_c99=no
5792 ac_save_CC=$CC
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5795 $ac_c_conftest_c99_program
5796 _ACEOF
5797 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5799 CC="$ac_save_CC $ac_arg"
5800 if ac_fn_c_try_compile "$LINENO"
5801 then :
5802 ac_cv_prog_cc_c99=$ac_arg
5804 rm -f core conftest.err conftest.$ac_objext conftest.beam
5805 test "x$ac_cv_prog_cc_c99" != "xno" && break
5806 done
5807 rm -f conftest.$ac_ext
5808 CC=$ac_save_CC
5811 if test "x$ac_cv_prog_cc_c99" = xno
5812 then :
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5814 printf "%s\n" "unsupported" >&6; }
5815 else $as_nop
5816 if test "x$ac_cv_prog_cc_c99" = x
5817 then :
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5819 printf "%s\n" "none needed" >&6; }
5820 else $as_nop
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5822 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5823 CC="$CC $ac_cv_prog_cc_c99"
5825 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5826 ac_prog_cc_stdc=c99
5829 if test x$ac_prog_cc_stdc = xno
5830 then :
5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5832 printf %s "checking for $CC option to enable C89 features... " >&6; }
5833 if test ${ac_cv_prog_cc_c89+y}
5834 then :
5835 printf %s "(cached) " >&6
5836 else $as_nop
5837 ac_cv_prog_cc_c89=no
5838 ac_save_CC=$CC
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 $ac_c_conftest_c89_program
5842 _ACEOF
5843 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5845 CC="$ac_save_CC $ac_arg"
5846 if ac_fn_c_try_compile "$LINENO"
5847 then :
5848 ac_cv_prog_cc_c89=$ac_arg
5850 rm -f core conftest.err conftest.$ac_objext conftest.beam
5851 test "x$ac_cv_prog_cc_c89" != "xno" && break
5852 done
5853 rm -f conftest.$ac_ext
5854 CC=$ac_save_CC
5857 if test "x$ac_cv_prog_cc_c89" = xno
5858 then :
5859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5860 printf "%s\n" "unsupported" >&6; }
5861 else $as_nop
5862 if test "x$ac_cv_prog_cc_c89" = x
5863 then :
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5865 printf "%s\n" "none needed" >&6; }
5866 else $as_nop
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5868 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5869 CC="$CC $ac_cv_prog_cc_c89"
5871 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5872 ac_prog_cc_stdc=c89
5876 ac_ext=c
5877 ac_cpp='$CPP $CPPFLAGS'
5878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5888 ac_ext=cpp
5889 ac_cpp='$CXXCPP $CPPFLAGS'
5890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5893 if test -z "$CXX"; then
5894 if test -n "$CCC"; then
5895 CXX=$CCC
5896 else
5897 if test -n "$ac_tool_prefix"; then
5898 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 printf %s "checking for $ac_word... " >&6; }
5904 if test ${ac_cv_prog_CXX+y}
5905 then :
5906 printf %s "(cached) " >&6
5907 else $as_nop
5908 if test -n "$CXX"; then
5909 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5914 IFS=$as_save_IFS
5915 case $as_dir in #(((
5916 '') as_dir=./ ;;
5917 */) ;;
5918 *) as_dir=$as_dir/ ;;
5919 esac
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 CXX=$ac_cv_prog_CXX
5933 if test -n "$CXX"; then
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5935 printf "%s\n" "$CXX" >&6; }
5936 else
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 printf "%s\n" "no" >&6; }
5942 test -n "$CXX" && break
5943 done
5945 if test -z "$CXX"; then
5946 ac_ct_CXX=$CXX
5947 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5949 # Extract the first word of "$ac_prog", so it can be a program name with args.
5950 set dummy $ac_prog; ac_word=$2
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 printf %s "checking for $ac_word... " >&6; }
5953 if test ${ac_cv_prog_ac_ct_CXX+y}
5954 then :
5955 printf %s "(cached) " >&6
5956 else $as_nop
5957 if test -n "$ac_ct_CXX"; then
5958 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 case $as_dir in #(((
5965 '') as_dir=./ ;;
5966 */) ;;
5967 *) as_dir=$as_dir/ ;;
5968 esac
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_ac_ct_CXX="$ac_prog"
5972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5982 if test -n "$ac_ct_CXX"; then
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5984 printf "%s\n" "$ac_ct_CXX" >&6; }
5985 else
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 printf "%s\n" "no" >&6; }
5991 test -n "$ac_ct_CXX" && break
5992 done
5994 if test "x$ac_ct_CXX" = x; then
5995 CXX="g++"
5996 else
5997 case $cross_compiling:$ac_tool_warned in
5998 yes:)
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned=yes ;;
6002 esac
6003 CXX=$ac_ct_CXX
6009 # Provide some information about the compiler.
6010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6011 set X $ac_compile
6012 ac_compiler=$2
6013 for ac_option in --version -v -V -qversion; do
6014 { { ac_try="$ac_compiler $ac_option >&5"
6015 case "(($ac_try" in
6016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6017 *) ac_try_echo=$ac_try;;
6018 esac
6019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6020 printf "%s\n" "$ac_try_echo"; } >&5
6021 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6022 ac_status=$?
6023 if test -s conftest.err; then
6024 sed '10a\
6025 ... rest of stderr output deleted ...
6026 10q' conftest.err >conftest.er1
6027 cat conftest.er1 >&5
6029 rm -f conftest.er1 conftest.err
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031 test $ac_status = 0; }
6032 done
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6035 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6036 if test ${ac_cv_cxx_compiler_gnu+y}
6037 then :
6038 printf %s "(cached) " >&6
6039 else $as_nop
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6044 main (void)
6046 #ifndef __GNUC__
6047 choke me
6048 #endif
6051 return 0;
6053 _ACEOF
6054 if ac_fn_cxx_try_compile "$LINENO"
6055 then :
6056 ac_compiler_gnu=yes
6057 else $as_nop
6058 ac_compiler_gnu=no
6060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6065 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6068 if test $ac_compiler_gnu = yes; then
6069 GXX=yes
6070 else
6071 GXX=
6073 ac_test_CXXFLAGS=${CXXFLAGS+y}
6074 ac_save_CXXFLAGS=$CXXFLAGS
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6076 printf %s "checking whether $CXX accepts -g... " >&6; }
6077 if test ${ac_cv_prog_cxx_g+y}
6078 then :
6079 printf %s "(cached) " >&6
6080 else $as_nop
6081 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6082 ac_cxx_werror_flag=yes
6083 ac_cv_prog_cxx_g=no
6084 CXXFLAGS="-g"
6085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6089 main (void)
6093 return 0;
6095 _ACEOF
6096 if ac_fn_cxx_try_compile "$LINENO"
6097 then :
6098 ac_cv_prog_cxx_g=yes
6099 else $as_nop
6100 CXXFLAGS=""
6101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6102 /* end confdefs.h. */
6105 main (void)
6109 return 0;
6111 _ACEOF
6112 if ac_fn_cxx_try_compile "$LINENO"
6113 then :
6115 else $as_nop
6116 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6117 CXXFLAGS="-g"
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6122 main (void)
6126 return 0;
6128 _ACEOF
6129 if ac_fn_cxx_try_compile "$LINENO"
6130 then :
6131 ac_cv_prog_cxx_g=yes
6133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6138 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6141 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6142 if test $ac_test_CXXFLAGS; then
6143 CXXFLAGS=$ac_save_CXXFLAGS
6144 elif test $ac_cv_prog_cxx_g = yes; then
6145 if test "$GXX" = yes; then
6146 CXXFLAGS="-g -O2"
6147 else
6148 CXXFLAGS="-g"
6150 else
6151 if test "$GXX" = yes; then
6152 CXXFLAGS="-O2"
6153 else
6154 CXXFLAGS=
6157 ac_prog_cxx_stdcxx=no
6158 if test x$ac_prog_cxx_stdcxx = xno
6159 then :
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6161 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6162 if test ${ac_cv_prog_cxx_11+y}
6163 then :
6164 printf %s "(cached) " >&6
6165 else $as_nop
6166 ac_cv_prog_cxx_11=no
6167 ac_save_CXX=$CXX
6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h. */
6170 $ac_cxx_conftest_cxx11_program
6171 _ACEOF
6172 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6174 CXX="$ac_save_CXX $ac_arg"
6175 if ac_fn_cxx_try_compile "$LINENO"
6176 then :
6177 ac_cv_prog_cxx_cxx11=$ac_arg
6179 rm -f core conftest.err conftest.$ac_objext conftest.beam
6180 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6181 done
6182 rm -f conftest.$ac_ext
6183 CXX=$ac_save_CXX
6186 if test "x$ac_cv_prog_cxx_cxx11" = xno
6187 then :
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6189 printf "%s\n" "unsupported" >&6; }
6190 else $as_nop
6191 if test "x$ac_cv_prog_cxx_cxx11" = x
6192 then :
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6194 printf "%s\n" "none needed" >&6; }
6195 else $as_nop
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6197 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6198 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6200 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6201 ac_prog_cxx_stdcxx=cxx11
6204 if test x$ac_prog_cxx_stdcxx = xno
6205 then :
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6207 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6208 if test ${ac_cv_prog_cxx_98+y}
6209 then :
6210 printf %s "(cached) " >&6
6211 else $as_nop
6212 ac_cv_prog_cxx_98=no
6213 ac_save_CXX=$CXX
6214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6216 $ac_cxx_conftest_cxx98_program
6217 _ACEOF
6218 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6220 CXX="$ac_save_CXX $ac_arg"
6221 if ac_fn_cxx_try_compile "$LINENO"
6222 then :
6223 ac_cv_prog_cxx_cxx98=$ac_arg
6225 rm -f core conftest.err conftest.$ac_objext conftest.beam
6226 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6227 done
6228 rm -f conftest.$ac_ext
6229 CXX=$ac_save_CXX
6232 if test "x$ac_cv_prog_cxx_cxx98" = xno
6233 then :
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6235 printf "%s\n" "unsupported" >&6; }
6236 else $as_nop
6237 if test "x$ac_cv_prog_cxx_cxx98" = x
6238 then :
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6240 printf "%s\n" "none needed" >&6; }
6241 else $as_nop
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6243 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6244 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6246 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6247 ac_prog_cxx_stdcxx=cxx98
6251 ac_ext=c
6252 ac_cpp='$CPP $CPPFLAGS'
6253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 printf %s "checking for $ac_word... " >&6; }
6262 if test ${ac_cv_prog_CPPBIN+y}
6263 then :
6264 printf %s "(cached) " >&6
6265 else $as_nop
6266 if test -n "$CPPBIN"; then
6267 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6272 IFS=$as_save_IFS
6273 case $as_dir in #(((
6274 '') as_dir=./ ;;
6275 */) ;;
6276 *) as_dir=$as_dir/ ;;
6277 esac
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 IFS=$as_save_IFS
6290 CPPBIN=$ac_cv_prog_CPPBIN
6291 if test -n "$CPPBIN"; then
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6293 printf "%s\n" "$CPPBIN" >&6; }
6294 else
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 printf "%s\n" "no" >&6; }
6301 if test -z "$ac_cv_prog_CPPBIN"; then
6302 ac_ct_CPPBIN=$CPPBIN
6303 # Extract the first word of "cpp", so it can be a program name with args.
6304 set dummy cpp; ac_word=$2
6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 printf %s "checking for $ac_word... " >&6; }
6307 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6308 then :
6309 printf %s "(cached) " >&6
6310 else $as_nop
6311 if test -n "$ac_ct_CPPBIN"; then
6312 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6313 else
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH
6317 IFS=$as_save_IFS
6318 case $as_dir in #(((
6319 '') as_dir=./ ;;
6320 */) ;;
6321 *) as_dir=$as_dir/ ;;
6322 esac
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6325 ac_cv_prog_ac_ct_CPPBIN="cpp"
6326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6327 break 2
6329 done
6330 done
6331 IFS=$as_save_IFS
6335 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6336 if test -n "$ac_ct_CPPBIN"; then
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6338 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6339 else
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 printf "%s\n" "no" >&6; }
6344 if test "x$ac_ct_CPPBIN" = x; then
6345 CPPBIN="cpp"
6346 else
6347 case $cross_compiling:$ac_tool_warned in
6348 yes:)
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6350 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6351 ac_tool_warned=yes ;;
6352 esac
6353 CPPBIN=$ac_ct_CPPBIN
6355 else
6356 CPPBIN="$ac_cv_prog_CPPBIN"
6360 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6362 if test -n "$ac_tool_prefix"; then
6363 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6364 set dummy ${ac_tool_prefix}ld; ac_word=$2
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 printf %s "checking for $ac_word... " >&6; }
6367 if test ${ac_cv_prog_LD+y}
6368 then :
6369 printf %s "(cached) " >&6
6370 else $as_nop
6371 if test -n "$LD"; then
6372 ac_cv_prog_LD="$LD" # Let the user override the test.
6373 else
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH
6377 IFS=$as_save_IFS
6378 case $as_dir in #(((
6379 '') as_dir=./ ;;
6380 */) ;;
6381 *) as_dir=$as_dir/ ;;
6382 esac
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_LD="${ac_tool_prefix}ld"
6386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6387 break 2
6389 done
6390 done
6391 IFS=$as_save_IFS
6395 LD=$ac_cv_prog_LD
6396 if test -n "$LD"; then
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6398 printf "%s\n" "$LD" >&6; }
6399 else
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 printf "%s\n" "no" >&6; }
6406 if test -z "$ac_cv_prog_LD"; then
6407 ac_ct_LD=$LD
6408 # Extract the first word of "ld", so it can be a program name with args.
6409 set dummy ld; ac_word=$2
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 printf %s "checking for $ac_word... " >&6; }
6412 if test ${ac_cv_prog_ac_ct_LD+y}
6413 then :
6414 printf %s "(cached) " >&6
6415 else $as_nop
6416 if test -n "$ac_ct_LD"; then
6417 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6422 IFS=$as_save_IFS
6423 case $as_dir in #(((
6424 '') as_dir=./ ;;
6425 */) ;;
6426 *) as_dir=$as_dir/ ;;
6427 esac
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_LD="ld"
6431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6432 break 2
6434 done
6435 done
6436 IFS=$as_save_IFS
6440 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6441 if test -n "$ac_ct_LD"; then
6442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6443 printf "%s\n" "$ac_ct_LD" >&6; }
6444 else
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 printf "%s\n" "no" >&6; }
6449 if test "x$ac_ct_LD" = x; then
6450 LD=""
6451 else
6452 case $cross_compiling:$ac_tool_warned in
6453 yes:)
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6455 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6456 ac_tool_warned=yes ;;
6457 esac
6458 LD=$ac_ct_LD
6460 else
6461 LD="$ac_cv_prog_LD"
6465 case $host in
6466 *-darwin*)
6467 with_fontconfig=${with_fontconfig:-no}
6469 *-mingw32*|*-cygwin*)
6470 enable_win16=${enable_win16:-no}
6471 with_mingw=${with_mingw:-no}
6473 esac
6476 case $host in
6477 x86_64*|amd64*)
6478 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6479 then
6480 CC="$CC -m32"
6481 CXX="$CXX -m32"
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6484 printf %s "checking whether $CC works... " >&6; }
6485 if test ${wine_cv_cc_m32+y}
6486 then :
6487 printf %s "(cached) " >&6
6488 else $as_nop
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6493 main (void)
6497 return 0;
6499 _ACEOF
6500 if ac_fn_c_try_link "$LINENO"
6501 then :
6502 wine_cv_cc_m32=yes
6503 else $as_nop
6504 wine_cv_cc_m32=no
6506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6507 conftest$ac_exeext conftest.$ac_ext
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6510 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6511 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
6512 host_cpu="i386"
6513 notice_platform="32-bit "
6514 TARGETFLAGS="$TARGETFLAGS -m32"
6515 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6516 export PKG_CONFIG_PATH
6517 enable_win16=${enable_win16:-yes}
6518 with_unwind=${with_unwind:-no}
6519 else
6520 if test "x${GCC}" = "xyes"
6521 then
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6523 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6524 if test ${wine_cv_builtin_ms_va_list+y}
6525 then :
6526 printf %s "(cached) " >&6
6527 else $as_nop
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <stdarg.h>
6532 main (void)
6534 void func(__builtin_ms_va_list *args);
6536 return 0;
6538 _ACEOF
6539 if ac_fn_c_try_compile "$LINENO"
6540 then :
6541 wine_cv_builtin_ms_va_list=yes
6542 else $as_nop
6543 wine_cv_builtin_ms_va_list=no
6545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6548 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6549 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
6551 CC="$CC -m64"
6552 CXX="$CXX -m64"
6553 host_cpu="x86_64"
6554 notice_platform="64-bit "
6555 TARGETFLAGS="$TARGETFLAGS -m64"
6556 enable_wow64=${enable_wow64:-yes}
6557 enable_wow64win=${enable_wow64win:-yes}
6558 enable_wow64cpu=${enable_wow64cpu:-yes}
6561 arm*)
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6563 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6564 if test ${wine_cv_thumb2+y}
6565 then :
6566 printf %s "(cached) " >&6
6567 else $as_nop
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6572 main (void)
6574 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6576 return 0;
6578 _ACEOF
6579 if ac_fn_c_try_link "$LINENO"
6580 then :
6581 wine_cv_thumb2=yes
6582 else $as_nop
6583 wine_cv_thumb2=no
6585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6586 conftest$ac_exeext conftest.$ac_ext
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6589 printf "%s\n" "$wine_cv_thumb2" >&6; }
6590 if test x"$wine_cv_thumb2" = xyes
6591 then
6592 CFLAGS="$CFLAGS -mthumb"
6593 TARGETFLAGS="$TARGETFLAGS -mthumb"
6594 else
6595 CFLAGS="$CFLAGS -marm"
6596 TARGETFLAGS="$TARGETFLAGS -marm"
6598 case $with_float_abi in
6599 soft|softfp|hard)
6600 float_abi=$with_float_abi ;;
6602 case $host_os in
6603 *eabihf)
6604 float_abi=hard ;;
6606 float_abi=softfp
6607 saved_CFLAGS=$CFLAGS
6608 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6610 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6611 if test ${wine_cv_float_abi+y}
6612 then :
6613 printf %s "(cached) " >&6
6614 else $as_nop
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6619 main (void)
6621 asm("vmrs r2,fpscr");
6623 return 0;
6625 _ACEOF
6626 if ac_fn_c_try_link "$LINENO"
6627 then :
6628 wine_cv_float_abi=yes
6629 else $as_nop
6630 wine_cv_float_abi=no
6632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6633 conftest$ac_exeext conftest.$ac_ext
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6636 printf "%s\n" "$wine_cv_float_abi" >&6; }
6637 if test $wine_cv_float_abi = no
6638 then
6639 float_abi=soft
6640 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6642 CFLAGS=$saved_CFLAGS
6643 esac
6645 esac
6646 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6647 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6649 aarch64*)
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6651 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6652 if test ${wine_cv_builtin_ms_va_list+y}
6653 then :
6654 printf %s "(cached) " >&6
6655 else $as_nop
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #include <stdarg.h>
6660 main (void)
6662 void func(__builtin_ms_va_list *args);
6664 return 0;
6666 _ACEOF
6667 if ac_fn_c_try_compile "$LINENO"
6668 then :
6669 wine_cv_builtin_ms_va_list=yes
6670 else $as_nop
6671 wine_cv_builtin_ms_va_list=no
6673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6676 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6677 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6678 enable_wow64=${enable_wow64:-yes}
6679 enable_wow64win=${enable_wow64win:-yes}
6681 i[3456789]86*)
6682 enable_win16=${enable_win16:-yes}
6683 with_unwind=${with_unwind:-no}
6685 esac
6687 enable_win16=${enable_win16:-no}
6688 enable_win64=${enable_win64:-no}
6689 enable_wow64=${enable_wow64:-no}
6690 enable_wow64win=${enable_wow64win:-no}
6691 enable_wow64cpu=${enable_wow64cpu:-no}
6693 enable_winetest=${enable_winetest:-$enable_tests}
6695 if test "x$enable_win64" = "xyes"
6696 then
6697 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6698 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6701 case $build_os in
6702 cygwin*|mingw32*) toolsext=".exe"
6704 *) toolsext=""
6706 esac
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6709 printf %s "checking for the directory containing the Wine tools... " >&6; }
6710 if test ${wine_cv_toolsdir+y}
6711 then :
6712 printf %s "(cached) " >&6
6713 else $as_nop
6714 wine_cv_toolsdir="$with_wine_tools"
6715 if test -z "$with_wine_tools"; then
6716 if test "$cross_compiling" = "yes"; then
6717 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6718 elif test -n "$with_wine64"; then
6719 wine_cv_toolsdir="$with_wine64"
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6724 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6725 if test -z "$wine_cv_toolsdir"; then
6726 wine_makedep=tools/makedep$toolsext
6727 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6728 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6729 enable_tools=${enable_tools:-no}
6730 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6731 else
6732 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6734 toolsdir=$wine_cv_toolsdir
6736 MAKEDEP=$wine_makedep
6738 RUNTESTFLAGS="-q -P wine"
6740 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'"
6743 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6744 then
6745 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6748 for ac_prog in flex
6750 # Extract the first word of "$ac_prog", so it can be a program name with args.
6751 set dummy $ac_prog; ac_word=$2
6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 printf %s "checking for $ac_word... " >&6; }
6754 if test ${ac_cv_prog_FLEX+y}
6755 then :
6756 printf %s "(cached) " >&6
6757 else $as_nop
6758 if test -n "$FLEX"; then
6759 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6764 IFS=$as_save_IFS
6765 case $as_dir in #(((
6766 '') as_dir=./ ;;
6767 */) ;;
6768 *) as_dir=$as_dir/ ;;
6769 esac
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_FLEX="$ac_prog"
6773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6774 break 2
6776 done
6777 done
6778 IFS=$as_save_IFS
6782 FLEX=$ac_cv_prog_FLEX
6783 if test -n "$FLEX"; then
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6785 printf "%s\n" "$FLEX" >&6; }
6786 else
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 printf "%s\n" "no" >&6; }
6792 test -n "$FLEX" && break
6793 done
6794 test -n "$FLEX" || FLEX="none"
6796 if test "$FLEX" = "none"
6797 then
6798 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6801 printf %s "checking whether flex is recent enough... " >&6; }
6802 if test ${wine_cv_recent_flex+y}
6803 then :
6804 printf %s "(cached) " >&6
6805 else $as_nop
6806 cat >conftest.l <<EOF
6807 %top{
6808 #include "prediluvian.h"
6812 if $FLEX -t conftest.l >/dev/null 2>&5
6813 then
6814 wine_cv_recent_flex=yes
6815 else
6816 wine_cv_recent_flex=no
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6820 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6821 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
6823 for ac_prog in bison
6825 # Extract the first word of "$ac_prog", so it can be a program name with args.
6826 set dummy $ac_prog; ac_word=$2
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 printf %s "checking for $ac_word... " >&6; }
6829 if test ${ac_cv_prog_BISON+y}
6830 then :
6831 printf %s "(cached) " >&6
6832 else $as_nop
6833 if test -n "$BISON"; then
6834 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6835 else
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 for as_dir in $PATH
6839 IFS=$as_save_IFS
6840 case $as_dir in #(((
6841 '') as_dir=./ ;;
6842 */) ;;
6843 *) as_dir=$as_dir/ ;;
6844 esac
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_BISON="$ac_prog"
6848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6849 break 2
6851 done
6852 done
6853 IFS=$as_save_IFS
6857 BISON=$ac_cv_prog_BISON
6858 if test -n "$BISON"; then
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6860 printf "%s\n" "$BISON" >&6; }
6861 else
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 printf "%s\n" "no" >&6; }
6867 test -n "$BISON" && break
6868 done
6869 test -n "$BISON" || BISON="none"
6871 if test "$BISON" = "none"
6872 then
6873 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6876 printf %s "checking whether bison is recent enough... " >&6; }
6877 if test ${wine_cv_recent_bison+y}
6878 then :
6879 printf %s "(cached) " >&6
6880 else $as_nop
6881 cat >conftest.y <<EOF
6882 %define parse.error verbose
6884 empty: ;
6886 if $BISON conftest.y >/dev/null 2>&5
6887 then
6888 wine_cv_recent_bison=yes
6889 else
6890 wine_cv_recent_bison=no
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6894 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6895 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
6897 if test -n "$ac_tool_prefix"; then
6898 for ac_prog in ar gar
6900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 printf %s "checking for $ac_word... " >&6; }
6904 if test ${ac_cv_prog_AR+y}
6905 then :
6906 printf %s "(cached) " >&6
6907 else $as_nop
6908 if test -n "$AR"; then
6909 ac_cv_prog_AR="$AR" # Let the user override the test.
6910 else
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 for as_dir in $PATH
6914 IFS=$as_save_IFS
6915 case $as_dir in #(((
6916 '') as_dir=./ ;;
6917 */) ;;
6918 *) as_dir=$as_dir/ ;;
6919 esac
6920 for ac_exec_ext in '' $ac_executable_extensions; do
6921 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6922 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6924 break 2
6926 done
6927 done
6928 IFS=$as_save_IFS
6932 AR=$ac_cv_prog_AR
6933 if test -n "$AR"; then
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6935 printf "%s\n" "$AR" >&6; }
6936 else
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 printf "%s\n" "no" >&6; }
6942 test -n "$AR" && break
6943 done
6945 if test -z "$AR"; then
6946 ac_ct_AR=$AR
6947 for ac_prog in ar gar
6949 # Extract the first word of "$ac_prog", so it can be a program name with args.
6950 set dummy $ac_prog; ac_word=$2
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 printf %s "checking for $ac_word... " >&6; }
6953 if test ${ac_cv_prog_ac_ct_AR+y}
6954 then :
6955 printf %s "(cached) " >&6
6956 else $as_nop
6957 if test -n "$ac_ct_AR"; then
6958 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6959 else
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 for as_dir in $PATH
6963 IFS=$as_save_IFS
6964 case $as_dir in #(((
6965 '') as_dir=./ ;;
6966 */) ;;
6967 *) as_dir=$as_dir/ ;;
6968 esac
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6971 ac_cv_prog_ac_ct_AR="$ac_prog"
6972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6973 break 2
6975 done
6976 done
6977 IFS=$as_save_IFS
6981 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6982 if test -n "$ac_ct_AR"; then
6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6984 printf "%s\n" "$ac_ct_AR" >&6; }
6985 else
6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 printf "%s\n" "no" >&6; }
6991 test -n "$ac_ct_AR" && break
6992 done
6994 if test "x$ac_ct_AR" = x; then
6995 AR="ar"
6996 else
6997 case $cross_compiling:$ac_tool_warned in
6998 yes:)
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7000 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001 ac_tool_warned=yes ;;
7002 esac
7003 AR=$ac_ct_AR
7007 if test -n "$ac_tool_prefix"; then
7008 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7009 set dummy ${ac_tool_prefix}strip; ac_word=$2
7010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 printf %s "checking for $ac_word... " >&6; }
7012 if test ${ac_cv_prog_STRIP+y}
7013 then :
7014 printf %s "(cached) " >&6
7015 else $as_nop
7016 if test -n "$STRIP"; then
7017 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7018 else
7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 for as_dir in $PATH
7022 IFS=$as_save_IFS
7023 case $as_dir in #(((
7024 '') as_dir=./ ;;
7025 */) ;;
7026 *) as_dir=$as_dir/ ;;
7027 esac
7028 for ac_exec_ext in '' $ac_executable_extensions; do
7029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7030 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7032 break 2
7034 done
7035 done
7036 IFS=$as_save_IFS
7040 STRIP=$ac_cv_prog_STRIP
7041 if test -n "$STRIP"; then
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7043 printf "%s\n" "$STRIP" >&6; }
7044 else
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7046 printf "%s\n" "no" >&6; }
7051 if test -z "$ac_cv_prog_STRIP"; then
7052 ac_ct_STRIP=$STRIP
7053 # Extract the first word of "strip", so it can be a program name with args.
7054 set dummy strip; ac_word=$2
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 printf %s "checking for $ac_word... " >&6; }
7057 if test ${ac_cv_prog_ac_ct_STRIP+y}
7058 then :
7059 printf %s "(cached) " >&6
7060 else $as_nop
7061 if test -n "$ac_ct_STRIP"; then
7062 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7063 else
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 for as_dir in $PATH
7067 IFS=$as_save_IFS
7068 case $as_dir in #(((
7069 '') as_dir=./ ;;
7070 */) ;;
7071 *) as_dir=$as_dir/ ;;
7072 esac
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_ac_ct_STRIP="strip"
7076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7077 break 2
7079 done
7080 done
7081 IFS=$as_save_IFS
7085 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7086 if test -n "$ac_ct_STRIP"; then
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7088 printf "%s\n" "$ac_ct_STRIP" >&6; }
7089 else
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 printf "%s\n" "no" >&6; }
7094 if test "x$ac_ct_STRIP" = x; then
7095 STRIP="strip"
7096 else
7097 case $cross_compiling:$ac_tool_warned in
7098 yes:)
7099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7101 ac_tool_warned=yes ;;
7102 esac
7103 STRIP=$ac_ct_STRIP
7105 else
7106 STRIP="$ac_cv_prog_STRIP"
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 printf %s "checking for $ac_word... " >&6; }
7114 if test ${ac_cv_prog_RANLIB+y}
7115 then :
7116 printf %s "(cached) " >&6
7117 else $as_nop
7118 if test -n "$RANLIB"; then
7119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7124 IFS=$as_save_IFS
7125 case $as_dir in #(((
7126 '') as_dir=./ ;;
7127 */) ;;
7128 *) as_dir=$as_dir/ ;;
7129 esac
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7134 break 2
7136 done
7137 done
7138 IFS=$as_save_IFS
7142 RANLIB=$ac_cv_prog_RANLIB
7143 if test -n "$RANLIB"; then
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7145 printf "%s\n" "$RANLIB" >&6; }
7146 else
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 printf "%s\n" "no" >&6; }
7153 if test -z "$ac_cv_prog_RANLIB"; then
7154 ac_ct_RANLIB=$RANLIB
7155 # Extract the first word of "ranlib", so it can be a program name with args.
7156 set dummy ranlib; ac_word=$2
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 printf %s "checking for $ac_word... " >&6; }
7159 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7160 then :
7161 printf %s "(cached) " >&6
7162 else $as_nop
7163 if test -n "$ac_ct_RANLIB"; then
7164 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7165 else
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 for as_dir in $PATH
7169 IFS=$as_save_IFS
7170 case $as_dir in #(((
7171 '') as_dir=./ ;;
7172 */) ;;
7173 *) as_dir=$as_dir/ ;;
7174 esac
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7177 ac_cv_prog_ac_ct_RANLIB="ranlib"
7178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7179 break 2
7181 done
7182 done
7183 IFS=$as_save_IFS
7187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7188 if test -n "$ac_ct_RANLIB"; then
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7190 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7191 else
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 printf "%s\n" "no" >&6; }
7196 if test "x$ac_ct_RANLIB" = x; then
7197 RANLIB=":"
7198 else
7199 case $cross_compiling:$ac_tool_warned in
7200 yes:)
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned=yes ;;
7204 esac
7205 RANLIB=$ac_ct_RANLIB
7207 else
7208 RANLIB="$ac_cv_prog_RANLIB"
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7212 printf %s "checking whether ln -s works... " >&6; }
7213 LN_S=$as_ln_s
7214 if test "$LN_S" = "ln -s"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7216 printf "%s\n" "yes" >&6; }
7217 else
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7219 printf "%s\n" "no, using $LN_S" >&6; }
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7223 printf %s "checking for grep that handles long lines and -e... " >&6; }
7224 if test ${ac_cv_path_GREP+y}
7225 then :
7226 printf %s "(cached) " >&6
7227 else $as_nop
7228 if test -z "$GREP"; then
7229 ac_path_GREP_found=false
7230 # Loop through the user's path and test for each of PROGNAME-LIST
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7234 IFS=$as_save_IFS
7235 case $as_dir in #(((
7236 '') as_dir=./ ;;
7237 */) ;;
7238 *) as_dir=$as_dir/ ;;
7239 esac
7240 for ac_prog in grep ggrep
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7244 as_fn_executable_p "$ac_path_GREP" || continue
7245 # Check for GNU ac_path_GREP and select it if it is found.
7246 # Check for GNU $ac_path_GREP
7247 case `"$ac_path_GREP" --version 2>&1` in
7248 *GNU*)
7249 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7251 ac_count=0
7252 printf %s 0123456789 >"conftest.in"
7253 while :
7255 cat "conftest.in" "conftest.in" >"conftest.tmp"
7256 mv "conftest.tmp" "conftest.in"
7257 cp "conftest.in" "conftest.nl"
7258 printf "%s\n" 'GREP' >> "conftest.nl"
7259 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7260 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7261 as_fn_arith $ac_count + 1 && ac_count=$as_val
7262 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7263 # Best one so far, save it but keep looking for a better one
7264 ac_cv_path_GREP="$ac_path_GREP"
7265 ac_path_GREP_max=$ac_count
7267 # 10*(2^10) chars as input seems more than enough
7268 test $ac_count -gt 10 && break
7269 done
7270 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7271 esac
7273 $ac_path_GREP_found && break 3
7274 done
7275 done
7276 done
7277 IFS=$as_save_IFS
7278 if test -z "$ac_cv_path_GREP"; then
7279 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7281 else
7282 ac_cv_path_GREP=$GREP
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7287 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7288 GREP="$ac_cv_path_GREP"
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7292 printf %s "checking for egrep... " >&6; }
7293 if test ${ac_cv_path_EGREP+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7298 then ac_cv_path_EGREP="$GREP -E"
7299 else
7300 if test -z "$EGREP"; then
7301 ac_path_EGREP_found=false
7302 # Loop through the user's path and test for each of PROGNAME-LIST
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_prog in egrep
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7316 as_fn_executable_p "$ac_path_EGREP" || continue
7317 # Check for GNU ac_path_EGREP and select it if it is found.
7318 # Check for GNU $ac_path_EGREP
7319 case `"$ac_path_EGREP" --version 2>&1` in
7320 *GNU*)
7321 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7323 ac_count=0
7324 printf %s 0123456789 >"conftest.in"
7325 while :
7327 cat "conftest.in" "conftest.in" >"conftest.tmp"
7328 mv "conftest.tmp" "conftest.in"
7329 cp "conftest.in" "conftest.nl"
7330 printf "%s\n" 'EGREP' >> "conftest.nl"
7331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7333 as_fn_arith $ac_count + 1 && ac_count=$as_val
7334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7335 # Best one so far, save it but keep looking for a better one
7336 ac_cv_path_EGREP="$ac_path_EGREP"
7337 ac_path_EGREP_max=$ac_count
7339 # 10*(2^10) chars as input seems more than enough
7340 test $ac_count -gt 10 && break
7341 done
7342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7343 esac
7345 $ac_path_EGREP_found && break 3
7346 done
7347 done
7348 done
7349 IFS=$as_save_IFS
7350 if test -z "$ac_cv_path_EGREP"; then
7351 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7353 else
7354 ac_cv_path_EGREP=$EGREP
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7360 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7361 EGREP="$ac_cv_path_EGREP"
7364 # Extract the first word of "ldconfig", so it can be a program name with args.
7365 set dummy ldconfig; ac_word=$2
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 printf %s "checking for $ac_word... " >&6; }
7368 if test ${ac_cv_path_LDCONFIG+y}
7369 then :
7370 printf %s "(cached) " >&6
7371 else $as_nop
7372 case $LDCONFIG in
7373 [\\/]* | ?:[\\/]*)
7374 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in /sbin /usr/sbin $PATH
7380 IFS=$as_save_IFS
7381 case $as_dir in #(((
7382 '') as_dir=./ ;;
7383 */) ;;
7384 *) as_dir=$as_dir/ ;;
7385 esac
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7388 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7390 break 2
7392 done
7393 done
7394 IFS=$as_save_IFS
7396 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7398 esac
7400 LDCONFIG=$ac_cv_path_LDCONFIG
7401 if test -n "$LDCONFIG"; then
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7403 printf "%s\n" "$LDCONFIG" >&6; }
7404 else
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 printf "%s\n" "no" >&6; }
7410 for ac_prog in msgfmt
7412 # Extract the first word of "$ac_prog", so it can be a program name with args.
7413 set dummy $ac_prog; ac_word=$2
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 printf %s "checking for $ac_word... " >&6; }
7416 if test ${ac_cv_prog_MSGFMT+y}
7417 then :
7418 printf %s "(cached) " >&6
7419 else $as_nop
7420 if test -n "$MSGFMT"; then
7421 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 case $as_dir in #(((
7428 '') as_dir=./ ;;
7429 */) ;;
7430 *) as_dir=$as_dir/ ;;
7431 esac
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_MSGFMT="$ac_prog"
7435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 MSGFMT=$ac_cv_prog_MSGFMT
7445 if test -n "$MSGFMT"; then
7446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7447 printf "%s\n" "$MSGFMT" >&6; }
7448 else
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 printf "%s\n" "no" >&6; }
7454 test -n "$MSGFMT" && break
7455 done
7456 test -n "$MSGFMT" || MSGFMT="false"
7458 if test ${ac_tool_prefix+y}
7459 then :
7460 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7461 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 printf %s "checking for $ac_word... " >&6; }
7464 if test ${ac_cv_prog_PKG_CONFIG+y}
7465 then :
7466 printf %s "(cached) " >&6
7467 else $as_nop
7468 if test -n "$PKG_CONFIG"; then
7469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7470 else
7471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472 for as_dir in $PATH
7474 IFS=$as_save_IFS
7475 case $as_dir in #(((
7476 '') as_dir=./ ;;
7477 */) ;;
7478 *) as_dir=$as_dir/ ;;
7479 esac
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7493 if test -n "$PKG_CONFIG"; then
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7495 printf "%s\n" "$PKG_CONFIG" >&6; }
7496 else
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 printf "%s\n" "no" >&6; }
7503 if ${ac_cv_prog_PKG_CONFIG:+false} :
7504 then :
7505 if test "x$cross_compiling" = xyes
7506 then :
7508 else $as_nop
7509 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7510 # Extract the first word of "pkg-config", so it can be a program name with args.
7511 set dummy pkg-config; ac_word=$2
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 printf %s "checking for $ac_word... " >&6; }
7514 if test ${ac_cv_prog_PKG_CONFIG+y}
7515 then :
7516 printf %s "(cached) " >&6
7517 else $as_nop
7518 if test -n "$PKG_CONFIG"; then
7519 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7524 IFS=$as_save_IFS
7525 case $as_dir in #(((
7526 '') as_dir=./ ;;
7527 */) ;;
7528 *) as_dir=$as_dir/ ;;
7529 esac
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_PKG_CONFIG="pkg-config"
7533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7534 break 2
7536 done
7537 done
7538 IFS=$as_save_IFS
7542 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7543 if test -n "$PKG_CONFIG"; then
7544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7545 printf "%s\n" "$PKG_CONFIG" >&6; }
7546 else
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 printf "%s\n" "no" >&6; }
7553 else $as_nop
7554 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7557 if test "x$enable_maintainer_mode" != "xyes"
7558 then
7559 FONTFORGE=""
7560 RSVG=""
7561 CONVERT=""
7562 ICOTOOL=""
7563 else
7564 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7565 for ac_prog in fontforge
7567 # Extract the first word of "$ac_prog", so it can be a program name with args.
7568 set dummy $ac_prog; ac_word=$2
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 printf %s "checking for $ac_word... " >&6; }
7571 if test ${ac_cv_prog_FONTFORGE+y}
7572 then :
7573 printf %s "(cached) " >&6
7574 else $as_nop
7575 if test -n "$FONTFORGE"; then
7576 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7577 else
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 for as_dir in $PATH
7581 IFS=$as_save_IFS
7582 case $as_dir in #(((
7583 '') as_dir=./ ;;
7584 */) ;;
7585 *) as_dir=$as_dir/ ;;
7586 esac
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_FONTFORGE="$ac_prog"
7590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 FONTFORGE=$ac_cv_prog_FONTFORGE
7600 if test -n "$FONTFORGE"; then
7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7602 printf "%s\n" "$FONTFORGE" >&6; }
7603 else
7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 printf "%s\n" "no" >&6; }
7609 test -n "$FONTFORGE" && break
7610 done
7611 test -n "$FONTFORGE" || FONTFORGE="false"
7613 for ac_prog in rsvg-convert rsvg
7615 # Extract the first word of "$ac_prog", so it can be a program name with args.
7616 set dummy $ac_prog; ac_word=$2
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 printf %s "checking for $ac_word... " >&6; }
7619 if test ${ac_cv_prog_RSVG+y}
7620 then :
7621 printf %s "(cached) " >&6
7622 else $as_nop
7623 if test -n "$RSVG"; then
7624 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7625 else
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627 for as_dir in $PATH
7629 IFS=$as_save_IFS
7630 case $as_dir in #(((
7631 '') as_dir=./ ;;
7632 */) ;;
7633 *) as_dir=$as_dir/ ;;
7634 esac
7635 for ac_exec_ext in '' $ac_executable_extensions; do
7636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7637 ac_cv_prog_RSVG="$ac_prog"
7638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7639 break 2
7641 done
7642 done
7643 IFS=$as_save_IFS
7647 RSVG=$ac_cv_prog_RSVG
7648 if test -n "$RSVG"; then
7649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7650 printf "%s\n" "$RSVG" >&6; }
7651 else
7652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653 printf "%s\n" "no" >&6; }
7657 test -n "$RSVG" && break
7658 done
7659 test -n "$RSVG" || RSVG="false"
7661 for ac_prog in convert
7663 # Extract the first word of "$ac_prog", so it can be a program name with args.
7664 set dummy $ac_prog; ac_word=$2
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 printf %s "checking for $ac_word... " >&6; }
7667 if test ${ac_cv_prog_CONVERT+y}
7668 then :
7669 printf %s "(cached) " >&6
7670 else $as_nop
7671 if test -n "$CONVERT"; then
7672 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7673 else
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7677 IFS=$as_save_IFS
7678 case $as_dir in #(((
7679 '') as_dir=./ ;;
7680 */) ;;
7681 *) as_dir=$as_dir/ ;;
7682 esac
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7685 ac_cv_prog_CONVERT="$ac_prog"
7686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7687 break 2
7689 done
7690 done
7691 IFS=$as_save_IFS
7695 CONVERT=$ac_cv_prog_CONVERT
7696 if test -n "$CONVERT"; then
7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7698 printf "%s\n" "$CONVERT" >&6; }
7699 else
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7701 printf "%s\n" "no" >&6; }
7705 test -n "$CONVERT" && break
7706 done
7707 test -n "$CONVERT" || CONVERT="false"
7709 for ac_prog in icotool
7711 # Extract the first word of "$ac_prog", so it can be a program name with args.
7712 set dummy $ac_prog; ac_word=$2
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 printf %s "checking for $ac_word... " >&6; }
7715 if test ${ac_cv_prog_ICOTOOL+y}
7716 then :
7717 printf %s "(cached) " >&6
7718 else $as_nop
7719 if test -n "$ICOTOOL"; then
7720 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7721 else
7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 for as_dir in $PATH
7725 IFS=$as_save_IFS
7726 case $as_dir in #(((
7727 '') as_dir=./ ;;
7728 */) ;;
7729 *) as_dir=$as_dir/ ;;
7730 esac
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7733 ac_cv_prog_ICOTOOL="$ac_prog"
7734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7735 break 2
7737 done
7738 done
7739 IFS=$as_save_IFS
7743 ICOTOOL=$ac_cv_prog_ICOTOOL
7744 if test -n "$ICOTOOL"; then
7745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7746 printf "%s\n" "$ICOTOOL" >&6; }
7747 else
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749 printf "%s\n" "no" >&6; }
7753 test -n "$ICOTOOL" && break
7754 done
7755 test -n "$ICOTOOL" || ICOTOOL="false"
7757 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7758 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7760 if test "$CONVERT" = false
7761 then
7762 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7763 else
7764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7765 printf %s "checking for recent enough imagemagick... " >&6; }
7766 convert_version=`convert --version | head -n1`
7767 if test "x$convert_version" != "x"
7768 then
7769 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7770 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7771 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7772 then
7773 CONVERT=false
7776 if test "$CONVERT" = false
7777 then
7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7779 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7780 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7781 else
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7783 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7787 if test "$ICOTOOL" = false
7788 then
7789 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7790 else
7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7792 printf %s "checking for recent enough icotool... " >&6; }
7793 icotool_version=`icotool --version | head -n1`
7794 if test "x$icotool_version" != "x"
7795 then
7796 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7797 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7798 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7799 then
7800 ICOTOOL=false
7801 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7804 if test "$ICOTOOL" = false
7805 then
7806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7807 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7808 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7809 else
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7811 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7815 with_gettext=yes
7816 with_gettextpo=yes
7818 enable_werror=yes
7821 test "x$with_gettext" != xno || MSGFMT=false
7822 if test "$MSGFMT" != "false"
7823 then
7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7825 printf %s "checking whether msgfmt supports contexts... " >&6; }
7826 if test ${wine_cv_msgfmt_contexts+y}
7827 then :
7828 printf %s "(cached) " >&6
7829 else $as_nop
7830 cat >conftest.po <<EOF
7831 # comment
7832 msgctxt "ctxt"
7833 msgid "id"
7834 msgstr "str"
7836 if $MSGFMT -o /dev/null conftest.po 2>&5
7837 then
7838 wine_cv_msgfmt_contexts=yes
7839 else
7840 wine_cv_msgfmt_contexts=no
7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7844 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7845 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7847 if test "$MSGFMT" = false
7848 then :
7849 case "x$with_gettext" in
7850 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7851 xno) ;;
7852 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7853 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7854 esac
7855 enable_po=${enable_po:-no}
7859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7860 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7861 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7862 then :
7863 printf %s "(cached) " >&6
7864 else $as_nop
7865 ac_check_lib_save_LIBS=$LIBS
7866 LIBS="-li386 $LIBS"
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7870 /* Override any GCC internal prototype to avoid an error.
7871 Use char because int might match the return type of a GCC
7872 builtin and then its argument prototype would still apply. */
7873 char i386_set_ldt ();
7875 main (void)
7877 return i386_set_ldt ();
7879 return 0;
7881 _ACEOF
7882 if ac_fn_c_try_link "$LINENO"
7883 then :
7884 ac_cv_lib_i386_i386_set_ldt=yes
7885 else $as_nop
7886 ac_cv_lib_i386_i386_set_ldt=no
7888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7889 conftest$ac_exeext conftest.$ac_ext
7890 LIBS=$ac_check_lib_save_LIBS
7892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7893 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7894 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7895 then :
7896 I386_LIBS="-li386"
7901 OPENGL_LIBS=""
7905 # Check whether --enable-largefile was given.
7906 if test ${enable_largefile+y}
7907 then :
7908 enableval=$enable_largefile;
7911 if test "$enable_largefile" != no; then
7913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7914 printf %s "checking for special C compiler options needed for large files... " >&6; }
7915 if test ${ac_cv_sys_largefile_CC+y}
7916 then :
7917 printf %s "(cached) " >&6
7918 else $as_nop
7919 ac_cv_sys_largefile_CC=no
7920 if test "$GCC" != yes; then
7921 ac_save_CC=$CC
7922 while :; do
7923 # IRIX 6.2 and later do not support large files by default,
7924 # so use the C compiler's -n32 option if that helps.
7925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7927 #include <sys/types.h>
7928 /* Check that off_t can represent 2**63 - 1 correctly.
7929 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7930 since some C++ compilers masquerading as C compilers
7931 incorrectly reject 9223372036854775807. */
7932 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7933 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7934 && LARGE_OFF_T % 2147483647 == 1)
7935 ? 1 : -1];
7937 main (void)
7941 return 0;
7943 _ACEOF
7944 if ac_fn_c_try_compile "$LINENO"
7945 then :
7946 break
7948 rm -f core conftest.err conftest.$ac_objext conftest.beam
7949 CC="$CC -n32"
7950 if ac_fn_c_try_compile "$LINENO"
7951 then :
7952 ac_cv_sys_largefile_CC=' -n32'; break
7954 rm -f core conftest.err conftest.$ac_objext conftest.beam
7955 break
7956 done
7957 CC=$ac_save_CC
7958 rm -f conftest.$ac_ext
7961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7962 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7963 if test "$ac_cv_sys_largefile_CC" != no; then
7964 CC=$CC$ac_cv_sys_largefile_CC
7967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7968 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7969 if test ${ac_cv_sys_file_offset_bits+y}
7970 then :
7971 printf %s "(cached) " >&6
7972 else $as_nop
7973 while :; do
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 #include <sys/types.h>
7977 /* Check that off_t can represent 2**63 - 1 correctly.
7978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7979 since some C++ compilers masquerading as C compilers
7980 incorrectly reject 9223372036854775807. */
7981 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7983 && LARGE_OFF_T % 2147483647 == 1)
7984 ? 1 : -1];
7986 main (void)
7990 return 0;
7992 _ACEOF
7993 if ac_fn_c_try_compile "$LINENO"
7994 then :
7995 ac_cv_sys_file_offset_bits=no; break
7997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #define _FILE_OFFSET_BITS 64
8001 #include <sys/types.h>
8002 /* Check that off_t can represent 2**63 - 1 correctly.
8003 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8004 since some C++ compilers masquerading as C compilers
8005 incorrectly reject 9223372036854775807. */
8006 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8007 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8008 && LARGE_OFF_T % 2147483647 == 1)
8009 ? 1 : -1];
8011 main (void)
8015 return 0;
8017 _ACEOF
8018 if ac_fn_c_try_compile "$LINENO"
8019 then :
8020 ac_cv_sys_file_offset_bits=64; break
8022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8023 ac_cv_sys_file_offset_bits=unknown
8024 break
8025 done
8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8028 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8029 case $ac_cv_sys_file_offset_bits in #(
8030 no | unknown) ;;
8032 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8034 esac
8035 rm -rf conftest*
8036 if test $ac_cv_sys_file_offset_bits = unknown; then
8037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8038 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8039 if test ${ac_cv_sys_large_files+y}
8040 then :
8041 printf %s "(cached) " >&6
8042 else $as_nop
8043 while :; do
8044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8045 /* end confdefs.h. */
8046 #include <sys/types.h>
8047 /* Check that off_t can represent 2**63 - 1 correctly.
8048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8049 since some C++ compilers masquerading as C compilers
8050 incorrectly reject 9223372036854775807. */
8051 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8053 && LARGE_OFF_T % 2147483647 == 1)
8054 ? 1 : -1];
8056 main (void)
8060 return 0;
8062 _ACEOF
8063 if ac_fn_c_try_compile "$LINENO"
8064 then :
8065 ac_cv_sys_large_files=no; break
8067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8070 #define _LARGE_FILES 1
8071 #include <sys/types.h>
8072 /* Check that off_t can represent 2**63 - 1 correctly.
8073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8074 since some C++ compilers masquerading as C compilers
8075 incorrectly reject 9223372036854775807. */
8076 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8078 && LARGE_OFF_T % 2147483647 == 1)
8079 ? 1 : -1];
8081 main (void)
8085 return 0;
8087 _ACEOF
8088 if ac_fn_c_try_compile "$LINENO"
8089 then :
8090 ac_cv_sys_large_files=1; break
8092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8093 ac_cv_sys_large_files=unknown
8094 break
8095 done
8097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8098 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8099 case $ac_cv_sys_large_files in #(
8100 no | unknown) ;;
8102 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8104 esac
8105 rm -rf conftest*
8110 ac_header= ac_cache=
8111 for ac_item in $ac_header_c_list
8113 if test $ac_cache; then
8114 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8115 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8116 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8118 ac_header= ac_cache=
8119 elif test $ac_header; then
8120 ac_cache=$ac_item
8121 else
8122 ac_header=$ac_item
8124 done
8133 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8134 then :
8136 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_AL_al_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_CL_cl_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_EGL_egl_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_Security_Security_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_arpa_inet_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_asm_types_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_asm_user_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_elf_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_float_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_gettext_po_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_ieeefp_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_libproc_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_link_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_linux_filter_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_linux_input_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_linux_major_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_linux_param_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_linux_serial_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_linux_types_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8345 then :
8346 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8349 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8350 if test "x$ac_cv_header_lwp_h" = xyes
8351 then :
8352 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8355 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8357 then :
8358 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8361 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8362 if test "x$ac_cv_header_mach_mach_h" = xyes
8363 then :
8364 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8367 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8368 if test "x$ac_cv_header_machine_cpu_h" = xyes
8369 then :
8370 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8375 then :
8376 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8379 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8380 if test "x$ac_cv_header_mntent_h" = xyes
8381 then :
8382 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8385 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8386 if test "x$ac_cv_header_netdb_h" = xyes
8387 then :
8388 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8392 if test "x$ac_cv_header_netinet_in_h" = xyes
8393 then :
8394 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8397 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8398 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8399 then :
8400 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8403 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8404 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8405 then :
8406 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8410 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8415 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8416 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8422 if test "x$ac_cv_header_port_h" = xyes
8423 then :
8424 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8427 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8428 if test "x$ac_cv_header_pthread_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8434 if test "x$ac_cv_header_pwd_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8440 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8441 then :
8442 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8445 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8446 if test "x$ac_cv_header_sched_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8452 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8458 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8464 if test "x$ac_cv_header_scsi_sg_h" = xyes
8465 then :
8466 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8469 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8470 if test "x$ac_cv_header_stdint_h" = xyes
8471 then :
8472 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8475 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8476 if test "x$ac_cv_header_sys_attr_h" = xyes
8477 then :
8478 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8481 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8482 if test "x$ac_cv_header_sys_auxv_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8487 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8488 if test "x$ac_cv_header_sys_cdio_h" = xyes
8489 then :
8490 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8493 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8494 if test "x$ac_cv_header_sys_epoll_h" = xyes
8495 then :
8496 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8499 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8500 if test "x$ac_cv_header_sys_event_h" = xyes
8501 then :
8502 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8505 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8506 if test "x$ac_cv_header_sys_filio_h" = xyes
8507 then :
8508 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8511 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8512 if test "x$ac_cv_header_sys_ipc_h" = xyes
8513 then :
8514 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8517 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8518 if test "x$ac_cv_header_sys_link_h" = xyes
8519 then :
8520 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8523 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8524 if test "x$ac_cv_header_sys_modem_h" = xyes
8525 then :
8526 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8529 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8530 if test "x$ac_cv_header_sys_mtio_h" = xyes
8531 then :
8532 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8535 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8536 if test "x$ac_cv_header_sys_param_h" = xyes
8537 then :
8538 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8541 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8542 if test "x$ac_cv_header_sys_prctl_h" = xyes
8543 then :
8544 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8548 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8549 then :
8550 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8553 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8554 if test "x$ac_cv_header_sys_queue_h" = xyes
8555 then :
8556 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8560 if test "x$ac_cv_header_sys_random_h" = xyes
8561 then :
8562 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8565 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8566 if test "x$ac_cv_header_sys_resource_h" = xyes
8567 then :
8568 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8572 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8573 then :
8574 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8577 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8578 if test "x$ac_cv_header_sys_shm_h" = xyes
8579 then :
8580 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8583 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8584 if test "x$ac_cv_header_sys_signal_h" = xyes
8585 then :
8586 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8589 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8590 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8591 then :
8592 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8595 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8596 if test "x$ac_cv_header_sys_sockio_h" = xyes
8597 then :
8598 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8601 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8602 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8603 then :
8604 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8607 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8608 if test "x$ac_cv_header_sys_strtio_h" = xyes
8609 then :
8610 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8613 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8614 if test "x$ac_cv_header_sys_syscall_h" = xyes
8615 then :
8616 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8619 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8620 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8621 then :
8622 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8626 if test "x$ac_cv_header_sys_times_h" = xyes
8627 then :
8628 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8631 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8632 if test "x$ac_cv_header_sys_uio_h" = xyes
8633 then :
8634 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8638 if test "x$ac_cv_header_sys_user_h" = xyes
8639 then :
8640 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8643 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8644 if test "x$ac_cv_header_sys_utsname_h" = xyes
8645 then :
8646 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8650 if test "x$ac_cv_header_sys_vnode_h" = xyes
8651 then :
8652 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8655 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8656 if test "x$ac_cv_header_syscall_h" = xyes
8657 then :
8658 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8661 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8662 if test "x$ac_cv_header_utime_h" = xyes
8663 then :
8664 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8667 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8668 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8669 then :
8670 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8673 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8674 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8675 then :
8676 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8681 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8682 then :
8684 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8688 if test $ac_cv_header_sys_mkdev_h = no; then
8689 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8690 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8691 then :
8693 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8699 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8700 if test ${ac_cv_header_stat_broken+y}
8701 then :
8702 printf %s "(cached) " >&6
8703 else $as_nop
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 #include <sys/types.h>
8707 #include <sys/stat.h>
8709 #if defined S_ISBLK && defined S_IFDIR
8710 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8711 #endif
8713 #if defined S_ISBLK && defined S_IFCHR
8714 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8715 #endif
8717 #if defined S_ISLNK && defined S_IFREG
8718 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8719 #endif
8721 #if defined S_ISSOCK && defined S_IFREG
8722 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8723 #endif
8725 _ACEOF
8726 if ac_fn_c_try_compile "$LINENO"
8727 then :
8728 ac_cv_header_stat_broken=no
8729 else $as_nop
8730 ac_cv_header_stat_broken=yes
8732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8735 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8736 if test $ac_cv_header_stat_broken = yes; then
8738 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8745 #ifdef HAVE_SYS_PARAM_H
8746 # include <sys/param.h>
8747 #endif
8749 if test "x$ac_cv_header_sys_conf_h" = xyes
8750 then :
8751 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8754 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8755 #ifdef HAVE_SYS_PARAM_H
8756 # include <sys/param.h>
8757 #endif
8759 if test "x$ac_cv_header_sys_mount_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8765 #ifdef HAVE_SYS_PARAM_H
8766 # include <sys/param.h>
8767 #endif
8769 if test "x$ac_cv_header_sys_statfs_h" = xyes
8770 then :
8771 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8774 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8775 #ifdef HAVE_SYS_PARAM_H
8776 # include <sys/param.h>
8777 #endif
8779 if test "x$ac_cv_header_sys_user_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8785 #ifdef HAVE_SYS_PARAM_H
8786 # include <sys/param.h>
8787 #endif
8789 if test "x$ac_cv_header_sys_vfs_h" = xyes
8790 then :
8791 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8796 saved_sysctl_h_CFLAGS=$CFLAGS
8797 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8798 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8799 #ifdef HAVE_SYS_PARAM_H
8800 # include <sys/param.h>
8801 #endif
8803 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8804 then :
8805 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8809 CFLAGS=$saved_sysctl_h_CFLAGS
8811 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8812 #include <sys/socket.h>
8813 #ifdef HAVE_SYS_SOCKETVAR_H
8814 # include <sys/socketvar.h>
8815 #endif
8816 #ifdef HAVE_NET_ROUTE_H
8817 # include <net/route.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_H
8820 # include <netinet/in.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_SYSTM_H
8823 # include <netinet/in_systm.h>
8824 #endif
8825 #ifdef HAVE_NET_IF_H
8826 # include <net/if.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8832 if test "x$ac_cv_header_netinet_ip_h" = xyes
8833 then :
8834 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8837 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8838 #include <sys/socket.h>
8839 #ifdef HAVE_SYS_SOCKETVAR_H
8840 # include <sys/socketvar.h>
8841 #endif
8842 #ifdef HAVE_NET_ROUTE_H
8843 # include <net/route.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IN_H
8846 # include <netinet/in.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IN_SYSTM_H
8849 # include <netinet/in_systm.h>
8850 #endif
8851 #ifdef HAVE_NET_IF_H
8852 # include <net/if.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IP_H
8855 # include <netinet/ip.h>
8856 #endif
8858 if test "x$ac_cv_header_net_if_h" = xyes
8859 then :
8860 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8863 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8864 #include <sys/socket.h>
8865 #ifdef HAVE_SYS_SOCKETVAR_H
8866 # include <sys/socketvar.h>
8867 #endif
8868 #ifdef HAVE_NET_ROUTE_H
8869 # include <net/route.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IN_H
8872 # include <netinet/in.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_SYSTM_H
8875 # include <netinet/in_systm.h>
8876 #endif
8877 #ifdef HAVE_NET_IF_H
8878 # include <net/if.h>
8879 #endif
8880 #ifdef HAVE_NETINET_IP_H
8881 # include <netinet/ip.h>
8882 #endif
8884 if test "x$ac_cv_header_net_if_arp_h" = xyes
8885 then :
8886 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8889 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8890 #include <sys/socket.h>
8891 #ifdef HAVE_SYS_SOCKETVAR_H
8892 # include <sys/socketvar.h>
8893 #endif
8894 #ifdef HAVE_NET_ROUTE_H
8895 # include <net/route.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IN_H
8898 # include <netinet/in.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IN_SYSTM_H
8901 # include <netinet/in_systm.h>
8902 #endif
8903 #ifdef HAVE_NET_IF_H
8904 # include <net/if.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IP_H
8907 # include <netinet/ip.h>
8908 #endif
8910 if test "x$ac_cv_header_net_if_dl_h" = xyes
8911 then :
8912 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8915 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8916 #include <sys/socket.h>
8917 #ifdef HAVE_SYS_SOCKETVAR_H
8918 # include <sys/socketvar.h>
8919 #endif
8920 #ifdef HAVE_NET_ROUTE_H
8921 # include <net/route.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IN_H
8924 # include <netinet/in.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_SYSTM_H
8927 # include <netinet/in_systm.h>
8928 #endif
8929 #ifdef HAVE_NET_IF_H
8930 # include <net/if.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IP_H
8933 # include <netinet/ip.h>
8934 #endif
8936 if test "x$ac_cv_header_net_if_types_h" = xyes
8937 then :
8938 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8941 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8942 #include <sys/socket.h>
8943 #ifdef HAVE_SYS_SOCKETVAR_H
8944 # include <sys/socketvar.h>
8945 #endif
8946 #ifdef HAVE_NET_ROUTE_H
8947 # include <net/route.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IN_H
8950 # include <netinet/in.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IN_SYSTM_H
8953 # include <netinet/in_systm.h>
8954 #endif
8955 #ifdef HAVE_NET_IF_H
8956 # include <net/if.h>
8957 #endif
8958 #ifdef HAVE_NETINET_IP_H
8959 # include <netinet/ip.h>
8960 #endif
8962 if test "x$ac_cv_header_net_route_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_SYS_SOCKETVAR_H
8970 # include <sys/socketvar.h>
8971 #endif
8972 #ifdef HAVE_NET_ROUTE_H
8973 # include <net/route.h>
8974 #endif
8975 #ifdef HAVE_NETINET_IN_H
8976 # include <netinet/in.h>
8977 #endif
8978 #ifdef HAVE_NETINET_IN_SYSTM_H
8979 # include <netinet/in_systm.h>
8980 #endif
8981 #ifdef HAVE_NET_IF_H
8982 # include <net/if.h>
8983 #endif
8984 #ifdef HAVE_NETINET_IP_H
8985 # include <netinet/ip.h>
8986 #endif
8988 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8989 then :
8990 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8994 #include <sys/socket.h>
8995 #ifdef HAVE_SYS_SOCKETVAR_H
8996 # include <sys/socketvar.h>
8997 #endif
8998 #ifdef HAVE_NET_ROUTE_H
8999 # include <net/route.h>
9000 #endif
9001 #ifdef HAVE_NETINET_IN_H
9002 # include <netinet/in.h>
9003 #endif
9004 #ifdef HAVE_NETINET_IN_SYSTM_H
9005 # include <netinet/in_systm.h>
9006 #endif
9007 #ifdef HAVE_NET_IF_H
9008 # include <net/if.h>
9009 #endif
9010 #ifdef HAVE_NETINET_IP_H
9011 # include <netinet/ip.h>
9012 #endif
9014 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9020 #include <sys/socket.h>
9021 #ifdef HAVE_SYS_SOCKETVAR_H
9022 # include <sys/socketvar.h>
9023 #endif
9024 #ifdef HAVE_NET_ROUTE_H
9025 # include <net/route.h>
9026 #endif
9027 #ifdef HAVE_NETINET_IN_H
9028 # include <netinet/in.h>
9029 #endif
9030 #ifdef HAVE_NETINET_IN_SYSTM_H
9031 # include <netinet/in_systm.h>
9032 #endif
9033 #ifdef HAVE_NET_IF_H
9034 # include <net/if.h>
9035 #endif
9036 #ifdef HAVE_NETINET_IP_H
9037 # include <netinet/ip.h>
9038 #endif
9040 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9045 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9046 #include <sys/socket.h>
9047 #ifdef HAVE_SYS_SOCKETVAR_H
9048 # include <sys/socketvar.h>
9049 #endif
9050 #ifdef HAVE_NET_ROUTE_H
9051 # include <net/route.h>
9052 #endif
9053 #ifdef HAVE_NETINET_IN_H
9054 # include <netinet/in.h>
9055 #endif
9056 #ifdef HAVE_NETINET_IN_SYSTM_H
9057 # include <netinet/in_systm.h>
9058 #endif
9059 #ifdef HAVE_NET_IF_H
9060 # include <net/if.h>
9061 #endif
9062 #ifdef HAVE_NETINET_IP_H
9063 # include <netinet/ip.h>
9064 #endif
9066 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9067 then :
9068 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9071 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9072 #include <sys/socket.h>
9073 #ifdef HAVE_SYS_SOCKETVAR_H
9074 # include <sys/socketvar.h>
9075 #endif
9076 #ifdef HAVE_NET_ROUTE_H
9077 # include <net/route.h>
9078 #endif
9079 #ifdef HAVE_NETINET_IN_H
9080 # include <netinet/in.h>
9081 #endif
9082 #ifdef HAVE_NETINET_IN_SYSTM_H
9083 # include <netinet/in_systm.h>
9084 #endif
9085 #ifdef HAVE_NET_IF_H
9086 # include <net/if.h>
9087 #endif
9088 #ifdef HAVE_NETINET_IP_H
9089 # include <netinet/ip.h>
9090 #endif
9092 if test "x$ac_cv_header_netinet_udp_h" = xyes
9093 then :
9094 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9097 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9098 #include <sys/socket.h>
9099 #ifdef HAVE_SYS_SOCKETVAR_H
9100 # include <sys/socketvar.h>
9101 #endif
9102 #ifdef HAVE_NET_ROUTE_H
9103 # include <net/route.h>
9104 #endif
9105 #ifdef HAVE_NETINET_IN_H
9106 # include <netinet/in.h>
9107 #endif
9108 #ifdef HAVE_NETINET_IN_SYSTM_H
9109 # include <netinet/in_systm.h>
9110 #endif
9111 #ifdef HAVE_NET_IF_H
9112 # include <net/if.h>
9113 #endif
9114 #ifdef HAVE_NETINET_IP_H
9115 # include <netinet/ip.h>
9116 #endif
9118 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9119 then :
9120 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9123 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9124 #include <sys/socket.h>
9125 #ifdef HAVE_SYS_SOCKETVAR_H
9126 # include <sys/socketvar.h>
9127 #endif
9128 #ifdef HAVE_NET_ROUTE_H
9129 # include <net/route.h>
9130 #endif
9131 #ifdef HAVE_NETINET_IN_H
9132 # include <netinet/in.h>
9133 #endif
9134 #ifdef HAVE_NETINET_IN_SYSTM_H
9135 # include <netinet/in_systm.h>
9136 #endif
9137 #ifdef HAVE_NET_IF_H
9138 # include <net/if.h>
9139 #endif
9140 #ifdef HAVE_NETINET_IP_H
9141 # include <netinet/ip.h>
9142 #endif
9144 if test "x$ac_cv_header_sys_un_h" = xyes
9145 then :
9146 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9151 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9152 #include <sys/socket.h>
9153 #ifdef HAVE_SYS_SOCKETVAR_H
9154 # include <sys/socketvar.h>
9155 #endif
9156 #ifdef HAVE_NETINET_IN_H
9157 # include <netinet/in.h>
9158 #endif
9159 #ifdef HAVE_NETINET_IN_SYSTM_H
9160 # include <netinet/in_systm.h>
9161 #endif
9162 #ifdef HAVE_NETINET_IP_H
9163 # include <netinet/ip.h>
9164 #endif
9165 #ifdef HAVE_NETINET_IP_VAR_H
9166 # include <netinet/ip_var.h>
9167 #endif
9168 #ifdef HAVE_NETINET_IP_ICMP_H
9169 # include <netinet/ip_icmp.h>
9170 #endif
9171 #ifdef HAVE_NETINET_UDP_H
9172 # include <netinet/udp.h>
9173 #endif
9174 #ifdef HAVE_NETINET_TCP_H
9175 # include <netinet/tcp.h>
9176 #endif
9178 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9179 then :
9180 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9183 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9184 #include <sys/socket.h>
9185 #ifdef HAVE_SYS_SOCKETVAR_H
9186 # include <sys/socketvar.h>
9187 #endif
9188 #ifdef HAVE_NETINET_IN_H
9189 # include <netinet/in.h>
9190 #endif
9191 #ifdef HAVE_NETINET_IN_SYSTM_H
9192 # include <netinet/in_systm.h>
9193 #endif
9194 #ifdef HAVE_NETINET_IP_H
9195 # include <netinet/ip.h>
9196 #endif
9197 #ifdef HAVE_NETINET_IP_VAR_H
9198 # include <netinet/ip_var.h>
9199 #endif
9200 #ifdef HAVE_NETINET_IP_ICMP_H
9201 # include <netinet/ip_icmp.h>
9202 #endif
9203 #ifdef HAVE_NETINET_UDP_H
9204 # include <netinet/udp.h>
9205 #endif
9206 #ifdef HAVE_NETINET_TCP_H
9207 # include <netinet/tcp.h>
9208 #endif
9210 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9211 then :
9212 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9215 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9216 #include <sys/socket.h>
9217 #ifdef HAVE_SYS_SOCKETVAR_H
9218 # include <sys/socketvar.h>
9219 #endif
9220 #ifdef HAVE_NETINET_IN_H
9221 # include <netinet/in.h>
9222 #endif
9223 #ifdef HAVE_NETINET_IN_SYSTM_H
9224 # include <netinet/in_systm.h>
9225 #endif
9226 #ifdef HAVE_NETINET_IP_H
9227 # include <netinet/ip.h>
9228 #endif
9229 #ifdef HAVE_NETINET_IP_VAR_H
9230 # include <netinet/ip_var.h>
9231 #endif
9232 #ifdef HAVE_NETINET_IP_ICMP_H
9233 # include <netinet/ip_icmp.h>
9234 #endif
9235 #ifdef HAVE_NETINET_UDP_H
9236 # include <netinet/udp.h>
9237 #endif
9238 #ifdef HAVE_NETINET_TCP_H
9239 # include <netinet/tcp.h>
9240 #endif
9242 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9243 then :
9244 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9249 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9250 #include <sys/socket.h>
9251 #ifdef HAVE_ASM_TYPES_H
9252 # include <asm/types.h>
9253 #endif
9254 #ifdef HAVE_LINUX_TYPES_H
9255 # include <linux/types.h>
9256 #endif
9258 if test "x$ac_cv_header_linux_ipx_h" = xyes
9259 then :
9260 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9263 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9264 #include <sys/socket.h>
9265 #ifdef HAVE_ASM_TYPES_H
9266 # include <asm/types.h>
9267 #endif
9268 #ifdef HAVE_LINUX_TYPES_H
9269 # include <linux/types.h>
9270 #endif
9272 if test "x$ac_cv_header_linux_irda_h" = xyes
9273 then :
9274 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9277 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9278 #include <sys/socket.h>
9279 #ifdef HAVE_ASM_TYPES_H
9280 # include <asm/types.h>
9281 #endif
9282 #ifdef HAVE_LINUX_TYPES_H
9283 # include <linux/types.h>
9284 #endif
9286 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9287 then :
9288 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9293 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9294 #include <sys/socket.h>
9295 #ifdef HAVE_NETINET_IN_H
9296 # include <netinet/in.h>
9297 #endif
9298 #ifdef HAVE_ARPA_NAMESER_H
9299 # include <arpa/nameser.h>
9300 #endif
9302 if test "x$ac_cv_header_resolv_h" = xyes
9303 then :
9304 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9309 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9311 if test "x$ac_cv_header_ifaddrs_h" = xyes
9312 then :
9313 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9318 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9320 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9321 then :
9322 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9327 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9328 #ifdef HAVE_SYS_UCONTEXT_H
9329 #include <sys/ucontext.h>
9330 #endif
9332 if test "x$ac_cv_header_sys_thr_h" = xyes
9333 then :
9334 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9339 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9340 #include <pthread.h>
9341 #endif
9343 if test "x$ac_cv_header_pthread_np_h" = xyes
9344 then :
9345 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9350 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9351 #include <sys/types.h>
9352 #ifdef HAVE_ASM_TYPES_H
9353 #include <asm/types.h>
9354 #endif
9356 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9357 then :
9358 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9363 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9364 #include <sys/param.h>
9365 #endif
9366 #include <sys/socket.h>
9367 #ifdef HAVE_SYS_QUEUE_H
9368 #include <sys/queue.h>
9369 #endif
9371 if test "x$ac_cv_header_libprocstat_h" = xyes
9372 then :
9373 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9379 DLLFLAGS=""
9381 LDDLLFLAGS=""
9383 LDEXECFLAGS=""
9385 EXTRACFLAGS=""
9387 UNIXDLLFLAGS="-fPIC"
9389 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9391 TOP_INSTALL_LIB=""
9393 TOP_INSTALL_DEV=""
9395 WINELOADER_LDFLAGS=""
9397 WINEPRELOADER_LDFLAGS=""
9399 LIBEXT="so"
9400 # Extract the first word of "ldd", so it can be a program name with args.
9401 set dummy ldd; ac_word=$2
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9403 printf %s "checking for $ac_word... " >&6; }
9404 if test ${ac_cv_path_LDD+y}
9405 then :
9406 printf %s "(cached) " >&6
9407 else $as_nop
9408 case $LDD in
9409 [\\/]* | ?:[\\/]*)
9410 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9414 as_dummy="/sbin:/usr/sbin:$PATH"
9415 for as_dir in $as_dummy
9417 IFS=$as_save_IFS
9418 case $as_dir in #(((
9419 '') as_dir=./ ;;
9420 */) ;;
9421 *) as_dir=$as_dir/ ;;
9422 esac
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9425 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9427 break 2
9429 done
9430 done
9431 IFS=$as_save_IFS
9433 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9435 esac
9437 LDD=$ac_cv_path_LDD
9438 if test -n "$LDD"; then
9439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9440 printf "%s\n" "$LDD" >&6; }
9441 else
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9443 printf "%s\n" "no" >&6; }
9447 if test -n "$ac_tool_prefix"; then
9448 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9449 set dummy ${ac_tool_prefix}otool; ac_word=$2
9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9451 printf %s "checking for $ac_word... " >&6; }
9452 if test ${ac_cv_prog_OTOOL+y}
9453 then :
9454 printf %s "(cached) " >&6
9455 else $as_nop
9456 if test -n "$OTOOL"; then
9457 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9458 else
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 for as_dir in $PATH
9462 IFS=$as_save_IFS
9463 case $as_dir in #(((
9464 '') as_dir=./ ;;
9465 */) ;;
9466 *) as_dir=$as_dir/ ;;
9467 esac
9468 for ac_exec_ext in '' $ac_executable_extensions; do
9469 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9470 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9472 break 2
9474 done
9475 done
9476 IFS=$as_save_IFS
9480 OTOOL=$ac_cv_prog_OTOOL
9481 if test -n "$OTOOL"; then
9482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9483 printf "%s\n" "$OTOOL" >&6; }
9484 else
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486 printf "%s\n" "no" >&6; }
9491 if test -z "$ac_cv_prog_OTOOL"; then
9492 ac_ct_OTOOL=$OTOOL
9493 # Extract the first word of "otool", so it can be a program name with args.
9494 set dummy otool; ac_word=$2
9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9496 printf %s "checking for $ac_word... " >&6; }
9497 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9498 then :
9499 printf %s "(cached) " >&6
9500 else $as_nop
9501 if test -n "$ac_ct_OTOOL"; then
9502 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9503 else
9504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9505 for as_dir in $PATH
9507 IFS=$as_save_IFS
9508 case $as_dir in #(((
9509 '') as_dir=./ ;;
9510 */) ;;
9511 *) as_dir=$as_dir/ ;;
9512 esac
9513 for ac_exec_ext in '' $ac_executable_extensions; do
9514 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9515 ac_cv_prog_ac_ct_OTOOL="otool"
9516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9517 break 2
9519 done
9520 done
9521 IFS=$as_save_IFS
9525 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9526 if test -n "$ac_ct_OTOOL"; then
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9528 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9529 else
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 printf "%s\n" "no" >&6; }
9534 if test "x$ac_ct_OTOOL" = x; then
9535 OTOOL="otool"
9536 else
9537 case $cross_compiling:$ac_tool_warned in
9538 yes:)
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9540 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9541 ac_tool_warned=yes ;;
9542 esac
9543 OTOOL=$ac_ct_OTOOL
9545 else
9546 OTOOL="$ac_cv_prog_OTOOL"
9549 if test -n "$ac_tool_prefix"; then
9550 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9551 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9553 printf %s "checking for $ac_word... " >&6; }
9554 if test ${ac_cv_prog_READELF+y}
9555 then :
9556 printf %s "(cached) " >&6
9557 else $as_nop
9558 if test -n "$READELF"; then
9559 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9560 else
9561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9562 for as_dir in $PATH
9564 IFS=$as_save_IFS
9565 case $as_dir in #(((
9566 '') as_dir=./ ;;
9567 */) ;;
9568 *) as_dir=$as_dir/ ;;
9569 esac
9570 for ac_exec_ext in '' $ac_executable_extensions; do
9571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9572 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9574 break 2
9576 done
9577 done
9578 IFS=$as_save_IFS
9582 READELF=$ac_cv_prog_READELF
9583 if test -n "$READELF"; then
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9585 printf "%s\n" "$READELF" >&6; }
9586 else
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 printf "%s\n" "no" >&6; }
9593 if test -z "$ac_cv_prog_READELF"; then
9594 ac_ct_READELF=$READELF
9595 # Extract the first word of "readelf", so it can be a program name with args.
9596 set dummy readelf; ac_word=$2
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9598 printf %s "checking for $ac_word... " >&6; }
9599 if test ${ac_cv_prog_ac_ct_READELF+y}
9600 then :
9601 printf %s "(cached) " >&6
9602 else $as_nop
9603 if test -n "$ac_ct_READELF"; then
9604 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9605 else
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9607 for as_dir in $PATH
9609 IFS=$as_save_IFS
9610 case $as_dir in #(((
9611 '') as_dir=./ ;;
9612 */) ;;
9613 *) as_dir=$as_dir/ ;;
9614 esac
9615 for ac_exec_ext in '' $ac_executable_extensions; do
9616 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9617 ac_cv_prog_ac_ct_READELF="readelf"
9618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9619 break 2
9621 done
9622 done
9623 IFS=$as_save_IFS
9627 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9628 if test -n "$ac_ct_READELF"; then
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9630 printf "%s\n" "$ac_ct_READELF" >&6; }
9631 else
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9633 printf "%s\n" "no" >&6; }
9636 if test "x$ac_ct_READELF" = x; then
9637 READELF="true"
9638 else
9639 case $cross_compiling:$ac_tool_warned in
9640 yes:)
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9642 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9643 ac_tool_warned=yes ;;
9644 esac
9645 READELF=$ac_ct_READELF
9647 else
9648 READELF="$ac_cv_prog_READELF"
9651 wine_rules="all:"
9652 SUBDIRS=""
9654 DISABLED_SUBDIRS=""
9656 CONFIGURE_TARGETS=""
9659 wine_fn_append_file ()
9661 as_fn_append $1 " \\$as_nl $2"
9664 wine_fn_append_rule ()
9666 as_fn_append wine_rules "$as_nl$1"
9669 wine_fn_config_makefile ()
9671 wine_fn_append_file SUBDIRS $1
9672 if eval test \"x\$"$2"\" = x"no"
9673 then :
9674 wine_fn_append_file DISABLED_SUBDIRS $1
9678 wine_fn_config_symlink ()
9680 ac_links=$@
9681 wine_fn_append_rule \
9682 "$ac_links:
9683 @./config.status \$@"
9684 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9687 wine_binary="wine"
9688 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9689 WINELOADER_PROGRAMS="$wine_binary"
9691 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9693 case $host_os in
9694 cygwin*|mingw32*)
9695 if test -n "$ac_tool_prefix"; then
9696 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9697 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9699 printf %s "checking for $ac_word... " >&6; }
9700 if test ${ac_cv_prog_DLLTOOL+y}
9701 then :
9702 printf %s "(cached) " >&6
9703 else $as_nop
9704 if test -n "$DLLTOOL"; then
9705 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9706 else
9707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9708 for as_dir in $PATH
9710 IFS=$as_save_IFS
9711 case $as_dir in #(((
9712 '') as_dir=./ ;;
9713 */) ;;
9714 *) as_dir=$as_dir/ ;;
9715 esac
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9718 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9720 break 2
9722 done
9723 done
9724 IFS=$as_save_IFS
9728 DLLTOOL=$ac_cv_prog_DLLTOOL
9729 if test -n "$DLLTOOL"; then
9730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9731 printf "%s\n" "$DLLTOOL" >&6; }
9732 else
9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 printf "%s\n" "no" >&6; }
9739 if test -z "$ac_cv_prog_DLLTOOL"; then
9740 ac_ct_DLLTOOL=$DLLTOOL
9741 # Extract the first word of "dlltool", so it can be a program name with args.
9742 set dummy dlltool; ac_word=$2
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 printf %s "checking for $ac_word... " >&6; }
9745 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9746 then :
9747 printf %s "(cached) " >&6
9748 else $as_nop
9749 if test -n "$ac_ct_DLLTOOL"; then
9750 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9751 else
9752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 for as_dir in $PATH
9755 IFS=$as_save_IFS
9756 case $as_dir in #(((
9757 '') as_dir=./ ;;
9758 */) ;;
9759 *) as_dir=$as_dir/ ;;
9760 esac
9761 for ac_exec_ext in '' $ac_executable_extensions; do
9762 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9763 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9765 break 2
9767 done
9768 done
9769 IFS=$as_save_IFS
9773 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9774 if test -n "$ac_ct_DLLTOOL"; then
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9776 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9777 else
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 printf "%s\n" "no" >&6; }
9782 if test "x$ac_ct_DLLTOOL" = x; then
9783 DLLTOOL="false"
9784 else
9785 case $cross_compiling:$ac_tool_warned in
9786 yes:)
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9788 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9789 ac_tool_warned=yes ;;
9790 esac
9791 DLLTOOL=$ac_ct_DLLTOOL
9793 else
9794 DLLTOOL="$ac_cv_prog_DLLTOOL"
9797 LIBEXT="dll"
9798 EXTRACFLAGS="-D__WINE_PE_BUILD"
9799 case $host_cpu in
9800 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9801 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9802 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9803 then :
9804 printf %s "(cached) " >&6
9805 else $as_nop
9806 ac_wine_try_cflags_saved=$CFLAGS
9807 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9810 int main(int argc, char **argv) { return 0; }
9811 _ACEOF
9812 if ac_fn_c_try_link "$LINENO"
9813 then :
9814 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9815 else $as_nop
9816 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9819 conftest$ac_exeext conftest.$ac_ext
9820 CFLAGS=$ac_wine_try_cflags_saved
9822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9823 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9824 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9825 then :
9826 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9827 fi ;;
9828 esac
9829 enable_loader=${enable_loader:-no}
9830 enable_server=${enable_server:-no}
9831 with_x=${with_x:-no}
9832 with_pthread=${with_pthread:-no}
9835 darwin*|macosx*)
9836 ac_ext=m
9837 ac_cpp='$OBJCPP $CPPFLAGS'
9838 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9839 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9840 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9842 ac_ext=m
9843 ac_cpp='$OBJCPP $CPPFLAGS'
9844 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9845 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9846 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9847 if test -n "$ac_tool_prefix"; then
9848 for ac_prog in gcc objcc objc cc CC clang
9850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9853 printf %s "checking for $ac_word... " >&6; }
9854 if test ${ac_cv_prog_OBJC+y}
9855 then :
9856 printf %s "(cached) " >&6
9857 else $as_nop
9858 if test -n "$OBJC"; then
9859 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9860 else
9861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9862 for as_dir in $PATH
9864 IFS=$as_save_IFS
9865 case $as_dir in #(((
9866 '') as_dir=./ ;;
9867 */) ;;
9868 *) as_dir=$as_dir/ ;;
9869 esac
9870 for ac_exec_ext in '' $ac_executable_extensions; do
9871 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9872 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9874 break 2
9876 done
9877 done
9878 IFS=$as_save_IFS
9882 OBJC=$ac_cv_prog_OBJC
9883 if test -n "$OBJC"; then
9884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9885 printf "%s\n" "$OBJC" >&6; }
9886 else
9887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9888 printf "%s\n" "no" >&6; }
9892 test -n "$OBJC" && break
9893 done
9895 if test -z "$OBJC"; then
9896 ac_ct_OBJC=$OBJC
9897 for ac_prog in gcc objcc objc cc CC clang
9899 # Extract the first word of "$ac_prog", so it can be a program name with args.
9900 set dummy $ac_prog; ac_word=$2
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9902 printf %s "checking for $ac_word... " >&6; }
9903 if test ${ac_cv_prog_ac_ct_OBJC+y}
9904 then :
9905 printf %s "(cached) " >&6
9906 else $as_nop
9907 if test -n "$ac_ct_OBJC"; then
9908 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9909 else
9910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9911 for as_dir in $PATH
9913 IFS=$as_save_IFS
9914 case $as_dir in #(((
9915 '') as_dir=./ ;;
9916 */) ;;
9917 *) as_dir=$as_dir/ ;;
9918 esac
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9923 break 2
9925 done
9926 done
9927 IFS=$as_save_IFS
9931 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9932 if test -n "$ac_ct_OBJC"; then
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9934 printf "%s\n" "$ac_ct_OBJC" >&6; }
9935 else
9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9937 printf "%s\n" "no" >&6; }
9941 test -n "$ac_ct_OBJC" && break
9942 done
9944 if test "x$ac_ct_OBJC" = x; then
9945 OBJC="gcc"
9946 else
9947 case $cross_compiling:$ac_tool_warned in
9948 yes:)
9949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9950 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9951 ac_tool_warned=yes ;;
9952 esac
9953 OBJC=$ac_ct_OBJC
9957 # Provide some information about the compiler.
9958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9959 set X $ac_compile
9960 ac_compiler=$2
9961 for ac_option in --version -v -V -qversion; do
9962 { { ac_try="$ac_compiler $ac_option >&5"
9963 case "(($ac_try" in
9964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9965 *) ac_try_echo=$ac_try;;
9966 esac
9967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9968 printf "%s\n" "$ac_try_echo"; } >&5
9969 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9970 ac_status=$?
9971 if test -s conftest.err; then
9972 sed '10a\
9973 ... rest of stderr output deleted ...
9974 10q' conftest.err >conftest.er1
9975 cat conftest.er1 >&5
9977 rm -f conftest.er1 conftest.err
9978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9979 test $ac_status = 0; }
9980 done
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9983 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9984 if test ${ac_cv_objc_compiler_gnu+y}
9985 then :
9986 printf %s "(cached) " >&6
9987 else $as_nop
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9992 main (void)
9994 #ifndef __GNUC__
9995 choke me
9996 #endif
9999 return 0;
10001 _ACEOF
10002 if ac_fn_objc_try_compile "$LINENO"
10003 then :
10004 ac_compiler_gnu=yes
10005 else $as_nop
10006 ac_compiler_gnu=no
10008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10009 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10013 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10014 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10016 if test $ac_compiler_gnu = yes; then
10017 GOBJC=yes
10018 else
10019 GOBJC=
10021 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10022 ac_save_OBJCFLAGS=$OBJCFLAGS
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10024 printf %s "checking whether $OBJC accepts -g... " >&6; }
10025 if test ${ac_cv_prog_objc_g+y}
10026 then :
10027 printf %s "(cached) " >&6
10028 else $as_nop
10029 ac_save_objc_werror_flag=$ac_objc_werror_flag
10030 ac_objc_werror_flag=yes
10031 ac_cv_prog_objc_g=no
10032 OBJCFLAGS="-g"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10037 main (void)
10041 return 0;
10043 _ACEOF
10044 if ac_fn_objc_try_compile "$LINENO"
10045 then :
10046 ac_cv_prog_objc_g=yes
10047 else $as_nop
10048 OBJCFLAGS=""
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10053 main (void)
10057 return 0;
10059 _ACEOF
10060 if ac_fn_objc_try_compile "$LINENO"
10061 then :
10063 else $as_nop
10064 ac_objc_werror_flag=$ac_save_objc_werror_flag
10065 OBJCFLAGS="-g"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10070 main (void)
10074 return 0;
10076 _ACEOF
10077 if ac_fn_objc_try_compile "$LINENO"
10078 then :
10079 ac_cv_prog_objc_g=yes
10081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 ac_objc_werror_flag=$ac_save_objc_werror_flag
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10089 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10090 if test $ac_test_OBJCFLAGS; then
10091 OBJCFLAGS=$ac_save_OBJCFLAGS
10092 elif test $ac_cv_prog_objc_g = yes; then
10093 if test "$GOBJC" = yes; then
10094 OBJCFLAGS="-g -O2"
10095 else
10096 OBJCFLAGS="-g"
10098 else
10099 if test "$GOBJC" = yes; then
10100 OBJCFLAGS="-O2"
10101 else
10102 OBJCFLAGS=
10105 ac_ext=m
10106 ac_cpp='$OBJCPP $CPPFLAGS'
10107 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10108 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10109 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10112 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10113 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10114 then :
10115 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10119 ac_ext=c
10120 ac_cpp='$CPP $CPPFLAGS'
10121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10125 LIBEXT="dylib"
10126 DLLFLAGS="$DLLFLAGS -fPIC"
10127 LDDLLFLAGS="-fPIC"
10128 COREFOUNDATION_LIBS="-framework CoreFoundation"
10130 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10132 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10134 CORESERVICES_LIBS="-framework CoreServices"
10136 APPKIT_LIBS="-framework AppKit"
10138 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10141 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10143 wine_can_build_preloader=yes
10144 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"
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10146 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10147 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10148 then :
10149 printf %s "(cached) " >&6
10150 else $as_nop
10151 ac_wine_try_cflags_saved=$CFLAGS
10152 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int main(int argc, char **argv) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"
10158 then :
10159 ac_cv_cflags__Wl__no_new_main__e__main=yes
10160 else $as_nop
10161 ac_cv_cflags__Wl__no_new_main__e__main=no
10163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10168 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10169 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10170 then :
10171 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10172 { 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
10173 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10174 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10175 then :
10176 printf %s "(cached) " >&6
10177 else $as_nop
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182 int main(int argc, char **argv) { return 0; }
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"
10185 then :
10186 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10187 else $as_nop
10188 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10194 { 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
10195 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10196 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10197 then :
10198 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10199 else $as_nop
10200 wine_can_build_preloader=no
10202 else $as_nop
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10204 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10205 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10206 then :
10207 printf %s "(cached) " >&6
10208 else $as_nop
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10213 int main(int argc, char **argv) { return 0; }
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"
10216 then :
10217 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10218 else $as_nop
10219 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10226 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10227 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10228 then :
10229 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10230 else $as_nop
10231 wine_can_build_preloader=no
10234 if test "$wine_can_build_preloader" = "yes"
10235 then
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10237 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10238 if test ${ac_cv_cflags__Wl__no_pie+y}
10239 then :
10240 printf %s "(cached) " >&6
10241 else $as_nop
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 CFLAGS="$CFLAGS -Wl,-no_pie"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int main(int argc, char **argv) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"
10249 then :
10250 ac_cv_cflags__Wl__no_pie=yes
10251 else $as_nop
10252 ac_cv_cflags__Wl__no_pie=no
10254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10259 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10260 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10261 then :
10262 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10264 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10265 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10266 else
10267 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10270 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10271 then
10272 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10275 if test "$ac_cv_header_Security_Security_h" = "yes"
10276 then
10277 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10280 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10281 then
10282 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10284 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10286 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10287 then
10288 OPENAL_LIBS="-framework OpenAL"
10291 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10293 ac_cv_lib_openal=yes
10295 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10296 then
10297 OPENCL_LIBS="-framework OpenCL"
10299 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10301 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10302 then
10303 ac_save_LIBS="$LIBS"
10304 LIBS="$LIBS $IOKIT_LIBS"
10305 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10306 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10307 then :
10308 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10312 LIBS="$ac_save_LIBS"
10315 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10316 then
10317 CARBON_LIBS="-framework Carbon"
10320 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10321 then
10322 METAL_LIBS="-framework Metal"
10326 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10327 then
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10329 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10330 ac_ext=m
10331 ac_cpp='$OBJCPP $CPPFLAGS'
10332 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10333 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10334 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 #include <Metal/Metal.h>
10340 main (void)
10342 id<MTLDevice> device; device.registryID;
10344 return 0;
10346 _ACEOF
10347 if ac_fn_objc_try_compile "$LINENO"
10348 then :
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10350 printf "%s\n" "yes" >&6; }
10352 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10354 else $as_nop
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10356 printf "%s\n" "no" >&6; }
10358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10359 ac_ext=c
10360 ac_cpp='$CPP $CPPFLAGS'
10361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10367 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10368 then
10369 ac_save_LIBS="$LIBS"
10370 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10371 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10372 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10373 then :
10374 enable_winemac_drv=${enable_winemac_drv:-yes}
10377 LIBS="$ac_save_LIBS"
10380 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10381 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10383 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10385 WINELOADER_DEPENDS="wine_info.plist"
10387 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10390 linux-android*)
10392 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10394 DLLFLAGS="$DLLFLAGS -fPIC"
10395 LDDLLFLAGS="-fPIC"
10396 LDEXECFLAGS="-Wl,-pie"
10397 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10399 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10400 if test ${ac_cv_cflags__Wl__z_defs+y}
10401 then :
10402 printf %s "(cached) " >&6
10403 else $as_nop
10404 ac_wine_try_cflags_saved=$CFLAGS
10405 CFLAGS="$CFLAGS -Wl,-z,defs"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int main(int argc, char **argv) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"
10411 then :
10412 ac_cv_cflags__Wl__z_defs=yes
10413 else $as_nop
10414 ac_cv_cflags__Wl__z_defs=no
10416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10421 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10422 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10423 then :
10424 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10427 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10428 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10429 then :
10430 printf %s "(cached) " >&6
10431 else $as_nop
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 int main(int argc, char **argv) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"
10439 then :
10440 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10441 else $as_nop
10442 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10449 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10450 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10451 then :
10452 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10454 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10457 printf %s "checking for -lEGL... " >&6; }
10458 if test ${ac_cv_lib_soname_EGL+y}
10459 then :
10460 printf %s "(cached) " >&6
10461 else $as_nop
10462 ac_check_soname_save_LIBS=$LIBS
10463 LIBS="-lEGL $LIBS"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10470 char eglGetProcAddress ();
10472 main (void)
10474 return eglGetProcAddress ();
10476 return 0;
10478 _ACEOF
10479 if ac_fn_c_try_link "$LINENO"
10480 then :
10481 case "$LIBEXT" in
10482 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10483 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'` ;;
10484 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10485 if ${ac_cv_lib_soname_EGL:+false} :
10486 then :
10487 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10488 fi ;;
10489 esac
10490 else $as_nop
10491 ac_cv_lib_soname_EGL=
10493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_soname_save_LIBS
10497 if ${ac_cv_lib_soname_EGL:+false} :
10498 then :
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10500 printf "%s\n" "not found" >&6; }
10502 else $as_nop
10503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10504 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10506 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10511 printf %s "checking for -lGLESv2... " >&6; }
10512 if test ${ac_cv_lib_soname_GLESv2+y}
10513 then :
10514 printf %s "(cached) " >&6
10515 else $as_nop
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lGLESv2 $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 char glFlush ();
10526 main (void)
10528 return glFlush ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"
10534 then :
10535 case "$LIBEXT" in
10536 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10537 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'` ;;
10538 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10539 if ${ac_cv_lib_soname_GLESv2:+false} :
10540 then :
10541 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10542 fi ;;
10543 esac
10544 else $as_nop
10545 ac_cv_lib_soname_GLESv2=
10547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_soname_save_LIBS
10551 if ${ac_cv_lib_soname_GLESv2:+false} :
10552 then :
10553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10554 printf "%s\n" "not found" >&6; }
10556 else $as_nop
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10558 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10560 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10565 if test "x$exec_prefix" = xNONE
10566 then
10567 case $host_cpu in
10568 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10569 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10570 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10571 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10572 esac
10578 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10580 case $host_cpu in
10581 *i[3456789]86*)
10582 DLLFLAGS="$DLLFLAGS -fno-PIC"
10583 LDDLLFLAGS="-fno-PIC"
10584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10585 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10586 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10587 then :
10588 printf %s "(cached) " >&6
10589 else $as_nop
10590 ac_wine_try_cflags_saved=$CFLAGS
10591 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10594 int main(int argc, char **argv) { return 0; }
10595 _ACEOF
10596 if ac_fn_c_try_link "$LINENO"
10597 then :
10598 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10599 else $as_nop
10600 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10603 conftest$ac_exeext conftest.$ac_ext
10604 CFLAGS=$ac_wine_try_cflags_saved
10606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10607 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10608 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10609 then :
10610 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10614 DLLFLAGS="$DLLFLAGS -fPIC"
10615 LDDLLFLAGS="-fPIC" ;;
10616 esac
10617 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10619 echo '{ global: *; };' >conftest.map
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10621 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10622 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10623 then :
10624 printf %s "(cached) " >&6
10625 else $as_nop
10626 ac_wine_try_cflags_saved=$CFLAGS
10627 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10630 int main(int argc, char **argv) { return 0; }
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"
10633 then :
10634 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10635 else $as_nop
10636 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10639 conftest$ac_exeext conftest.$ac_ext
10640 CFLAGS=$ac_wine_try_cflags_saved
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10643 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10644 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10645 then :
10646 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10648 rm -f conftest.map
10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10651 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10652 if test ${ac_cv_cflags__Wl__z_defs+y}
10653 then :
10654 printf %s "(cached) " >&6
10655 else $as_nop
10656 ac_wine_try_cflags_saved=$CFLAGS
10657 CFLAGS="$CFLAGS -Wl,-z,defs"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10660 int main(int argc, char **argv) { return 0; }
10661 _ACEOF
10662 if ac_fn_c_try_link "$LINENO"
10663 then :
10664 ac_cv_cflags__Wl__z_defs=yes
10665 else $as_nop
10666 ac_cv_cflags__Wl__z_defs=no
10668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10669 conftest$ac_exeext conftest.$ac_ext
10670 CFLAGS=$ac_wine_try_cflags_saved
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10673 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10674 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10675 then :
10676 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10679 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10680 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10681 then :
10682 printf %s "(cached) " >&6
10683 else $as_nop
10684 ac_wine_try_cflags_saved=$CFLAGS
10685 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 int main(int argc, char **argv) { return 0; }
10689 _ACEOF
10690 if ac_fn_c_try_link "$LINENO"
10691 then :
10692 ac_cv_cflags__Wl___export_dynamic=yes
10693 else $as_nop
10694 ac_cv_cflags__Wl___export_dynamic=no
10696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10697 conftest$ac_exeext conftest.$ac_ext
10698 CFLAGS=$ac_wine_try_cflags_saved
10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10701 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10702 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10703 then :
10704 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10706 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10708 case $host_cpu in
10709 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10711 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10712 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10713 then :
10714 printf %s "(cached) " >&6
10715 else $as_nop
10716 ac_wine_try_cflags_saved=$CFLAGS
10717 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10720 int main(int argc, char **argv) { return 0; }
10721 _ACEOF
10722 if ac_fn_c_try_link "$LINENO"
10723 then :
10724 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10725 else $as_nop
10726 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10729 conftest$ac_exeext conftest.$ac_ext
10730 CFLAGS=$ac_wine_try_cflags_saved
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10733 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10734 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10735 then :
10736 case $host_os in
10737 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10738 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10739 esac
10740 else $as_nop
10741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10742 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10743 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10744 then :
10745 printf %s "(cached) " >&6
10746 else $as_nop
10747 ac_wine_try_cflags_saved=$CFLAGS
10748 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 int main(int argc, char **argv) { return 0; }
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"
10754 then :
10755 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10756 else $as_nop
10757 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10760 conftest$ac_exeext conftest.$ac_ext
10761 CFLAGS=$ac_wine_try_cflags_saved
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10764 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10765 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10766 then :
10767 case $host_os in
10768 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10769 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10770 esac
10772 # Extract the first word of "prelink", so it can be a program name with args.
10773 set dummy prelink; ac_word=$2
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10775 printf %s "checking for $ac_word... " >&6; }
10776 if test ${ac_cv_path_PRELINK+y}
10777 then :
10778 printf %s "(cached) " >&6
10779 else $as_nop
10780 case $PRELINK in
10781 [\\/]* | ?:[\\/]*)
10782 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10786 for as_dir in /sbin /usr/sbin $PATH
10788 IFS=$as_save_IFS
10789 case $as_dir in #(((
10790 '') as_dir=./ ;;
10791 */) ;;
10792 *) as_dir=$as_dir/ ;;
10793 esac
10794 for ac_exec_ext in '' $ac_executable_extensions; do
10795 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10796 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10798 break 2
10800 done
10801 done
10802 IFS=$as_save_IFS
10804 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10806 esac
10808 PRELINK=$ac_cv_path_PRELINK
10809 if test -n "$PRELINK"; then
10810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10811 printf "%s\n" "$PRELINK" >&6; }
10812 else
10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 printf "%s\n" "no" >&6; }
10818 if test "x$PRELINK" = xfalse
10819 then
10820 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10824 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10825 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10826 then :
10827 printf %s "(cached) " >&6
10828 else $as_nop
10829 ac_wine_try_cflags_saved=$CFLAGS
10830 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833 int main(int argc, char **argv) { return 0; }
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"
10836 then :
10837 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10838 else $as_nop
10839 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10842 conftest$ac_exeext conftest.$ac_ext
10843 CFLAGS=$ac_wine_try_cflags_saved
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10846 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10847 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10848 then :
10849 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10852 esac
10853 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10855 LIBWINE_DEPENDS="wine.map"
10857 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10859 esac
10861 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10862 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10863 enable_winemac_drv=${enable_winemac_drv:-no}
10866 if test "x$with_mingw" != xno
10867 then
10868 case "x$with_mingw" in
10869 x|xyes) case "$host_cpu" in
10870 aarch64*)
10871 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10872 arm*)
10873 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10874 i[3456789]86*)
10875 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
10876 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10877 mingw32-gcc clang" ;;
10878 x86_64)
10879 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
10880 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10882 ac_prefix_list="" ;;
10883 esac
10884 for ac_prog in $ac_prefix_list
10886 # Extract the first word of "$ac_prog", so it can be a program name with args.
10887 set dummy $ac_prog; ac_word=$2
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10889 printf %s "checking for $ac_word... " >&6; }
10890 if test ${ac_cv_prog_CROSSCC+y}
10891 then :
10892 printf %s "(cached) " >&6
10893 else $as_nop
10894 if test -n "$CROSSCC"; then
10895 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10896 else
10897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10898 for as_dir in $PATH
10900 IFS=$as_save_IFS
10901 case $as_dir in #(((
10902 '') as_dir=./ ;;
10903 */) ;;
10904 *) as_dir=$as_dir/ ;;
10905 esac
10906 for ac_exec_ext in '' $ac_executable_extensions; do
10907 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10908 ac_cv_prog_CROSSCC="$ac_prog"
10909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10910 break 2
10912 done
10913 done
10914 IFS=$as_save_IFS
10918 CROSSCC=$ac_cv_prog_CROSSCC
10919 if test -n "$CROSSCC"; then
10920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10921 printf "%s\n" "$CROSSCC" >&6; }
10922 else
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924 printf "%s\n" "no" >&6; }
10928 test -n "$CROSSCC" && break
10929 done
10930 test -n "$CROSSCC" || CROSSCC="false"
10932 *) CROSSCC=$with_mingw ;;
10933 esac
10934 if test "$CROSSCC" != "false"
10935 then
10936 ac_save_CC="$CC"
10937 saved_CFLAGS=$CFLAGS
10938 saved_LDFLAGS=$LDFLAGS
10939 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10941 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10945 CC="$CROSSCC"
10946 CFLAGS=$CROSSCFLAGS
10947 LDFLAGS=$CROSSLDFLAGS
10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10949 printf %s "checking whether $CROSSCC works... " >&6; }
10950 if test ${wine_cv_crosscc+y}
10951 then :
10952 printf %s "(cached) " >&6
10953 else $as_nop
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10958 main (void)
10962 return 0;
10964 _ACEOF
10965 if ac_fn_c_try_compile "$LINENO"
10966 then :
10967 wine_cv_crosscc=yes
10968 else $as_nop
10969 wine_cv_crosscc=no
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10974 printf "%s\n" "$wine_cv_crosscc" >&6; }
10975 if test $wine_cv_crosscc = yes
10976 then
10977 set x $CROSSCC
10978 shift
10979 while test $# -ge 1
10981 case "$1" in
10982 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10983 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10984 esac
10985 shift
10986 done
10988 llvm_target=$CROSSTARGET
10989 llvm_cflags="-fuse-ld=lld"
10990 if test -z "$llvm_target"
10991 then
10992 case $host_cpu in
10993 *i[3456789]86*) llvm_target=i686-windows ;;
10994 *) llvm_target=$host_cpu-windows ;;
10995 esac
10997 case $llvm_target in
10998 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10999 esac
11000 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11002 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11003 if eval test \${$as_ac_var+y}
11004 then :
11005 printf %s "(cached) " >&6
11006 else $as_nop
11007 ac_wine_try_cflags_saved=$CFLAGS
11008 ac_wine_try_cflags_saved_cc=$CC
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11011 CC="$CROSSCC"
11012 ac_exeext=".exe"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11015 int __cdecl mainCRTStartup(void) { return 0; }
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"
11018 then :
11019 eval "$as_ac_var=yes"
11020 else $as_nop
11021 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11024 conftest$ac_exeext conftest.$ac_ext
11025 CFLAGS=$ac_wine_try_cflags_saved
11026 CC=$ac_wine_try_cflags_saved_cc
11027 ac_exeext=$ac_wine_try_cflags_saved_exeext
11029 eval ac_res=\$$as_ac_var
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11031 printf "%s\n" "$ac_res" >&6; }
11032 if eval test \"x\$"$as_ac_var"\" = x"yes"
11033 then :
11034 CROSSTARGET=$llvm_target
11035 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11036 DELAYLOADFLAG="-Wl,-delayload,"
11038 CFLAGS="$CFLAGS $llvm_cflags"
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11042 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11043 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11044 then :
11045 printf %s "(cached) " >&6
11046 else $as_nop
11047 ac_wine_try_cflags_saved=$CFLAGS
11048 ac_wine_try_cflags_saved_cc=$CC
11049 ac_wine_try_cflags_saved_exeext=$ac_exeext
11050 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11051 CC="$CROSSCC"
11052 ac_exeext=".exe"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 int __cdecl mainCRTStartup(void) { return 0; }
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"
11058 then :
11059 ac_cv_crosscflags__fno_strict_aliasing=yes
11060 else $as_nop
11061 ac_cv_crosscflags__fno_strict_aliasing=no
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 CC=$ac_wine_try_cflags_saved_cc
11067 ac_exeext=$ac_wine_try_cflags_saved_exeext
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11070 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11071 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11072 then :
11073 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11076 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11077 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11078 then :
11079 printf %s "(cached) " >&6
11080 else $as_nop
11081 ac_wine_try_cflags_saved=$CFLAGS
11082 ac_wine_try_cflags_saved_cc=$CC
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11085 CC="$CROSSCC"
11086 ac_exeext=".exe"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 int __cdecl mainCRTStartup(void) { return 0; }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"
11092 then :
11093 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11094 else $as_nop
11095 ac_cv_crosscflags__Werror_unknown_warning_option=no
11097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11098 conftest$ac_exeext conftest.$ac_ext
11099 CFLAGS=$ac_wine_try_cflags_saved
11100 CC=$ac_wine_try_cflags_saved_cc
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11104 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11105 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11106 then :
11107 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11110 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11111 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11112 then :
11113 printf %s "(cached) " >&6
11114 else $as_nop
11115 ac_wine_try_cflags_saved=$CFLAGS
11116 ac_wine_try_cflags_saved_cc=$CC
11117 ac_wine_try_cflags_saved_exeext=$ac_exeext
11118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11119 CC="$CROSSCC"
11120 ac_exeext=".exe"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 int __cdecl mainCRTStartup(void) { return 0; }
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"
11126 then :
11127 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11128 else $as_nop
11129 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 CC=$ac_wine_try_cflags_saved_cc
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11138 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11139 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11140 then :
11141 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11144 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11145 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11146 then :
11147 printf %s "(cached) " >&6
11148 else $as_nop
11149 ac_wine_try_cflags_saved=$CFLAGS
11150 ac_wine_try_cflags_saved_cc=$CC
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11153 CC="$CROSSCC"
11154 ac_exeext=".exe"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"
11160 then :
11161 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11162 else $as_nop
11163 ac_cv_crosscflags__Wdeclaration_after_statement=no
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 CC=$ac_wine_try_cflags_saved_cc
11169 ac_exeext=$ac_wine_try_cflags_saved_exeext
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11172 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11173 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11174 then :
11175 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11178 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11179 if test ${ac_cv_crosscflags__Wempty_body+y}
11180 then :
11181 printf %s "(cached) " >&6
11182 else $as_nop
11183 ac_wine_try_cflags_saved=$CFLAGS
11184 ac_wine_try_cflags_saved_cc=$CC
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11187 CC="$CROSSCC"
11188 ac_exeext=".exe"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11191 int __cdecl mainCRTStartup(void) { return 0; }
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"
11194 then :
11195 ac_cv_crosscflags__Wempty_body=yes
11196 else $as_nop
11197 ac_cv_crosscflags__Wempty_body=no
11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11200 conftest$ac_exeext conftest.$ac_ext
11201 CFLAGS=$ac_wine_try_cflags_saved
11202 CC=$ac_wine_try_cflags_saved_cc
11203 ac_exeext=$ac_wine_try_cflags_saved_exeext
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11206 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11207 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11208 then :
11209 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11212 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11213 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11214 then :
11215 printf %s "(cached) " >&6
11216 else $as_nop
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_cc=$CC
11219 ac_wine_try_cflags_saved_exeext=$ac_exeext
11220 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11221 CC="$CROSSCC"
11222 ac_exeext=".exe"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225 int __cdecl mainCRTStartup(void) { return 0; }
11226 _ACEOF
11227 if ac_fn_c_try_link "$LINENO"
11228 then :
11229 ac_cv_crosscflags__Wignored_qualifiers=yes
11230 else $as_nop
11231 ac_cv_crosscflags__Wignored_qualifiers=no
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11234 conftest$ac_exeext conftest.$ac_ext
11235 CFLAGS=$ac_wine_try_cflags_saved
11236 CC=$ac_wine_try_cflags_saved_cc
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11240 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11241 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11242 then :
11243 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11246 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11247 if test ${ac_cv_crosscflags__Winit_self+y}
11248 then :
11249 printf %s "(cached) " >&6
11250 else $as_nop
11251 ac_wine_try_cflags_saved=$CFLAGS
11252 ac_wine_try_cflags_saved_cc=$CC
11253 ac_wine_try_cflags_saved_exeext=$ac_exeext
11254 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11255 CC="$CROSSCC"
11256 ac_exeext=".exe"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 int __cdecl mainCRTStartup(void) { return 0; }
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"
11262 then :
11263 ac_cv_crosscflags__Winit_self=yes
11264 else $as_nop
11265 ac_cv_crosscflags__Winit_self=no
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 CC=$ac_wine_try_cflags_saved_cc
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11274 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11275 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11276 then :
11277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11280 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11281 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11282 then :
11283 printf %s "(cached) " >&6
11284 else $as_nop
11285 ac_wine_try_cflags_saved=$CFLAGS
11286 ac_wine_try_cflags_saved_cc=$CC
11287 ac_wine_try_cflags_saved_exeext=$ac_exeext
11288 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11289 CC="$CROSSCC"
11290 ac_exeext=".exe"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 int __cdecl mainCRTStartup(void) { return 0; }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"
11296 then :
11297 ac_cv_crosscflags__Wpacked_not_aligned=yes
11298 else $as_nop
11299 ac_cv_crosscflags__Wpacked_not_aligned=no
11301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11302 conftest$ac_exeext conftest.$ac_ext
11303 CFLAGS=$ac_wine_try_cflags_saved
11304 CC=$ac_wine_try_cflags_saved_cc
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11308 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11309 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11310 then :
11311 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11314 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11315 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11316 then :
11317 printf %s "(cached) " >&6
11318 else $as_nop
11319 ac_wine_try_cflags_saved=$CFLAGS
11320 ac_wine_try_cflags_saved_cc=$CC
11321 ac_wine_try_cflags_saved_exeext=$ac_exeext
11322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11323 CC="$CROSSCC"
11324 ac_exeext=".exe"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 int __cdecl mainCRTStartup(void) { return 0; }
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"
11330 then :
11331 ac_cv_crosscflags__Wpragma_pack=yes
11332 else $as_nop
11333 ac_cv_crosscflags__Wpragma_pack=no
11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11336 conftest$ac_exeext conftest.$ac_ext
11337 CFLAGS=$ac_wine_try_cflags_saved
11338 CC=$ac_wine_try_cflags_saved_cc
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11342 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11343 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11344 then :
11345 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11348 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11349 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11350 then :
11351 printf %s "(cached) " >&6
11352 else $as_nop
11353 ac_wine_try_cflags_saved=$CFLAGS
11354 ac_wine_try_cflags_saved_cc=$CC
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11357 CC="$CROSSCC"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 int __cdecl mainCRTStartup(void) { return 0; }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"
11364 then :
11365 ac_cv_crosscflags__Wshift_overflow_2=yes
11366 else $as_nop
11367 ac_cv_crosscflags__Wshift_overflow_2=no
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 CC=$ac_wine_try_cflags_saved_cc
11373 ac_exeext=$ac_wine_try_cflags_saved_exeext
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11376 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11377 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11378 then :
11379 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11382 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11383 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11384 then :
11385 printf %s "(cached) " >&6
11386 else $as_nop
11387 ac_wine_try_cflags_saved=$CFLAGS
11388 ac_wine_try_cflags_saved_cc=$CC
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11391 CC="$CROSSCC"
11392 ac_exeext=".exe"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 int __cdecl mainCRTStartup(void) { return 0; }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"
11398 then :
11399 ac_cv_crosscflags__Wstrict_prototypes=yes
11400 else $as_nop
11401 ac_cv_crosscflags__Wstrict_prototypes=no
11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11404 conftest$ac_exeext conftest.$ac_ext
11405 CFLAGS=$ac_wine_try_cflags_saved
11406 CC=$ac_wine_try_cflags_saved_cc
11407 ac_exeext=$ac_wine_try_cflags_saved_exeext
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11410 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11411 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11412 then :
11413 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11416 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11417 if test ${ac_cv_crosscflags__Wtype_limits+y}
11418 then :
11419 printf %s "(cached) " >&6
11420 else $as_nop
11421 ac_wine_try_cflags_saved=$CFLAGS
11422 ac_wine_try_cflags_saved_cc=$CC
11423 ac_wine_try_cflags_saved_exeext=$ac_exeext
11424 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11425 CC="$CROSSCC"
11426 ac_exeext=".exe"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11429 int __cdecl mainCRTStartup(void) { return 0; }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"
11432 then :
11433 ac_cv_crosscflags__Wtype_limits=yes
11434 else $as_nop
11435 ac_cv_crosscflags__Wtype_limits=no
11437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11438 conftest$ac_exeext conftest.$ac_ext
11439 CFLAGS=$ac_wine_try_cflags_saved
11440 CC=$ac_wine_try_cflags_saved_cc
11441 ac_exeext=$ac_wine_try_cflags_saved_exeext
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11444 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11445 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11446 then :
11447 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11450 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11451 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11452 then :
11453 printf %s "(cached) " >&6
11454 else $as_nop
11455 ac_wine_try_cflags_saved=$CFLAGS
11456 ac_wine_try_cflags_saved_cc=$CC
11457 ac_wine_try_cflags_saved_exeext=$ac_exeext
11458 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11459 CC="$CROSSCC"
11460 ac_exeext=".exe"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11463 int __cdecl mainCRTStartup(void) { return 0; }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"
11466 then :
11467 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11468 else $as_nop
11469 ac_cv_crosscflags__Wunused_but_set_parameter=no
11471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11472 conftest$ac_exeext conftest.$ac_ext
11473 CFLAGS=$ac_wine_try_cflags_saved
11474 CC=$ac_wine_try_cflags_saved_cc
11475 ac_exeext=$ac_wine_try_cflags_saved_exeext
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11478 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11479 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11480 then :
11481 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11484 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11485 if test ${ac_cv_crosscflags__Wvla+y}
11486 then :
11487 printf %s "(cached) " >&6
11488 else $as_nop
11489 ac_wine_try_cflags_saved=$CFLAGS
11490 ac_wine_try_cflags_saved_cc=$CC
11491 ac_wine_try_cflags_saved_exeext=$ac_exeext
11492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11493 CC="$CROSSCC"
11494 ac_exeext=".exe"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11497 int __cdecl mainCRTStartup(void) { return 0; }
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"
11500 then :
11501 ac_cv_crosscflags__Wvla=yes
11502 else $as_nop
11503 ac_cv_crosscflags__Wvla=no
11505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11506 conftest$ac_exeext conftest.$ac_ext
11507 CFLAGS=$ac_wine_try_cflags_saved
11508 CC=$ac_wine_try_cflags_saved_cc
11509 ac_exeext=$ac_wine_try_cflags_saved_exeext
11511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11512 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11513 if test "x$ac_cv_crosscflags__Wvla" = xyes
11514 then :
11515 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11518 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11519 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11520 then :
11521 printf %s "(cached) " >&6
11522 else $as_nop
11523 ac_wine_try_cflags_saved=$CFLAGS
11524 ac_wine_try_cflags_saved_cc=$CC
11525 ac_wine_try_cflags_saved_exeext=$ac_exeext
11526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11527 CC="$CROSSCC"
11528 ac_exeext=".exe"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11531 int __cdecl mainCRTStartup(void) { return 0; }
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"
11534 then :
11535 ac_cv_crosscflags__Wwrite_strings=yes
11536 else $as_nop
11537 ac_cv_crosscflags__Wwrite_strings=no
11539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11540 conftest$ac_exeext conftest.$ac_ext
11541 CFLAGS=$ac_wine_try_cflags_saved
11542 CC=$ac_wine_try_cflags_saved_cc
11543 ac_exeext=$ac_wine_try_cflags_saved_exeext
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11546 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11547 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11548 then :
11549 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11552 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11553 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11554 then :
11555 printf %s "(cached) " >&6
11556 else $as_nop
11557 ac_wine_try_cflags_saved=$CFLAGS
11558 ac_wine_try_cflags_saved_cc=$CC
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11561 CC="$CROSSCC"
11562 ac_exeext=".exe"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11565 int __cdecl mainCRTStartup(void) { return 0; }
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"
11568 then :
11569 ac_cv_crosscflags__Wpointer_arith=yes
11570 else $as_nop
11571 ac_cv_crosscflags__Wpointer_arith=no
11573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11574 conftest$ac_exeext conftest.$ac_ext
11575 CFLAGS=$ac_wine_try_cflags_saved
11576 CC=$ac_wine_try_cflags_saved_cc
11577 ac_exeext=$ac_wine_try_cflags_saved_exeext
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11580 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11581 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11582 then :
11583 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11586 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11587 if test ${ac_cv_crosscflags__Wlogical_op+y}
11588 then :
11589 printf %s "(cached) " >&6
11590 else $as_nop
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_cc=$CC
11593 ac_wine_try_cflags_saved_exeext=$ac_exeext
11594 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11595 CC="$CROSSCC"
11596 ac_exeext=".exe"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11599 int __cdecl mainCRTStartup(void) { return 0; }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"
11602 then :
11603 ac_cv_crosscflags__Wlogical_op=yes
11604 else $as_nop
11605 ac_cv_crosscflags__Wlogical_op=no
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11608 conftest$ac_exeext conftest.$ac_ext
11609 CFLAGS=$ac_wine_try_cflags_saved
11610 CC=$ac_wine_try_cflags_saved_cc
11611 ac_exeext=$ac_wine_try_cflags_saved_exeext
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11614 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11615 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11616 then :
11617 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11620 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11621 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11622 then :
11623 printf %s "(cached) " >&6
11624 else $as_nop
11625 ac_wine_try_cflags_saved=$CFLAGS
11626 ac_wine_try_cflags_saved_cc=$CC
11627 ac_wine_try_cflags_saved_exeext=$ac_exeext
11628 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11629 CC="$CROSSCC"
11630 ac_exeext=".exe"
11631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11633 int __cdecl mainCRTStartup(void) { return 0; }
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"
11636 then :
11637 ac_cv_crosscflags__Wabsolute_value=yes
11638 else $as_nop
11639 ac_cv_crosscflags__Wabsolute_value=no
11641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11642 conftest$ac_exeext conftest.$ac_ext
11643 CFLAGS=$ac_wine_try_cflags_saved
11644 CC=$ac_wine_try_cflags_saved_cc
11645 ac_exeext=$ac_wine_try_cflags_saved_exeext
11647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11648 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11649 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11650 then :
11651 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11654 case $host_cpu in
11655 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11656 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11657 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11658 then :
11659 printf %s "(cached) " >&6
11660 else $as_nop
11661 ac_wine_try_cflags_saved=$CFLAGS
11662 ac_wine_try_cflags_saved_cc=$CC
11663 ac_wine_try_cflags_saved_exeext=$ac_exeext
11664 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11665 CC="$CROSSCC"
11666 ac_exeext=".exe"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 int __cdecl mainCRTStartup(void) { return 0; }
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"
11672 then :
11673 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11674 else $as_nop
11675 ac_cv_crosscflags__fno_omit_frame_pointer=no
11677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11678 conftest$ac_exeext conftest.$ac_ext
11679 CFLAGS=$ac_wine_try_cflags_saved
11680 CC=$ac_wine_try_cflags_saved_cc
11681 ac_exeext=$ac_wine_try_cflags_saved_exeext
11683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11684 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11685 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11686 then :
11687 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11688 fi ;;
11689 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11690 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11691 if test ${ac_cv_crosscflags__Wno_format+y}
11692 then :
11693 printf %s "(cached) " >&6
11694 else $as_nop
11695 ac_wine_try_cflags_saved=$CFLAGS
11696 ac_wine_try_cflags_saved_cc=$CC
11697 ac_wine_try_cflags_saved_exeext=$ac_exeext
11698 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11699 CC="$CROSSCC"
11700 ac_exeext=".exe"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 int __cdecl mainCRTStartup(void) { return 0; }
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"
11706 then :
11707 ac_cv_crosscflags__Wno_format=yes
11708 else $as_nop
11709 ac_cv_crosscflags__Wno_format=no
11711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11712 conftest$ac_exeext conftest.$ac_ext
11713 CFLAGS=$ac_wine_try_cflags_saved
11714 CC=$ac_wine_try_cflags_saved_cc
11715 ac_exeext=$ac_wine_try_cflags_saved_exeext
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11718 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11719 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11720 then :
11721 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11724 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11725 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11726 then :
11727 printf %s "(cached) " >&6
11728 else $as_nop
11729 ac_wine_try_cflags_saved=$CFLAGS
11730 ac_wine_try_cflags_saved_cc=$CC
11731 ac_wine_try_cflags_saved_exeext=$ac_exeext
11732 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11733 CC="$CROSSCC"
11734 ac_exeext=".exe"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11737 int __cdecl mainCRTStartup(void) { return 0; }
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"
11740 then :
11741 ac_cv_crosscflags__Wformat_overflow=yes
11742 else $as_nop
11743 ac_cv_crosscflags__Wformat_overflow=no
11745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11746 conftest$ac_exeext conftest.$ac_ext
11747 CFLAGS=$ac_wine_try_cflags_saved
11748 CC=$ac_wine_try_cflags_saved_cc
11749 ac_exeext=$ac_wine_try_cflags_saved_exeext
11751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11752 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11753 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11754 then :
11755 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11758 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11759 if test ${ac_cv_crosscflags__Wnonnull+y}
11760 then :
11761 printf %s "(cached) " >&6
11762 else $as_nop
11763 ac_wine_try_cflags_saved=$CFLAGS
11764 ac_wine_try_cflags_saved_cc=$CC
11765 ac_wine_try_cflags_saved_exeext=$ac_exeext
11766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11767 CC="$CROSSCC"
11768 ac_exeext=".exe"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771 int __cdecl mainCRTStartup(void) { return 0; }
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"
11774 then :
11775 ac_cv_crosscflags__Wnonnull=yes
11776 else $as_nop
11777 ac_cv_crosscflags__Wnonnull=no
11779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11780 conftest$ac_exeext conftest.$ac_ext
11781 CFLAGS=$ac_wine_try_cflags_saved
11782 CC=$ac_wine_try_cflags_saved_cc
11783 ac_exeext=$ac_wine_try_cflags_saved_exeext
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11786 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11787 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11788 then :
11789 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11792 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11793 if test ${ac_cv_crosscflags__mcx16+y}
11794 then :
11795 printf %s "(cached) " >&6
11796 else $as_nop
11797 ac_wine_try_cflags_saved=$CFLAGS
11798 ac_wine_try_cflags_saved_cc=$CC
11799 ac_wine_try_cflags_saved_exeext=$ac_exeext
11800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11801 CC="$CROSSCC"
11802 ac_exeext=".exe"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11805 int __cdecl mainCRTStartup(void) { return 0; }
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"
11808 then :
11809 ac_cv_crosscflags__mcx16=yes
11810 else $as_nop
11811 ac_cv_crosscflags__mcx16=no
11813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11814 conftest$ac_exeext conftest.$ac_ext
11815 CFLAGS=$ac_wine_try_cflags_saved
11816 CC=$ac_wine_try_cflags_saved_cc
11817 ac_exeext=$ac_wine_try_cflags_saved_exeext
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11820 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11821 if test "x$ac_cv_crosscflags__mcx16" = xyes
11822 then :
11823 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11824 fi ;;
11825 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11826 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11827 if test ${ac_cv_crosscflags__Wno_format+y}
11828 then :
11829 printf %s "(cached) " >&6
11830 else $as_nop
11831 ac_wine_try_cflags_saved=$CFLAGS
11832 ac_wine_try_cflags_saved_cc=$CC
11833 ac_wine_try_cflags_saved_exeext=$ac_exeext
11834 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11835 CC="$CROSSCC"
11836 ac_exeext=".exe"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 int __cdecl mainCRTStartup(void) { return 0; }
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"
11842 then :
11843 ac_cv_crosscflags__Wno_format=yes
11844 else $as_nop
11845 ac_cv_crosscflags__Wno_format=no
11847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11848 conftest$ac_exeext conftest.$ac_ext
11849 CFLAGS=$ac_wine_try_cflags_saved
11850 CC=$ac_wine_try_cflags_saved_cc
11851 ac_exeext=$ac_wine_try_cflags_saved_exeext
11853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11854 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11855 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11856 then :
11857 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11858 fi ;;
11859 esac
11862 if test -z "$CROSSDEBUG"
11863 then
11864 for ac_flag in $CROSSCFLAGS; do
11865 case $ac_flag in
11866 -gdwarf*) CROSSDEBUG=dwarf ;;
11867 -gcodeview) CROSSDEBUG=pdb ;;
11868 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11869 esac
11870 done
11873 ac_debug_format_seen=""
11874 for ac_flag in $CROSSCFLAGS; do
11875 case $ac_flag in
11876 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11877 esac
11878 done
11879 if test "x$ac_debug_format_seen" = x
11880 then
11881 case $CROSSDEBUG in
11882 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11883 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11884 if test ${ac_cv_crosscflags__gdwarf_4+y}
11885 then :
11886 printf %s "(cached) " >&6
11887 else $as_nop
11888 ac_wine_try_cflags_saved=$CFLAGS
11889 ac_wine_try_cflags_saved_cc=$CC
11890 ac_wine_try_cflags_saved_exeext=$ac_exeext
11891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11892 CC="$CROSSCC"
11893 ac_exeext=".exe"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11896 int __cdecl mainCRTStartup(void) { return 0; }
11897 _ACEOF
11898 if ac_fn_c_try_link "$LINENO"
11899 then :
11900 ac_cv_crosscflags__gdwarf_4=yes
11901 else $as_nop
11902 ac_cv_crosscflags__gdwarf_4=no
11904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11905 conftest$ac_exeext conftest.$ac_ext
11906 CFLAGS=$ac_wine_try_cflags_saved
11907 CC=$ac_wine_try_cflags_saved_cc
11908 ac_exeext=$ac_wine_try_cflags_saved_exeext
11910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11911 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11912 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11913 then :
11914 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11915 fi ;;
11916 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11917 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11918 if test ${ac_cv_crosscflags__gcodeview+y}
11919 then :
11920 printf %s "(cached) " >&6
11921 else $as_nop
11922 ac_wine_try_cflags_saved=$CFLAGS
11923 ac_wine_try_cflags_saved_cc=$CC
11924 ac_wine_try_cflags_saved_exeext=$ac_exeext
11925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11926 CC="$CROSSCC"
11927 ac_exeext=".exe"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11930 int __cdecl mainCRTStartup(void) { return 0; }
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"
11933 then :
11934 ac_cv_crosscflags__gcodeview=yes
11935 else $as_nop
11936 ac_cv_crosscflags__gcodeview=no
11938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11939 conftest$ac_exeext conftest.$ac_ext
11940 CFLAGS=$ac_wine_try_cflags_saved
11941 CC=$ac_wine_try_cflags_saved_cc
11942 ac_exeext=$ac_wine_try_cflags_saved_exeext
11944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11945 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11946 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11947 then :
11948 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11949 fi ;;
11950 esac
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11954 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11955 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11956 then :
11957 printf %s "(cached) " >&6
11958 else $as_nop
11959 ac_wine_try_cflags_saved=$CFLAGS
11960 ac_wine_try_cflags_saved_cc=$CC
11961 ac_wine_try_cflags_saved_exeext=$ac_exeext
11962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11963 CC="$CROSSCC"
11964 ac_exeext=".exe"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 int __cdecl mainCRTStartup(void) { return 0; }
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"
11970 then :
11971 ac_cv_crosscflags__fexcess_precision_standard=yes
11972 else $as_nop
11973 ac_cv_crosscflags__fexcess_precision_standard=no
11975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11976 conftest$ac_exeext conftest.$ac_ext
11977 CFLAGS=$ac_wine_try_cflags_saved
11978 CC=$ac_wine_try_cflags_saved_cc
11979 ac_exeext=$ac_wine_try_cflags_saved_exeext
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11982 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11983 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11984 then :
11985 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11989 if test "x$enable_werror" = "xyes"
11990 then
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11992 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11993 if test ${ac_cv_crosscflags__Werror+y}
11994 then :
11995 printf %s "(cached) " >&6
11996 else $as_nop
11997 ac_wine_try_cflags_saved=$CFLAGS
11998 ac_wine_try_cflags_saved_cc=$CC
11999 ac_wine_try_cflags_saved_exeext=$ac_exeext
12000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12001 CC="$CROSSCC"
12002 ac_exeext=".exe"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12005 int __cdecl mainCRTStartup(void) { return 0; }
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"
12008 then :
12009 ac_cv_crosscflags__Werror=yes
12010 else $as_nop
12011 ac_cv_crosscflags__Werror=no
12013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12014 conftest$ac_exeext conftest.$ac_ext
12015 CFLAGS=$ac_wine_try_cflags_saved
12016 CC=$ac_wine_try_cflags_saved_cc
12017 ac_exeext=$ac_wine_try_cflags_saved_exeext
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12020 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12021 if test "x$ac_cv_crosscflags__Werror" = xyes
12022 then :
12023 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12026 if test "x$enable_build_id" = "xyes"
12027 then
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12029 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12030 if test ${ac_cv_crosscflags__Wl___build_id+y}
12031 then :
12032 printf %s "(cached) " >&6
12033 else $as_nop
12034 ac_wine_try_cflags_saved=$CFLAGS
12035 ac_wine_try_cflags_saved_cc=$CC
12036 ac_wine_try_cflags_saved_exeext=$ac_exeext
12037 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12038 CC="$CROSSCC"
12039 ac_exeext=".exe"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12042 int __cdecl mainCRTStartup(void) { return 0; }
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"
12045 then :
12046 ac_cv_crosscflags__Wl___build_id=yes
12047 else $as_nop
12048 ac_cv_crosscflags__Wl___build_id=no
12050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12051 conftest$ac_exeext conftest.$ac_ext
12052 CFLAGS=$ac_wine_try_cflags_saved
12053 CC=$ac_wine_try_cflags_saved_cc
12054 ac_exeext=$ac_wine_try_cflags_saved_exeext
12056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12057 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12058 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12059 then :
12060 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12061 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12065 CFLAGS=$saved_CFLAGS
12066 LDFLAGS=$saved_LDFLAGS
12067 CC="$ac_save_CC"
12070 if test "x$CROSSTARGET" = "x"
12071 then :
12072 case "x$with_mingw" in
12073 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12074 xno) ;;
12075 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12076 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12077 esac
12082 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12083 then
12084 case "$host_cpu" in
12085 i[3456789]86*)
12086 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12088 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12089 esac
12090 for ac_prog in $ac_prefix_list
12092 # Extract the first word of "$ac_prog", so it can be a program name with args.
12093 set dummy $ac_prog; ac_word=$2
12094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12095 printf %s "checking for $ac_word... " >&6; }
12096 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12097 then :
12098 printf %s "(cached) " >&6
12099 else $as_nop
12100 if test -n "$MINGW_PKG_CONFIG"; then
12101 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12102 else
12103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12104 for as_dir in $PATH
12106 IFS=$as_save_IFS
12107 case $as_dir in #(((
12108 '') as_dir=./ ;;
12109 */) ;;
12110 *) as_dir=$as_dir/ ;;
12111 esac
12112 for ac_exec_ext in '' $ac_executable_extensions; do
12113 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12114 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12116 break 2
12118 done
12119 done
12120 IFS=$as_save_IFS
12124 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12125 if test -n "$MINGW_PKG_CONFIG"; then
12126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12127 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12128 else
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130 printf "%s\n" "no" >&6; }
12134 test -n "$MINGW_PKG_CONFIG" && break
12135 done
12136 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12138 if ${FAUDIO_PE_CFLAGS:+false} :
12139 then :
12140 if test ${MINGW_PKG_CONFIG+y}
12141 then :
12142 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12145 if ${FAUDIO_PE_LIBS:+false} :
12146 then :
12147 if test ${MINGW_PKG_CONFIG+y}
12148 then :
12149 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12152 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12156 printf %s "checking for MinGW FAudio.h... " >&6; }
12157 if test ${ac_cv_mingw_header_FAudio_h+y}
12158 then :
12159 printf %s "(cached) " >&6
12160 else $as_nop
12161 ac_wine_check_headers_saved_cc=$CC
12162 ac_wine_check_headers_saved_exeext=$ac_exeext
12163 CC="$CROSSCC"
12164 ac_exeext=".exe"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 #include <FAudio.h>
12170 main (void)
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_compile "$LINENO"
12178 then :
12179 ac_cv_mingw_header_FAudio_h=yes
12180 else $as_nop
12181 ac_cv_mingw_header_FAudio_h=no
12183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12184 CC=$ac_wine_check_headers_saved_cc
12185 ac_exeext=$ac_wine_check_headers_saved_exeext
12187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12188 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12189 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12190 then :
12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12192 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12193 if test ${ac_cv_mingw_lib_FAudio+y}
12194 then :
12195 printf %s "(cached) " >&6
12196 else $as_nop
12197 ac_wine_check_headers_saved_cc=$CC
12198 ac_wine_check_headers_saved_exeext=$ac_exeext
12199 ac_wine_check_headers_saved_libs=$LIBS
12200 CC="$CROSSCC"
12201 ac_exeext=".exe"
12202 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 char FAudio_CommitOperationSet ();
12211 main (void)
12213 return FAudio_CommitOperationSet ();
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_link "$LINENO"
12219 then :
12220 ac_cv_mingw_lib_FAudio=yes
12221 else $as_nop
12222 ac_cv_mingw_lib_FAudio=no
12224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12225 conftest$ac_exeext conftest.$ac_ext
12226 CC=$ac_wine_check_headers_saved_cc
12227 ac_exeext=$ac_wine_check_headers_saved_exeext
12228 LIBS=$ac_wine_check_headers_saved_libs
12230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12231 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12232 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12233 then :
12235 else $as_nop
12236 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12238 else $as_nop
12239 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12243 if test "x$FAUDIO_PE_LIBS" = "x"
12244 then
12245 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12248 if ${JPEG_PE_CFLAGS:+false} :
12249 then :
12250 if test ${MINGW_PKG_CONFIG+y}
12251 then :
12252 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12255 if ${JPEG_PE_LIBS:+false} :
12256 then :
12257 if test ${MINGW_PKG_CONFIG+y}
12258 then :
12259 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12263 ac_save_CPPFLAGS=$CPPFLAGS
12264 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12266 printf %s "checking for MinGW jpeglib.h... " >&6; }
12267 if test ${ac_cv_mingw_header_jpeglib_h+y}
12268 then :
12269 printf %s "(cached) " >&6
12270 else $as_nop
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 CC="$CROSSCC"
12274 ac_exeext=".exe"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <stddef.h>
12278 #include <stdio.h>
12279 #include <jpeglib.h>
12281 main (void)
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_compile "$LINENO"
12289 then :
12290 ac_cv_mingw_header_jpeglib_h=yes
12291 else $as_nop
12292 ac_cv_mingw_header_jpeglib_h=no
12294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12295 CC=$ac_wine_check_headers_saved_cc
12296 ac_exeext=$ac_wine_check_headers_saved_exeext
12298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12299 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12300 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12301 then :
12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12303 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12304 if test ${ac_cv_mingw_lib_jpeg+y}
12305 then :
12306 printf %s "(cached) " >&6
12307 else $as_nop
12308 ac_wine_check_headers_saved_cc=$CC
12309 ac_wine_check_headers_saved_exeext=$ac_exeext
12310 ac_wine_check_headers_saved_libs=$LIBS
12311 CC="$CROSSCC"
12312 ac_exeext=".exe"
12313 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 /* Override any GCC internal prototype to avoid an error.
12318 Use char because int might match the return type of a GCC
12319 builtin and then its argument prototype would still apply. */
12320 char jpeg_start_decompress ();
12322 main (void)
12324 return jpeg_start_decompress ();
12326 return 0;
12328 _ACEOF
12329 if ac_fn_c_try_link "$LINENO"
12330 then :
12331 ac_cv_mingw_lib_jpeg=yes
12332 else $as_nop
12333 ac_cv_mingw_lib_jpeg=no
12335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12336 conftest$ac_exeext conftest.$ac_ext
12337 CC=$ac_wine_check_headers_saved_cc
12338 ac_exeext=$ac_wine_check_headers_saved_exeext
12339 LIBS=$ac_wine_check_headers_saved_libs
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12342 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12343 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12344 then :
12346 else $as_nop
12347 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12349 else $as_nop
12350 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12352 CPPFLAGS=$ac_save_CPPFLAGS
12354 if test "x$JPEG_PE_LIBS" = "x"
12355 then
12356 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12359 if ${LCMS2_PE_CFLAGS:+false} :
12360 then :
12361 if test ${MINGW_PKG_CONFIG+y}
12362 then :
12363 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12366 if ${LCMS2_PE_LIBS:+false} :
12367 then :
12368 if test ${MINGW_PKG_CONFIG+y}
12369 then :
12370 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12373 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12374 ac_save_CPPFLAGS=$CPPFLAGS
12375 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12377 printf %s "checking for MinGW lcms2.h... " >&6; }
12378 if test ${ac_cv_mingw_header_lcms2_h+y}
12379 then :
12380 printf %s "(cached) " >&6
12381 else $as_nop
12382 ac_wine_check_headers_saved_cc=$CC
12383 ac_wine_check_headers_saved_exeext=$ac_exeext
12384 CC="$CROSSCC"
12385 ac_exeext=".exe"
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 #include <lcms2.h>
12391 main (void)
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_compile "$LINENO"
12399 then :
12400 ac_cv_mingw_header_lcms2_h=yes
12401 else $as_nop
12402 ac_cv_mingw_header_lcms2_h=no
12404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12405 CC=$ac_wine_check_headers_saved_cc
12406 ac_exeext=$ac_wine_check_headers_saved_exeext
12408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12409 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12410 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12411 then :
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12413 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12414 if test ${ac_cv_mingw_lib_lcms2+y}
12415 then :
12416 printf %s "(cached) " >&6
12417 else $as_nop
12418 ac_wine_check_headers_saved_cc=$CC
12419 ac_wine_check_headers_saved_exeext=$ac_exeext
12420 ac_wine_check_headers_saved_libs=$LIBS
12421 CC="$CROSSCC"
12422 ac_exeext=".exe"
12423 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 char cmsOpenProfileFromFile ();
12432 main (void)
12434 return cmsOpenProfileFromFile ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"
12440 then :
12441 ac_cv_mingw_lib_lcms2=yes
12442 else $as_nop
12443 ac_cv_mingw_lib_lcms2=no
12445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12446 conftest$ac_exeext conftest.$ac_ext
12447 CC=$ac_wine_check_headers_saved_cc
12448 ac_exeext=$ac_wine_check_headers_saved_exeext
12449 LIBS=$ac_wine_check_headers_saved_libs
12451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12452 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12453 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12454 then :
12456 else $as_nop
12457 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12459 else $as_nop
12460 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12462 CPPFLAGS=$ac_save_CPPFLAGS
12464 if test "x$LCMS2_PE_LIBS" = "x"
12465 then
12466 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12469 if ${MPG123_PE_CFLAGS:+false} :
12470 then :
12471 if test ${MINGW_PKG_CONFIG+y}
12472 then :
12473 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12476 if ${MPG123_PE_LIBS:+false} :
12477 then :
12478 if test ${MINGW_PKG_CONFIG+y}
12479 then :
12480 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12483 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12484 ac_save_CPPFLAGS=$CPPFLAGS
12485 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12487 printf %s "checking for MinGW mpg123.h... " >&6; }
12488 if test ${ac_cv_mingw_header_mpg123_h+y}
12489 then :
12490 printf %s "(cached) " >&6
12491 else $as_nop
12492 ac_wine_check_headers_saved_cc=$CC
12493 ac_wine_check_headers_saved_exeext=$ac_exeext
12494 CC="$CROSSCC"
12495 ac_exeext=".exe"
12496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12497 /* end confdefs.h. */
12499 #include <mpg123.h>
12501 main (void)
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_compile "$LINENO"
12509 then :
12510 ac_cv_mingw_header_mpg123_h=yes
12511 else $as_nop
12512 ac_cv_mingw_header_mpg123_h=no
12514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12515 CC=$ac_wine_check_headers_saved_cc
12516 ac_exeext=$ac_wine_check_headers_saved_exeext
12518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12519 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12520 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12521 then :
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12523 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12524 if test ${ac_cv_mingw_lib_mpg123+y}
12525 then :
12526 printf %s "(cached) " >&6
12527 else $as_nop
12528 ac_wine_check_headers_saved_cc=$CC
12529 ac_wine_check_headers_saved_exeext=$ac_exeext
12530 ac_wine_check_headers_saved_libs=$LIBS
12531 CC="$CROSSCC"
12532 ac_exeext=".exe"
12533 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12540 char mpg123_feed ();
12542 main (void)
12544 return mpg123_feed ();
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"
12550 then :
12551 ac_cv_mingw_lib_mpg123=yes
12552 else $as_nop
12553 ac_cv_mingw_lib_mpg123=no
12555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12556 conftest$ac_exeext conftest.$ac_ext
12557 CC=$ac_wine_check_headers_saved_cc
12558 ac_exeext=$ac_wine_check_headers_saved_exeext
12559 LIBS=$ac_wine_check_headers_saved_libs
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12562 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12563 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12564 then :
12566 else $as_nop
12567 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12569 else $as_nop
12570 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12572 CPPFLAGS=$ac_save_CPPFLAGS
12574 if test "x$MPG123_PE_LIBS" = "x"
12575 then
12576 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12579 if ${PNG_PE_CFLAGS:+false} :
12580 then :
12581 if test ${MINGW_PKG_CONFIG+y}
12582 then :
12583 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12586 if ${PNG_PE_LIBS:+false} :
12587 then :
12588 if test ${MINGW_PKG_CONFIG+y}
12589 then :
12590 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12594 ac_save_CPPFLAGS=$CPPFLAGS
12595 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12597 printf %s "checking for MinGW png.h... " >&6; }
12598 if test ${ac_cv_mingw_header_png_h+y}
12599 then :
12600 printf %s "(cached) " >&6
12601 else $as_nop
12602 ac_wine_check_headers_saved_cc=$CC
12603 ac_wine_check_headers_saved_exeext=$ac_exeext
12604 CC="$CROSSCC"
12605 ac_exeext=".exe"
12606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12609 #include <png.h>
12611 main (void)
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_compile "$LINENO"
12619 then :
12620 ac_cv_mingw_header_png_h=yes
12621 else $as_nop
12622 ac_cv_mingw_header_png_h=no
12624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12625 CC=$ac_wine_check_headers_saved_cc
12626 ac_exeext=$ac_wine_check_headers_saved_exeext
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12629 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12630 if test "x$ac_cv_mingw_header_png_h" = xyes
12631 then :
12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12633 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12634 if test ${ac_cv_mingw_lib_png+y}
12635 then :
12636 printf %s "(cached) " >&6
12637 else $as_nop
12638 ac_wine_check_headers_saved_cc=$CC
12639 ac_wine_check_headers_saved_exeext=$ac_exeext
12640 ac_wine_check_headers_saved_libs=$LIBS
12641 CC="$CROSSCC"
12642 ac_exeext=".exe"
12643 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 char png_create_read_struct ();
12652 main (void)
12654 return png_create_read_struct ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"
12660 then :
12661 ac_cv_mingw_lib_png=yes
12662 else $as_nop
12663 ac_cv_mingw_lib_png=no
12665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12666 conftest$ac_exeext conftest.$ac_ext
12667 CC=$ac_wine_check_headers_saved_cc
12668 ac_exeext=$ac_wine_check_headers_saved_exeext
12669 LIBS=$ac_wine_check_headers_saved_libs
12671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12672 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12673 if test "x$ac_cv_mingw_lib_png" = xyes
12674 then :
12676 else $as_nop
12677 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12679 else $as_nop
12680 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12682 CPPFLAGS=$ac_save_CPPFLAGS
12684 if test "x$PNG_PE_LIBS" = "x"
12685 then
12686 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12689 if ${TIFF_PE_CFLAGS:+false} :
12690 then :
12691 if test ${MINGW_PKG_CONFIG+y}
12692 then :
12693 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12696 if ${TIFF_PE_LIBS:+false} :
12697 then :
12698 if test ${MINGW_PKG_CONFIG+y}
12699 then :
12700 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12704 ac_save_CPPFLAGS=$CPPFLAGS
12705 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12707 printf %s "checking for MinGW tiffio.h... " >&6; }
12708 if test ${ac_cv_mingw_header_tiffio_h+y}
12709 then :
12710 printf %s "(cached) " >&6
12711 else $as_nop
12712 ac_wine_check_headers_saved_cc=$CC
12713 ac_wine_check_headers_saved_exeext=$ac_exeext
12714 CC="$CROSSCC"
12715 ac_exeext=".exe"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 #include <tiffio.h>
12721 main (void)
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_compile "$LINENO"
12729 then :
12730 ac_cv_mingw_header_tiffio_h=yes
12731 else $as_nop
12732 ac_cv_mingw_header_tiffio_h=no
12734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12735 CC=$ac_wine_check_headers_saved_cc
12736 ac_exeext=$ac_wine_check_headers_saved_exeext
12738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12739 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12740 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12741 then :
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12743 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12744 if test ${ac_cv_mingw_lib_tiff+y}
12745 then :
12746 printf %s "(cached) " >&6
12747 else $as_nop
12748 ac_wine_check_headers_saved_cc=$CC
12749 ac_wine_check_headers_saved_exeext=$ac_exeext
12750 ac_wine_check_headers_saved_libs=$LIBS
12751 CC="$CROSSCC"
12752 ac_exeext=".exe"
12753 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 char TIFFClientOpen ();
12762 main (void)
12764 return TIFFClientOpen ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"
12770 then :
12771 ac_cv_mingw_lib_tiff=yes
12772 else $as_nop
12773 ac_cv_mingw_lib_tiff=no
12775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12776 conftest$ac_exeext conftest.$ac_ext
12777 CC=$ac_wine_check_headers_saved_cc
12778 ac_exeext=$ac_wine_check_headers_saved_exeext
12779 LIBS=$ac_wine_check_headers_saved_libs
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12782 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12783 if test "x$ac_cv_mingw_lib_tiff" = xyes
12784 then :
12786 else $as_nop
12787 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12789 else $as_nop
12790 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12792 CPPFLAGS=$ac_save_CPPFLAGS
12794 if test "x$TIFF_PE_LIBS" = "x"
12795 then
12796 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12799 if ${XML2_PE_CFLAGS:+false} :
12800 then :
12801 if test ${MINGW_PKG_CONFIG+y}
12802 then :
12803 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12806 if ${XML2_PE_LIBS:+false} :
12807 then :
12808 if test ${MINGW_PKG_CONFIG+y}
12809 then :
12810 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12813 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12817 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12818 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12819 then :
12820 printf %s "(cached) " >&6
12821 else $as_nop
12822 ac_wine_check_headers_saved_cc=$CC
12823 ac_wine_check_headers_saved_exeext=$ac_exeext
12824 CC="$CROSSCC"
12825 ac_exeext=".exe"
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 #include <libxml/parser.h>
12831 main (void)
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"
12839 then :
12840 ac_cv_mingw_header_libxml_parser_h=yes
12841 else $as_nop
12842 ac_cv_mingw_header_libxml_parser_h=no
12844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12845 CC=$ac_wine_check_headers_saved_cc
12846 ac_exeext=$ac_wine_check_headers_saved_exeext
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12849 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12850 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12851 then :
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12855 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12856 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 CC="$CROSSCC"
12863 ac_exeext=".exe"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 #include <libxml/xmlsave.h>
12869 main (void)
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_compile "$LINENO"
12877 then :
12878 ac_cv_mingw_header_libxml_xmlsave_h=yes
12879 else $as_nop
12880 ac_cv_mingw_header_libxml_xmlsave_h=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12883 CC=$ac_wine_check_headers_saved_cc
12884 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12887 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12888 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12889 then :
12892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12893 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12894 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12895 then :
12896 printf %s "(cached) " >&6
12897 else $as_nop
12898 ac_wine_check_headers_saved_cc=$CC
12899 ac_wine_check_headers_saved_exeext=$ac_exeext
12900 CC="$CROSSCC"
12901 ac_exeext=".exe"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 #include <libxml/SAX2.h>
12907 main (void)
12911 return 0;
12913 _ACEOF
12914 if ac_fn_c_try_compile "$LINENO"
12915 then :
12916 ac_cv_mingw_header_libxml_SAX2_h=yes
12917 else $as_nop
12918 ac_cv_mingw_header_libxml_SAX2_h=no
12920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12921 CC=$ac_wine_check_headers_saved_cc
12922 ac_exeext=$ac_wine_check_headers_saved_exeext
12924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12925 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12926 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12927 then :
12930 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"
12931 then
12932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12933 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12934 if test ${ac_cv_mingw_lib_xml2+y}
12935 then :
12936 printf %s "(cached) " >&6
12937 else $as_nop
12938 ac_wine_check_headers_saved_cc=$CC
12939 ac_wine_check_headers_saved_exeext=$ac_exeext
12940 ac_wine_check_headers_saved_libs=$LIBS
12941 CC="$CROSSCC"
12942 ac_exeext=".exe"
12943 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 char xmlFirstElementChild ();
12952 main (void)
12954 return xmlFirstElementChild ();
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"
12960 then :
12961 ac_cv_mingw_lib_xml2=yes
12962 else $as_nop
12963 ac_cv_mingw_lib_xml2=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12966 conftest$ac_exeext conftest.$ac_ext
12967 CC=$ac_wine_check_headers_saved_cc
12968 ac_exeext=$ac_wine_check_headers_saved_exeext
12969 LIBS=$ac_wine_check_headers_saved_libs
12971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12972 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12973 if test "x$ac_cv_mingw_lib_xml2" = xyes
12974 then :
12976 else $as_nop
12977 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12979 else
12980 XML2_PE_CFLAGS=""
12981 XML2_PE_LIBS=""
12983 CPPFLAGS=$ac_save_CPPFLAGS
12985 if test "x$XML2_PE_LIBS" = "x"
12986 then
12987 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12990 if ${XSLT_PE_CFLAGS:+false} :
12991 then :
12992 if test ${MINGW_PKG_CONFIG+y}
12993 then :
12994 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12997 if ${XSLT_PE_LIBS:+false} :
12998 then :
12999 if test ${MINGW_PKG_CONFIG+y}
13000 then :
13001 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13004 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13005 ac_save_CPPFLAGS=$CPPFLAGS
13006 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13008 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13009 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13010 then :
13011 printf %s "(cached) " >&6
13012 else $as_nop
13013 ac_wine_check_headers_saved_cc=$CC
13014 ac_wine_check_headers_saved_exeext=$ac_exeext
13015 CC="$CROSSCC"
13016 ac_exeext=".exe"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 #include <libxslt/pattern.h>
13022 main (void)
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_compile "$LINENO"
13030 then :
13031 ac_cv_mingw_header_libxslt_pattern_h=yes
13032 else $as_nop
13033 ac_cv_mingw_header_libxslt_pattern_h=no
13035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13036 CC=$ac_wine_check_headers_saved_cc
13037 ac_exeext=$ac_wine_check_headers_saved_exeext
13039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13040 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13041 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13042 then :
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13046 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13047 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13048 then :
13049 printf %s "(cached) " >&6
13050 else $as_nop
13051 ac_wine_check_headers_saved_cc=$CC
13052 ac_wine_check_headers_saved_exeext=$ac_exeext
13053 CC="$CROSSCC"
13054 ac_exeext=".exe"
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13058 #include <libxslt/transform.h>
13060 main (void)
13064 return 0;
13066 _ACEOF
13067 if ac_fn_c_try_compile "$LINENO"
13068 then :
13069 ac_cv_mingw_header_libxslt_transform_h=yes
13070 else $as_nop
13071 ac_cv_mingw_header_libxslt_transform_h=no
13073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13074 CC=$ac_wine_check_headers_saved_cc
13075 ac_exeext=$ac_wine_check_headers_saved_exeext
13077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13078 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13079 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13080 then :
13083 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13084 then
13085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13086 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13087 if test ${ac_cv_mingw_lib_xslt+y}
13088 then :
13089 printf %s "(cached) " >&6
13090 else $as_nop
13091 ac_wine_check_headers_saved_cc=$CC
13092 ac_wine_check_headers_saved_exeext=$ac_exeext
13093 ac_wine_check_headers_saved_libs=$LIBS
13094 CC="$CROSSCC"
13095 ac_exeext=".exe"
13096 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13103 char xsltCompilePattern ();
13105 main (void)
13107 return xsltCompilePattern ();
13109 return 0;
13111 _ACEOF
13112 if ac_fn_c_try_link "$LINENO"
13113 then :
13114 ac_cv_mingw_lib_xslt=yes
13115 else $as_nop
13116 ac_cv_mingw_lib_xslt=no
13118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13119 conftest$ac_exeext conftest.$ac_ext
13120 CC=$ac_wine_check_headers_saved_cc
13121 ac_exeext=$ac_wine_check_headers_saved_exeext
13122 LIBS=$ac_wine_check_headers_saved_libs
13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13125 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13126 if test "x$ac_cv_mingw_lib_xslt" = xyes
13127 then :
13129 else $as_nop
13130 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13132 else
13133 XSLT_PE_CFLAGS=""
13134 XSLT_PE_LIBS=""
13136 CPPFLAGS=$ac_save_CPPFLAGS
13138 if test "x$XSLT_PE_LIBS" = "x"
13139 then
13140 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13143 if ${ZLIB_PE_CFLAGS:+false} :
13144 then :
13145 if test ${MINGW_PKG_CONFIG+y}
13146 then :
13147 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13150 if ${ZLIB_PE_LIBS:+false} :
13151 then :
13152 if test ${MINGW_PKG_CONFIG+y}
13153 then :
13154 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13157 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13158 ac_save_CPPFLAGS=$CPPFLAGS
13159 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13161 printf %s "checking for MinGW zlib.h... " >&6; }
13162 if test ${ac_cv_mingw_header_zlib_h+y}
13163 then :
13164 printf %s "(cached) " >&6
13165 else $as_nop
13166 ac_wine_check_headers_saved_cc=$CC
13167 ac_wine_check_headers_saved_exeext=$ac_exeext
13168 CC="$CROSSCC"
13169 ac_exeext=".exe"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 #include <zlib.h>
13175 main (void)
13179 return 0;
13181 _ACEOF
13182 if ac_fn_c_try_compile "$LINENO"
13183 then :
13184 ac_cv_mingw_header_zlib_h=yes
13185 else $as_nop
13186 ac_cv_mingw_header_zlib_h=no
13188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13189 CC=$ac_wine_check_headers_saved_cc
13190 ac_exeext=$ac_wine_check_headers_saved_exeext
13192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13193 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13194 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13195 then :
13196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13197 printf %s "checking for inflate in MinGW -lz... " >&6; }
13198 if test ${ac_cv_mingw_lib_z+y}
13199 then :
13200 printf %s "(cached) " >&6
13201 else $as_nop
13202 ac_wine_check_headers_saved_cc=$CC
13203 ac_wine_check_headers_saved_exeext=$ac_exeext
13204 ac_wine_check_headers_saved_libs=$LIBS
13205 CC="$CROSSCC"
13206 ac_exeext=".exe"
13207 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13214 char inflate ();
13216 main (void)
13218 return inflate ();
13220 return 0;
13222 _ACEOF
13223 if ac_fn_c_try_link "$LINENO"
13224 then :
13225 ac_cv_mingw_lib_z=yes
13226 else $as_nop
13227 ac_cv_mingw_lib_z=no
13229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13230 conftest$ac_exeext conftest.$ac_ext
13231 CC=$ac_wine_check_headers_saved_cc
13232 ac_exeext=$ac_wine_check_headers_saved_exeext
13233 LIBS=$ac_wine_check_headers_saved_libs
13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13236 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13237 if test "x$ac_cv_mingw_lib_z" = xyes
13238 then :
13240 else $as_nop
13241 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13243 else $as_nop
13244 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13246 CPPFLAGS=$ac_save_CPPFLAGS
13248 if test "x$ZLIB_PE_LIBS" = "x"
13249 then
13250 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13254 if ${FAUDIO_PE_LIBS:+false} :
13255 then :
13256 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13257 if ${FAUDIO_PE_CFLAGS:+false} :
13258 then :
13259 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13260 else $as_nop
13261 enable_faudio=no
13263 else $as_nop
13264 enable_faudio=no
13266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13269 if ${GSM_PE_LIBS:+false} :
13270 then :
13271 GSM_PE_LIBS=gsm
13272 if ${GSM_PE_CFLAGS:+false} :
13273 then :
13274 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13275 else $as_nop
13276 enable_gsm=no
13278 else $as_nop
13279 enable_gsm=no
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13284 if ${JPEG_PE_LIBS:+false} :
13285 then :
13286 JPEG_PE_LIBS=jpeg
13287 if ${JPEG_PE_CFLAGS:+false} :
13288 then :
13289 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13290 else $as_nop
13291 enable_jpeg=no
13293 else $as_nop
13294 enable_jpeg=no
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13299 if ${JXR_PE_LIBS:+false} :
13300 then :
13301 JXR_PE_LIBS=jxr
13302 if ${JXR_PE_CFLAGS:+false} :
13303 then :
13304 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13305 else $as_nop
13306 enable_jxr=no
13308 else $as_nop
13309 enable_jxr=no
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13314 if ${LCMS2_PE_LIBS:+false} :
13315 then :
13316 LCMS2_PE_LIBS=lcms2
13317 if ${LCMS2_PE_CFLAGS:+false} :
13318 then :
13319 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13320 else $as_nop
13321 enable_lcms2=no
13323 else $as_nop
13324 enable_lcms2=no
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13329 if ${MPG123_PE_LIBS:+false} :
13330 then :
13331 MPG123_PE_LIBS=mpg123
13332 if ${MPG123_PE_CFLAGS:+false} :
13333 then :
13334 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13335 else $as_nop
13336 enable_mpg123=no
13338 else $as_nop
13339 enable_mpg123=no
13341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13344 if ${PNG_PE_LIBS:+false} :
13345 then :
13346 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13347 if ${PNG_PE_CFLAGS:+false} :
13348 then :
13349 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13350 else $as_nop
13351 enable_png=no
13353 else $as_nop
13354 enable_png=no
13356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13359 if ${TIFF_PE_LIBS:+false} :
13360 then :
13361 TIFF_PE_LIBS=tiff
13362 if ${TIFF_PE_CFLAGS:+false} :
13363 then :
13364 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13365 else $as_nop
13366 enable_tiff=no
13368 else $as_nop
13369 enable_tiff=no
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13374 if ${XML2_PE_LIBS:+false} :
13375 then :
13376 XML2_PE_LIBS=xml2
13377 if ${XML2_PE_CFLAGS:+false} :
13378 then :
13379 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13380 else $as_nop
13381 enable_xml2=no
13383 else $as_nop
13384 enable_xml2=no
13386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13389 if ${XSLT_PE_LIBS:+false} :
13390 then :
13391 XSLT_PE_LIBS=xslt
13392 if ${XSLT_PE_CFLAGS:+false} :
13393 then :
13394 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13395 else $as_nop
13396 enable_xslt=no
13398 else $as_nop
13399 enable_xslt=no
13401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13404 if ${ZLIB_PE_LIBS:+false} :
13405 then :
13406 ZLIB_PE_LIBS=z
13407 if ${ZLIB_PE_CFLAGS:+false} :
13408 then :
13409 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13410 else $as_nop
13411 enable_zlib=no
13413 else $as_nop
13414 enable_zlib=no
13416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13421 if test "$ac_cv_header_pthread_h" = "yes"
13422 then
13423 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13424 if test "x$ac_cv_func_pthread_create" = xyes
13425 then :
13427 else $as_nop
13428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13429 printf %s "checking for pthread_create in -lpthread... " >&6; }
13430 if test ${ac_cv_lib_pthread_pthread_create+y}
13431 then :
13432 printf %s "(cached) " >&6
13433 else $as_nop
13434 ac_check_lib_save_LIBS=$LIBS
13435 LIBS="-lpthread $LIBS"
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13439 /* Override any GCC internal prototype to avoid an error.
13440 Use char because int might match the return type of a GCC
13441 builtin and then its argument prototype would still apply. */
13442 char pthread_create ();
13444 main (void)
13446 return pthread_create ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"
13452 then :
13453 ac_cv_lib_pthread_pthread_create=yes
13454 else $as_nop
13455 ac_cv_lib_pthread_pthread_create=no
13457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LIBS=$ac_check_lib_save_LIBS
13461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13462 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13463 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13464 then :
13465 PTHREAD_LIBS="-lpthread"
13472 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13473 then :
13474 case "x$with_pthread" in
13475 xno) ;;
13476 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13477 Wine cannot support threads without libpthread.
13478 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13479 esac
13484 ac_ext=c
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13490 printf %s "checking how to run the C preprocessor... " >&6; }
13491 # On Suns, sometimes $CPP names a directory.
13492 if test -n "$CPP" && test -d "$CPP"; then
13493 CPP=
13495 if test -z "$CPP"; then
13496 if test ${ac_cv_prog_CPP+y}
13497 then :
13498 printf %s "(cached) " >&6
13499 else $as_nop
13500 # Double quotes because $CC needs to be expanded
13501 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13503 ac_preproc_ok=false
13504 for ac_c_preproc_warn_flag in '' yes
13506 # Use a header file that comes with gcc, so configuring glibc
13507 # with a fresh cross-compiler works.
13508 # On the NeXT, cc -E runs the code through the compiler's parser,
13509 # not just through cpp. "Syntax error" is here to catch this case.
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 #include <limits.h>
13513 Syntax error
13514 _ACEOF
13515 if ac_fn_c_try_cpp "$LINENO"
13516 then :
13518 else $as_nop
13519 # Broken: fails on valid input.
13520 continue
13522 rm -f conftest.err conftest.i conftest.$ac_ext
13524 # OK, works on sane cases. Now check whether nonexistent headers
13525 # can be detected and how.
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13528 #include <ac_nonexistent.h>
13529 _ACEOF
13530 if ac_fn_c_try_cpp "$LINENO"
13531 then :
13532 # Broken: success on invalid input.
13533 continue
13534 else $as_nop
13535 # Passes both tests.
13536 ac_preproc_ok=:
13537 break
13539 rm -f conftest.err conftest.i conftest.$ac_ext
13541 done
13542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13543 rm -f conftest.i conftest.err conftest.$ac_ext
13544 if $ac_preproc_ok
13545 then :
13546 break
13549 done
13550 ac_cv_prog_CPP=$CPP
13553 CPP=$ac_cv_prog_CPP
13554 else
13555 ac_cv_prog_CPP=$CPP
13557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13558 printf "%s\n" "$CPP" >&6; }
13559 ac_preproc_ok=false
13560 for ac_c_preproc_warn_flag in '' yes
13562 # Use a header file that comes with gcc, so configuring glibc
13563 # with a fresh cross-compiler works.
13564 # On the NeXT, cc -E runs the code through the compiler's parser,
13565 # not just through cpp. "Syntax error" is here to catch this case.
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 #include <limits.h>
13569 Syntax error
13570 _ACEOF
13571 if ac_fn_c_try_cpp "$LINENO"
13572 then :
13574 else $as_nop
13575 # Broken: fails on valid input.
13576 continue
13578 rm -f conftest.err conftest.i conftest.$ac_ext
13580 # OK, works on sane cases. Now check whether nonexistent headers
13581 # can be detected and how.
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13584 #include <ac_nonexistent.h>
13585 _ACEOF
13586 if ac_fn_c_try_cpp "$LINENO"
13587 then :
13588 # Broken: success on invalid input.
13589 continue
13590 else $as_nop
13591 # Passes both tests.
13592 ac_preproc_ok=:
13593 break
13595 rm -f conftest.err conftest.i conftest.$ac_ext
13597 done
13598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13599 rm -f conftest.i conftest.err conftest.$ac_ext
13600 if $ac_preproc_ok
13601 then :
13603 else $as_nop
13604 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13605 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13606 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13607 See \`config.log' for more details" "$LINENO" 5; }
13610 ac_ext=c
13611 ac_cpp='$CPP $CPPFLAGS'
13612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13618 printf %s "checking for X... " >&6; }
13621 # Check whether --with-x was given.
13622 if test ${with_x+y}
13623 then :
13624 withval=$with_x;
13627 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13628 if test "x$with_x" = xno; then
13629 # The user explicitly disabled X.
13630 have_x=disabled
13631 else
13632 case $x_includes,$x_libraries in #(
13633 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13634 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13635 then :
13636 printf %s "(cached) " >&6
13637 else $as_nop
13638 # One or both of the vars are not set, and there is no cached value.
13639 ac_x_includes=no
13640 ac_x_libraries=no
13641 # Do we need to do anything special at all?
13642 ac_save_LIBS=$LIBS
13643 LIBS="-lX11 $LIBS"
13644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 /* end confdefs.h. */
13646 #include <X11/Xlib.h>
13648 main (void)
13650 XrmInitialize ()
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"
13656 then :
13657 # We can compile and link X programs with no special options.
13658 ac_x_includes=
13659 ac_x_libraries=
13661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13662 conftest$ac_exeext conftest.$ac_ext
13663 LIBS="$ac_save_LIBS"
13664 # If that didn't work, only try xmkmf and file system searches
13665 # for native compilation.
13666 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13667 then :
13668 rm -f -r conftest.dir
13669 if mkdir conftest.dir; then
13670 cd conftest.dir
13671 cat >Imakefile <<'_ACEOF'
13672 incroot:
13673 @echo incroot='${INCROOT}'
13674 usrlibdir:
13675 @echo usrlibdir='${USRLIBDIR}'
13676 libdir:
13677 @echo libdir='${LIBDIR}'
13678 _ACEOF
13679 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13680 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13681 for ac_var in incroot usrlibdir libdir; do
13682 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13683 done
13684 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13685 for ac_extension in a so sl dylib la dll; do
13686 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13687 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13688 ac_im_usrlibdir=$ac_im_libdir; break
13690 done
13691 # Screen out bogus values from the imake configuration. They are
13692 # bogus both because they are the default anyway, and because
13693 # using them would break gcc on systems where it needs fixed includes.
13694 case $ac_im_incroot in
13695 /usr/include) ac_x_includes= ;;
13696 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13697 esac
13698 case $ac_im_usrlibdir in
13699 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13700 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13701 esac
13703 cd ..
13704 rm -f -r conftest.dir
13707 # Standard set of common directories for X headers.
13708 # Check X11 before X11Rn because it is often a symlink to the current release.
13709 ac_x_header_dirs='
13710 /usr/X11/include
13711 /usr/X11R7/include
13712 /usr/X11R6/include
13713 /usr/X11R5/include
13714 /usr/X11R4/include
13716 /usr/include/X11
13717 /usr/include/X11R7
13718 /usr/include/X11R6
13719 /usr/include/X11R5
13720 /usr/include/X11R4
13722 /usr/local/X11/include
13723 /usr/local/X11R7/include
13724 /usr/local/X11R6/include
13725 /usr/local/X11R5/include
13726 /usr/local/X11R4/include
13728 /usr/local/include/X11
13729 /usr/local/include/X11R7
13730 /usr/local/include/X11R6
13731 /usr/local/include/X11R5
13732 /usr/local/include/X11R4
13734 /opt/X11/include
13736 /usr/X386/include
13737 /usr/x386/include
13738 /usr/XFree86/include/X11
13740 /usr/include
13741 /usr/local/include
13742 /usr/unsupported/include
13743 /usr/athena/include
13744 /usr/local/x11r5/include
13745 /usr/lpp/Xamples/include
13747 /usr/openwin/include
13748 /usr/openwin/share/include'
13750 if test "$ac_x_includes" = no; then
13751 # Guess where to find include files, by looking for Xlib.h.
13752 # First, try using that file with no special directory specified.
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13755 #include <X11/Xlib.h>
13756 _ACEOF
13757 if ac_fn_c_try_cpp "$LINENO"
13758 then :
13759 # We can compile using X headers with no special include directory.
13760 ac_x_includes=
13761 else $as_nop
13762 for ac_dir in $ac_x_header_dirs; do
13763 if test -r "$ac_dir/X11/Xlib.h"; then
13764 ac_x_includes=$ac_dir
13765 break
13767 done
13769 rm -f conftest.err conftest.i conftest.$ac_ext
13770 fi # $ac_x_includes = no
13772 if test "$ac_x_libraries" = no; then
13773 # Check for the libraries.
13774 # See if we find them without any special options.
13775 # Don't add to $LIBS permanently.
13776 ac_save_LIBS=$LIBS
13777 LIBS="-lX11 $LIBS"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13780 #include <X11/Xlib.h>
13782 main (void)
13784 XrmInitialize ()
13786 return 0;
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"
13790 then :
13791 LIBS=$ac_save_LIBS
13792 # We can link X programs with no special library path.
13793 ac_x_libraries=
13794 else $as_nop
13795 LIBS=$ac_save_LIBS
13796 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13798 # Don't even attempt the hair of trying to link an X program!
13799 for ac_extension in a so sl dylib la dll; do
13800 if test -r "$ac_dir/libX11.$ac_extension"; then
13801 ac_x_libraries=$ac_dir
13802 break 2
13804 done
13805 done
13807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13808 conftest$ac_exeext conftest.$ac_ext
13809 fi # $ac_x_libraries = no
13812 # Record the results.
13813 case $ac_x_includes,$ac_x_libraries in #(
13814 no,* | *,no | *\'*) :
13815 # Didn't find X, or a directory has "'" in its name.
13816 ac_cv_have_x="have_x=no" ;; #(
13817 *) :
13818 # Record where we found X for the cache.
13819 ac_cv_have_x="have_x=yes\
13820 ac_x_includes='$ac_x_includes'\
13821 ac_x_libraries='$ac_x_libraries'" ;;
13822 esac
13824 ;; #(
13825 *) have_x=yes;;
13826 esac
13827 eval "$ac_cv_have_x"
13828 fi # $with_x != no
13830 if test "$have_x" != yes; then
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13832 printf "%s\n" "$have_x" >&6; }
13833 no_x=yes
13834 else
13835 # If each of the values was on the command line, it overrides each guess.
13836 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13837 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13838 # Update the cache value to reflect the command line values.
13839 ac_cv_have_x="have_x=yes\
13840 ac_x_includes='$x_includes'\
13841 ac_x_libraries='$x_libraries'"
13842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13843 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13846 if test "$no_x" = yes; then
13847 # Not all programs may use this symbol, but it does not hurt to define it.
13849 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13851 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13852 else
13853 if test -n "$x_includes"; then
13854 X_CFLAGS="$X_CFLAGS -I$x_includes"
13857 # It would also be nice to do this for all -L options, not just this one.
13858 if test -n "$x_libraries"; then
13859 X_LIBS="$X_LIBS -L$x_libraries"
13860 # For Solaris; some versions of Sun CC require a space after -R and
13861 # others require no space. Words are not sufficient . . . .
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13863 printf %s "checking whether -R must be followed by a space... " >&6; }
13864 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13865 ac_xsave_c_werror_flag=$ac_c_werror_flag
13866 ac_c_werror_flag=yes
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13871 main (void)
13875 return 0;
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"
13879 then :
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13881 printf "%s\n" "no" >&6; }
13882 X_LIBS="$X_LIBS -R$x_libraries"
13883 else $as_nop
13884 LIBS="$ac_xsave_LIBS -R $x_libraries"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13889 main (void)
13893 return 0;
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"
13897 then :
13898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13899 printf "%s\n" "yes" >&6; }
13900 X_LIBS="$X_LIBS -R $x_libraries"
13901 else $as_nop
13902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13903 printf "%s\n" "neither works" >&6; }
13905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13906 conftest$ac_exeext conftest.$ac_ext
13908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13909 conftest$ac_exeext conftest.$ac_ext
13910 ac_c_werror_flag=$ac_xsave_c_werror_flag
13911 LIBS=$ac_xsave_LIBS
13914 # Check for system-dependent libraries X programs must link with.
13915 # Do this before checking for the system-independent R6 libraries
13916 # (-lICE), since we may need -lsocket or whatever for X linking.
13918 if test "$ISC" = yes; then
13919 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13920 else
13921 # Martyn Johnson says this is needed for Ultrix, if the X
13922 # libraries were built with DECnet support. And Karl Berry says
13923 # the Alpha needs dnet_stub (dnet does not exist).
13924 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13931 char XOpenDisplay ();
13933 main (void)
13935 return XOpenDisplay ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"
13941 then :
13943 else $as_nop
13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13945 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13946 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13947 then :
13948 printf %s "(cached) " >&6
13949 else $as_nop
13950 ac_check_lib_save_LIBS=$LIBS
13951 LIBS="-ldnet $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 char dnet_ntoa ();
13960 main (void)
13962 return dnet_ntoa ();
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"
13968 then :
13969 ac_cv_lib_dnet_dnet_ntoa=yes
13970 else $as_nop
13971 ac_cv_lib_dnet_dnet_ntoa=no
13973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13974 conftest$ac_exeext conftest.$ac_ext
13975 LIBS=$ac_check_lib_save_LIBS
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13978 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13979 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13980 then :
13981 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13984 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13986 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13987 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13988 then :
13989 printf %s "(cached) " >&6
13990 else $as_nop
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-ldnet_stub $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 char dnet_ntoa ();
14001 main (void)
14003 return dnet_ntoa ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"
14009 then :
14010 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14011 else $as_nop
14012 ac_cv_lib_dnet_stub_dnet_ntoa=no
14014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_lib_save_LIBS
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14019 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14020 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14021 then :
14022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS="$ac_xsave_LIBS"
14031 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14032 # to get the SysV transport functions.
14033 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14034 # needs -lnsl.
14035 # The nsl library prevents programs from opening the X display
14036 # on Irix 5.2, according to T.E. Dickey.
14037 # The functions gethostbyname, getservbyname, and inet_addr are
14038 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14039 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14040 if test "x$ac_cv_func_gethostbyname" = xyes
14041 then :
14045 if test $ac_cv_func_gethostbyname = no; then
14046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14047 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14048 if test ${ac_cv_lib_nsl_gethostbyname+y}
14049 then :
14050 printf %s "(cached) " >&6
14051 else $as_nop
14052 ac_check_lib_save_LIBS=$LIBS
14053 LIBS="-lnsl $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 char gethostbyname ();
14062 main (void)
14064 return gethostbyname ();
14066 return 0;
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"
14070 then :
14071 ac_cv_lib_nsl_gethostbyname=yes
14072 else $as_nop
14073 ac_cv_lib_nsl_gethostbyname=no
14075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14076 conftest$ac_exeext conftest.$ac_ext
14077 LIBS=$ac_check_lib_save_LIBS
14079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14080 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14081 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14082 then :
14083 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14086 if test $ac_cv_lib_nsl_gethostbyname = no; then
14087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14088 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14089 if test ${ac_cv_lib_bsd_gethostbyname+y}
14090 then :
14091 printf %s "(cached) " >&6
14092 else $as_nop
14093 ac_check_lib_save_LIBS=$LIBS
14094 LIBS="-lbsd $LIBS"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14098 /* Override any GCC internal prototype to avoid an error.
14099 Use char because int might match the return type of a GCC
14100 builtin and then its argument prototype would still apply. */
14101 char gethostbyname ();
14103 main (void)
14105 return gethostbyname ();
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"
14111 then :
14112 ac_cv_lib_bsd_gethostbyname=yes
14113 else $as_nop
14114 ac_cv_lib_bsd_gethostbyname=no
14116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14117 conftest$ac_exeext conftest.$ac_ext
14118 LIBS=$ac_check_lib_save_LIBS
14120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14121 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14122 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14123 then :
14124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14130 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14131 # socket/setsockopt and other routines are undefined under SCO ODT
14132 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14133 # on later versions), says Simon Leinen: it contains gethostby*
14134 # variants that don't use the name server (or something). -lsocket
14135 # must be given before -lnsl if both are needed. We assume that
14136 # if connect needs -lnsl, so does gethostbyname.
14137 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14138 if test "x$ac_cv_func_connect" = xyes
14139 then :
14143 if test $ac_cv_func_connect = no; then
14144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14145 printf %s "checking for connect in -lsocket... " >&6; }
14146 if test ${ac_cv_lib_socket_connect+y}
14147 then :
14148 printf %s "(cached) " >&6
14149 else $as_nop
14150 ac_check_lib_save_LIBS=$LIBS
14151 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14155 /* Override any GCC internal prototype to avoid an error.
14156 Use char because int might match the return type of a GCC
14157 builtin and then its argument prototype would still apply. */
14158 char connect ();
14160 main (void)
14162 return connect ();
14164 return 0;
14166 _ACEOF
14167 if ac_fn_c_try_link "$LINENO"
14168 then :
14169 ac_cv_lib_socket_connect=yes
14170 else $as_nop
14171 ac_cv_lib_socket_connect=no
14173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14174 conftest$ac_exeext conftest.$ac_ext
14175 LIBS=$ac_check_lib_save_LIBS
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14178 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14179 if test "x$ac_cv_lib_socket_connect" = xyes
14180 then :
14181 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14186 # Guillermo Gomez says -lposix is necessary on A/UX.
14187 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14188 if test "x$ac_cv_func_remove" = xyes
14189 then :
14193 if test $ac_cv_func_remove = no; then
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14195 printf %s "checking for remove in -lposix... " >&6; }
14196 if test ${ac_cv_lib_posix_remove+y}
14197 then :
14198 printf %s "(cached) " >&6
14199 else $as_nop
14200 ac_check_lib_save_LIBS=$LIBS
14201 LIBS="-lposix $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char remove ();
14210 main (void)
14212 return remove ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"
14218 then :
14219 ac_cv_lib_posix_remove=yes
14220 else $as_nop
14221 ac_cv_lib_posix_remove=no
14223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14228 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14229 if test "x$ac_cv_lib_posix_remove" = xyes
14230 then :
14231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14236 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14237 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14238 if test "x$ac_cv_func_shmat" = xyes
14239 then :
14243 if test $ac_cv_func_shmat = no; then
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14245 printf %s "checking for shmat in -lipc... " >&6; }
14246 if test ${ac_cv_lib_ipc_shmat+y}
14247 then :
14248 printf %s "(cached) " >&6
14249 else $as_nop
14250 ac_check_lib_save_LIBS=$LIBS
14251 LIBS="-lipc $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char shmat ();
14260 main (void)
14262 return shmat ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"
14268 then :
14269 ac_cv_lib_ipc_shmat=yes
14270 else $as_nop
14271 ac_cv_lib_ipc_shmat=no
14273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_lib_save_LIBS
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14278 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14279 if test "x$ac_cv_lib_ipc_shmat" = xyes
14280 then :
14281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14287 # Check for libraries that X11R6 Xt/Xaw programs need.
14288 ac_save_LDFLAGS=$LDFLAGS
14289 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14290 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14291 # check for ICE first), but we must link in the order -lSM -lICE or
14292 # we get undefined symbols. So assume we have SM if we have ICE.
14293 # These have to be linked with before -lX11, unlike the other
14294 # libraries we check for below, so use a different variable.
14295 # John Interrante, Karl Berry
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14297 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14298 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14299 then :
14300 printf %s "(cached) " >&6
14301 else $as_nop
14302 ac_check_lib_save_LIBS=$LIBS
14303 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14307 /* Override any GCC internal prototype to avoid an error.
14308 Use char because int might match the return type of a GCC
14309 builtin and then its argument prototype would still apply. */
14310 char IceConnectionNumber ();
14312 main (void)
14314 return IceConnectionNumber ();
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"
14320 then :
14321 ac_cv_lib_ICE_IceConnectionNumber=yes
14322 else $as_nop
14323 ac_cv_lib_ICE_IceConnectionNumber=no
14325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14326 conftest$ac_exeext conftest.$ac_ext
14327 LIBS=$ac_check_lib_save_LIBS
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14330 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14331 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14332 then :
14333 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14336 LDFLAGS=$ac_save_LDFLAGS
14341 if test "$have_x" = "yes"
14342 then
14343 ac_save_CPPFLAGS="$CPPFLAGS"
14344 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14347 printf %s "checking for -lX11... " >&6; }
14348 if test ${ac_cv_lib_soname_X11+y}
14349 then :
14350 printf %s "(cached) " >&6
14351 else $as_nop
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14360 char XCreateWindow ();
14362 main (void)
14364 return XCreateWindow ();
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"
14370 then :
14371 case "$LIBEXT" in
14372 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14373 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'` ;;
14374 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14375 if ${ac_cv_lib_soname_X11:+false} :
14376 then :
14377 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14378 fi ;;
14379 esac
14380 else $as_nop
14381 ac_cv_lib_soname_X11=
14383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_soname_save_LIBS
14387 if ${ac_cv_lib_soname_X11:+false} :
14388 then :
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14390 printf "%s\n" "not found" >&6; }
14392 else $as_nop
14393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14394 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14396 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14401 printf %s "checking for -lXext... " >&6; }
14402 if test ${ac_cv_lib_soname_Xext+y}
14403 then :
14404 printf %s "(cached) " >&6
14405 else $as_nop
14406 ac_check_soname_save_LIBS=$LIBS
14407 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 char XextCreateExtension ();
14416 main (void)
14418 return XextCreateExtension ();
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"
14424 then :
14425 case "$LIBEXT" in
14426 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14427 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'` ;;
14428 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14429 if ${ac_cv_lib_soname_Xext:+false} :
14430 then :
14431 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14432 fi ;;
14433 esac
14434 else $as_nop
14435 ac_cv_lib_soname_Xext=
14437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14438 conftest$ac_exeext conftest.$ac_ext
14439 LIBS=$ac_check_soname_save_LIBS
14441 if ${ac_cv_lib_soname_Xext:+false} :
14442 then :
14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14444 printf "%s\n" "not found" >&6; }
14446 else $as_nop
14447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14448 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14450 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14452 X_LIBS="$X_LIBS -lXext"
14454 X_LIBS="$X_LIBS -lX11"
14456 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14530 #endif
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14533 #endif
14535 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14542 #endif
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14545 #endif
14547 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14548 then :
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14554 #endif
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14557 #endif
14559 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14560 then :
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14566 #endif
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14569 #endif
14571 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14572 then :
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14578 #endif
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14581 #endif
14583 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14584 then :
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14590 #endif
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14593 #endif
14595 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14596 then :
14597 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14602 #endif
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14605 #endif
14607 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14608 then :
14609 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14614 #endif
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14617 #endif
14619 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14620 then :
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14625 # include <X11/Xlib.h>
14626 #endif
14627 #ifdef HAVE_X11_XUTIL_H
14628 # include <X11/Xutil.h>
14629 #endif
14631 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14632 then :
14633 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14638 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14639 then
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14641 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14642 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14643 then :
14644 printf %s "(cached) " >&6
14645 else $as_nop
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 char XkbQueryExtension ();
14656 main (void)
14658 return XkbQueryExtension ();
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"
14664 then :
14665 ac_cv_lib_X11_XkbQueryExtension=yes
14666 else $as_nop
14667 ac_cv_lib_X11_XkbQueryExtension=no
14669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_lib_save_LIBS
14673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14674 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14675 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14676 then :
14678 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14684 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14685 then
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14687 printf %s "checking for -lXcursor... " >&6; }
14688 if test ${ac_cv_lib_soname_Xcursor+y}
14689 then :
14690 printf %s "(cached) " >&6
14691 else $as_nop
14692 ac_check_soname_save_LIBS=$LIBS
14693 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 char XcursorImageLoadCursor ();
14702 main (void)
14704 return XcursorImageLoadCursor ();
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"
14710 then :
14711 case "$LIBEXT" in
14712 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14713 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'` ;;
14714 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14715 if ${ac_cv_lib_soname_Xcursor:+false} :
14716 then :
14717 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14718 fi ;;
14719 esac
14720 else $as_nop
14721 ac_cv_lib_soname_Xcursor=
14723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_soname_save_LIBS
14727 if ${ac_cv_lib_soname_Xcursor:+false} :
14728 then :
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14730 printf "%s\n" "not found" >&6; }
14732 else $as_nop
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14734 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14736 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14741 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14742 then :
14743 case "x$with_xcursor" in
14744 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14745 xno) ;;
14746 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14747 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14748 esac
14752 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14753 then
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14755 printf %s "checking for -lXi... " >&6; }
14756 if test ${ac_cv_lib_soname_Xi+y}
14757 then :
14758 printf %s "(cached) " >&6
14759 else $as_nop
14760 ac_check_soname_save_LIBS=$LIBS
14761 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 char XOpenDevice ();
14770 main (void)
14772 return XOpenDevice ();
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"
14778 then :
14779 case "$LIBEXT" in
14780 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14781 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'` ;;
14782 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14783 if ${ac_cv_lib_soname_Xi:+false} :
14784 then :
14785 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14786 fi ;;
14787 esac
14788 else $as_nop
14789 ac_cv_lib_soname_Xi=
14791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14792 conftest$ac_exeext conftest.$ac_ext
14793 LIBS=$ac_check_soname_save_LIBS
14795 if ${ac_cv_lib_soname_Xi:+false} :
14796 then :
14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14798 printf "%s\n" "not found" >&6; }
14800 else $as_nop
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14802 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14804 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14809 if test "x$ac_cv_lib_soname_Xi" = "x"
14810 then :
14811 case "x$with_xinput" in
14812 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14813 xno) ;;
14814 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14815 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14816 esac
14820 if test "x$ac_cv_lib_soname_Xi" != x
14821 then
14822 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14823 then :
14824 case "x$with_xinput2" in
14825 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14826 xno) ;;
14827 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14828 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14829 esac
14834 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14835 then
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14837 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14838 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14839 then :
14840 printf %s "(cached) " >&6
14841 else $as_nop
14842 ac_check_lib_save_LIBS=$LIBS
14843 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14850 char XShmQueryExtension ();
14852 main (void)
14854 return XShmQueryExtension ();
14856 return 0;
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"
14860 then :
14861 ac_cv_lib_Xext_XShmQueryExtension=yes
14862 else $as_nop
14863 ac_cv_lib_Xext_XShmQueryExtension=no
14865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_check_lib_save_LIBS
14869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14870 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14871 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14872 then :
14874 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14879 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14880 then :
14881 case "x$with_xshm" in
14882 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14883 xno) ;;
14884 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14885 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14886 esac
14890 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14891 then
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14893 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14894 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14895 then :
14896 printf %s "(cached) " >&6
14897 else $as_nop
14898 ac_check_lib_save_LIBS=$LIBS
14899 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14903 /* Override any GCC internal prototype to avoid an error.
14904 Use char because int might match the return type of a GCC
14905 builtin and then its argument prototype would still apply. */
14906 char XShapeQueryExtension ();
14908 main (void)
14910 return XShapeQueryExtension ();
14912 return 0;
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"
14916 then :
14917 ac_cv_lib_Xext_XShapeQueryExtension=yes
14918 else $as_nop
14919 ac_cv_lib_Xext_XShapeQueryExtension=no
14921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14922 conftest$ac_exeext conftest.$ac_ext
14923 LIBS=$ac_check_lib_save_LIBS
14925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14926 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14927 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14928 then :
14930 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14935 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14936 then :
14937 case "x$with_xshape" in
14938 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14939 xno) ;;
14940 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14941 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14942 esac
14946 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14947 then
14948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14949 printf %s "checking for -lXxf86vm... " >&6; }
14950 if test ${ac_cv_lib_soname_Xxf86vm+y}
14951 then :
14952 printf %s "(cached) " >&6
14953 else $as_nop
14954 ac_check_soname_save_LIBS=$LIBS
14955 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 char XF86VidModeQueryExtension ();
14964 main (void)
14966 return XF86VidModeQueryExtension ();
14968 return 0;
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"
14972 then :
14973 case "$LIBEXT" in
14974 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14975 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'` ;;
14976 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14977 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14978 then :
14979 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14980 fi ;;
14981 esac
14982 else $as_nop
14983 ac_cv_lib_soname_Xxf86vm=
14985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_soname_save_LIBS
14989 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14990 then :
14991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14992 printf "%s\n" "not found" >&6; }
14994 else $as_nop
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14996 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14998 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15003 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15004 then :
15005 case "x$with_xxf86vm" in
15006 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15007 xno) ;;
15008 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15009 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15010 esac
15014 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15015 then
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15017 printf %s "checking for -lXrender... " >&6; }
15018 if test ${ac_cv_lib_soname_Xrender+y}
15019 then :
15020 printf %s "(cached) " >&6
15021 else $as_nop
15022 ac_check_soname_save_LIBS=$LIBS
15023 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 char XRenderQueryExtension ();
15032 main (void)
15034 return XRenderQueryExtension ();
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"
15040 then :
15041 case "$LIBEXT" in
15042 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15043 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'` ;;
15044 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15045 if ${ac_cv_lib_soname_Xrender:+false} :
15046 then :
15047 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15048 fi ;;
15049 esac
15050 else $as_nop
15051 ac_cv_lib_soname_Xrender=
15053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_check_soname_save_LIBS
15057 if ${ac_cv_lib_soname_Xrender:+false} :
15058 then :
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15060 printf "%s\n" "not found" >&6; }
15062 else $as_nop
15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15064 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15066 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15069 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15070 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15071 then :
15072 printf %s "(cached) " >&6
15073 else $as_nop
15074 ac_check_lib_save_LIBS=$LIBS
15075 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15079 /* Override any GCC internal prototype to avoid an error.
15080 Use char because int might match the return type of a GCC
15081 builtin and then its argument prototype would still apply. */
15082 char XRenderSetPictureTransform ();
15084 main (void)
15086 return XRenderSetPictureTransform ();
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"
15092 then :
15093 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15094 else $as_nop
15095 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15098 conftest$ac_exeext conftest.$ac_ext
15099 LIBS=$ac_check_lib_save_LIBS
15101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15102 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15103 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15104 then :
15106 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15111 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15112 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15113 then :
15114 printf %s "(cached) " >&6
15115 else $as_nop
15116 ac_check_lib_save_LIBS=$LIBS
15117 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15124 char XRenderCreateLinearGradient ();
15126 main (void)
15128 return XRenderCreateLinearGradient ();
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"
15134 then :
15135 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15136 else $as_nop
15137 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15140 conftest$ac_exeext conftest.$ac_ext
15141 LIBS=$ac_check_lib_save_LIBS
15143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15144 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15145 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15146 then :
15148 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15155 if test "x$ac_cv_lib_soname_Xrender" = "x"
15156 then :
15157 case "x$with_xrender" in
15158 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15159 xno) ;;
15160 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15161 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15162 esac
15166 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15167 then
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15170 #include <X11/Xlib.h>
15171 #include <X11/extensions/Xrandr.h>
15173 main (void)
15175 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15177 return 0;
15179 _ACEOF
15180 if ac_fn_c_try_compile "$LINENO"
15181 then :
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15183 printf %s "checking for -lXrandr... " >&6; }
15184 if test ${ac_cv_lib_soname_Xrandr+y}
15185 then :
15186 printf %s "(cached) " >&6
15187 else $as_nop
15188 ac_check_soname_save_LIBS=$LIBS
15189 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 char XRRQueryExtension ();
15198 main (void)
15200 return XRRQueryExtension ();
15202 return 0;
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"
15206 then :
15207 case "$LIBEXT" in
15208 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15209 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'` ;;
15210 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15211 if ${ac_cv_lib_soname_Xrandr:+false} :
15212 then :
15213 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15214 fi ;;
15215 esac
15216 else $as_nop
15217 ac_cv_lib_soname_Xrandr=
15219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if ${ac_cv_lib_soname_Xrandr:+false} :
15224 then :
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15226 printf "%s\n" "not found" >&6; }
15228 else $as_nop
15229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15230 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15232 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <X11/Xlib.h>
15237 #include <X11/extensions/Xrandr.h>
15239 main (void)
15241 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15243 return 0;
15245 _ACEOF
15246 if ac_fn_c_try_compile "$LINENO"
15247 then :
15249 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15251 else $as_nop
15252 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15259 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15260 then :
15261 case "x$with_xrandr" in
15262 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15263 xno) ;;
15264 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15265 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15266 esac
15270 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15271 then
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15274 #include <X11/Xlib.h>
15275 #include <X11/extensions/Xfixes.h>
15277 main (void)
15279 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_compile "$LINENO"
15285 then :
15286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15287 printf %s "checking for -lXfixes... " >&6; }
15288 if test ${ac_cv_lib_soname_Xfixes+y}
15289 then :
15290 printf %s "(cached) " >&6
15291 else $as_nop
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 char XFixesQueryVersion ();
15302 main (void)
15304 return XFixesQueryVersion ();
15306 return 0;
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"
15310 then :
15311 case "$LIBEXT" in
15312 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15313 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'` ;;
15314 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15315 if ${ac_cv_lib_soname_Xfixes:+false} :
15316 then :
15317 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15318 fi ;;
15319 esac
15320 else $as_nop
15321 ac_cv_lib_soname_Xfixes=
15323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if ${ac_cv_lib_soname_Xfixes:+false} :
15328 then :
15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 printf "%s\n" "not found" >&6; }
15332 else $as_nop
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15334 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15336 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15343 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15344 then :
15345 case "x$with_xfixes" in
15346 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15347 xno) ;;
15348 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15349 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15350 esac
15354 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15355 then
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358 #include <X11/Xlib.h>
15359 #include <X11/extensions/Xinerama.h>
15361 main (void)
15363 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15365 return 0;
15367 _ACEOF
15368 if ac_fn_c_try_compile "$LINENO"
15369 then :
15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15371 printf %s "checking for -lXinerama... " >&6; }
15372 if test ${ac_cv_lib_soname_Xinerama+y}
15373 then :
15374 printf %s "(cached) " >&6
15375 else $as_nop
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 char XineramaQueryScreens ();
15386 main (void)
15388 return XineramaQueryScreens ();
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"
15394 then :
15395 case "$LIBEXT" in
15396 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15397 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'` ;;
15398 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15399 if ${ac_cv_lib_soname_Xinerama:+false} :
15400 then :
15401 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15402 fi ;;
15403 esac
15404 else $as_nop
15405 ac_cv_lib_soname_Xinerama=
15407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if ${ac_cv_lib_soname_Xinerama:+false} :
15412 then :
15413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15414 printf "%s\n" "not found" >&6; }
15416 else $as_nop
15417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15418 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15420 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15427 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15428 then :
15429 case "x$with_xinerama" in
15430 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15431 xno) ;;
15432 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15433 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15434 esac
15438 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15439 then
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15441 printf %s "checking for -lXcomposite... " >&6; }
15442 if test ${ac_cv_lib_soname_Xcomposite+y}
15443 then :
15444 printf %s "(cached) " >&6
15445 else $as_nop
15446 ac_check_soname_save_LIBS=$LIBS
15447 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15451 /* Override any GCC internal prototype to avoid an error.
15452 Use char because int might match the return type of a GCC
15453 builtin and then its argument prototype would still apply. */
15454 char XCompositeRedirectWindow ();
15456 main (void)
15458 return XCompositeRedirectWindow ();
15460 return 0;
15462 _ACEOF
15463 if ac_fn_c_try_link "$LINENO"
15464 then :
15465 case "$LIBEXT" in
15466 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15467 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'` ;;
15468 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15469 if ${ac_cv_lib_soname_Xcomposite:+false} :
15470 then :
15471 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15472 fi ;;
15473 esac
15474 else $as_nop
15475 ac_cv_lib_soname_Xcomposite=
15477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15478 conftest$ac_exeext conftest.$ac_ext
15479 LIBS=$ac_check_soname_save_LIBS
15481 if ${ac_cv_lib_soname_Xcomposite:+false} :
15482 then :
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15484 printf "%s\n" "not found" >&6; }
15486 else $as_nop
15487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15488 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15490 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15495 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15496 then :
15497 case "x$with_xcomposite" in
15498 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15499 xno) ;;
15500 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15501 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15502 esac
15506 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15507 #include <X11/Xlib.h>
15508 #endif
15510 if test "x$ac_cv_member_XICCallback_callback" = xyes
15511 then :
15513 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15517 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15518 #include <X11/Xlib.h>
15519 #endif
15521 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15522 then :
15524 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15531 opengl_msg=""
15532 if test "x$with_opengl" != "xno"
15533 then
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15535 printf %s "checking for -lGL... " >&6; }
15536 if test ${ac_cv_lib_soname_GL+y}
15537 then :
15538 printf %s "(cached) " >&6
15539 else $as_nop
15540 ac_check_soname_save_LIBS=$LIBS
15541 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15545 /* Override any GCC internal prototype to avoid an error.
15546 Use char because int might match the return type of a GCC
15547 builtin and then its argument prototype would still apply. */
15548 char glXCreateContext ();
15550 main (void)
15552 return glXCreateContext ();
15554 return 0;
15556 _ACEOF
15557 if ac_fn_c_try_link "$LINENO"
15558 then :
15559 case "$LIBEXT" in
15560 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15561 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'` ;;
15562 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15563 if ${ac_cv_lib_soname_GL:+false} :
15564 then :
15565 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15566 fi ;;
15567 esac
15568 else $as_nop
15569 ac_cv_lib_soname_GL=
15571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15572 conftest$ac_exeext conftest.$ac_ext
15573 LIBS=$ac_check_soname_save_LIBS
15575 if ${ac_cv_lib_soname_GL:+false} :
15576 then :
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15578 printf "%s\n" "not found" >&6; }
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15580 printf %s "checking for -lGL... " >&6; }
15581 if test ${ac_cv_lib_soname_GL+y}
15582 then :
15583 printf %s "(cached) " >&6
15584 else $as_nop
15585 ac_check_soname_save_LIBS=$LIBS
15586 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"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 char glXCreateContext ();
15595 main (void)
15597 return glXCreateContext ();
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"
15603 then :
15604 case "$LIBEXT" in
15605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15606 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'` ;;
15607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15608 if ${ac_cv_lib_soname_GL:+false} :
15609 then :
15610 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15611 fi ;;
15612 esac
15613 else $as_nop
15614 ac_cv_lib_soname_GL=
15616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15617 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_soname_save_LIBS
15620 if ${ac_cv_lib_soname_GL:+false} :
15621 then :
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15623 printf "%s\n" "not found" >&6; }
15624 if test -f /usr/X11R6/lib/libGL.a
15625 then
15626 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15627 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15628 else
15629 opengl_msg="No OpenGL library found on this system."
15631 else $as_nop
15632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15633 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15635 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15637 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"
15639 else $as_nop
15640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15641 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15643 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15645 OPENGL_LIBS="-lGL"
15647 if test "x$with_osmesa" != "xno"
15648 then
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15650 printf %s "checking for -lOSMesa... " >&6; }
15651 if test ${ac_cv_lib_soname_OSMesa+y}
15652 then :
15653 printf %s "(cached) " >&6
15654 else $as_nop
15655 ac_check_soname_save_LIBS=$LIBS
15656 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 char OSMesaGetProcAddress ();
15665 main (void)
15667 return OSMesaGetProcAddress ();
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"
15673 then :
15674 case "$LIBEXT" in
15675 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15676 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'` ;;
15677 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15678 if ${ac_cv_lib_soname_OSMesa:+false} :
15679 then :
15680 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15681 fi ;;
15682 esac
15683 else $as_nop
15684 ac_cv_lib_soname_OSMesa=
15686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_soname_save_LIBS
15690 if ${ac_cv_lib_soname_OSMesa:+false} :
15691 then :
15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15693 printf "%s\n" "not found" >&6; }
15695 else $as_nop
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15697 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15699 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15703 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15704 then :
15705 case "x$with_osmesa" in
15706 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15707 xno) ;;
15708 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15709 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15710 esac
15715 if test -n "$opengl_msg"
15716 then :
15717 case "x$with_opengl" in
15718 x) as_fn_append wine_warnings "|$opengl_msg
15719 OpenGL and Direct3D won't be supported." ;;
15720 xno) ;;
15721 *) as_fn_error $? "$opengl_msg
15722 OpenGL and Direct3D won't be supported.
15723 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15724 esac
15728 CPPFLAGS="$ac_save_CPPFLAGS"
15729 else
15730 X_CFLAGS=""
15731 X_LIBS=""
15734 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15735 then
15736 if test "x$X_LIBS" = "x"
15737 then :
15738 case "x$with_x" in
15739 xno) ;;
15740 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15741 without X support, which probably isn't what you want. You will need
15742 to install ${notice_platform}development packages of Xlib at the very least.
15743 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15744 esac
15745 enable_winex11_drv=${enable_winex11_drv:-no}
15747 else
15748 if test "x$X_LIBS" = "x"
15749 then :
15750 case "x$with_x" in
15751 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15752 xno) ;;
15753 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15754 This is an error since --with-x was requested." "$LINENO" 5 ;;
15755 esac
15756 enable_winex11_drv=${enable_winex11_drv:-no}
15760 if test "$ac_cv_header_CL_cl_h" = "yes"
15761 then
15762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15763 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15764 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15765 then :
15766 printf %s "(cached) " >&6
15767 else $as_nop
15768 ac_check_lib_save_LIBS=$LIBS
15769 LIBS="-lOpenCL $LIBS"
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15776 char clGetPlatformInfo ();
15778 main (void)
15780 return clGetPlatformInfo ();
15782 return 0;
15784 _ACEOF
15785 if ac_fn_c_try_link "$LINENO"
15786 then :
15787 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15788 else $as_nop
15789 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15792 conftest$ac_exeext conftest.$ac_ext
15793 LIBS=$ac_check_lib_save_LIBS
15795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15796 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15797 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15798 then :
15799 OPENCL_LIBS="-lOpenCL"
15804 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15805 then :
15806 case "x$with_opencl" in
15807 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15808 xno) ;;
15809 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15810 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15811 esac
15812 enable_opencl=${enable_opencl:-no}
15815 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15816 then
15817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15818 printf %s "checking for pcap_create in -lpcap... " >&6; }
15819 if test ${ac_cv_lib_pcap_pcap_create+y}
15820 then :
15821 printf %s "(cached) " >&6
15822 else $as_nop
15823 ac_check_lib_save_LIBS=$LIBS
15824 LIBS="-lpcap $LIBS"
15825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15828 /* Override any GCC internal prototype to avoid an error.
15829 Use char because int might match the return type of a GCC
15830 builtin and then its argument prototype would still apply. */
15831 char pcap_create ();
15833 main (void)
15835 return pcap_create ();
15837 return 0;
15839 _ACEOF
15840 if ac_fn_c_try_link "$LINENO"
15841 then :
15842 ac_cv_lib_pcap_pcap_create=yes
15843 else $as_nop
15844 ac_cv_lib_pcap_pcap_create=no
15846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15847 conftest$ac_exeext conftest.$ac_ext
15848 LIBS=$ac_check_lib_save_LIBS
15850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15851 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15852 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15853 then :
15854 PCAP_LIBS="-lpcap"
15859 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15860 then :
15861 case "x$with_pcap" in
15862 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15863 xno) ;;
15864 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15865 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15866 esac
15867 enable_wpcap=${enable_wpcap:-no}
15870 if test "x$with_inotify" != "xno"
15871 then
15872 if ${INOTIFY_CFLAGS:+false} :
15873 then :
15874 if test ${PKG_CONFIG+y}
15875 then :
15876 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15880 if ${INOTIFY_LIBS:+false} :
15881 then :
15882 if test ${PKG_CONFIG+y}
15883 then :
15884 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15891 ac_save_CPPFLAGS=$CPPFLAGS
15892 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15893 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15894 if test "x$ac_cv_header_sys_inotify_h" = xyes
15895 then :
15896 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15901 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15902 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15903 then :
15904 printf %s "(cached) " >&6
15905 else $as_nop
15906 ac_check_lib_save_LIBS=$LIBS
15907 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15911 /* Override any GCC internal prototype to avoid an error.
15912 Use char because int might match the return type of a GCC
15913 builtin and then its argument prototype would still apply. */
15914 char inotify_add_watch ();
15916 main (void)
15918 return inotify_add_watch ();
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"
15924 then :
15925 ac_cv_lib_inotify_inotify_add_watch=yes
15926 else $as_nop
15927 ac_cv_lib_inotify_inotify_add_watch=no
15929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15930 conftest$ac_exeext conftest.$ac_ext
15931 LIBS=$ac_check_lib_save_LIBS
15933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15934 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15935 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15936 then :
15938 else $as_nop
15939 INOTIFY_LIBS=""
15942 CPPFLAGS=$ac_save_CPPFLAGS
15945 if test "$ac_cv_header_sys_inotify_h" != "yes"
15946 then :
15947 case "x$with_inotify" in
15948 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15949 xno) ;;
15950 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15951 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15952 esac
15956 if test "x$with_dbus" != "xno"
15957 then
15958 if ${DBUS_CFLAGS:+false} :
15959 then :
15960 if test ${PKG_CONFIG+y}
15961 then :
15962 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15966 if ${DBUS_LIBS:+false} :
15967 then :
15968 if test ${PKG_CONFIG+y}
15969 then :
15970 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15979 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15981 then :
15982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15983 printf %s "checking for -ldbus-1... " >&6; }
15984 if test ${ac_cv_lib_soname_dbus_1+y}
15985 then :
15986 printf %s "(cached) " >&6
15987 else $as_nop
15988 ac_check_soname_save_LIBS=$LIBS
15989 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 char dbus_connection_close ();
15998 main (void)
16000 return dbus_connection_close ();
16002 return 0;
16004 _ACEOF
16005 if ac_fn_c_try_link "$LINENO"
16006 then :
16007 case "$LIBEXT" in
16008 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16009 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'` ;;
16010 *) 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'`
16011 if ${ac_cv_lib_soname_dbus_1:+false} :
16012 then :
16013 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16014 fi ;;
16015 esac
16016 else $as_nop
16017 ac_cv_lib_soname_dbus_1=
16019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_dbus_1:+false} :
16024 then :
16025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16026 printf "%s\n" "not found" >&6; }
16027 DBUS_CFLAGS=""
16028 else $as_nop
16029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16030 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16032 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16036 else $as_nop
16037 DBUS_CFLAGS=""
16040 CPPFLAGS=$ac_save_CPPFLAGS
16043 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16044 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16045 then :
16046 case "x$with_dbus" in
16047 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16048 xno) ;;
16049 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16050 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16051 esac
16055 if test "x$with_gnutls" != "xno"
16056 then
16057 if ${GNUTLS_CFLAGS:+false} :
16058 then :
16059 if test ${PKG_CONFIG+y}
16060 then :
16061 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16065 if ${GNUTLS_LIBS:+false} :
16066 then :
16067 if test ${PKG_CONFIG+y}
16068 then :
16069 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16073 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16076 ac_save_CPPFLAGS=$CPPFLAGS
16077 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16078 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16080 then :
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <gnutls/gnutls.h>
16084 #include <gnutls/crypto.h>
16086 main (void)
16088 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16090 return 0;
16092 _ACEOF
16093 if ac_fn_c_try_compile "$LINENO"
16094 then :
16095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16096 printf %s "checking for -lgnutls... " >&6; }
16097 if test ${ac_cv_lib_soname_gnutls+y}
16098 then :
16099 printf %s "(cached) " >&6
16100 else $as_nop
16101 ac_check_soname_save_LIBS=$LIBS
16102 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h. */
16106 /* Override any GCC internal prototype to avoid an error.
16107 Use char because int might match the return type of a GCC
16108 builtin and then its argument prototype would still apply. */
16109 char gnutls_global_init ();
16111 main (void)
16113 return gnutls_global_init ();
16115 return 0;
16117 _ACEOF
16118 if ac_fn_c_try_link "$LINENO"
16119 then :
16120 case "$LIBEXT" in
16121 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16122 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'` ;;
16123 *) 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'`
16124 if ${ac_cv_lib_soname_gnutls:+false} :
16125 then :
16126 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'`
16127 fi ;;
16128 esac
16129 else $as_nop
16130 ac_cv_lib_soname_gnutls=
16132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16133 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_soname_save_LIBS
16136 if ${ac_cv_lib_soname_gnutls:+false} :
16137 then :
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16139 printf "%s\n" "not found" >&6; }
16140 GNUTLS_CFLAGS=""
16141 else $as_nop
16142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16143 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16145 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16149 ac_wine_check_funcs_save_LIBS="$LIBS"
16150 LIBS="$LIBS $GNUTLS_LIBS"
16152 for ac_func in gnutls_cipher_init
16153 do :
16154 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16155 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16156 then :
16157 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16159 else $as_nop
16160 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16163 done
16164 LIBS="$ac_wine_check_funcs_save_LIBS"
16166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16167 else $as_nop
16168 GNUTLS_CFLAGS=""
16171 CPPFLAGS=$ac_save_CPPFLAGS
16174 if test "x$ac_cv_lib_soname_gnutls" = "x"
16175 then :
16176 case "x$with_gnutls" in
16177 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16178 xno) ;;
16179 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16180 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16181 esac
16185 if test "x$with_sane" != "xno"
16186 then
16187 if ${SANE_CFLAGS:+false} :
16188 then :
16189 if test ${PKG_CONFIG+y}
16190 then :
16191 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16194 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16195 if ${SANE_LIBS:+false} :
16196 then :
16197 if test ${PKG_CONFIG+y}
16198 then :
16199 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16202 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16206 ac_save_CPPFLAGS=$CPPFLAGS
16207 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16208 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16209 if test "x$ac_cv_header_sane_sane_h" = xyes
16210 then :
16211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16212 printf %s "checking for sane_init in -lsane... " >&6; }
16213 if test ${ac_cv_lib_sane_sane_init+y}
16214 then :
16215 printf %s "(cached) " >&6
16216 else $as_nop
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-lsane $SANE_LIBS $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 char sane_init ();
16227 main (void)
16229 return sane_init ();
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"
16235 then :
16236 ac_cv_lib_sane_sane_init=yes
16237 else $as_nop
16238 ac_cv_lib_sane_sane_init=no
16240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_lib_save_LIBS
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16245 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16246 if test "x$ac_cv_lib_sane_sane_init" = xyes
16247 then :
16253 CPPFLAGS=$ac_save_CPPFLAGS
16256 if test "$ac_cv_lib_sane_sane_init" != "yes"
16257 then :
16258 case "x$with_sane" in
16259 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16260 xno) ;;
16261 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16262 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16263 esac
16264 enable_sane_ds=${enable_sane_ds:-no}
16267 if test "x$with_usb" != "xno"
16268 then
16269 if ${USB_CFLAGS:+false} :
16270 then :
16271 if test ${PKG_CONFIG+y}
16272 then :
16273 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16277 if ${USB_LIBS:+false} :
16278 then :
16279 if test ${PKG_CONFIG+y}
16280 then :
16281 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16285 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16288 ac_save_CPPFLAGS=$CPPFLAGS
16289 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16290 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16291 if test "x$ac_cv_header_libusb_h" = xyes
16292 then :
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16294 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16295 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16296 then :
16297 printf %s "(cached) " >&6
16298 else $as_nop
16299 ac_check_lib_save_LIBS=$LIBS
16300 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16304 /* Override any GCC internal prototype to avoid an error.
16305 Use char because int might match the return type of a GCC
16306 builtin and then its argument prototype would still apply. */
16307 char libusb_interrupt_event_handler ();
16309 main (void)
16311 return libusb_interrupt_event_handler ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"
16317 then :
16318 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16319 else $as_nop
16320 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16327 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16328 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16329 then :
16331 else $as_nop
16332 USB_LIBS=""
16335 else $as_nop
16336 USB_LIBS=""
16339 CPPFLAGS=$ac_save_CPPFLAGS
16342 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16343 then :
16344 case "x$with_usb" in
16345 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16346 xno) ;;
16347 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16348 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16349 esac
16350 enable_wineusb_sys=${enable_wineusb_sys:-no}
16353 if test "x$with_v4l2" != "xno"
16354 then
16355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16356 printf %s "checking for -lv4l2... " >&6; }
16357 if test ${ac_cv_lib_soname_v4l2+y}
16358 then :
16359 printf %s "(cached) " >&6
16360 else $as_nop
16361 ac_check_soname_save_LIBS=$LIBS
16362 LIBS="-lv4l2 $LIBS"
16363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16364 /* end confdefs.h. */
16366 /* Override any GCC internal prototype to avoid an error.
16367 Use char because int might match the return type of a GCC
16368 builtin and then its argument prototype would still apply. */
16369 char v4l2_open ();
16371 main (void)
16373 return v4l2_open ();
16375 return 0;
16377 _ACEOF
16378 if ac_fn_c_try_link "$LINENO"
16379 then :
16380 case "$LIBEXT" in
16381 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16382 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'` ;;
16383 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16384 if ${ac_cv_lib_soname_v4l2:+false} :
16385 then :
16386 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16387 fi ;;
16388 esac
16389 else $as_nop
16390 ac_cv_lib_soname_v4l2=
16392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_soname_save_LIBS
16396 if ${ac_cv_lib_soname_v4l2:+false} :
16397 then :
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16399 printf "%s\n" "not found" >&6; }
16401 else $as_nop
16402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16403 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16405 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16410 if test "x$ac_cv_lib_soname_v4l2" = "x"
16411 then :
16412 case "x$with_v4l2" in
16413 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16414 xno) ;;
16415 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16416 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16417 esac
16421 if test "x$with_gphoto" != "xno"
16422 then
16423 if ${GPHOTO2_CFLAGS:+false} :
16424 then :
16425 if test ${PKG_CONFIG+y}
16426 then :
16427 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16430 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16431 if ${GPHOTO2_LIBS:+false} :
16432 then :
16433 if test ${PKG_CONFIG+y}
16434 then :
16435 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16438 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16439 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16442 ac_save_CPPFLAGS=$CPPFLAGS
16443 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16444 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16445 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16446 then :
16447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16448 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16449 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16450 then :
16451 printf %s "(cached) " >&6
16452 else $as_nop
16453 ac_check_lib_save_LIBS=$LIBS
16454 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16458 /* Override any GCC internal prototype to avoid an error.
16459 Use char because int might match the return type of a GCC
16460 builtin and then its argument prototype would still apply. */
16461 char gp_camera_new ();
16463 main (void)
16465 return gp_camera_new ();
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"
16471 then :
16472 ac_cv_lib_gphoto2_gp_camera_new=yes
16473 else $as_nop
16474 ac_cv_lib_gphoto2_gp_camera_new=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_lib_save_LIBS
16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16481 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16482 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16483 then :
16489 CPPFLAGS=$ac_save_CPPFLAGS
16491 if ${GPHOTO2_PORT_CFLAGS:+false} :
16492 then :
16493 if test ${PKG_CONFIG+y}
16494 then :
16495 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16498 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16499 if ${GPHOTO2_PORT_LIBS:+false} :
16500 then :
16501 if test ${PKG_CONFIG+y}
16502 then :
16503 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16506 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16507 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16510 ac_save_CPPFLAGS=$CPPFLAGS
16511 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16512 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16513 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16514 then :
16515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16516 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16517 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16518 then :
16519 printf %s "(cached) " >&6
16520 else $as_nop
16521 ac_check_lib_save_LIBS=$LIBS
16522 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 char gp_port_info_list_new ();
16531 main (void)
16533 return gp_port_info_list_new ();
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"
16539 then :
16540 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16541 else $as_nop
16542 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16545 conftest$ac_exeext conftest.$ac_ext
16546 LIBS=$ac_check_lib_save_LIBS
16548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16549 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16550 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16551 then :
16553 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16555 else $as_nop
16556 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16559 else $as_nop
16560 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16563 CPPFLAGS=$ac_save_CPPFLAGS
16566 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16567 then :
16568 case "x$with_gphoto" in
16569 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16570 xno) ;;
16571 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16572 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16573 esac
16574 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16576 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16577 then :
16578 case "x$with_gphoto" in
16579 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16580 xno) ;;
16581 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16582 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16583 esac
16588 if test "$ac_cv_header_resolv_h" = "yes"
16589 then
16590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16591 printf %s "checking for resolver library... " >&6; }
16592 if test ${ac_cv_have_resolv+y}
16593 then :
16594 printf %s "(cached) " >&6
16595 else $as_nop
16596 ac_save_LIBS="$LIBS"
16597 for lib in '' -lresolv
16599 LIBS="$lib $ac_save_LIBS"
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #ifdef HAVE_NETINET_IN_H
16603 #include <netinet/in.h>
16604 #endif
16605 #include <resolv.h>
16607 main (void)
16609 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_link "$LINENO"
16615 then :
16616 ac_cv_have_resolv=${lib:-"none required"}
16617 else $as_nop
16618 ac_cv_have_resolv="not found"
16620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16621 conftest$ac_exeext conftest.$ac_ext
16622 test "x$ac_cv_have_resolv" = "xnot found" || break
16623 done
16624 LIBS="$ac_save_LIBS"
16626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16627 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16629 case "$ac_cv_have_resolv" in
16630 "not found") ;;
16631 "none required")
16633 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16636 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16638 RESOLV_LIBS=$ac_cv_have_resolv
16640 esac
16642 if test "x$ac_cv_have_resolv" != "xnot found"
16643 then
16644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16645 printf %s "checking for res_getservers... " >&6; }
16646 if test ${ac_cv_have_res_getservers+y}
16647 then :
16648 printf %s "(cached) " >&6
16649 else $as_nop
16650 ac_save_LIBS="$LIBS"
16651 LIBS="$RESOLV_LIBS $LIBS"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #include <resolv.h>
16656 main (void)
16658 res_getservers(NULL, NULL, 0);
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_link "$LINENO"
16664 then :
16665 ac_cv_have_res_getservers=yes
16666 else $as_nop
16667 ac_cv_have_res_getservers=no
16669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16670 conftest$ac_exeext conftest.$ac_ext
16671 LIBS="$ac_save_LIBS"
16673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16674 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16675 if test "$ac_cv_have_res_getservers" = "yes"
16676 then
16678 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16684 if test "x$with_freetype" != "xno"
16685 then
16686 if ${FREETYPE_CFLAGS:+false} :
16687 then :
16688 if test ${PKG_CONFIG+y}
16689 then :
16690 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16693 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16694 if ${FREETYPE_LIBS:+false} :
16695 then :
16696 if test ${PKG_CONFIG+y}
16697 then :
16698 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16701 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16702 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16705 ac_save_CPPFLAGS=$CPPFLAGS
16706 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16707 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16708 if test "x$ac_cv_header_ft2build_h" = xyes
16709 then :
16710 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16714 if test "$ac_cv_header_ft2build_h" = "yes"
16715 then
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16717 printf %s "checking for -lfreetype... " >&6; }
16718 if test ${ac_cv_lib_soname_freetype+y}
16719 then :
16720 printf %s "(cached) " >&6
16721 else $as_nop
16722 ac_check_soname_save_LIBS=$LIBS
16723 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 char FT_Init_FreeType ();
16732 main (void)
16734 return FT_Init_FreeType ();
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"
16740 then :
16741 case "$LIBEXT" in
16742 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16743 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'` ;;
16744 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16745 if ${ac_cv_lib_soname_freetype:+false} :
16746 then :
16747 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16748 fi ;;
16749 esac
16750 else $as_nop
16751 ac_cv_lib_soname_freetype=
16753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16754 conftest$ac_exeext conftest.$ac_ext
16755 LIBS=$ac_check_soname_save_LIBS
16757 if ${ac_cv_lib_soname_freetype:+false} :
16758 then :
16759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16760 printf "%s\n" "not found" >&6; }
16761 FREETYPE_LIBS=""
16762 else $as_nop
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16764 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16766 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16769 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16771 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16772 #include FT_MODULE_H
16774 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16775 then :
16777 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16783 else
16784 FREETYPE_CFLAGS=""
16785 FREETYPE_LIBS=""
16787 CPPFLAGS=$ac_save_CPPFLAGS
16790 if test "x$ac_cv_lib_soname_freetype" = x
16791 then :
16792 case "x$with_freetype" in
16793 xno) ;;
16794 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16795 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16796 esac
16797 enable_fonts=${enable_fonts:-no}
16800 ac_wine_check_funcs_save_LIBS="$LIBS"
16801 LIBS="$LIBS $PTHREAD_LIBS"
16802 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16803 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16804 then :
16805 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16809 LIBS="$ac_wine_check_funcs_save_LIBS"
16811 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16812 then
16813 if test "$ac_cv_header_gettext_po_h" = "yes"
16814 then
16815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16816 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16817 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16818 then :
16819 printf %s "(cached) " >&6
16820 else $as_nop
16821 ac_check_lib_save_LIBS=$LIBS
16822 LIBS="-lgettextpo $LIBS"
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16829 char po_message_msgctxt ();
16831 main (void)
16833 return po_message_msgctxt ();
16835 return 0;
16837 _ACEOF
16838 if ac_fn_c_try_link "$LINENO"
16839 then :
16840 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16841 else $as_nop
16842 ac_cv_lib_gettextpo_po_message_msgctxt=no
16844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_lib_save_LIBS
16848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16849 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16850 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16851 then :
16853 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16855 GETTEXTPO_LIBS="-lgettextpo"
16860 if test "x$GETTEXTPO_LIBS" = "x"
16861 then :
16862 case "x$with_gettextpo" in
16863 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16864 xno) ;;
16865 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16866 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16867 esac
16870 if test "$srcdir" != .
16871 then :
16872 case "x$with_gettextpo" in
16873 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16874 xno) ;;
16875 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16876 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16877 esac
16882 if test "x$with_pulse" != "xno";
16883 then
16884 if ${PULSE_CFLAGS:+false} :
16885 then :
16886 if test ${PKG_CONFIG+y}
16887 then :
16888 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16892 if ${PULSE_LIBS:+false} :
16893 then :
16894 if test ${PKG_CONFIG+y}
16895 then :
16896 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16903 ac_save_CPPFLAGS=$CPPFLAGS
16904 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16905 for ac_header in pulse/pulseaudio.h
16906 do :
16907 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16908 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16909 then :
16910 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16912 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16913 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16914 then :
16915 printf %s "(cached) " >&6
16916 else $as_nop
16917 ac_check_lib_save_LIBS=$LIBS
16918 LIBS="-lpulse $PULSE_LIBS $LIBS"
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16925 char pa_stream_is_corked ();
16927 main (void)
16929 return pa_stream_is_corked ();
16931 return 0;
16933 _ACEOF
16934 if ac_fn_c_try_link "$LINENO"
16935 then :
16936 ac_cv_lib_pulse_pa_stream_is_corked=yes
16937 else $as_nop
16938 ac_cv_lib_pulse_pa_stream_is_corked=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16941 conftest$ac_exeext conftest.$ac_ext
16942 LIBS=$ac_check_lib_save_LIBS
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16945 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16946 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16947 then :
16949 else $as_nop
16950 PULSE_LIBS=""
16953 else $as_nop
16954 PULSE_LIBS=""
16957 done
16958 CPPFLAGS=$ac_save_CPPFLAGS
16961 if test -z "$PULSE_LIBS"
16962 then :
16963 case "x$with_pulse" in
16964 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16965 xno) ;;
16966 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16967 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16968 esac
16969 enable_winepulse_drv=${enable_winepulse_drv:-no}
16972 if test "x$with_gstreamer" != "xno"
16973 then
16974 if ${GSTREAMER_CFLAGS:+false} :
16975 then :
16976 if test ${PKG_CONFIG+y}
16977 then :
16978 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16982 if ${GSTREAMER_LIBS:+false} :
16983 then :
16984 if test ${PKG_CONFIG+y}
16985 then :
16986 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16993 ac_save_CPPFLAGS=$CPPFLAGS
16994 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16995 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16996 if test "x$ac_cv_header_gst_gst_h" = xyes
16997 then :
16998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16999 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <gst/gst.h>
17004 main (void)
17006 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17008 return 0;
17010 _ACEOF
17011 if ac_fn_c_try_compile "$LINENO"
17012 then :
17013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17014 printf "%s\n" "yes" >&6; }
17015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17016 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17017 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17018 then :
17019 printf %s "(cached) " >&6
17020 else $as_nop
17021 ac_check_lib_save_LIBS=$LIBS
17022 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17026 /* Override any GCC internal prototype to avoid an error.
17027 Use char because int might match the return type of a GCC
17028 builtin and then its argument prototype would still apply. */
17029 char gst_pad_new ();
17031 main (void)
17033 return gst_pad_new ();
17035 return 0;
17037 _ACEOF
17038 if ac_fn_c_try_link "$LINENO"
17039 then :
17040 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17041 else $as_nop
17042 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17045 conftest$ac_exeext conftest.$ac_ext
17046 LIBS=$ac_check_lib_save_LIBS
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17049 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17050 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17051 then :
17055 else $as_nop
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17057 printf "%s\n" "no" >&6; }
17058 ac_glib2_broken=yes
17059 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17064 CPPFLAGS=$ac_save_CPPFLAGS
17067 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17068 then :
17069 case "x$with_gstreamer" in
17070 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17071 xno) ;;
17072 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17073 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17074 esac
17075 enable_winegstreamer=${enable_winegstreamer:-no}
17078 ALSA_LIBS=""
17080 if test "x$with_alsa" != "xno"
17081 then
17082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17083 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17084 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17085 then :
17086 printf %s "(cached) " >&6
17087 else $as_nop
17088 ac_check_lib_save_LIBS=$LIBS
17089 LIBS="-lasound $LIBS"
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17093 /* Override any GCC internal prototype to avoid an error.
17094 Use char because int might match the return type of a GCC
17095 builtin and then its argument prototype would still apply. */
17096 char snd_pcm_hw_params_get_access_mask ();
17098 main (void)
17100 return snd_pcm_hw_params_get_access_mask ();
17102 return 0;
17104 _ACEOF
17105 if ac_fn_c_try_link "$LINENO"
17106 then :
17107 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17108 else $as_nop
17109 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17112 conftest$ac_exeext conftest.$ac_ext
17113 LIBS=$ac_check_lib_save_LIBS
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17116 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17117 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17118 then :
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <alsa/asoundlib.h>
17123 main (void)
17125 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17127 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_compile "$LINENO"
17131 then :
17132 ALSA_LIBS="-lasound"
17134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17138 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17140 if test "x$with_oss" != xno
17141 then
17142 ac_save_CPPFLAGS="$CPPFLAGS"
17143 if test -f /etc/oss.conf
17144 then
17145 . /etc/oss.conf
17147 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17148 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17149 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17150 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17151 then :
17152 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17154 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17155 then :
17157 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17159 OSS4_CFLAGS="$ac_oss_incl"
17161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17162 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17163 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17164 then :
17165 printf %s "(cached) " >&6
17166 else $as_nop
17167 ac_check_lib_save_LIBS=$LIBS
17168 LIBS="-lossaudio $LIBS"
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 /* Override any GCC internal prototype to avoid an error.
17173 Use char because int might match the return type of a GCC
17174 builtin and then its argument prototype would still apply. */
17175 char _oss_ioctl ();
17177 main (void)
17179 return _oss_ioctl ();
17181 return 0;
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"
17185 then :
17186 ac_cv_lib_ossaudio__oss_ioctl=yes
17187 else $as_nop
17188 ac_cv_lib_ossaudio__oss_ioctl=no
17190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17191 conftest$ac_exeext conftest.$ac_ext
17192 LIBS=$ac_check_lib_save_LIBS
17194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17195 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17196 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17197 then :
17198 OSS4_LIBS="-lossaudio"
17206 CPPFLAGS="$ac_save_CPPFLAGS"
17208 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17209 then :
17210 case "x$with_oss" in
17211 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17212 xno) ;;
17213 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17214 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17215 esac
17216 enable_wineoss_drv=${enable_wineoss_drv:-no}
17219 if test "x$with_udev" != "xno"
17220 then
17221 if ${UDEV_CFLAGS:+false} :
17222 then :
17223 if test ${PKG_CONFIG+y}
17224 then :
17225 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17229 if ${UDEV_LIBS:+false} :
17230 then :
17231 if test ${PKG_CONFIG+y}
17232 then :
17233 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17237 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17240 ac_save_CPPFLAGS=$CPPFLAGS
17241 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17242 for ac_header in libudev.h
17243 do :
17244 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17245 if test "x$ac_cv_header_libudev_h" = xyes
17246 then :
17247 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17249 printf %s "checking for udev_new in -ludev... " >&6; }
17250 if test ${ac_cv_lib_udev_udev_new+y}
17251 then :
17252 printf %s "(cached) " >&6
17253 else $as_nop
17254 ac_check_lib_save_LIBS=$LIBS
17255 LIBS="-ludev $UDEV_LIBS $LIBS"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 /* Override any GCC internal prototype to avoid an error.
17260 Use char because int might match the return type of a GCC
17261 builtin and then its argument prototype would still apply. */
17262 char udev_new ();
17264 main (void)
17266 return udev_new ();
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_link "$LINENO"
17272 then :
17273 ac_cv_lib_udev_udev_new=yes
17274 else $as_nop
17275 ac_cv_lib_udev_udev_new=no
17277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17278 conftest$ac_exeext conftest.$ac_ext
17279 LIBS=$ac_check_lib_save_LIBS
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17282 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17283 if test "x$ac_cv_lib_udev_udev_new" = xyes
17284 then :
17286 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17288 else $as_nop
17289 UDEV_LIBS=""
17292 else $as_nop
17293 UDEV_LIBS=""
17296 done
17297 CPPFLAGS=$ac_save_CPPFLAGS
17300 if test "x$UDEV_LIBS" = "x"
17301 then :
17302 case "x$with_udev" in
17303 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17304 xno) ;;
17305 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17306 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17307 esac
17311 if test "x$with_unwind" != xno
17312 then
17313 if ${UNWIND_CFLAGS:+false} :
17314 then :
17315 if test ${PKG_CONFIG+y}
17316 then :
17317 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17321 if ${UNWIND_LIBS:+false} :
17322 then :
17323 if test ${PKG_CONFIG+y}
17324 then :
17325 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17329 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17332 ac_save_CPPFLAGS=$CPPFLAGS
17333 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17335 printf %s "checking for unw_step... " >&6; }
17336 if test ${wine_cv_have_unw_step+y}
17337 then :
17338 printf %s "(cached) " >&6
17339 else $as_nop
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 #define UNW_LOCAL_ONLY
17343 #include <libunwind.h>
17345 main (void)
17347 unw_cursor_t cursor; unw_step( &cursor );
17349 return 0;
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"
17353 then :
17354 wine_cv_have_unw_step="yes"
17355 else $as_nop
17356 wine_cv_have_unw_step="no"
17358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17359 conftest$ac_exeext conftest.$ac_ext
17361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17362 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17363 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17364 then
17365 save_libs=$LIBS
17366 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17367 LIBS="$UNWIND_LIBS $LIBS"
17368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17369 printf %s "checking for unw_step in libunwind... " >&6; }
17370 if test ${wine_cv_have_libunwind_unw_step+y}
17371 then :
17372 printf %s "(cached) " >&6
17373 else $as_nop
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #define UNW_LOCAL_ONLY
17377 #include <libunwind.h>
17379 main (void)
17381 unw_cursor_t cursor; unw_step( &cursor );
17383 return 0;
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"
17387 then :
17388 wine_cv_have_libunwind_unw_step="yes"
17389 else $as_nop
17390 wine_cv_have_libunwind_unw_step="no"
17392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17393 conftest$ac_exeext conftest.$ac_ext
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17396 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17397 LIBS=$save_libs
17399 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17400 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17401 then
17403 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17406 CPPFLAGS=$ac_save_CPPFLAGS
17409 case $host in
17410 aarch64*|*-darwin*)
17411 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17412 then :
17413 case "x$with_unwind" in
17414 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17415 xno) ;;
17416 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17417 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17418 esac
17420 fi ;;
17421 esac
17423 if test "x$with_sdl" != "xno"
17424 then
17425 if ${SDL2_CFLAGS:+false} :
17426 then :
17427 if test ${PKG_CONFIG+y}
17428 then :
17429 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17433 if ${SDL2_LIBS:+false} :
17434 then :
17435 if test ${PKG_CONFIG+y}
17436 then :
17437 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17441 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17444 ac_save_CPPFLAGS=$CPPFLAGS
17445 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17446 for ac_header in SDL.h
17447 do :
17448 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17449 if test "x$ac_cv_header_SDL_h" = xyes
17450 then :
17451 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17453 printf %s "checking for -lSDL2... " >&6; }
17454 if test ${ac_cv_lib_soname_SDL2+y}
17455 then :
17456 printf %s "(cached) " >&6
17457 else $as_nop
17458 ac_check_soname_save_LIBS=$LIBS
17459 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17463 /* Override any GCC internal prototype to avoid an error.
17464 Use char because int might match the return type of a GCC
17465 builtin and then its argument prototype would still apply. */
17466 char SDL_Init ();
17468 main (void)
17470 return SDL_Init ();
17472 return 0;
17474 _ACEOF
17475 if ac_fn_c_try_link "$LINENO"
17476 then :
17477 case "$LIBEXT" in
17478 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17479 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'` ;;
17480 *) 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'`
17481 if ${ac_cv_lib_soname_SDL2:+false} :
17482 then :
17483 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17484 fi ;;
17485 esac
17486 else $as_nop
17487 ac_cv_lib_soname_SDL2=
17489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17490 conftest$ac_exeext conftest.$ac_ext
17491 LIBS=$ac_check_soname_save_LIBS
17493 if ${ac_cv_lib_soname_SDL2:+false} :
17494 then :
17495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17496 printf "%s\n" "not found" >&6; }
17498 else $as_nop
17499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17500 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17502 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17508 done
17509 CPPFLAGS=$ac_save_CPPFLAGS
17512 if test "x$ac_cv_lib_soname_SDL2" = "x"
17513 then :
17514 case "x$with_sdl" in
17515 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17516 xno) ;;
17517 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17518 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17519 esac
17523 if test "x$with_capi" != "xno"
17524 then
17525 if ${CAPI20_CFLAGS:+false} :
17526 then :
17527 if test ${PKG_CONFIG+y}
17528 then :
17529 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17533 if ${CAPI20_LIBS:+false} :
17534 then :
17535 if test ${PKG_CONFIG+y}
17536 then :
17537 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17544 ac_save_CPPFLAGS=$CPPFLAGS
17545 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17546 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17548 if test "x$ac_cv_header_capi20_h" = xyes
17549 then :
17550 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17553 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17555 if test "x$ac_cv_header_linux_capi_h" = xyes
17556 then :
17557 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17561 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17562 then
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17564 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17565 if test ${ac_cv_lib_capi20_capi20_register+y}
17566 then :
17567 printf %s "(cached) " >&6
17568 else $as_nop
17569 ac_check_lib_save_LIBS=$LIBS
17570 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17574 /* Override any GCC internal prototype to avoid an error.
17575 Use char because int might match the return type of a GCC
17576 builtin and then its argument prototype would still apply. */
17577 char capi20_register ();
17579 main (void)
17581 return capi20_register ();
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_link "$LINENO"
17587 then :
17588 ac_cv_lib_capi20_capi20_register=yes
17589 else $as_nop
17590 ac_cv_lib_capi20_capi20_register=no
17592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17593 conftest$ac_exeext conftest.$ac_ext
17594 LIBS=$ac_check_lib_save_LIBS
17596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17597 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17598 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17599 then :
17601 else $as_nop
17602 CAPI20_LIBS=""
17606 CPPFLAGS=$ac_save_CPPFLAGS
17609 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17610 then :
17611 case "x$with_capi" in
17612 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17613 xno) ;;
17614 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17615 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17616 esac
17617 enable_capi2032=${enable_capi2032:-no}
17620 if test "x$with_cups" != "xno"
17621 then
17622 if ${CUPS_CFLAGS:+false} :
17623 then :
17624 if test ${PKG_CONFIG+y}
17625 then :
17626 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17629 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17630 if ${CUPS_LIBS:+false} :
17631 then :
17632 if test ${PKG_CONFIG+y}
17633 then :
17634 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17637 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17638 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17641 ac_save_CPPFLAGS=$CPPFLAGS
17642 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17643 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17644 if test "x$ac_cv_header_cups_cups_h" = xyes
17645 then :
17646 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17649 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17650 if test "x$ac_cv_header_cups_ppd_h" = xyes
17651 then :
17652 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17656 if test "$ac_cv_header_cups_cups_h" = "yes"
17657 then
17658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17659 printf %s "checking for -lcups... " >&6; }
17660 if test ${ac_cv_lib_soname_cups+y}
17661 then :
17662 printf %s "(cached) " >&6
17663 else $as_nop
17664 ac_check_soname_save_LIBS=$LIBS
17665 LIBS="-lcups $CUPS_LIBS $LIBS"
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17669 /* Override any GCC internal prototype to avoid an error.
17670 Use char because int might match the return type of a GCC
17671 builtin and then its argument prototype would still apply. */
17672 char cupsGetDefault ();
17674 main (void)
17676 return cupsGetDefault ();
17678 return 0;
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"
17682 then :
17683 case "$LIBEXT" in
17684 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17685 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'` ;;
17686 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17687 if ${ac_cv_lib_soname_cups:+false} :
17688 then :
17689 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17690 fi ;;
17691 esac
17692 else $as_nop
17693 ac_cv_lib_soname_cups=
17695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17696 conftest$ac_exeext conftest.$ac_ext
17697 LIBS=$ac_check_soname_save_LIBS
17699 if ${ac_cv_lib_soname_cups:+false} :
17700 then :
17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17702 printf "%s\n" "not found" >&6; }
17703 CUPS_LIBS=""
17704 else $as_nop
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17706 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17708 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17712 else
17713 CUPS_CFLAGS=""
17714 CUPS_LIBS=""
17716 CPPFLAGS=$ac_save_CPPFLAGS
17719 if test "x$ac_cv_lib_soname_cups" = "x"
17720 then :
17721 case "x$with_cups" in
17722 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17723 xno) ;;
17724 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17725 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17726 esac
17730 if test "x$with_fontconfig" != "xno"
17731 then
17732 if ${FONTCONFIG_CFLAGS:+false} :
17733 then :
17734 if test ${PKG_CONFIG+y}
17735 then :
17736 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17739 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17740 if ${FONTCONFIG_LIBS:+false} :
17741 then :
17742 if test ${PKG_CONFIG+y}
17743 then :
17744 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17747 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17751 ac_save_CPPFLAGS=$CPPFLAGS
17752 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17753 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17754 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17755 then :
17756 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17760 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17761 then
17762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17763 printf %s "checking for -lfontconfig... " >&6; }
17764 if test ${ac_cv_lib_soname_fontconfig+y}
17765 then :
17766 printf %s "(cached) " >&6
17767 else $as_nop
17768 ac_check_soname_save_LIBS=$LIBS
17769 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17773 /* Override any GCC internal prototype to avoid an error.
17774 Use char because int might match the return type of a GCC
17775 builtin and then its argument prototype would still apply. */
17776 char FcInit ();
17778 main (void)
17780 return FcInit ();
17782 return 0;
17784 _ACEOF
17785 if ac_fn_c_try_link "$LINENO"
17786 then :
17787 case "$LIBEXT" in
17788 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17789 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'` ;;
17790 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17791 if ${ac_cv_lib_soname_fontconfig:+false} :
17792 then :
17793 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17794 fi ;;
17795 esac
17796 else $as_nop
17797 ac_cv_lib_soname_fontconfig=
17799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17800 conftest$ac_exeext conftest.$ac_ext
17801 LIBS=$ac_check_soname_save_LIBS
17803 if ${ac_cv_lib_soname_fontconfig:+false} :
17804 then :
17805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17806 printf "%s\n" "not found" >&6; }
17807 FONTCONFIG_CFLAGS=""
17808 else $as_nop
17809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17810 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17812 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17816 else
17817 FONTCONFIG_CFLAGS=""
17819 CPPFLAGS=$ac_save_CPPFLAGS
17822 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17823 then :
17824 case "x$with_fontconfig" in
17825 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17826 xno) ;;
17827 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17828 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17829 esac
17833 if test "x$with_krb5" != "xno"
17834 then
17835 if ${KRB5_CFLAGS:+false} :
17836 then :
17837 if test ${PKG_CONFIG+y}
17838 then :
17839 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17842 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17843 if ${KRB5_LIBS:+false} :
17844 then :
17845 if test ${PKG_CONFIG+y}
17846 then :
17847 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17850 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17854 ac_save_CPPFLAGS=$CPPFLAGS
17855 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17856 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17857 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17858 then :
17859 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17863 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17864 then
17865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17866 printf %s "checking for -lkrb5... " >&6; }
17867 if test ${ac_cv_lib_soname_krb5+y}
17868 then :
17869 printf %s "(cached) " >&6
17870 else $as_nop
17871 ac_check_soname_save_LIBS=$LIBS
17872 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17876 /* Override any GCC internal prototype to avoid an error.
17877 Use char because int might match the return type of a GCC
17878 builtin and then its argument prototype would still apply. */
17879 char krb5_is_config_principal ();
17881 main (void)
17883 return krb5_is_config_principal ();
17885 return 0;
17887 _ACEOF
17888 if ac_fn_c_try_link "$LINENO"
17889 then :
17890 case "$LIBEXT" in
17891 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17892 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'` ;;
17893 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17894 if ${ac_cv_lib_soname_krb5:+false} :
17895 then :
17896 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17897 fi ;;
17898 esac
17899 else $as_nop
17900 ac_cv_lib_soname_krb5=
17902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17903 conftest$ac_exeext conftest.$ac_ext
17904 LIBS=$ac_check_soname_save_LIBS
17906 if ${ac_cv_lib_soname_krb5:+false} :
17907 then :
17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17909 printf "%s\n" "not found" >&6; }
17910 KRB5_CFLAGS=""
17911 else $as_nop
17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17913 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17915 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17919 else
17920 KRB5_CFLAGS=""
17922 CPPFLAGS=$ac_save_CPPFLAGS
17925 if test "x$ac_cv_lib_soname_krb5" = "x"
17926 then :
17927 case "x$with_krb5" in
17928 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17929 xno) ;;
17930 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17931 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17932 esac
17935 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17937 if test "x$with_gssapi" != "xno"
17938 then
17939 if ${GSSAPI_CFLAGS:+false} :
17940 then :
17941 if test ${PKG_CONFIG+y}
17942 then :
17943 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17946 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17947 if ${GSSAPI_LIBS:+false} :
17948 then :
17949 if test ${PKG_CONFIG+y}
17950 then :
17951 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17954 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17958 ac_save_CPPFLAGS=$CPPFLAGS
17959 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17960 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17961 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17962 then :
17963 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17966 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17967 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17968 then :
17969 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17973 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17974 then
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17976 printf %s "checking for -lgssapi_krb5... " >&6; }
17977 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17978 then :
17979 printf %s "(cached) " >&6
17980 else $as_nop
17981 ac_check_soname_save_LIBS=$LIBS
17982 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 /* Override any GCC internal prototype to avoid an error.
17987 Use char because int might match the return type of a GCC
17988 builtin and then its argument prototype would still apply. */
17989 char gss_init_sec_context ();
17991 main (void)
17993 return gss_init_sec_context ();
17995 return 0;
17997 _ACEOF
17998 if ac_fn_c_try_link "$LINENO"
17999 then :
18000 case "$LIBEXT" in
18001 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18002 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'` ;;
18003 *) 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'`
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18005 then :
18006 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18007 fi ;;
18008 esac
18009 else $as_nop
18010 ac_cv_lib_soname_gssapi_krb5=
18012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18013 conftest$ac_exeext conftest.$ac_ext
18014 LIBS=$ac_check_soname_save_LIBS
18016 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18017 then :
18018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18019 printf "%s\n" "not found" >&6; }
18020 GSSAPI_CFLAGS=""
18021 else $as_nop
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18023 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18025 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18029 else
18030 GSSAPI_CFLAGS=""
18032 CPPFLAGS=$ac_save_CPPFLAGS
18035 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18036 then :
18037 case "x$with_gssapi" in
18038 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18039 xno) ;;
18040 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18041 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18042 esac
18046 if test "$ac_cv_header_AL_al_h" = "yes"
18047 then
18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18049 printf %s "checking for -lopenal... " >&6; }
18050 if test ${ac_cv_lib_soname_openal+y}
18051 then :
18052 printf %s "(cached) " >&6
18053 else $as_nop
18054 ac_check_soname_save_LIBS=$LIBS
18055 LIBS="-lopenal $LIBS"
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 char alGetSource3i ();
18064 main (void)
18066 return alGetSource3i ();
18068 return 0;
18070 _ACEOF
18071 if ac_fn_c_try_link "$LINENO"
18072 then :
18073 case "$LIBEXT" in
18074 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18075 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'` ;;
18076 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18077 if ${ac_cv_lib_soname_openal:+false} :
18078 then :
18079 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18080 fi ;;
18081 esac
18082 else $as_nop
18083 ac_cv_lib_soname_openal=
18085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18086 conftest$ac_exeext conftest.$ac_ext
18087 LIBS=$ac_check_soname_save_LIBS
18089 if ${ac_cv_lib_soname_openal:+false} :
18090 then :
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18092 printf "%s\n" "not found" >&6; }
18094 else $as_nop
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18096 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18098 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18100 OPENAL_LIBS="-lopenal"
18102 ac_cv_lib_openal=yes
18104 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18108 if test "x$ac_cv_lib_openal" != xyes
18109 then :
18110 case "x$with_openal" in
18111 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18112 xno) ;;
18113 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18114 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18115 esac
18116 enable_openal32=${enable_openal32:-no}
18119 if test "$ac_cv_header_libprocstat_h" = "yes"
18120 then
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18122 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18123 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18124 then :
18125 printf %s "(cached) " >&6
18126 else $as_nop
18127 ac_check_lib_save_LIBS=$LIBS
18128 LIBS="-lprocstat $LIBS"
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18132 /* Override any GCC internal prototype to avoid an error.
18133 Use char because int might match the return type of a GCC
18134 builtin and then its argument prototype would still apply. */
18135 char procstat_open_sysctl ();
18137 main (void)
18139 return procstat_open_sysctl ();
18141 return 0;
18143 _ACEOF
18144 if ac_fn_c_try_link "$LINENO"
18145 then :
18146 ac_cv_lib_procstat_procstat_open_sysctl=yes
18147 else $as_nop
18148 ac_cv_lib_procstat_procstat_open_sysctl=no
18150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18151 conftest$ac_exeext conftest.$ac_ext
18152 LIBS=$ac_check_lib_save_LIBS
18154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18155 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18156 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18157 then :
18159 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18161 PROCSTAT_LIBS="-lprocstat"
18167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18168 printf %s "checking for -lodbc... " >&6; }
18169 if test ${ac_cv_lib_soname_odbc+y}
18170 then :
18171 printf %s "(cached) " >&6
18172 else $as_nop
18173 ac_check_soname_save_LIBS=$LIBS
18174 LIBS="-lodbc $LIBS"
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 /* Override any GCC internal prototype to avoid an error.
18179 Use char because int might match the return type of a GCC
18180 builtin and then its argument prototype would still apply. */
18181 char SQLConnect ();
18183 main (void)
18185 return SQLConnect ();
18187 return 0;
18189 _ACEOF
18190 if ac_fn_c_try_link "$LINENO"
18191 then :
18192 case "$LIBEXT" in
18193 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18194 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'` ;;
18195 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18196 if ${ac_cv_lib_soname_odbc:+false} :
18197 then :
18198 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18199 fi ;;
18200 esac
18201 else $as_nop
18202 ac_cv_lib_soname_odbc=
18204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18205 conftest$ac_exeext conftest.$ac_ext
18206 LIBS=$ac_check_soname_save_LIBS
18208 if ${ac_cv_lib_soname_odbc:+false} :
18209 then :
18210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18211 printf "%s\n" "not found" >&6; }
18212 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18214 else $as_nop
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18216 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18218 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18223 if test "x$with_netapi" != "xno"
18224 then
18225 if ${NETAPI_CFLAGS:+false} :
18226 then :
18227 if test ${PKG_CONFIG+y}
18228 then :
18229 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18233 if ${NETAPI_LIBS:+false} :
18234 then :
18235 if test ${PKG_CONFIG+y}
18236 then :
18237 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18244 ac_save_CPPFLAGS=$CPPFLAGS
18245 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18247 printf %s "checking for -lnetapi... " >&6; }
18248 if test ${ac_cv_lib_soname_netapi+y}
18249 then :
18250 printf %s "(cached) " >&6
18251 else $as_nop
18252 ac_check_soname_save_LIBS=$LIBS
18253 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
18260 char libnetapi_init ();
18262 main (void)
18264 return libnetapi_init ();
18266 return 0;
18268 _ACEOF
18269 if ac_fn_c_try_link "$LINENO"
18270 then :
18271 case "$LIBEXT" in
18272 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18273 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'` ;;
18274 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18275 if ${ac_cv_lib_soname_netapi:+false} :
18276 then :
18277 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18278 fi ;;
18279 esac
18280 else $as_nop
18281 ac_cv_lib_soname_netapi=
18283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18284 conftest$ac_exeext conftest.$ac_ext
18285 LIBS=$ac_check_soname_save_LIBS
18287 if ${ac_cv_lib_soname_netapi:+false} :
18288 then :
18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18290 printf "%s\n" "not found" >&6; }
18291 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18293 else $as_nop
18294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18295 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18297 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18301 CPPFLAGS=$ac_save_CPPFLAGS
18304 if test "x$ac_cv_lib_soname_netapi" = "x"
18305 then :
18306 case "x$with_netapi" in
18307 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18308 xno) ;;
18309 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18310 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18311 esac
18312 enable_netapi=${enable_netapi:-no}
18316 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18317 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18318 then
18319 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18322 if test "x$with_vulkan" != "xno"
18323 then
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18325 printf %s "checking for -lvulkan... " >&6; }
18326 if test ${ac_cv_lib_soname_vulkan+y}
18327 then :
18328 printf %s "(cached) " >&6
18329 else $as_nop
18330 ac_check_soname_save_LIBS=$LIBS
18331 LIBS="-lvulkan $LIBS"
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18335 /* Override any GCC internal prototype to avoid an error.
18336 Use char because int might match the return type of a GCC
18337 builtin and then its argument prototype would still apply. */
18338 char vkGetInstanceProcAddr ();
18340 main (void)
18342 return vkGetInstanceProcAddr ();
18344 return 0;
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"
18348 then :
18349 case "$LIBEXT" in
18350 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18351 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'` ;;
18352 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18353 if ${ac_cv_lib_soname_vulkan:+false} :
18354 then :
18355 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18356 fi ;;
18357 esac
18358 else $as_nop
18359 ac_cv_lib_soname_vulkan=
18361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18362 conftest$ac_exeext conftest.$ac_ext
18363 LIBS=$ac_check_soname_save_LIBS
18365 if ${ac_cv_lib_soname_vulkan:+false} :
18366 then :
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18368 printf "%s\n" "not found" >&6; }
18370 else $as_nop
18371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18372 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18374 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18378 if test "x$ac_cv_lib_soname_vulkan" = "x"
18379 then
18380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18381 printf %s "checking for -lMoltenVK... " >&6; }
18382 if test ${ac_cv_lib_soname_MoltenVK+y}
18383 then :
18384 printf %s "(cached) " >&6
18385 else $as_nop
18386 ac_check_soname_save_LIBS=$LIBS
18387 LIBS="-lMoltenVK $LIBS"
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18391 /* Override any GCC internal prototype to avoid an error.
18392 Use char because int might match the return type of a GCC
18393 builtin and then its argument prototype would still apply. */
18394 char vkGetInstanceProcAddr ();
18396 main (void)
18398 return vkGetInstanceProcAddr ();
18400 return 0;
18402 _ACEOF
18403 if ac_fn_c_try_link "$LINENO"
18404 then :
18405 case "$LIBEXT" in
18406 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18407 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'` ;;
18408 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18409 if ${ac_cv_lib_soname_MoltenVK:+false} :
18410 then :
18411 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18412 fi ;;
18413 esac
18414 else $as_nop
18415 ac_cv_lib_soname_MoltenVK=
18417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18418 conftest$ac_exeext conftest.$ac_ext
18419 LIBS=$ac_check_soname_save_LIBS
18421 if ${ac_cv_lib_soname_MoltenVK:+false} :
18422 then :
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18424 printf "%s\n" "not found" >&6; }
18426 else $as_nop
18427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18428 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18430 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18436 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18437 then :
18438 case "x$with_vulkan" in
18439 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18440 xno) ;;
18441 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18442 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18443 esac
18447 if test "x$with_vkd3d" != "xno"
18448 then
18449 if ${VKD3D_CFLAGS:+false} :
18450 then :
18451 if test ${PKG_CONFIG+y}
18452 then :
18453 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18457 if ${VKD3D_LIBS:+false} :
18458 then :
18459 if test ${PKG_CONFIG+y}
18460 then :
18461 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18468 ac_save_CPPFLAGS=$CPPFLAGS
18469 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18471 printf %s "checking for -lvkd3d... " >&6; }
18472 if test ${ac_cv_lib_soname_vkd3d+y}
18473 then :
18474 printf %s "(cached) " >&6
18475 else $as_nop
18476 ac_check_soname_save_LIBS=$LIBS
18477 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18481 /* Override any GCC internal prototype to avoid an error.
18482 Use char because int might match the return type of a GCC
18483 builtin and then its argument prototype would still apply. */
18484 char vkd3d_serialize_versioned_root_signature ();
18486 main (void)
18488 return vkd3d_serialize_versioned_root_signature ();
18490 return 0;
18492 _ACEOF
18493 if ac_fn_c_try_link "$LINENO"
18494 then :
18495 case "$LIBEXT" in
18496 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18497 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'` ;;
18498 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18499 if ${ac_cv_lib_soname_vkd3d:+false} :
18500 then :
18501 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18502 fi ;;
18503 esac
18504 else $as_nop
18505 ac_cv_lib_soname_vkd3d=
18507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18508 conftest$ac_exeext conftest.$ac_ext
18509 LIBS=$ac_check_soname_save_LIBS
18511 if ${ac_cv_lib_soname_vkd3d:+false} :
18512 then :
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18514 printf "%s\n" "not found" >&6; }
18516 else $as_nop
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18518 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18520 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18524 CPPFLAGS=$ac_save_CPPFLAGS
18526 if ${VKD3D_SHADER_CFLAGS:+false} :
18527 then :
18528 if test ${PKG_CONFIG+y}
18529 then :
18530 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18534 if ${VKD3D_SHADER_LIBS:+false} :
18535 then :
18536 if test ${PKG_CONFIG+y}
18537 then :
18538 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18545 ac_save_CPPFLAGS=$CPPFLAGS
18546 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18548 printf %s "checking for -lvkd3d-shader... " >&6; }
18549 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_check_soname_save_LIBS=$LIBS
18554 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18558 /* Override any GCC internal prototype to avoid an error.
18559 Use char because int might match the return type of a GCC
18560 builtin and then its argument prototype would still apply. */
18561 char vkd3d_shader_compile ();
18563 main (void)
18565 return vkd3d_shader_compile ();
18567 return 0;
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"
18571 then :
18572 case "$LIBEXT" in
18573 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18574 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'` ;;
18575 *) 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'`
18576 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18577 then :
18578 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18579 fi ;;
18580 esac
18581 else $as_nop
18582 ac_cv_lib_soname_vkd3d_shader=
18584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18585 conftest$ac_exeext conftest.$ac_ext
18586 LIBS=$ac_check_soname_save_LIBS
18588 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18589 then :
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18591 printf "%s\n" "not found" >&6; }
18593 else $as_nop
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18595 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18597 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18601 CPPFLAGS=$ac_save_CPPFLAGS
18604 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18605 then :
18606 case "x$with_vkd3d" in
18607 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18608 xno) ;;
18609 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18610 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18611 esac
18614 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18617 if test "x${GCC}" = "xyes"
18618 then
18619 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18621 saved_CFLAGS=$CFLAGS
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18623 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18624 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18625 then :
18626 printf %s "(cached) " >&6
18627 else $as_nop
18628 ac_wine_try_cflags_saved=$CFLAGS
18629 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 int main(int argc, char **argv) { return 0; }
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"
18635 then :
18636 ac_cv_cflags__Werror_unknown_warning_option=yes
18637 else $as_nop
18638 ac_cv_cflags__Werror_unknown_warning_option=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18641 conftest$ac_exeext conftest.$ac_ext
18642 CFLAGS=$ac_wine_try_cflags_saved
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18645 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18646 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18647 then :
18648 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18651 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18652 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18653 then :
18654 printf %s "(cached) " >&6
18655 else $as_nop
18656 ac_wine_try_cflags_saved=$CFLAGS
18657 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 int main(int argc, char **argv) { return 0; }
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 ac_cv_cflags__Werror_unused_command_line_argument=yes
18665 else $as_nop
18666 ac_cv_cflags__Werror_unused_command_line_argument=no
18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18669 conftest$ac_exeext conftest.$ac_ext
18670 CFLAGS=$ac_wine_try_cflags_saved
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18673 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18674 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18675 then :
18676 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18679 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18680 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18681 then :
18682 printf %s "(cached) " >&6
18683 else $as_nop
18684 ac_wine_try_cflags_saved=$CFLAGS
18685 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 int main(int argc, char **argv) { return 0; }
18689 _ACEOF
18690 if ac_fn_c_try_link "$LINENO"
18691 then :
18692 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18693 else $as_nop
18694 ac_cv_cflags__Werror_ignored_optimization_argument=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18697 conftest$ac_exeext conftest.$ac_ext
18698 CFLAGS=$ac_wine_try_cflags_saved
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18701 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18702 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18703 then :
18704 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18707 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18708 if test ${ac_cv_cflags__fcf_protection_none+y}
18709 then :
18710 printf %s "(cached) " >&6
18711 else $as_nop
18712 ac_wine_try_cflags_saved=$CFLAGS
18713 CFLAGS="$CFLAGS -fcf-protection=none"
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 int main(int argc, char **argv) { return 0; }
18717 _ACEOF
18718 if ac_fn_c_try_link "$LINENO"
18719 then :
18720 ac_cv_cflags__fcf_protection_none=yes
18721 else $as_nop
18722 ac_cv_cflags__fcf_protection_none=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18725 conftest$ac_exeext conftest.$ac_ext
18726 CFLAGS=$ac_wine_try_cflags_saved
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18729 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18730 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18731 then :
18732 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18735 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18736 if test ${ac_cv_cflags__fno_stack_protector+y}
18737 then :
18738 printf %s "(cached) " >&6
18739 else $as_nop
18740 ac_wine_try_cflags_saved=$CFLAGS
18741 CFLAGS="$CFLAGS -fno-stack-protector"
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 int main(int argc, char **argv) { return 0; }
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"
18747 then :
18748 ac_cv_cflags__fno_stack_protector=yes
18749 else $as_nop
18750 ac_cv_cflags__fno_stack_protector=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18753 conftest$ac_exeext conftest.$ac_ext
18754 CFLAGS=$ac_wine_try_cflags_saved
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18757 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18758 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18759 then :
18760 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18763 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18764 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18765 then :
18766 printf %s "(cached) " >&6
18767 else $as_nop
18768 ac_wine_try_cflags_saved=$CFLAGS
18769 CFLAGS="$CFLAGS -fno-strict-aliasing"
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 int main(int argc, char **argv) { return 0; }
18773 _ACEOF
18774 if ac_fn_c_try_link "$LINENO"
18775 then :
18776 ac_cv_cflags__fno_strict_aliasing=yes
18777 else $as_nop
18778 ac_cv_cflags__fno_strict_aliasing=no
18780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18781 conftest$ac_exeext conftest.$ac_ext
18782 CFLAGS=$ac_wine_try_cflags_saved
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18785 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18786 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18787 then :
18788 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18791 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18792 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18793 then :
18794 printf %s "(cached) " >&6
18795 else $as_nop
18796 ac_wine_try_cflags_saved=$CFLAGS
18797 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 int main(int argc, char **argv) { return 0; }
18801 _ACEOF
18802 if ac_fn_c_try_link "$LINENO"
18803 then :
18804 ac_cv_cflags__Wdeclaration_after_statement=yes
18805 else $as_nop
18806 ac_cv_cflags__Wdeclaration_after_statement=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18809 conftest$ac_exeext conftest.$ac_ext
18810 CFLAGS=$ac_wine_try_cflags_saved
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18813 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18814 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18815 then :
18816 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18819 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18820 if test ${ac_cv_cflags__Wempty_body+y}
18821 then :
18822 printf %s "(cached) " >&6
18823 else $as_nop
18824 ac_wine_try_cflags_saved=$CFLAGS
18825 CFLAGS="$CFLAGS -Wempty-body"
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 int main(int argc, char **argv) { return 0; }
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"
18831 then :
18832 ac_cv_cflags__Wempty_body=yes
18833 else $as_nop
18834 ac_cv_cflags__Wempty_body=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18837 conftest$ac_exeext conftest.$ac_ext
18838 CFLAGS=$ac_wine_try_cflags_saved
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18841 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18842 if test "x$ac_cv_cflags__Wempty_body" = xyes
18843 then :
18844 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18847 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18848 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18849 then :
18850 printf %s "(cached) " >&6
18851 else $as_nop
18852 ac_wine_try_cflags_saved=$CFLAGS
18853 CFLAGS="$CFLAGS -Wignored-qualifiers"
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18857 _ACEOF
18858 if ac_fn_c_try_link "$LINENO"
18859 then :
18860 ac_cv_cflags__Wignored_qualifiers=yes
18861 else $as_nop
18862 ac_cv_cflags__Wignored_qualifiers=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18865 conftest$ac_exeext conftest.$ac_ext
18866 CFLAGS=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18869 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18870 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18871 then :
18872 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18875 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18876 if test ${ac_cv_cflags__Winit_self+y}
18877 then :
18878 printf %s "(cached) " >&6
18879 else $as_nop
18880 ac_wine_try_cflags_saved=$CFLAGS
18881 CFLAGS="$CFLAGS -Winit-self"
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 int main(int argc, char **argv) { return 0; }
18885 _ACEOF
18886 if ac_fn_c_try_link "$LINENO"
18887 then :
18888 ac_cv_cflags__Winit_self=yes
18889 else $as_nop
18890 ac_cv_cflags__Winit_self=no
18892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18893 conftest$ac_exeext conftest.$ac_ext
18894 CFLAGS=$ac_wine_try_cflags_saved
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18897 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18898 if test "x$ac_cv_cflags__Winit_self" = xyes
18899 then :
18900 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18903 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18904 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18905 then :
18906 printf %s "(cached) " >&6
18907 else $as_nop
18908 ac_wine_try_cflags_saved=$CFLAGS
18909 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 int main(int argc, char **argv) { return 0; }
18913 _ACEOF
18914 if ac_fn_c_try_link "$LINENO"
18915 then :
18916 ac_cv_cflags__Wpacked_not_aligned=yes
18917 else $as_nop
18918 ac_cv_cflags__Wpacked_not_aligned=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18921 conftest$ac_exeext conftest.$ac_ext
18922 CFLAGS=$ac_wine_try_cflags_saved
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18925 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18926 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18927 then :
18928 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18931 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18932 if test ${ac_cv_cflags__Wpragma_pack+y}
18933 then :
18934 printf %s "(cached) " >&6
18935 else $as_nop
18936 ac_wine_try_cflags_saved=$CFLAGS
18937 CFLAGS="$CFLAGS -Wpragma-pack"
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 int main(int argc, char **argv) { return 0; }
18941 _ACEOF
18942 if ac_fn_c_try_link "$LINENO"
18943 then :
18944 ac_cv_cflags__Wpragma_pack=yes
18945 else $as_nop
18946 ac_cv_cflags__Wpragma_pack=no
18948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18949 conftest$ac_exeext conftest.$ac_ext
18950 CFLAGS=$ac_wine_try_cflags_saved
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18953 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18954 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18955 then :
18956 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18959 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18960 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18961 then :
18962 printf %s "(cached) " >&6
18963 else $as_nop
18964 ac_wine_try_cflags_saved=$CFLAGS
18965 CFLAGS="$CFLAGS -Wshift-overflow=2"
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 int main(int argc, char **argv) { return 0; }
18969 _ACEOF
18970 if ac_fn_c_try_link "$LINENO"
18971 then :
18972 ac_cv_cflags__Wshift_overflow_2=yes
18973 else $as_nop
18974 ac_cv_cflags__Wshift_overflow_2=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18977 conftest$ac_exeext conftest.$ac_ext
18978 CFLAGS=$ac_wine_try_cflags_saved
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18981 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18982 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18983 then :
18984 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18987 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18988 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18989 then :
18990 printf %s "(cached) " >&6
18991 else $as_nop
18992 ac_wine_try_cflags_saved=$CFLAGS
18993 CFLAGS="$CFLAGS -Wstrict-prototypes"
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 int main(int argc, char **argv) { return 0; }
18997 _ACEOF
18998 if ac_fn_c_try_link "$LINENO"
18999 then :
19000 ac_cv_cflags__Wstrict_prototypes=yes
19001 else $as_nop
19002 ac_cv_cflags__Wstrict_prototypes=no
19004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19005 conftest$ac_exeext conftest.$ac_ext
19006 CFLAGS=$ac_wine_try_cflags_saved
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19009 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19010 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19011 then :
19012 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19015 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19016 if test ${ac_cv_cflags__Wtype_limits+y}
19017 then :
19018 printf %s "(cached) " >&6
19019 else $as_nop
19020 ac_wine_try_cflags_saved=$CFLAGS
19021 CFLAGS="$CFLAGS -Wtype-limits"
19022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19024 int main(int argc, char **argv) { return 0; }
19025 _ACEOF
19026 if ac_fn_c_try_link "$LINENO"
19027 then :
19028 ac_cv_cflags__Wtype_limits=yes
19029 else $as_nop
19030 ac_cv_cflags__Wtype_limits=no
19032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19033 conftest$ac_exeext conftest.$ac_ext
19034 CFLAGS=$ac_wine_try_cflags_saved
19036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19037 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19038 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19039 then :
19040 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19043 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19044 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19045 then :
19046 printf %s "(cached) " >&6
19047 else $as_nop
19048 ac_wine_try_cflags_saved=$CFLAGS
19049 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052 int main(int argc, char **argv) { return 0; }
19053 _ACEOF
19054 if ac_fn_c_try_link "$LINENO"
19055 then :
19056 ac_cv_cflags__Wunused_but_set_parameter=yes
19057 else $as_nop
19058 ac_cv_cflags__Wunused_but_set_parameter=no
19060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19061 conftest$ac_exeext conftest.$ac_ext
19062 CFLAGS=$ac_wine_try_cflags_saved
19064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19065 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19066 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19067 then :
19068 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19071 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19072 if test ${ac_cv_cflags__Wvla+y}
19073 then :
19074 printf %s "(cached) " >&6
19075 else $as_nop
19076 ac_wine_try_cflags_saved=$CFLAGS
19077 CFLAGS="$CFLAGS -Wvla"
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 int main(int argc, char **argv) { return 0; }
19081 _ACEOF
19082 if ac_fn_c_try_link "$LINENO"
19083 then :
19084 ac_cv_cflags__Wvla=yes
19085 else $as_nop
19086 ac_cv_cflags__Wvla=no
19088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19089 conftest$ac_exeext conftest.$ac_ext
19090 CFLAGS=$ac_wine_try_cflags_saved
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19093 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19094 if test "x$ac_cv_cflags__Wvla" = xyes
19095 then :
19096 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19099 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19100 if test ${ac_cv_cflags__Wwrite_strings+y}
19101 then :
19102 printf %s "(cached) " >&6
19103 else $as_nop
19104 ac_wine_try_cflags_saved=$CFLAGS
19105 CFLAGS="$CFLAGS -Wwrite-strings"
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 int main(int argc, char **argv) { return 0; }
19109 _ACEOF
19110 if ac_fn_c_try_link "$LINENO"
19111 then :
19112 ac_cv_cflags__Wwrite_strings=yes
19113 else $as_nop
19114 ac_cv_cflags__Wwrite_strings=no
19116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19117 conftest$ac_exeext conftest.$ac_ext
19118 CFLAGS=$ac_wine_try_cflags_saved
19120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19121 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19122 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19123 then :
19124 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19127 if test -z "$CROSSTARGET"
19128 then
19129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19130 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19131 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19132 then :
19133 printf %s "(cached) " >&6
19134 else $as_nop
19135 ac_wine_try_cflags_saved=$CFLAGS
19136 CFLAGS="$CFLAGS -fexcess-precision=standard"
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19139 int main(int argc, char **argv) { return 0; }
19140 _ACEOF
19141 if ac_fn_c_try_link "$LINENO"
19142 then :
19143 ac_cv_cflags__fexcess_precision_standard=yes
19144 else $as_nop
19145 ac_cv_cflags__fexcess_precision_standard=no
19147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19148 conftest$ac_exeext conftest.$ac_ext
19149 CFLAGS=$ac_wine_try_cflags_saved
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19152 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19153 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19154 then :
19155 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19161 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19162 if test ${ac_cv_cflags__Wpointer_arith+y}
19163 then :
19164 printf %s "(cached) " >&6
19165 else $as_nop
19166 ac_wine_try_cflags_saved=$CFLAGS
19167 CFLAGS="$CFLAGS -Wpointer-arith"
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 int main(int argc, char **argv) { return 0; }
19171 _ACEOF
19172 if ac_fn_c_try_link "$LINENO"
19173 then :
19174 ac_cv_cflags__Wpointer_arith=yes
19175 else $as_nop
19176 ac_cv_cflags__Wpointer_arith=no
19178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19179 conftest$ac_exeext conftest.$ac_ext
19180 CFLAGS=$ac_wine_try_cflags_saved
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19183 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19184 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19185 then :
19186 saved_string_h_CFLAGS=$CFLAGS
19187 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19189 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19190 if test ${ac_cv_c_string_h_warnings+y}
19191 then :
19192 printf %s "(cached) " >&6
19193 else $as_nop
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19196 #include <string.h>
19198 main (void)
19202 return 0;
19204 _ACEOF
19205 if ac_fn_c_try_compile "$LINENO"
19206 then :
19207 ac_cv_c_string_h_warnings=no
19208 else $as_nop
19209 ac_cv_c_string_h_warnings=yes
19211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19214 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19215 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19216 CFLAGS=$saved_string_h_CFLAGS
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19220 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19221 if test ${ac_cv_cflags__Wlogical_op+y}
19222 then :
19223 printf %s "(cached) " >&6
19224 else $as_nop
19225 ac_wine_try_cflags_saved=$CFLAGS
19226 CFLAGS="$CFLAGS -Wlogical-op"
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19229 int main(int argc, char **argv) { return 0; }
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"
19232 then :
19233 ac_cv_cflags__Wlogical_op=yes
19234 else $as_nop
19235 ac_cv_cflags__Wlogical_op=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19238 conftest$ac_exeext conftest.$ac_ext
19239 CFLAGS=$ac_wine_try_cflags_saved
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19242 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19243 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19244 then :
19245 saved_string_h_CFLAGS=$CFLAGS
19246 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19248 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19249 if test ${ac_cv_c_logicalop_noisy+y}
19250 then :
19251 printf %s "(cached) " >&6
19252 else $as_nop
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 #include <string.h>
19256 char*f(const char *h,char n) {return strchr(h,n);}
19258 main (void)
19262 return 0;
19264 _ACEOF
19265 if ac_fn_c_try_compile "$LINENO"
19266 then :
19267 ac_cv_c_logicalop_noisy=no
19268 else $as_nop
19269 ac_cv_c_logicalop_noisy=yes
19271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19274 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19275 CFLAGS=$saved_string_h_CFLAGS
19276 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19280 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19281 if test ${wine_cv_64bit_compare_swap+y}
19282 then :
19283 printf %s "(cached) " >&6
19284 else $as_nop
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19288 #error no
19289 #endif
19291 main (void)
19295 return 0;
19297 _ACEOF
19298 if ac_fn_c_try_compile "$LINENO"
19299 then :
19300 wine_cv_64bit_compare_swap="none needed"
19301 else $as_nop
19302 case $host_cpu in
19303 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19304 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19305 *) wine_cv_64bit_compare_swap="unknown" ;;
19306 esac
19307 if test "x$wine_cv_64bit_compare_swap" != xunknown
19308 then
19309 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19313 #error no
19314 #endif
19316 main (void)
19320 return 0;
19322 _ACEOF
19323 if ac_fn_c_try_compile "$LINENO"
19324 then :
19326 else $as_nop
19327 wine_cv_64bit_compare_swap="unknown"
19329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19330 CFLAGS=$saved_CFLAGS
19333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19336 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19337 case "$wine_cv_64bit_compare_swap" in
19338 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19339 "none needed") ;;
19340 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19341 esac
19343 ac_debug_format_seen=""
19344 for ac_flag in $CFLAGS; do
19345 case $ac_flag in
19346 -gdwarf*) ac_debug_format_seen=yes ;;
19347 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19348 esac
19349 done
19350 if test "x$ac_debug_format_seen" = xdefault
19351 then
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19353 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19354 if test ${ac_cv_cflags__gdwarf_4+y}
19355 then :
19356 printf %s "(cached) " >&6
19357 else $as_nop
19358 ac_wine_try_cflags_saved=$CFLAGS
19359 CFLAGS="$CFLAGS -gdwarf-4"
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 int main(int argc, char **argv) { return 0; }
19363 _ACEOF
19364 if ac_fn_c_try_link "$LINENO"
19365 then :
19366 ac_cv_cflags__gdwarf_4=yes
19367 else $as_nop
19368 ac_cv_cflags__gdwarf_4=no
19370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19371 conftest$ac_exeext conftest.$ac_ext
19372 CFLAGS=$ac_wine_try_cflags_saved
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19375 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19376 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19377 then :
19378 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19382 MSVCRTFLAGS=""
19384 case $host_os in
19385 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19386 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19387 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19388 then :
19389 printf %s "(cached) " >&6
19390 else $as_nop
19391 ac_wine_try_cflags_saved=$CFLAGS
19392 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19395 int main(int argc, char **argv) { return 0; }
19396 _ACEOF
19397 if ac_fn_c_try_link "$LINENO"
19398 then :
19399 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19400 else $as_nop
19401 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19404 conftest$ac_exeext conftest.$ac_ext
19405 CFLAGS=$ac_wine_try_cflags_saved
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19408 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19409 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19410 then :
19411 DELAYLOADFLAG="-Wl,-delayload,"
19413 fi ;;
19414 *) MSVCRTFLAGS="-D_WIN32"
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19416 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19417 if test ${ac_cv_cflags__fno_builtin+y}
19418 then :
19419 printf %s "(cached) " >&6
19420 else $as_nop
19421 ac_wine_try_cflags_saved=$CFLAGS
19422 CFLAGS="$CFLAGS -fno-builtin"
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 int main(int argc, char **argv) { return 0; }
19426 _ACEOF
19427 if ac_fn_c_try_link "$LINENO"
19428 then :
19429 ac_cv_cflags__fno_builtin=yes
19430 else $as_nop
19431 ac_cv_cflags__fno_builtin=no
19433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19434 conftest$ac_exeext conftest.$ac_ext
19435 CFLAGS=$ac_wine_try_cflags_saved
19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19438 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19439 if test "x$ac_cv_cflags__fno_builtin" = xyes
19440 then :
19441 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19444 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19445 if test ${ac_cv_cflags__fshort_wchar+y}
19446 then :
19447 printf %s "(cached) " >&6
19448 else $as_nop
19449 ac_wine_try_cflags_saved=$CFLAGS
19450 CFLAGS="$CFLAGS -fshort-wchar"
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 int main(int argc, char **argv) { return 0; }
19454 _ACEOF
19455 if ac_fn_c_try_link "$LINENO"
19456 then :
19457 ac_cv_cflags__fshort_wchar=yes
19458 else $as_nop
19459 ac_cv_cflags__fshort_wchar=no
19461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19462 conftest$ac_exeext conftest.$ac_ext
19463 CFLAGS=$ac_wine_try_cflags_saved
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19466 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19467 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19468 then :
19469 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19472 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19473 if test ${ac_cv_cflags__Wno_format+y}
19474 then :
19475 printf %s "(cached) " >&6
19476 else $as_nop
19477 ac_wine_try_cflags_saved=$CFLAGS
19478 CFLAGS="$CFLAGS -Wno-format"
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 int main(int argc, char **argv) { return 0; }
19482 _ACEOF
19483 if ac_fn_c_try_link "$LINENO"
19484 then :
19485 ac_cv_cflags__Wno_format=yes
19486 else $as_nop
19487 ac_cv_cflags__Wno_format=no
19489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19490 conftest$ac_exeext conftest.$ac_ext
19491 CFLAGS=$ac_wine_try_cflags_saved
19493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19494 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19495 if test "x$ac_cv_cflags__Wno_format" = xyes
19496 then :
19497 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19498 fi ;;
19499 esac
19501 case $host_cpu in
19502 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19503 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19504 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19505 then :
19506 printf %s "(cached) " >&6
19507 else $as_nop
19508 ac_wine_try_cflags_saved=$CFLAGS
19509 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 int main(int argc, char **argv) { return 0; }
19513 _ACEOF
19514 if ac_fn_c_try_link "$LINENO"
19515 then :
19516 ac_cv_cflags__fno_omit_frame_pointer=yes
19517 else $as_nop
19518 ac_cv_cflags__fno_omit_frame_pointer=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19521 conftest$ac_exeext conftest.$ac_ext
19522 CFLAGS=$ac_wine_try_cflags_saved
19524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19525 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19526 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19527 then :
19528 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19529 fi ;;
19530 *x86_64*)
19531 case $host_os in
19532 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19533 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19534 if test ${ac_cv_cflags__Wno_format+y}
19535 then :
19536 printf %s "(cached) " >&6
19537 else $as_nop
19538 ac_wine_try_cflags_saved=$CFLAGS
19539 CFLAGS="$CFLAGS -Wno-format"
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 int main(int argc, char **argv) { return 0; }
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"
19545 then :
19546 ac_cv_cflags__Wno_format=yes
19547 else $as_nop
19548 ac_cv_cflags__Wno_format=no
19550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19551 conftest$ac_exeext conftest.$ac_ext
19552 CFLAGS=$ac_wine_try_cflags_saved
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19555 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19556 if test "x$ac_cv_cflags__Wno_format" = xyes
19557 then :
19558 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19559 fi ;;
19560 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19561 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19562 if test ${ac_cv_cflags__mabi_ms+y}
19563 then :
19564 printf %s "(cached) " >&6
19565 else $as_nop
19566 ac_wine_try_cflags_saved=$CFLAGS
19567 CFLAGS="$CFLAGS -mabi=ms"
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570 int main(int argc, char **argv) { return 0; }
19571 _ACEOF
19572 if ac_fn_c_try_link "$LINENO"
19573 then :
19574 ac_cv_cflags__mabi_ms=yes
19575 else $as_nop
19576 ac_cv_cflags__mabi_ms=no
19578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19579 conftest$ac_exeext conftest.$ac_ext
19580 CFLAGS=$ac_wine_try_cflags_saved
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19583 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19584 if test "x$ac_cv_cflags__mabi_ms" = xyes
19585 then :
19586 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19587 fi ;;
19588 esac ;;
19589 esac
19591 CFLAGS=$saved_CFLAGS
19593 if test "x$enable_werror" = "xyes"
19594 then
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19596 printf %s "checking whether the compiler supports -Werror... " >&6; }
19597 if test ${ac_cv_cflags__Werror+y}
19598 then :
19599 printf %s "(cached) " >&6
19600 else $as_nop
19601 ac_wine_try_cflags_saved=$CFLAGS
19602 CFLAGS="$CFLAGS -Werror"
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19605 int main(int argc, char **argv) { return 0; }
19606 _ACEOF
19607 if ac_fn_c_try_link "$LINENO"
19608 then :
19609 ac_cv_cflags__Werror=yes
19610 else $as_nop
19611 ac_cv_cflags__Werror=no
19613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19614 conftest$ac_exeext conftest.$ac_ext
19615 CFLAGS=$ac_wine_try_cflags_saved
19617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19618 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19619 if test "x$ac_cv_cflags__Werror" = xyes
19620 then :
19621 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19624 if test "x$enable_build_id" = "xyes"
19625 then
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19627 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19628 if test ${ac_cv_cflags__Wl___build_id+y}
19629 then :
19630 printf %s "(cached) " >&6
19631 else $as_nop
19632 ac_wine_try_cflags_saved=$CFLAGS
19633 CFLAGS="$CFLAGS -Wl,--build-id"
19634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19635 /* end confdefs.h. */
19636 int main(int argc, char **argv) { return 0; }
19637 _ACEOF
19638 if ac_fn_c_try_link "$LINENO"
19639 then :
19640 ac_cv_cflags__Wl___build_id=yes
19641 else $as_nop
19642 ac_cv_cflags__Wl___build_id=no
19644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19645 conftest$ac_exeext conftest.$ac_ext
19646 CFLAGS=$ac_wine_try_cflags_saved
19648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19649 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19650 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19651 then :
19652 CFLAGS="$CFLAGS -Wl,--build-id"
19653 LDFLAGS="$LDFLAGS -Wl,--build-id"
19659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19660 printf %s "checking for the need to disable Fortify... " >&6; }
19661 if test ${ac_cv_c_fortify_enabled+y}
19662 then :
19663 printf %s "(cached) " >&6
19664 else $as_nop
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #include <string.h>
19669 main (void)
19671 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19672 #error Fortify enabled
19673 #endif
19675 return 0;
19677 _ACEOF
19678 if ac_fn_c_try_compile "$LINENO"
19679 then :
19680 ac_cv_c_fortify_enabled=no
19681 else $as_nop
19682 ac_cv_c_fortify_enabled=yes
19684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19687 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19688 if test "$ac_cv_c_fortify_enabled" = yes
19689 then
19690 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19695 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19696 if test ${ac_cv_c_cfi_support+y}
19697 then :
19698 printf %s "(cached) " >&6
19699 else $as_nop
19700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19701 /* end confdefs.h. */
19702 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19704 main (void)
19708 return 0;
19710 _ACEOF
19711 if ac_fn_c_try_compile "$LINENO"
19712 then :
19713 ac_cv_c_cfi_support="yes"
19714 else $as_nop
19715 ac_cv_c_cfi_support="no"
19717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19720 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19721 if test "$ac_cv_c_cfi_support" = "yes"
19722 then
19723 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19724 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19725 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19726 else
19727 if test "x$enable_win64" = "xyes"
19728 then
19729 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19734 case $host_os in
19735 linux*)
19736 case $host_cpu in
19737 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19738 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19739 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19741 esac
19743 esac
19746 ac_save_CFLAGS="$CFLAGS"
19747 CFLAGS="$CFLAGS $BUILTINFLAG"
19748 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19749 if test "x$ac_cv_func_epoll_create" = xyes
19750 then :
19751 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19754 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19755 if test "x$ac_cv_func_fstatfs" = xyes
19756 then :
19757 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19760 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19761 if test "x$ac_cv_func_futimens" = xyes
19762 then :
19763 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19766 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19767 if test "x$ac_cv_func_futimes" = xyes
19768 then :
19769 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19772 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19773 if test "x$ac_cv_func_futimesat" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19779 if test "x$ac_cv_func_getattrlist" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19785 if test "x$ac_cv_func_getauxval" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19791 if test "x$ac_cv_func_getifaddrs" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19797 if test "x$ac_cv_func_getrandom" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19803 if test "x$ac_cv_func_kqueue" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19809 if test "x$ac_cv_func_mach_continuous_time" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19815 if test "x$ac_cv_func_pipe2" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19821 if test "x$ac_cv_func_port_create" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19827 if test "x$ac_cv_func_posix_fadvise" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19833 if test "x$ac_cv_func_posix_fallocate" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19839 if test "x$ac_cv_func_prctl" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19845 if test "x$ac_cv_func_proc_pidinfo" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19851 if test "x$ac_cv_func_sched_yield" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19857 if test "x$ac_cv_func_setproctitle" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19863 if test "x$ac_cv_func_setprogname" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19869 if test "x$ac_cv_func_sigprocmask" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19874 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19875 if test "x$ac_cv_func_sysinfo" = xyes
19876 then :
19877 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19880 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19881 if test "x$ac_cv_func_tcdrain" = xyes
19882 then :
19883 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19886 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19887 if test "x$ac_cv_func_thr_kill2" = xyes
19888 then :
19889 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19893 CFLAGS="$ac_save_CFLAGS"
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19896 printf %s "checking for library containing dlopen... " >&6; }
19897 if test ${ac_cv_search_dlopen+y}
19898 then :
19899 printf %s "(cached) " >&6
19900 else $as_nop
19901 ac_func_search_save_LIBS=$LIBS
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19905 /* Override any GCC internal prototype to avoid an error.
19906 Use char because int might match the return type of a GCC
19907 builtin and then its argument prototype would still apply. */
19908 char dlopen ();
19910 main (void)
19912 return dlopen ();
19914 return 0;
19916 _ACEOF
19917 for ac_lib in '' dl
19919 if test -z "$ac_lib"; then
19920 ac_res="none required"
19921 else
19922 ac_res=-l$ac_lib
19923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19925 if ac_fn_c_try_link "$LINENO"
19926 then :
19927 ac_cv_search_dlopen=$ac_res
19929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19930 conftest$ac_exeext
19931 if test ${ac_cv_search_dlopen+y}
19932 then :
19933 break
19935 done
19936 if test ${ac_cv_search_dlopen+y}
19937 then :
19939 else $as_nop
19940 ac_cv_search_dlopen=no
19942 rm conftest.$ac_ext
19943 LIBS=$ac_func_search_save_LIBS
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19946 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19947 ac_res=$ac_cv_search_dlopen
19948 if test "$ac_res" != no
19949 then :
19950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19954 ac_wine_check_funcs_save_LIBS="$LIBS"
19955 LIBS="$LIBS $DL_LIBS"
19956 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19957 if test "x$ac_cv_func_dlinfo" = xyes
19958 then :
19959 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19963 LIBS="$ac_wine_check_funcs_save_LIBS"
19965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19966 printf %s "checking for library containing gethostbyname... " >&6; }
19967 if test ${ac_cv_search_gethostbyname+y}
19968 then :
19969 printf %s "(cached) " >&6
19970 else $as_nop
19971 ac_func_search_save_LIBS=$LIBS
19972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19973 /* end confdefs.h. */
19975 /* Override any GCC internal prototype to avoid an error.
19976 Use char because int might match the return type of a GCC
19977 builtin and then its argument prototype would still apply. */
19978 char gethostbyname ();
19980 main (void)
19982 return gethostbyname ();
19984 return 0;
19986 _ACEOF
19987 for ac_lib in '' nsl
19989 if test -z "$ac_lib"; then
19990 ac_res="none required"
19991 else
19992 ac_res=-l$ac_lib
19993 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19995 if ac_fn_c_try_link "$LINENO"
19996 then :
19997 ac_cv_search_gethostbyname=$ac_res
19999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20000 conftest$ac_exeext
20001 if test ${ac_cv_search_gethostbyname+y}
20002 then :
20003 break
20005 done
20006 if test ${ac_cv_search_gethostbyname+y}
20007 then :
20009 else $as_nop
20010 ac_cv_search_gethostbyname=no
20012 rm conftest.$ac_ext
20013 LIBS=$ac_func_search_save_LIBS
20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20016 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20017 ac_res=$ac_cv_search_gethostbyname
20018 if test "$ac_res" != no
20019 then :
20020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20026 printf %s "checking for library containing connect... " >&6; }
20027 if test ${ac_cv_search_connect+y}
20028 then :
20029 printf %s "(cached) " >&6
20030 else $as_nop
20031 ac_func_search_save_LIBS=$LIBS
20032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20035 /* Override any GCC internal prototype to avoid an error.
20036 Use char because int might match the return type of a GCC
20037 builtin and then its argument prototype would still apply. */
20038 char connect ();
20040 main (void)
20042 return connect ();
20044 return 0;
20046 _ACEOF
20047 for ac_lib in '' socket
20049 if test -z "$ac_lib"; then
20050 ac_res="none required"
20051 else
20052 ac_res=-l$ac_lib
20053 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20055 if ac_fn_c_try_link "$LINENO"
20056 then :
20057 ac_cv_search_connect=$ac_res
20059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20060 conftest$ac_exeext
20061 if test ${ac_cv_search_connect+y}
20062 then :
20063 break
20065 done
20066 if test ${ac_cv_search_connect+y}
20067 then :
20069 else $as_nop
20070 ac_cv_search_connect=no
20072 rm conftest.$ac_ext
20073 LIBS=$ac_func_search_save_LIBS
20075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20076 printf "%s\n" "$ac_cv_search_connect" >&6; }
20077 ac_res=$ac_cv_search_connect
20078 if test "$ac_res" != no
20079 then :
20080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20086 printf %s "checking for library containing inet_aton... " >&6; }
20087 if test ${ac_cv_search_inet_aton+y}
20088 then :
20089 printf %s "(cached) " >&6
20090 else $as_nop
20091 ac_func_search_save_LIBS=$LIBS
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20095 /* Override any GCC internal prototype to avoid an error.
20096 Use char because int might match the return type of a GCC
20097 builtin and then its argument prototype would still apply. */
20098 char inet_aton ();
20100 main (void)
20102 return inet_aton ();
20104 return 0;
20106 _ACEOF
20107 for ac_lib in '' resolv
20109 if test -z "$ac_lib"; then
20110 ac_res="none required"
20111 else
20112 ac_res=-l$ac_lib
20113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20115 if ac_fn_c_try_link "$LINENO"
20116 then :
20117 ac_cv_search_inet_aton=$ac_res
20119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20120 conftest$ac_exeext
20121 if test ${ac_cv_search_inet_aton+y}
20122 then :
20123 break
20125 done
20126 if test ${ac_cv_search_inet_aton+y}
20127 then :
20129 else $as_nop
20130 ac_cv_search_inet_aton=no
20132 rm conftest.$ac_ext
20133 LIBS=$ac_func_search_save_LIBS
20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20136 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20137 ac_res=$ac_cv_search_inet_aton
20138 if test "$ac_res" != no
20139 then :
20140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20145 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20146 if test "x$ac_cv_func_getaddrinfo" = xyes
20147 then :
20148 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20153 case $host_os in
20154 darwin*|macosx*) ;;
20155 *) ac_save_LIBS=$LIBS
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20157 printf %s "checking for library containing clock_gettime... " >&6; }
20158 if test ${ac_cv_search_clock_gettime+y}
20159 then :
20160 printf %s "(cached) " >&6
20161 else $as_nop
20162 ac_func_search_save_LIBS=$LIBS
20163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20164 /* end confdefs.h. */
20166 /* Override any GCC internal prototype to avoid an error.
20167 Use char because int might match the return type of a GCC
20168 builtin and then its argument prototype would still apply. */
20169 char clock_gettime ();
20171 main (void)
20173 return clock_gettime ();
20175 return 0;
20177 _ACEOF
20178 for ac_lib in '' rt
20180 if test -z "$ac_lib"; then
20181 ac_res="none required"
20182 else
20183 ac_res=-l$ac_lib
20184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20186 if ac_fn_c_try_link "$LINENO"
20187 then :
20188 ac_cv_search_clock_gettime=$ac_res
20190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20191 conftest$ac_exeext
20192 if test ${ac_cv_search_clock_gettime+y}
20193 then :
20194 break
20196 done
20197 if test ${ac_cv_search_clock_gettime+y}
20198 then :
20200 else $as_nop
20201 ac_cv_search_clock_gettime=no
20203 rm conftest.$ac_ext
20204 LIBS=$ac_func_search_save_LIBS
20206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20207 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20208 ac_res=$ac_cv_search_clock_gettime
20209 if test "$ac_res" != no
20210 then :
20211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20213 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20215 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20219 LIBS=$ac_save_LIBS
20221 esac
20223 if test "x$with_ldap" != "xno"
20224 then
20225 if ${LDAP_CFLAGS:+false} :
20226 then :
20227 if test ${PKG_CONFIG+y}
20228 then :
20229 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20233 if ${LDAP_LIBS:+false} :
20234 then :
20235 if test ${PKG_CONFIG+y}
20236 then :
20237 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20241 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20244 ac_save_CPPFLAGS=$CPPFLAGS
20245 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20246 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20247 if test "x$ac_cv_header_ldap_h" = xyes
20248 then :
20249 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20252 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_lber_h" = xyes
20254 then :
20255 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20259 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20260 then
20261 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20263 if test "x$ac_cv_type_LDAPSortKey" = xyes
20264 then :
20265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20266 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20267 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20268 then :
20269 printf %s "(cached) " >&6
20270 else $as_nop
20271 ac_check_lib_save_LIBS=$LIBS
20272 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20274 /* end confdefs.h. */
20276 /* Override any GCC internal prototype to avoid an error.
20277 Use char because int might match the return type of a GCC
20278 builtin and then its argument prototype would still apply. */
20279 char ldap_initialize ();
20281 main (void)
20283 return ldap_initialize ();
20285 return 0;
20287 _ACEOF
20288 if ac_fn_c_try_link "$LINENO"
20289 then :
20290 ac_cv_lib_ldap_ldap_initialize=yes
20291 else $as_nop
20292 ac_cv_lib_ldap_ldap_initialize=no
20294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20295 conftest$ac_exeext conftest.$ac_ext
20296 LIBS=$ac_check_lib_save_LIBS
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20299 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20300 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20301 then :
20302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20303 printf %s "checking for ber_init in -llber... " >&6; }
20304 if test ${ac_cv_lib_lber_ber_init+y}
20305 then :
20306 printf %s "(cached) " >&6
20307 else $as_nop
20308 ac_check_lib_save_LIBS=$LIBS
20309 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 /* Override any GCC internal prototype to avoid an error.
20314 Use char because int might match the return type of a GCC
20315 builtin and then its argument prototype would still apply. */
20316 char ber_init ();
20318 main (void)
20320 return ber_init ();
20322 return 0;
20324 _ACEOF
20325 if ac_fn_c_try_link "$LINENO"
20326 then :
20327 ac_cv_lib_lber_ber_init=yes
20328 else $as_nop
20329 ac_cv_lib_lber_ber_init=no
20331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20332 conftest$ac_exeext conftest.$ac_ext
20333 LIBS=$ac_check_lib_save_LIBS
20335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20336 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20337 if test "x$ac_cv_lib_lber_ber_init" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20342 else $as_nop
20343 LDAP_LIBS=""
20346 else $as_nop
20347 LDAP_LIBS=""
20350 else $as_nop
20351 LDAP_LIBS=""
20354 else
20355 LDAP_LIBS=""
20357 CPPFLAGS=$ac_save_CPPFLAGS
20360 if test "x$LDAP_LIBS" = "x"
20361 then :
20362 case "x$with_ldap" in
20363 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20364 xno) ;;
20365 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20366 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20367 esac
20371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20372 printf %s "checking for sched_setaffinity... " >&6; }
20373 if test ${wine_cv_have_sched_setaffinity+y}
20374 then :
20375 printf %s "(cached) " >&6
20376 else $as_nop
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20379 #include <sched.h>
20381 main (void)
20383 sched_setaffinity(0, 0, 0);
20385 return 0;
20387 _ACEOF
20388 if ac_fn_c_try_link "$LINENO"
20389 then :
20390 wine_cv_have_sched_setaffinity=yes
20391 else $as_nop
20392 wine_cv_have_sched_setaffinity=no
20394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20395 conftest$ac_exeext conftest.$ac_ext
20397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20398 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20399 if test "$wine_cv_have_sched_setaffinity" = "yes"
20400 then
20402 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20408 printf %s "checking for inline... " >&6; }
20409 if test ${ac_cv_c_inline+y}
20410 then :
20411 printf %s "(cached) " >&6
20412 else $as_nop
20413 ac_cv_c_inline=no
20414 for ac_kw in inline __inline__ __inline; do
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20417 #ifndef __cplusplus
20418 typedef int foo_t;
20419 static $ac_kw foo_t static_foo (void) {return 0; }
20420 $ac_kw foo_t foo (void) {return 0; }
20421 #endif
20423 _ACEOF
20424 if ac_fn_c_try_compile "$LINENO"
20425 then :
20426 ac_cv_c_inline=$ac_kw
20428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20429 test "$ac_cv_c_inline" != no && break
20430 done
20433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20434 printf "%s\n" "$ac_cv_c_inline" >&6; }
20436 case $ac_cv_c_inline in
20437 inline | yes) ;;
20439 case $ac_cv_c_inline in
20440 no) ac_val=;;
20441 *) ac_val=$ac_cv_c_inline;;
20442 esac
20443 cat >>confdefs.h <<_ACEOF
20444 #ifndef __cplusplus
20445 #define inline $ac_val
20446 #endif
20447 _ACEOF
20449 esac
20451 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20452 #include <signal.h>
20454 if test "x$ac_cv_type_sigset_t" = xyes
20455 then :
20457 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20462 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20464 if test "x$ac_cv_type_request_sense" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20473 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20474 #include <sys/socket.h>
20475 #ifdef HAVE_SYS_SOCKETVAR_H
20476 #include <sys/socketvar.h>
20477 #endif
20478 #ifdef HAVE_NET_ROUTE_H
20479 #include <net/route.h>
20480 #endif
20481 #ifdef HAVE_NETINET_IN_H
20482 #include <netinet/in.h>
20483 #endif
20484 #ifdef HAVE_NETINET_IN_SYSTM_H
20485 #include <netinet/in_systm.h>
20486 #endif
20487 #ifdef HAVE_NETINET_IP_H
20488 #include <netinet/ip.h>
20489 #endif
20490 #ifdef HAVE_NETINET_IN_PCB_H
20491 #include <netinet/in_pcb.h>
20492 #endif
20494 if test "x$ac_cv_type_struct_xinpgen" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20504 printf %s "checking for sigaddset... " >&6; }
20505 if test ${wine_cv_have_sigaddset+y}
20506 then :
20507 printf %s "(cached) " >&6
20508 else $as_nop
20509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20510 /* end confdefs.h. */
20511 #include <signal.h>
20513 main (void)
20515 sigset_t set; sigaddset(&set,SIGTERM);
20517 return 0;
20519 _ACEOF
20520 if ac_fn_c_try_link "$LINENO"
20521 then :
20522 wine_cv_have_sigaddset=yes
20523 else $as_nop
20524 wine_cv_have_sigaddset=no
20526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20527 conftest$ac_exeext conftest.$ac_ext
20529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20530 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20531 if test "$wine_cv_have_sigaddset" = "yes"
20532 then
20534 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20540 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20541 if test ${wine_cv_linux_gethostbyname_r_6+y}
20542 then :
20543 printf %s "(cached) " >&6
20544 else $as_nop
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20547 #include <netdb.h>
20549 main (void)
20552 char *name=0;
20553 struct hostent he;
20554 struct hostent *result;
20555 char *buf=0;
20556 int bufsize=0;
20557 int errnr;
20558 char *addr=0;
20559 int addrlen=0;
20560 int addrtype=0;
20561 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20562 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20565 return 0;
20567 _ACEOF
20568 if ac_fn_c_try_link "$LINENO"
20569 then :
20570 wine_cv_linux_gethostbyname_r_6=yes
20571 else $as_nop
20572 wine_cv_linux_gethostbyname_r_6=no
20575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20576 conftest$ac_exeext conftest.$ac_ext
20579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20580 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20581 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20582 then
20584 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20589 #include <sys/socket.h>
20590 #ifdef HAVE_SYS_UN_H
20591 # include <sys/un.h>
20592 #endif
20594 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20595 then :
20597 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20601 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20602 #include <sys/socket.h>
20603 #ifdef HAVE_SYS_UN_H
20604 # include <sys/un.h>
20605 #endif
20607 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20608 then :
20610 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20616 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20617 #ifdef HAVE_SCSI_SG_H
20618 #include <scsi/sg.h>
20619 #endif
20621 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20622 then :
20624 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20628 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>
20629 #ifdef HAVE_SCSI_SG_H
20630 #include <scsi/sg.h>
20631 #endif
20633 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20634 then :
20636 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20642 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20644 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20645 then :
20647 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20653 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20654 #ifdef HAVE_SYS_MTIO_H
20655 #include <sys/mtio.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20665 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20666 #ifdef HAVE_SYS_MTIO_H
20667 #include <sys/mtio.h>
20668 #endif
20670 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20677 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20678 #ifdef HAVE_SYS_MTIO_H
20679 #include <sys/mtio.h>
20680 #endif
20682 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20683 then :
20685 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20691 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20692 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20693 then :
20695 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20699 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20700 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20701 then :
20703 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20707 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20708 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20715 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20716 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20717 then :
20719 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20723 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20724 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20725 then :
20727 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20731 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20732 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20733 then :
20735 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20739 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20740 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20741 then :
20743 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20747 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20748 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20749 then :
20751 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20755 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20756 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20757 then :
20759 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20763 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20764 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20765 then :
20767 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20771 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20772 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20773 then :
20775 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20781 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>
20782 #ifdef HAVE_NETINET_IN_H
20783 #include <netinet/in.h>
20784 #endif
20786 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20787 then :
20789 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20795 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
20796 #include <resolv.h>
20797 #endif
20799 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20800 then :
20802 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20808 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20809 #include <netinet/in.h>
20810 #endif
20812 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20813 then :
20815 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20821 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20822 #ifdef HAVE_SYS_SOCKETVAR_H
20823 #include <sys/socketvar.h>
20824 #endif
20825 #ifdef HAVE_NETINET_IN_H
20826 #include <netinet/in.h>
20827 #endif
20828 #ifdef HAVE_NETINET_IP_VAR_H
20829 #include <netinet/ip_var.h>
20830 #endif
20832 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20833 then :
20835 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20841 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
20842 #include <netinet/ip_var.h>
20843 #endif
20845 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20846 then :
20848 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20854 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20855 #ifdef HAVE_SYS_SOCKETVAR_H
20856 #include <sys/socketvar.h>
20857 #endif
20858 #ifdef HAVE_NETINET_IN_H
20859 #include <netinet/in.h>
20860 #endif
20861 #ifdef HAVE_NETINET_TCP_H
20862 #include <netinet/tcp.h>
20863 #endif
20864 #ifdef HAVE_NETINET_TCP_VAR_H
20865 #include <netinet/tcp_var.h>
20866 #endif
20868 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20869 then :
20871 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20877 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
20878 #include <netinet/tcp_var.h>
20879 #endif
20881 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20882 then :
20884 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20890 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20891 #ifdef HAVE_NETINET_IN_H
20892 #include <netinet/in.h>
20893 #endif
20894 #ifdef HAVE_NETINET_IP_VAR_H
20895 #include <netinet/ip_var.h>
20896 #endif
20897 #ifdef HAVE_NETINET_UDP_H
20898 #include <netinet/udp.h>
20899 #endif
20900 #ifdef HAVE_NETINET_UDP_VAR_H
20901 #include <netinet/udp_var.h>
20902 #endif
20904 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20905 then :
20907 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20913 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20914 #ifdef HAVE_NET_IF_H
20915 # include <net/if.h>
20916 #endif
20918 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20919 then :
20921 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20927 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20928 # include <sys/sysinfo.h>
20929 #endif
20931 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20932 then :
20934 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20938 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20939 # include <sys/sysinfo.h>
20940 #endif
20942 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20943 then :
20945 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20951 ac_save_LIBS="$LIBS"
20952 LIBS="$LIBS -lm"
20953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20954 printf %s "checking for isfinite... " >&6; }
20955 if test ${ac_cv_have_isfinite+y}
20956 then :
20957 printf %s "(cached) " >&6
20958 else $as_nop
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961 #include <math.h>
20963 main (void)
20965 float f = 0.0; return isfinite(f)
20967 return 0;
20969 _ACEOF
20970 if ac_fn_c_try_link "$LINENO"
20971 then :
20972 ac_cv_have_isfinite="yes"
20973 else $as_nop
20974 ac_cv_have_isfinite="no"
20976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20977 conftest$ac_exeext conftest.$ac_ext
20979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20980 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20981 if test "$ac_cv_have_isfinite" = "yes"
20982 then
20984 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20989 printf %s "checking for isinf... " >&6; }
20990 if test ${ac_cv_have_isinf+y}
20991 then :
20992 printf %s "(cached) " >&6
20993 else $as_nop
20994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #include <math.h>
20998 main (void)
21000 float f = 0.0; return isinf(f)
21002 return 0;
21004 _ACEOF
21005 if ac_fn_c_try_link "$LINENO"
21006 then :
21007 ac_cv_have_isinf="yes"
21008 else $as_nop
21009 ac_cv_have_isinf="no"
21011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21012 conftest$ac_exeext conftest.$ac_ext
21014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21015 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21016 if test "$ac_cv_have_isinf" = "yes"
21017 then
21019 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21024 printf %s "checking for isnan... " >&6; }
21025 if test ${ac_cv_have_isnan+y}
21026 then :
21027 printf %s "(cached) " >&6
21028 else $as_nop
21029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21030 /* end confdefs.h. */
21031 #include <math.h>
21033 main (void)
21035 float f = 0.0; return isnan(f)
21037 return 0;
21039 _ACEOF
21040 if ac_fn_c_try_link "$LINENO"
21041 then :
21042 ac_cv_have_isnan="yes"
21043 else $as_nop
21044 ac_cv_have_isnan="no"
21046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21047 conftest$ac_exeext conftest.$ac_ext
21049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21050 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21051 if test "$ac_cv_have_isnan" = "yes"
21052 then
21054 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21058 LIBS="$ac_save_LIBS"
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21061 printf %s "checking for __builtin_popcount... " >&6; }
21062 if test ${ac_cv_have___builtin_popcount+y}
21063 then :
21064 printf %s "(cached) " >&6
21065 else $as_nop
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21070 main (void)
21072 return __builtin_popcount(1)
21074 return 0;
21076 _ACEOF
21077 if ac_fn_c_try_link "$LINENO"
21078 then :
21079 ac_cv_have___builtin_popcount="yes"
21080 else $as_nop
21081 ac_cv_have___builtin_popcount="no"
21083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21084 conftest$ac_exeext conftest.$ac_ext
21086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21087 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21088 if test "$ac_cv_have___builtin_popcount" = "yes"
21089 then
21091 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21096 printf %s "checking for __clear_cache... " >&6; }
21097 if test ${ac_cv_have___clear_cache+y}
21098 then :
21099 printf %s "(cached) " >&6
21100 else $as_nop
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21105 main (void)
21107 __clear_cache((void*)0, (void*)0); return 0;
21109 return 0;
21111 _ACEOF
21112 if ac_fn_c_try_link "$LINENO"
21113 then :
21114 ac_cv_have___clear_cache="yes"
21115 else $as_nop
21116 ac_cv_have___clear_cache="no"
21118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21119 conftest$ac_exeext conftest.$ac_ext
21121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21122 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21123 if test "$ac_cv_have___clear_cache" = "yes"
21124 then
21126 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21131 case $host_cpu in
21132 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21133 printf %s "checking whether we need to define __i386__... " >&6; }
21134 if test ${ac_cv_cpp_def___i386__+y}
21135 then :
21136 printf %s "(cached) " >&6
21137 else $as_nop
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140 #ifndef __i386__
21142 #endif
21143 _ACEOF
21144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21145 $EGREP "yes" >/dev/null 2>&1
21146 then :
21147 ac_cv_cpp_def___i386__=yes
21148 else $as_nop
21149 ac_cv_cpp_def___i386__=no
21151 rm -rf conftest*
21154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21155 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21156 if test "x$ac_cv_cpp_def___i386__" = xyes
21157 then :
21158 CFLAGS="$CFLAGS -D__i386__"
21159 LINTFLAGS="$LINTFLAGS -D__i386__"
21160 fi ;;
21161 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21162 printf %s "checking whether we need to define __x86_64__... " >&6; }
21163 if test ${ac_cv_cpp_def___x86_64__+y}
21164 then :
21165 printf %s "(cached) " >&6
21166 else $as_nop
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #ifndef __x86_64__
21171 #endif
21172 _ACEOF
21173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21174 $EGREP "yes" >/dev/null 2>&1
21175 then :
21176 ac_cv_cpp_def___x86_64__=yes
21177 else $as_nop
21178 ac_cv_cpp_def___x86_64__=no
21180 rm -rf conftest*
21183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21184 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21185 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21186 then :
21187 CFLAGS="$CFLAGS -D__x86_64__"
21188 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21189 fi ;;
21190 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21191 printf %s "checking whether we need to define __sparc64__... " >&6; }
21192 if test ${ac_cv_cpp_def___sparc64__+y}
21193 then :
21194 printf %s "(cached) " >&6
21195 else $as_nop
21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h. */
21198 #ifndef __sparc64__
21200 #endif
21201 _ACEOF
21202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21203 $EGREP "yes" >/dev/null 2>&1
21204 then :
21205 ac_cv_cpp_def___sparc64__=yes
21206 else $as_nop
21207 ac_cv_cpp_def___sparc64__=no
21209 rm -rf conftest*
21212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21213 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21214 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21215 then :
21216 CFLAGS="$CFLAGS -D__sparc64__"
21217 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21218 fi ;;
21219 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21220 printf %s "checking whether we need to define __sparc__... " >&6; }
21221 if test ${ac_cv_cpp_def___sparc__+y}
21222 then :
21223 printf %s "(cached) " >&6
21224 else $as_nop
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #ifndef __sparc__
21229 #endif
21230 _ACEOF
21231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21232 $EGREP "yes" >/dev/null 2>&1
21233 then :
21234 ac_cv_cpp_def___sparc__=yes
21235 else $as_nop
21236 ac_cv_cpp_def___sparc__=no
21238 rm -rf conftest*
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21242 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21243 if test "x$ac_cv_cpp_def___sparc__" = xyes
21244 then :
21245 CFLAGS="$CFLAGS -D__sparc__"
21246 LINTFLAGS="$LINTFLAGS -D__sparc__"
21247 fi ;;
21248 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21249 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21250 if test ${ac_cv_cpp_def___powerpc64__+y}
21251 then :
21252 printf %s "(cached) " >&6
21253 else $as_nop
21254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21256 #ifndef __powerpc64__
21258 #endif
21259 _ACEOF
21260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21261 $EGREP "yes" >/dev/null 2>&1
21262 then :
21263 ac_cv_cpp_def___powerpc64__=yes
21264 else $as_nop
21265 ac_cv_cpp_def___powerpc64__=no
21267 rm -rf conftest*
21270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21271 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21272 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21273 then :
21274 CFLAGS="$CFLAGS -D__powerpc64__"
21275 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21276 fi ;;
21277 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21278 printf %s "checking whether we need to define __powerpc__... " >&6; }
21279 if test ${ac_cv_cpp_def___powerpc__+y}
21280 then :
21281 printf %s "(cached) " >&6
21282 else $as_nop
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h. */
21285 #ifndef __powerpc__
21287 #endif
21288 _ACEOF
21289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21290 $EGREP "yes" >/dev/null 2>&1
21291 then :
21292 ac_cv_cpp_def___powerpc__=yes
21293 else $as_nop
21294 ac_cv_cpp_def___powerpc__=no
21296 rm -rf conftest*
21299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21300 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21301 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21302 then :
21303 CFLAGS="$CFLAGS -D__powerpc__"
21304 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21305 fi ;;
21306 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21307 printf %s "checking whether we need to define __aarch64__... " >&6; }
21308 if test ${ac_cv_cpp_def___aarch64__+y}
21309 then :
21310 printf %s "(cached) " >&6
21311 else $as_nop
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21314 #ifndef __aarch64__
21316 #endif
21317 _ACEOF
21318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21319 $EGREP "yes" >/dev/null 2>&1
21320 then :
21321 ac_cv_cpp_def___aarch64__=yes
21322 else $as_nop
21323 ac_cv_cpp_def___aarch64__=no
21325 rm -rf conftest*
21328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21329 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21330 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21331 then :
21332 CFLAGS="$CFLAGS -D__aarch64__"
21333 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21334 fi ;;
21335 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21336 printf %s "checking whether we need to define __arm__... " >&6; }
21337 if test ${ac_cv_cpp_def___arm__+y}
21338 then :
21339 printf %s "(cached) " >&6
21340 else $as_nop
21341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21343 #ifndef __arm__
21345 #endif
21346 _ACEOF
21347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21348 $EGREP "yes" >/dev/null 2>&1
21349 then :
21350 ac_cv_cpp_def___arm__=yes
21351 else $as_nop
21352 ac_cv_cpp_def___arm__=no
21354 rm -rf conftest*
21357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21358 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21359 if test "x$ac_cv_cpp_def___arm__" = xyes
21360 then :
21361 CFLAGS="$CFLAGS -D__arm__"
21362 LINTFLAGS="$LINTFLAGS -D__arm__"
21363 fi ;;
21364 esac
21366 case $host_vendor in
21367 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21368 printf %s "checking whether we need to define __sun__... " >&6; }
21369 if test ${ac_cv_cpp_def___sun__+y}
21370 then :
21371 printf %s "(cached) " >&6
21372 else $as_nop
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21375 #ifndef __sun__
21377 #endif
21378 _ACEOF
21379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21380 $EGREP "yes" >/dev/null 2>&1
21381 then :
21382 ac_cv_cpp_def___sun__=yes
21383 else $as_nop
21384 ac_cv_cpp_def___sun__=no
21386 rm -rf conftest*
21389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21390 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21391 if test "x$ac_cv_cpp_def___sun__" = xyes
21392 then :
21393 CFLAGS="$CFLAGS -D__sun__"
21394 LINTFLAGS="$LINTFLAGS -D__sun__"
21395 fi ;;
21396 esac
21402 ac_config_commands="$ac_config_commands include/stamp-h"
21404 printf %s "creating Makefile rules..." >&6
21406 makedep_flags=""
21407 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21409 wine_srcdir=
21410 test "$srcdir" = . || wine_srcdir="$srcdir/"
21412 ac_config_links="$ac_config_links wine:tools/winewrapper"
21413 wine_fn_config_symlink wine
21414 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21415 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21416 wine_fn_config_symlink wine64
21419 wine_fn_config_makefile dlls/acledit enable_acledit
21420 wine_fn_config_makefile dlls/aclui enable_aclui
21421 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21422 wine_fn_config_makefile dlls/activeds enable_activeds
21423 wine_fn_config_makefile dlls/activeds/tests enable_tests
21424 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21425 wine_fn_config_makefile dlls/adsldp enable_adsldp
21426 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21427 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21428 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21429 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21430 wine_fn_config_makefile dlls/advpack enable_advpack
21431 wine_fn_config_makefile dlls/advpack/tests enable_tests
21432 wine_fn_config_makefile dlls/amsi enable_amsi
21433 wine_fn_config_makefile dlls/amstream enable_amstream
21434 wine_fn_config_makefile dlls/amstream/tests enable_tests
21435 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21436 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21437 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21438 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21439 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21440 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21441 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21442 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21443 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21444 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21445 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21446 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21447 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21456 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21458 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21459 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21460 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21461 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21462 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21463 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21464 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21465 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21466 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21467 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21468 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21469 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21470 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21472 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21473 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21474 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21475 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21476 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21477 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21480 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21482 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21485 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21489 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21490 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21491 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21492 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21493 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21495 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21496 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21497 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21498 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21499 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21501 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21502 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21503 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21504 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21509 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21511 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21512 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21513 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21514 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21518 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21519 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21520 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21522 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21526 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21527 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21528 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21529 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21532 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21533 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21538 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21543 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21554 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21555 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21557 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21558 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21559 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21561 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21564 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21565 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21567 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21572 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21576 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21577 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21578 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21579 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21583 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21584 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21585 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21586 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21591 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21605 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21606 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21611 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21612 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21627 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21633 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21634 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21638 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21642 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21644 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21645 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21646 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21647 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21648 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21649 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21650 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21651 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21652 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21653 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21654 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21655 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21657 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21659 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21660 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21661 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21662 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21663 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21664 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21665 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21666 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21667 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21668 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21669 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21670 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21671 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21672 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21673 wine_fn_config_makefile dlls/apphelp enable_apphelp
21674 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21675 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21676 wine_fn_config_makefile dlls/atl enable_atl
21677 wine_fn_config_makefile dlls/atl/tests enable_tests
21678 wine_fn_config_makefile dlls/atl100 enable_atl100
21679 wine_fn_config_makefile dlls/atl100/tests enable_tests
21680 wine_fn_config_makefile dlls/atl110 enable_atl110
21681 wine_fn_config_makefile dlls/atl80 enable_atl80
21682 wine_fn_config_makefile dlls/atl80/tests enable_tests
21683 wine_fn_config_makefile dlls/atl90 enable_atl90
21684 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21685 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21686 wine_fn_config_makefile dlls/atmlib enable_atmlib
21687 wine_fn_config_makefile dlls/authz enable_authz
21688 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21689 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21690 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21691 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21692 wine_fn_config_makefile dlls/avrt enable_avrt
21693 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21694 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21695 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21696 wine_fn_config_makefile dlls/browseui enable_browseui
21697 wine_fn_config_makefile dlls/browseui/tests enable_tests
21698 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21699 wine_fn_config_makefile dlls/cabinet enable_cabinet
21700 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21701 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21702 wine_fn_config_makefile dlls/cards enable_cards
21703 wine_fn_config_makefile dlls/cdosys enable_cdosys
21704 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21705 wine_fn_config_makefile dlls/clusapi enable_clusapi
21706 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21707 wine_fn_config_makefile dlls/combase enable_combase
21708 wine_fn_config_makefile dlls/combase/tests enable_tests
21709 wine_fn_config_makefile dlls/comcat enable_comcat
21710 wine_fn_config_makefile dlls/comcat/tests enable_tests
21711 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21712 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21713 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21714 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21715 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21716 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21717 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21718 wine_fn_config_makefile dlls/compstui enable_compstui
21719 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21720 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21721 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21722 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21723 wine_fn_config_makefile dlls/connect enable_connect
21724 wine_fn_config_makefile dlls/credui enable_credui
21725 wine_fn_config_makefile dlls/credui/tests enable_tests
21726 wine_fn_config_makefile dlls/crtdll enable_crtdll
21727 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21728 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21729 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21730 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21731 wine_fn_config_makefile dlls/cryptext enable_cryptext
21732 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21733 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21734 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21735 wine_fn_config_makefile dlls/cryptui enable_cryptui
21736 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21737 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21738 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21739 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21740 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21741 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21742 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21743 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21744 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21745 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21746 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21747 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21748 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21749 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21750 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21751 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21752 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21753 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21754 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21755 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21756 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21757 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21758 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21759 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21760 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21761 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21762 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21763 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21764 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21765 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21766 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21767 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21768 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21769 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21770 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21771 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21772 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21773 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21774 wine_fn_config_makefile dlls/d3dim enable_d3dim
21775 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21776 wine_fn_config_makefile dlls/d3drm enable_d3drm
21777 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21778 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21779 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21780 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21781 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21782 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21783 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21784 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21785 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21786 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21787 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21788 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21789 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21790 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21791 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21792 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21793 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21794 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21795 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21796 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21797 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21798 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21799 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21800 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21801 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21802 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21803 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21804 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21805 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21806 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21807 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21808 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21809 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21810 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21811 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21812 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21813 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21814 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21815 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21816 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21817 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21818 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21819 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21820 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21821 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21822 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21823 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21824 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21825 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21826 wine_fn_config_makefile dlls/davclnt enable_davclnt
21827 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21828 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21829 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21830 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21831 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21832 wine_fn_config_makefile dlls/dcomp enable_dcomp
21833 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21834 wine_fn_config_makefile dlls/ddraw enable_ddraw
21835 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21836 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21837 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21838 wine_fn_config_makefile dlls/devenum enable_devenum
21839 wine_fn_config_makefile dlls/devenum/tests enable_tests
21840 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21841 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21842 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21843 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21844 wine_fn_config_makefile dlls/difxapi enable_difxapi
21845 wine_fn_config_makefile dlls/dinput enable_dinput
21846 wine_fn_config_makefile dlls/dinput/tests enable_tests
21847 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21848 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21849 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21850 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21851 wine_fn_config_makefile dlls/dispex enable_dispex
21852 wine_fn_config_makefile dlls/dispex/tests enable_tests
21853 wine_fn_config_makefile dlls/display.drv16 enable_win16
21854 wine_fn_config_makefile dlls/dmband enable_dmband
21855 wine_fn_config_makefile dlls/dmband/tests enable_tests
21856 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21857 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21858 wine_fn_config_makefile dlls/dmime enable_dmime
21859 wine_fn_config_makefile dlls/dmime/tests enable_tests
21860 wine_fn_config_makefile dlls/dmloader enable_dmloader
21861 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21862 wine_fn_config_makefile dlls/dmscript enable_dmscript
21863 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21864 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21865 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21866 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21867 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21868 wine_fn_config_makefile dlls/dmusic enable_dmusic
21869 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21870 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21871 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21872 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21873 wine_fn_config_makefile dlls/dplay enable_dplay
21874 wine_fn_config_makefile dlls/dplayx enable_dplayx
21875 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21876 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21877 wine_fn_config_makefile dlls/dpnet enable_dpnet
21878 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21879 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21880 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21881 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21882 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21883 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21884 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21885 wine_fn_config_makefile dlls/drmclien enable_drmclien
21886 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21887 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21888 wine_fn_config_makefile dlls/dsound enable_dsound
21889 wine_fn_config_makefile dlls/dsound/tests enable_tests
21890 wine_fn_config_makefile dlls/dsquery enable_dsquery
21891 wine_fn_config_makefile dlls/dssenh enable_dssenh
21892 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21893 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21894 wine_fn_config_makefile dlls/dswave enable_dswave
21895 wine_fn_config_makefile dlls/dswave/tests enable_tests
21896 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21897 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21898 wine_fn_config_makefile dlls/dwrite enable_dwrite
21899 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21900 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21901 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21902 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21903 wine_fn_config_makefile dlls/dxgi enable_dxgi
21904 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21905 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21906 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21907 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21908 wine_fn_config_makefile dlls/esent enable_esent
21909 wine_fn_config_makefile dlls/evr enable_evr
21910 wine_fn_config_makefile dlls/evr/tests enable_tests
21911 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21912 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21913 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21914 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21915 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21916 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21917 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21918 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21919 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21920 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21921 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21922 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21923 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21924 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21925 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21927 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21928 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21930 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21931 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21932 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21933 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21934 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21935 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21936 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21937 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21938 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21939 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21940 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21941 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21942 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21943 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21944 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21945 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21947 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21948 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21949 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21950 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21951 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21952 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21953 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
21954 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21955 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21956 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21957 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21959 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21960 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21961 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21962 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21963 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21964 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21965 wine_fn_config_makefile dlls/faultrep enable_faultrep
21966 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21967 wine_fn_config_makefile dlls/feclient enable_feclient
21968 wine_fn_config_makefile dlls/fltlib enable_fltlib
21969 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21970 wine_fn_config_makefile dlls/fntcache enable_fntcache
21971 wine_fn_config_makefile dlls/fontsub enable_fontsub
21972 wine_fn_config_makefile dlls/fusion enable_fusion
21973 wine_fn_config_makefile dlls/fusion/tests enable_tests
21974 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21975 wine_fn_config_makefile dlls/gameux enable_gameux
21976 wine_fn_config_makefile dlls/gameux/tests enable_tests
21977 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21978 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21979 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21980 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21981 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21982 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21983 wine_fn_config_makefile dlls/glu32 enable_glu32
21984 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21985 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21986 wine_fn_config_makefile dlls/hal enable_hal
21987 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21988 wine_fn_config_makefile dlls/hid enable_hid
21989 wine_fn_config_makefile dlls/hid/tests enable_tests
21990 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21991 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21992 wine_fn_config_makefile dlls/hlink enable_hlink
21993 wine_fn_config_makefile dlls/hlink/tests enable_tests
21994 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21995 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21996 wine_fn_config_makefile dlls/http.sys enable_http_sys
21997 wine_fn_config_makefile dlls/httpapi enable_httpapi
21998 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21999 wine_fn_config_makefile dlls/iccvid enable_iccvid
22000 wine_fn_config_makefile dlls/icmp enable_icmp
22001 wine_fn_config_makefile dlls/ieframe enable_ieframe
22002 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22003 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22004 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22005 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22006 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22007 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22008 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22009 wine_fn_config_makefile dlls/imm32 enable_imm32
22010 wine_fn_config_makefile dlls/imm32/tests enable_tests
22011 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22012 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22013 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22014 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22015 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22016 wine_fn_config_makefile dlls/infosoft enable_infosoft
22017 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22018 wine_fn_config_makefile dlls/initpki enable_initpki
22019 wine_fn_config_makefile dlls/inkobj enable_inkobj
22020 wine_fn_config_makefile dlls/inseng enable_inseng
22021 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22022 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22023 wine_fn_config_makefile dlls/iprop enable_iprop
22024 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22025 wine_fn_config_makefile dlls/itircl enable_itircl
22026 wine_fn_config_makefile dlls/itss enable_itss
22027 wine_fn_config_makefile dlls/itss/tests enable_tests
22028 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22029 wine_fn_config_makefile dlls/jscript enable_jscript
22030 wine_fn_config_makefile dlls/jscript/tests enable_tests
22031 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22032 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22033 wine_fn_config_makefile dlls/kerberos enable_kerberos
22034 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22035 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22036 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22037 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22038 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22039 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22040 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22041 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22042 wine_fn_config_makefile dlls/ksuser enable_ksuser
22043 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22044 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22045 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22046 wine_fn_config_makefile dlls/loadperf enable_loadperf
22047 wine_fn_config_makefile dlls/localspl enable_localspl
22048 wine_fn_config_makefile dlls/localspl/tests enable_tests
22049 wine_fn_config_makefile dlls/localui enable_localui
22050 wine_fn_config_makefile dlls/localui/tests enable_tests
22051 wine_fn_config_makefile dlls/lz32 enable_lz32
22052 wine_fn_config_makefile dlls/lz32/tests enable_tests
22053 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22054 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22055 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22056 wine_fn_config_makefile dlls/mapistub enable_mapistub
22057 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22058 wine_fn_config_makefile dlls/mcicda enable_mcicda
22059 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22060 wine_fn_config_makefile dlls/mciseq enable_mciseq
22061 wine_fn_config_makefile dlls/mciwave enable_mciwave
22062 wine_fn_config_makefile dlls/mf enable_mf
22063 wine_fn_config_makefile dlls/mf/tests enable_tests
22064 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22065 wine_fn_config_makefile dlls/mferror enable_mferror
22066 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22067 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22068 wine_fn_config_makefile dlls/mfplat enable_mfplat
22069 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22070 wine_fn_config_makefile dlls/mfplay enable_mfplay
22071 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22072 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22073 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22074 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22075 wine_fn_config_makefile dlls/midimap enable_midimap
22076 wine_fn_config_makefile dlls/mlang enable_mlang
22077 wine_fn_config_makefile dlls/mlang/tests enable_tests
22078 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22079 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22080 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22081 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22082 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22083 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22084 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22085 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22086 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22087 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22088 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22089 wine_fn_config_makefile dlls/mpr enable_mpr
22090 wine_fn_config_makefile dlls/mpr/tests enable_tests
22091 wine_fn_config_makefile dlls/mprapi enable_mprapi
22092 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22093 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22094 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22095 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22096 wine_fn_config_makefile dlls/msado15 enable_msado15
22097 wine_fn_config_makefile dlls/msado15/tests enable_tests
22098 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22099 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22100 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22101 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22102 wine_fn_config_makefile dlls/mscms enable_mscms
22103 wine_fn_config_makefile dlls/mscms/tests enable_tests
22104 wine_fn_config_makefile dlls/mscoree enable_mscoree
22105 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22106 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22107 wine_fn_config_makefile dlls/msctf enable_msctf
22108 wine_fn_config_makefile dlls/msctf/tests enable_tests
22109 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22110 wine_fn_config_makefile dlls/msctfp enable_msctfp
22111 wine_fn_config_makefile dlls/msdaps enable_msdaps
22112 wine_fn_config_makefile dlls/msdasql enable_msdasql
22113 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22114 wine_fn_config_makefile dlls/msdelta enable_msdelta
22115 wine_fn_config_makefile dlls/msdmo enable_msdmo
22116 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22117 wine_fn_config_makefile dlls/msdrm enable_msdrm
22118 wine_fn_config_makefile dlls/msftedit enable_msftedit
22119 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22120 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22121 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22122 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22123 wine_fn_config_makefile dlls/mshtml enable_mshtml
22124 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22125 wine_fn_config_makefile dlls/msi enable_msi
22126 wine_fn_config_makefile dlls/msi/tests enable_tests
22127 wine_fn_config_makefile dlls/msident enable_msident
22128 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22129 wine_fn_config_makefile dlls/msimsg enable_msimsg
22130 wine_fn_config_makefile dlls/msimtf enable_msimtf
22131 wine_fn_config_makefile dlls/msisip enable_msisip
22132 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22133 wine_fn_config_makefile dlls/msls31 enable_msls31
22134 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22135 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22136 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22137 wine_fn_config_makefile dlls/msports enable_msports
22138 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22139 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22140 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22141 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22142 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22143 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22144 wine_fn_config_makefile dlls/mstask enable_mstask
22145 wine_fn_config_makefile dlls/mstask/tests enable_tests
22146 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22147 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22148 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22149 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22150 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22151 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22152 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22153 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22154 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22155 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22156 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22157 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22158 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22159 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22160 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22161 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22162 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22163 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22164 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22165 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22166 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22167 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22168 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22169 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22170 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22171 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22172 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22173 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22174 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22175 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22176 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22177 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22178 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22179 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22180 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22181 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22182 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22183 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22184 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22185 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22186 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22187 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22188 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22189 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22190 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22191 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22192 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22193 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22194 wine_fn_config_makefile dlls/mswsock enable_mswsock
22195 wine_fn_config_makefile dlls/msxml enable_msxml
22196 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22197 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22198 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22199 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22200 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22201 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22202 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22203 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22204 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22205 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22206 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22207 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22208 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22209 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22210 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22211 wine_fn_config_makefile dlls/netprofm enable_netprofm
22212 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22213 wine_fn_config_makefile dlls/netutils enable_netutils
22214 wine_fn_config_makefile dlls/newdev enable_newdev
22215 wine_fn_config_makefile dlls/ninput enable_ninput
22216 wine_fn_config_makefile dlls/ninput/tests enable_tests
22217 wine_fn_config_makefile dlls/normaliz enable_normaliz
22218 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22219 wine_fn_config_makefile dlls/npptools enable_npptools
22220 wine_fn_config_makefile dlls/nsi enable_nsi
22221 wine_fn_config_makefile dlls/nsi/tests enable_tests
22222 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22223 wine_fn_config_makefile dlls/ntdll enable_ntdll
22224 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22225 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22226 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22227 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22228 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22229 wine_fn_config_makefile dlls/ntprint enable_ntprint
22230 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22231 wine_fn_config_makefile dlls/objsel enable_objsel
22232 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22233 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22234 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22235 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22236 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22237 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22238 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22239 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22240 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22241 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22242 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22243 wine_fn_config_makefile dlls/ole32 enable_ole32
22244 wine_fn_config_makefile dlls/ole32/tests enable_tests
22245 wine_fn_config_makefile dlls/oleacc enable_oleacc
22246 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22247 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22248 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22249 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22250 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22251 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22252 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22253 wine_fn_config_makefile dlls/oledlg enable_oledlg
22254 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22255 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22256 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22257 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22258 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22259 wine_fn_config_makefile dlls/opcservices enable_opcservices
22260 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22261 wine_fn_config_makefile dlls/openal32 enable_openal32
22262 wine_fn_config_makefile dlls/opencl enable_opencl
22263 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22264 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22265 wine_fn_config_makefile dlls/packager enable_packager
22266 wine_fn_config_makefile dlls/packager/tests enable_tests
22267 wine_fn_config_makefile dlls/pdh enable_pdh
22268 wine_fn_config_makefile dlls/pdh/tests enable_tests
22269 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22270 wine_fn_config_makefile dlls/pidgen enable_pidgen
22271 wine_fn_config_makefile dlls/powrprof enable_powrprof
22272 wine_fn_config_makefile dlls/printui enable_printui
22273 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22274 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22275 wine_fn_config_makefile dlls/propsys enable_propsys
22276 wine_fn_config_makefile dlls/propsys/tests enable_tests
22277 wine_fn_config_makefile dlls/psapi enable_psapi
22278 wine_fn_config_makefile dlls/psapi/tests enable_tests
22279 wine_fn_config_makefile dlls/pstorec enable_pstorec
22280 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22281 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22282 wine_fn_config_makefile dlls/qasf enable_qasf
22283 wine_fn_config_makefile dlls/qasf/tests enable_tests
22284 wine_fn_config_makefile dlls/qcap enable_qcap
22285 wine_fn_config_makefile dlls/qcap/tests enable_tests
22286 wine_fn_config_makefile dlls/qdvd enable_qdvd
22287 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22288 wine_fn_config_makefile dlls/qedit enable_qedit
22289 wine_fn_config_makefile dlls/qedit/tests enable_tests
22290 wine_fn_config_makefile dlls/qmgr enable_qmgr
22291 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22292 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22293 wine_fn_config_makefile dlls/quartz enable_quartz
22294 wine_fn_config_makefile dlls/quartz/tests enable_tests
22295 wine_fn_config_makefile dlls/query enable_query
22296 wine_fn_config_makefile dlls/qwave enable_qwave
22297 wine_fn_config_makefile dlls/qwave/tests enable_tests
22298 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22299 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22300 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22301 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22302 wine_fn_config_makefile dlls/regapi enable_regapi
22303 wine_fn_config_makefile dlls/resutils enable_resutils
22304 wine_fn_config_makefile dlls/riched20 enable_riched20
22305 wine_fn_config_makefile dlls/riched20/tests enable_tests
22306 wine_fn_config_makefile dlls/riched32 enable_riched32
22307 wine_fn_config_makefile dlls/riched32/tests enable_tests
22308 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22309 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22310 wine_fn_config_makefile dlls/rsabase enable_rsabase
22311 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22312 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22313 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22314 wine_fn_config_makefile dlls/rtutils enable_rtutils
22315 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22316 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22317 wine_fn_config_makefile dlls/samlib enable_samlib
22318 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22319 wine_fn_config_makefile dlls/sapi enable_sapi
22320 wine_fn_config_makefile dlls/sapi/tests enable_tests
22321 wine_fn_config_makefile dlls/sas enable_sas
22322 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22323 wine_fn_config_makefile dlls/sccbase enable_sccbase
22324 wine_fn_config_makefile dlls/schannel enable_schannel
22325 wine_fn_config_makefile dlls/schannel/tests enable_tests
22326 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22327 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22328 wine_fn_config_makefile dlls/scrobj enable_scrobj
22329 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22330 wine_fn_config_makefile dlls/scrrun enable_scrrun
22331 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22332 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22333 wine_fn_config_makefile dlls/sechost enable_sechost
22334 wine_fn_config_makefile dlls/secur32 enable_secur32
22335 wine_fn_config_makefile dlls/secur32/tests enable_tests
22336 wine_fn_config_makefile dlls/security enable_security
22337 wine_fn_config_makefile dlls/sensapi enable_sensapi
22338 wine_fn_config_makefile dlls/serialui enable_serialui
22339 wine_fn_config_makefile dlls/serialui/tests enable_tests
22340 wine_fn_config_makefile dlls/setupapi enable_setupapi
22341 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22342 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22343 wine_fn_config_makefile dlls/sfc enable_sfc
22344 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22345 wine_fn_config_makefile dlls/shcore enable_shcore
22346 wine_fn_config_makefile dlls/shcore/tests enable_tests
22347 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22348 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22349 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22350 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22351 wine_fn_config_makefile dlls/shell32 enable_shell32
22352 wine_fn_config_makefile dlls/shell32/tests enable_tests
22353 wine_fn_config_makefile dlls/shfolder enable_shfolder
22354 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22355 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22356 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22357 wine_fn_config_makefile dlls/slc enable_slc
22358 wine_fn_config_makefile dlls/slc/tests enable_tests
22359 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22360 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22361 wine_fn_config_makefile dlls/softpub enable_softpub
22362 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22363 wine_fn_config_makefile dlls/spoolss enable_spoolss
22364 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22365 wine_fn_config_makefile dlls/sppc enable_sppc
22366 wine_fn_config_makefile dlls/srclient enable_srclient
22367 wine_fn_config_makefile dlls/srvcli enable_srvcli
22368 wine_fn_config_makefile dlls/sspicli enable_sspicli
22369 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22370 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22371 wine_fn_config_makefile dlls/sti enable_sti
22372 wine_fn_config_makefile dlls/sti/tests enable_tests
22373 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22374 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22375 wine_fn_config_makefile dlls/strmdll enable_strmdll
22376 wine_fn_config_makefile dlls/svrapi enable_svrapi
22377 wine_fn_config_makefile dlls/sxs enable_sxs
22378 wine_fn_config_makefile dlls/sxs/tests enable_tests
22379 wine_fn_config_makefile dlls/system.drv16 enable_win16
22380 wine_fn_config_makefile dlls/t2embed enable_t2embed
22381 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22382 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22383 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22384 wine_fn_config_makefile dlls/taskschd enable_taskschd
22385 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22386 wine_fn_config_makefile dlls/tbs enable_tbs
22387 wine_fn_config_makefile dlls/tdh enable_tdh
22388 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22389 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22390 wine_fn_config_makefile dlls/traffic enable_traffic
22391 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22392 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22393 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22394 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22395 wine_fn_config_makefile dlls/tzres enable_tzres
22396 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22397 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22398 wine_fn_config_makefile dlls/uianimation enable_uianimation
22399 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22400 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22401 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22402 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22403 wine_fn_config_makefile dlls/unicows enable_unicows
22404 wine_fn_config_makefile dlls/updspapi enable_updspapi
22405 wine_fn_config_makefile dlls/url enable_url
22406 wine_fn_config_makefile dlls/urlmon enable_urlmon
22407 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22408 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22409 wine_fn_config_makefile dlls/user.exe16 enable_win16
22410 wine_fn_config_makefile dlls/user32 enable_user32
22411 wine_fn_config_makefile dlls/user32/tests enable_tests
22412 wine_fn_config_makefile dlls/userenv enable_userenv
22413 wine_fn_config_makefile dlls/userenv/tests enable_tests
22414 wine_fn_config_makefile dlls/usp10 enable_usp10
22415 wine_fn_config_makefile dlls/usp10/tests enable_tests
22416 wine_fn_config_makefile dlls/utildll enable_utildll
22417 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22418 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22419 wine_fn_config_makefile dlls/vbscript enable_vbscript
22420 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22421 wine_fn_config_makefile dlls/vcomp enable_vcomp
22422 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22423 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22424 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22425 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22426 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22427 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22428 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22429 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22430 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22431 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22432 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22433 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22434 wine_fn_config_makefile dlls/version enable_version
22435 wine_fn_config_makefile dlls/version/tests enable_tests
22436 wine_fn_config_makefile dlls/vga enable_vga
22437 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22438 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22439 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22440 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22441 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22442 wine_fn_config_makefile dlls/vssapi enable_vssapi
22443 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22444 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22445 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22446 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22447 wine_fn_config_makefile dlls/w32skrnl enable_win16
22448 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22449 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22450 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22451 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22452 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22453 wine_fn_config_makefile dlls/wdscore enable_wdscore
22454 wine_fn_config_makefile dlls/webservices enable_webservices
22455 wine_fn_config_makefile dlls/webservices/tests enable_tests
22456 wine_fn_config_makefile dlls/websocket enable_websocket
22457 wine_fn_config_makefile dlls/wer enable_wer
22458 wine_fn_config_makefile dlls/wer/tests enable_tests
22459 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22460 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22461 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22462 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22463 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22464 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22465 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22466 wine_fn_config_makefile dlls/win32u enable_win32u
22467 wine_fn_config_makefile dlls/win32u/tests enable_tests
22468 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22469 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22470 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22471 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22472 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22473 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22474 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22475 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22476 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22477 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22478 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22479 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22480 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22481 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22482 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22483 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22484 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22485 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22486 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22487 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22488 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22489 wine_fn_config_makefile dlls/wined3d enable_wined3d
22490 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22491 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22492 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22493 wine_fn_config_makefile dlls/winemapi enable_winemapi
22494 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22495 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22496 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22497 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22498 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22499 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22500 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22501 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22502 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22503 wine_fn_config_makefile dlls/wing32 enable_wing32
22504 wine_fn_config_makefile dlls/winhttp enable_winhttp
22505 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22506 wine_fn_config_makefile dlls/wininet enable_wininet
22507 wine_fn_config_makefile dlls/wininet/tests enable_tests
22508 wine_fn_config_makefile dlls/winmm enable_winmm
22509 wine_fn_config_makefile dlls/winmm/tests enable_tests
22510 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22511 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22512 wine_fn_config_makefile dlls/winscard enable_winscard
22513 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22514 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22515 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22516 wine_fn_config_makefile dlls/winsta enable_winsta
22517 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22518 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22519 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22520 wine_fn_config_makefile dlls/wintrust enable_wintrust
22521 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22522 wine_fn_config_makefile dlls/winusb enable_winusb
22523 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22524 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22525 wine_fn_config_makefile dlls/wlanui enable_wlanui
22526 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22527 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22528 wine_fn_config_makefile dlls/wmasf enable_wmasf
22529 wine_fn_config_makefile dlls/wmi enable_wmi
22530 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22531 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22532 wine_fn_config_makefile dlls/wmp enable_wmp
22533 wine_fn_config_makefile dlls/wmp/tests enable_tests
22534 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22535 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22536 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22537 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22538 wine_fn_config_makefile dlls/wow32 enable_win16
22539 wine_fn_config_makefile dlls/wow64 enable_wow64
22540 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22541 wine_fn_config_makefile dlls/wow64win enable_wow64win
22542 wine_fn_config_makefile dlls/wpc enable_wpc
22543 wine_fn_config_makefile dlls/wpc/tests enable_tests
22544 wine_fn_config_makefile dlls/wpcap enable_wpcap
22545 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22546 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22547 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22548 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22549 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22550 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22551 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22552 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22553 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22554 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22555 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22556 wine_fn_config_makefile dlls/wuapi enable_wuapi
22557 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22558 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22559 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22560 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22561 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22562 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22563 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22564 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22565 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22566 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22567 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22568 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22569 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22570 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22571 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22572 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22573 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22574 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22575 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22576 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22577 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22578 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22579 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22580 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22581 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22582 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22583 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22584 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22585 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22586 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22587 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22588 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22589 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22590 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22591 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22592 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22593 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22594 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22595 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22596 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22597 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22598 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22599 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22600 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22601 wine_fn_config_makefile dlls/xmllite enable_xmllite
22602 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22603 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22604 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22605 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22606 wine_fn_config_makefile fonts enable_fonts
22607 wine_fn_config_makefile include enable_include
22608 wine_fn_config_makefile libs/adsiid enable_adsiid
22609 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22610 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22611 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22612 wine_fn_config_makefile libs/dxguid enable_dxguid
22613 wine_fn_config_makefile libs/faudio enable_faudio
22614 wine_fn_config_makefile libs/gsm enable_gsm
22615 wine_fn_config_makefile libs/jpeg enable_jpeg
22616 wine_fn_config_makefile libs/jxr enable_jxr
22617 wine_fn_config_makefile libs/lcms2 enable_lcms2
22618 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22619 wine_fn_config_makefile libs/mpg123 enable_mpg123
22620 wine_fn_config_makefile libs/png enable_png
22621 wine_fn_config_makefile libs/strmbase enable_strmbase
22622 wine_fn_config_makefile libs/strmiids enable_strmiids
22623 wine_fn_config_makefile libs/tiff enable_tiff
22624 wine_fn_config_makefile libs/uuid enable_uuid
22625 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22626 wine_fn_config_makefile libs/wine enable_wine
22627 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22628 wine_fn_config_makefile libs/xml2 enable_xml2
22629 wine_fn_config_makefile libs/xslt enable_xslt
22630 wine_fn_config_makefile libs/zlib enable_zlib
22631 wine_fn_config_makefile loader enable_loader
22632 wine_fn_config_makefile nls enable_nls
22633 wine_fn_config_makefile po enable_po
22634 wine_fn_config_makefile programs/arp enable_arp
22635 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22636 wine_fn_config_makefile programs/attrib enable_attrib
22637 wine_fn_config_makefile programs/cabarc enable_cabarc
22638 wine_fn_config_makefile programs/cacls enable_cacls
22639 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22640 wine_fn_config_makefile programs/clock enable_clock
22641 wine_fn_config_makefile programs/cmd enable_cmd
22642 wine_fn_config_makefile programs/cmd/tests enable_tests
22643 wine_fn_config_makefile programs/conhost enable_conhost
22644 wine_fn_config_makefile programs/conhost/tests enable_tests
22645 wine_fn_config_makefile programs/control enable_control
22646 wine_fn_config_makefile programs/cscript enable_cscript
22647 wine_fn_config_makefile programs/dism enable_dism
22648 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22649 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22650 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22651 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22652 wine_fn_config_makefile programs/eject enable_eject
22653 wine_fn_config_makefile programs/expand enable_expand
22654 wine_fn_config_makefile programs/explorer enable_explorer
22655 wine_fn_config_makefile programs/extrac32 enable_extrac32
22656 wine_fn_config_makefile programs/fc enable_fc
22657 wine_fn_config_makefile programs/find enable_find
22658 wine_fn_config_makefile programs/find/tests enable_tests
22659 wine_fn_config_makefile programs/findstr enable_findstr
22660 wine_fn_config_makefile programs/fsutil enable_fsutil
22661 wine_fn_config_makefile programs/fsutil/tests enable_tests
22662 wine_fn_config_makefile programs/hh enable_hh
22663 wine_fn_config_makefile programs/hostname enable_hostname
22664 wine_fn_config_makefile programs/icacls enable_icacls
22665 wine_fn_config_makefile programs/icinfo enable_icinfo
22666 wine_fn_config_makefile programs/iexplore enable_iexplore
22667 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22668 wine_fn_config_makefile programs/lodctr enable_lodctr
22669 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22670 wine_fn_config_makefile programs/mshta enable_mshta
22671 wine_fn_config_makefile programs/msidb enable_msidb
22672 wine_fn_config_makefile programs/msiexec enable_msiexec
22673 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22674 wine_fn_config_makefile programs/net enable_net
22675 wine_fn_config_makefile programs/netsh enable_netsh
22676 wine_fn_config_makefile programs/netstat enable_netstat
22677 wine_fn_config_makefile programs/ngen enable_ngen
22678 wine_fn_config_makefile programs/notepad enable_notepad
22679 wine_fn_config_makefile programs/oleview enable_oleview
22680 wine_fn_config_makefile programs/ping enable_ping
22681 wine_fn_config_makefile programs/plugplay enable_plugplay
22682 wine_fn_config_makefile programs/powershell enable_powershell
22683 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22684 wine_fn_config_makefile programs/progman enable_progman
22685 wine_fn_config_makefile programs/reg enable_reg
22686 wine_fn_config_makefile programs/reg/tests enable_tests
22687 wine_fn_config_makefile programs/regasm enable_regasm
22688 wine_fn_config_makefile programs/regedit enable_regedit
22689 wine_fn_config_makefile programs/regedit/tests enable_tests
22690 wine_fn_config_makefile programs/regini enable_regini
22691 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22692 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22693 wine_fn_config_makefile programs/robocopy enable_robocopy
22694 wine_fn_config_makefile programs/rpcss enable_rpcss
22695 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22696 wine_fn_config_makefile programs/rundll32 enable_rundll32
22697 wine_fn_config_makefile programs/sc enable_sc
22698 wine_fn_config_makefile programs/schtasks enable_schtasks
22699 wine_fn_config_makefile programs/schtasks/tests enable_tests
22700 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22701 wine_fn_config_makefile programs/secedit enable_secedit
22702 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22703 wine_fn_config_makefile programs/services enable_services
22704 wine_fn_config_makefile programs/services/tests enable_tests
22705 wine_fn_config_makefile programs/shutdown enable_shutdown
22706 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22707 wine_fn_config_makefile programs/start enable_start
22708 wine_fn_config_makefile programs/subst enable_subst
22709 wine_fn_config_makefile programs/svchost enable_svchost
22710 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22711 wine_fn_config_makefile programs/taskkill enable_taskkill
22712 wine_fn_config_makefile programs/tasklist enable_tasklist
22713 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22714 wine_fn_config_makefile programs/termsv enable_termsv
22715 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22716 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22717 wine_fn_config_makefile programs/view enable_view
22718 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22719 wine_fn_config_makefile programs/where enable_where
22720 wine_fn_config_makefile programs/whoami enable_whoami
22721 wine_fn_config_makefile programs/wineboot enable_wineboot
22722 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22723 wine_fn_config_makefile programs/winecfg enable_winecfg
22724 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22725 wine_fn_config_makefile programs/winedbg enable_winedbg
22726 wine_fn_config_makefile programs/winedevice enable_winedevice
22727 wine_fn_config_makefile programs/winefile enable_winefile
22728 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22729 wine_fn_config_makefile programs/winemine enable_winemine
22730 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22731 wine_fn_config_makefile programs/winepath enable_winepath
22732 wine_fn_config_makefile programs/winetest enable_winetest
22733 wine_fn_config_makefile programs/winevdm enable_win16
22734 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22735 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22736 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22737 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22738 wine_fn_config_makefile programs/winver enable_winver
22739 wine_fn_config_makefile programs/wmic enable_wmic
22740 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22741 wine_fn_config_makefile programs/wordpad enable_wordpad
22742 wine_fn_config_makefile programs/write enable_write
22743 wine_fn_config_makefile programs/wscript enable_wscript
22744 wine_fn_config_makefile programs/wscript/tests enable_tests
22745 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22746 wine_fn_config_makefile programs/wusa enable_wusa
22747 wine_fn_config_makefile programs/xcopy enable_xcopy
22748 wine_fn_config_makefile programs/xcopy/tests enable_tests
22749 wine_fn_config_makefile server enable_server
22750 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22751 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22752 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22753 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22754 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22755 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22756 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22757 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22758 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22761 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22762 wine_fn_append_file CONFIGURE_TARGETS "tags"
22763 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22764 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22765 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22766 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22767 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22768 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22770 if test "x$enable_tools" != xno
22771 then
22772 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22773 ac_config_commands="$ac_config_commands tools/makedep"
22777 ac_config_commands="$ac_config_commands Makefile"
22781 SHELL=/bin/sh
22784 wine_fn_append_rule "all: wine
22785 @echo \"Wine build complete.\"
22786 .INIT: Makefile
22787 .MAKEFILEDEPS:
22788 all: Makefile
22789 Makefile: config.status \$(MAKEDEP)
22790 @./config.status Makefile
22791 depend: \$(MAKEDEP)
22792 \$(MAKEDEP)$makedep_flags"
22795 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22796 @./config.status --recheck
22797 include/config.h: include/stamp-h
22798 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22799 @./config.status include/config.h include/stamp-h"
22801 if test "x$enable_maintainer_mode" = xyes
22802 then
22803 wine_fn_append_rule "configure: configure.ac aclocal.m4
22804 autoconf --warnings=all
22805 include/config.h.in: include/stamp-h.in
22806 include/stamp-h.in: configure.ac aclocal.m4
22807 autoheader --warnings=all
22808 @echo timestamp > \$@"
22811 if test "x$enable_tools" != xno
22812 then
22813 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22814 @./config.status tools/makedep
22815 Makefile: tools/makedep$ac_exeext"
22816 else
22817 wine_fn_append_rule "\$(MAKEDEP):
22818 @echo \"You need to run make in $toolsdir first\" && false"
22822 if test -n "$with_wine64"
22823 then
22824 case "$with_wine64" in
22825 /*) reldir="" ;;
22826 *) reldir="../" ;;
22827 esac
22828 rm -f fonts server 2>/dev/null
22829 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22830 loader/wine64 loader/wine64-preloader:
22831 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22832 $with_wine64/loader/wine:
22833 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22834 $with_wine64/loader/wine-preloader:
22835 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22836 clean::
22837 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22838 else
22839 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22840 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22841 fonts \
22842 loader/wine.inf \
22843 nls \
22844 programs/msidb/msidb \
22845 programs/msiexec/msiexec \
22846 programs/notepad/notepad \
22847 programs/regedit/regedit \
22848 programs/regsvr32/regsvr32 \
22849 programs/wineboot/wineboot \
22850 programs/winecfg/winecfg \
22851 programs/wineconsole/wineconsole \
22852 programs/winedbg/winedbg \
22853 programs/winefile/winefile \
22854 programs/winemine/winemine \
22855 programs/winepath/winepath \
22856 server/wineserver"
22858 case $host_os in
22859 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22860 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22861 esac
22865 wine_fn_append_rule "distclean:: clean
22866 rm -rf autom4te.cache
22867 maintainer-clean::
22868 rm -f configure include/config.h.in"
22871 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22872 @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)
22873 programs/winetest/build.rc: dummy
22874 @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)
22875 programs/winetest/build.nfo:
22876 @-\$(CC) -v 2>\$@
22877 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
22878 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22879 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22882 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22884 wine_fn_append_rule "TAGS etags:
22885 rm -f TAGS
22886 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22887 tags ctags:
22888 rm -f tags
22889 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22890 dummy:
22891 .PHONY: depend dummy install-manpages"
22893 printf "%s\n" " done" >&6
22894 cat >confcache <<\_ACEOF
22895 # This file is a shell script that caches the results of configure
22896 # tests run on this system so they can be shared between configure
22897 # scripts and configure runs, see configure's option --config-cache.
22898 # It is not useful on other systems. If it contains results you don't
22899 # want to keep, you may remove or edit it.
22901 # config.status only pays attention to the cache file if you give it
22902 # the --recheck option to rerun configure.
22904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22906 # following values.
22908 _ACEOF
22910 # The following way of writing the cache mishandles newlines in values,
22911 # but we know of no workaround that is simple, portable, and efficient.
22912 # So, we kill variables containing newlines.
22913 # Ultrix sh set writes to stderr and can't be redirected directly,
22914 # and sets the high bit in the cache file unless we assign to the vars.
22916 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22917 eval ac_val=\$$ac_var
22918 case $ac_val in #(
22919 *${as_nl}*)
22920 case $ac_var in #(
22921 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22922 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22923 esac
22924 case $ac_var in #(
22925 _ | IFS | as_nl) ;; #(
22926 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22927 *) { eval $ac_var=; unset $ac_var;} ;;
22928 esac ;;
22929 esac
22930 done
22932 (set) 2>&1 |
22933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22934 *${as_nl}ac_space=\ *)
22935 # `set' does not quote correctly, so add quotes: double-quote
22936 # substitution turns \\\\ into \\, and sed turns \\ into \.
22937 sed -n \
22938 "s/'/'\\\\''/g;
22939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22940 ;; #(
22942 # `set' quotes correctly as required by POSIX, so do not add quotes.
22943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22945 esac |
22946 sort
22948 sed '
22949 /^ac_cv_env_/b end
22950 t clear
22951 :clear
22952 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22953 t end
22954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22955 :end' >>confcache
22956 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22957 if test -w "$cache_file"; then
22958 if test "x$cache_file" != "x/dev/null"; then
22959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22960 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22961 if test ! -f "$cache_file" || test -h "$cache_file"; then
22962 cat confcache >"$cache_file"
22963 else
22964 case $cache_file in #(
22965 */* | ?:*)
22966 mv -f confcache "$cache_file"$$ &&
22967 mv -f "$cache_file"$$ "$cache_file" ;; #(
22969 mv -f confcache "$cache_file" ;;
22970 esac
22973 else
22974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22975 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22978 rm -f confcache
22980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22981 # Let make expand exec_prefix.
22982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22984 DEFS=-DHAVE_CONFIG_H
22986 ac_libobjs=
22987 ac_ltlibobjs=
22989 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22990 # 1. Remove the extension, and $U if already installed.
22991 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22992 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22993 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22994 # will be set to the directory where LIBOBJS objects are built.
22995 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22996 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22997 done
22998 LIBOBJS=$ac_libobjs
23000 LTLIBOBJS=$ac_ltlibobjs
23004 : "${CONFIG_STATUS=./config.status}"
23005 ac_write_fail=0
23006 ac_clean_files_save=$ac_clean_files
23007 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23009 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23010 as_write_fail=0
23011 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23012 #! $SHELL
23013 # Generated by $as_me.
23014 # Run this file to recreate the current configuration.
23015 # Compiler output produced by configure, useful for debugging
23016 # configure, is in config.log if it exists.
23018 debug=false
23019 ac_cs_recheck=false
23020 ac_cs_silent=false
23022 SHELL=\${CONFIG_SHELL-$SHELL}
23023 export SHELL
23024 _ASEOF
23025 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23026 ## -------------------- ##
23027 ## M4sh Initialization. ##
23028 ## -------------------- ##
23030 # Be more Bourne compatible
23031 DUALCASE=1; export DUALCASE # for MKS sh
23032 as_nop=:
23033 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23034 then :
23035 emulate sh
23036 NULLCMD=:
23037 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23038 # is contrary to our usage. Disable this feature.
23039 alias -g '${1+"$@"}'='"$@"'
23040 setopt NO_GLOB_SUBST
23041 else $as_nop
23042 case `(set -o) 2>/dev/null` in #(
23043 *posix*) :
23044 set -o posix ;; #(
23045 *) :
23047 esac
23052 # Reset variables that may have inherited troublesome values from
23053 # the environment.
23055 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23056 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23057 # side effect of setting IFS to empty, thus disabling word splitting.)
23058 # Quoting is to prevent editors from complaining about space-tab.
23059 as_nl='
23061 export as_nl
23062 IFS=" "" $as_nl"
23064 PS1='$ '
23065 PS2='> '
23066 PS4='+ '
23068 # Ensure predictable behavior from utilities with locale-dependent output.
23069 LC_ALL=C
23070 export LC_ALL
23071 LANGUAGE=C
23072 export LANGUAGE
23074 # We cannot yet rely on "unset" to work, but we need these variables
23075 # to be unset--not just set to an empty or harmless value--now, to
23076 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23077 # also avoids known problems related to "unset" and subshell syntax
23078 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23079 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23080 do eval test \${$as_var+y} \
23081 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23082 done
23084 # Ensure that fds 0, 1, and 2 are open.
23085 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23086 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23087 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23089 # The user is always right.
23090 if ${PATH_SEPARATOR+false} :; then
23091 PATH_SEPARATOR=:
23092 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23093 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23094 PATH_SEPARATOR=';'
23099 # Find who we are. Look in the path if we contain no directory separator.
23100 as_myself=
23101 case $0 in #((
23102 *[\\/]* ) as_myself=$0 ;;
23103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23104 for as_dir in $PATH
23106 IFS=$as_save_IFS
23107 case $as_dir in #(((
23108 '') as_dir=./ ;;
23109 */) ;;
23110 *) as_dir=$as_dir/ ;;
23111 esac
23112 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23113 done
23114 IFS=$as_save_IFS
23117 esac
23118 # We did not find ourselves, most probably we were run as `sh COMMAND'
23119 # in which case we are not to be found in the path.
23120 if test "x$as_myself" = x; then
23121 as_myself=$0
23123 if test ! -f "$as_myself"; then
23124 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23125 exit 1
23130 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23131 # ----------------------------------------
23132 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23133 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23134 # script with STATUS, using 1 if that was 0.
23135 as_fn_error ()
23137 as_status=$1; test $as_status -eq 0 && as_status=1
23138 if test "$4"; then
23139 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23142 printf "%s\n" "$as_me: error: $2" >&2
23143 as_fn_exit $as_status
23144 } # as_fn_error
23148 # as_fn_set_status STATUS
23149 # -----------------------
23150 # Set $? to STATUS, without forking.
23151 as_fn_set_status ()
23153 return $1
23154 } # as_fn_set_status
23156 # as_fn_exit STATUS
23157 # -----------------
23158 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23159 as_fn_exit ()
23161 set +e
23162 as_fn_set_status $1
23163 exit $1
23164 } # as_fn_exit
23166 # as_fn_unset VAR
23167 # ---------------
23168 # Portably unset VAR.
23169 as_fn_unset ()
23171 { eval $1=; unset $1;}
23173 as_unset=as_fn_unset
23175 # as_fn_append VAR VALUE
23176 # ----------------------
23177 # Append the text in VALUE to the end of the definition contained in VAR. Take
23178 # advantage of any shell optimizations that allow amortized linear growth over
23179 # repeated appends, instead of the typical quadratic growth present in naive
23180 # implementations.
23181 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23182 then :
23183 eval 'as_fn_append ()
23185 eval $1+=\$2
23187 else $as_nop
23188 as_fn_append ()
23190 eval $1=\$$1\$2
23192 fi # as_fn_append
23194 # as_fn_arith ARG...
23195 # ------------------
23196 # Perform arithmetic evaluation on the ARGs, and store the result in the
23197 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23198 # must be portable across $(()) and expr.
23199 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23200 then :
23201 eval 'as_fn_arith ()
23203 as_val=$(( $* ))
23205 else $as_nop
23206 as_fn_arith ()
23208 as_val=`expr "$@" || test $? -eq 1`
23210 fi # as_fn_arith
23213 if expr a : '\(a\)' >/dev/null 2>&1 &&
23214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23215 as_expr=expr
23216 else
23217 as_expr=false
23220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23221 as_basename=basename
23222 else
23223 as_basename=false
23226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23227 as_dirname=dirname
23228 else
23229 as_dirname=false
23232 as_me=`$as_basename -- "$0" ||
23233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23234 X"$0" : 'X\(//\)$' \| \
23235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23236 printf "%s\n" X/"$0" |
23237 sed '/^.*\/\([^/][^/]*\)\/*$/{
23238 s//\1/
23241 /^X\/\(\/\/\)$/{
23242 s//\1/
23245 /^X\/\(\/\).*/{
23246 s//\1/
23249 s/.*/./; q'`
23251 # Avoid depending upon Character Ranges.
23252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23255 as_cr_digits='0123456789'
23256 as_cr_alnum=$as_cr_Letters$as_cr_digits
23259 # Determine whether it's possible to make 'echo' print without a newline.
23260 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23261 # for compatibility with existing Makefiles.
23262 ECHO_C= ECHO_N= ECHO_T=
23263 case `echo -n x` in #(((((
23264 -n*)
23265 case `echo 'xy\c'` in
23266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23267 xy) ECHO_C='\c';;
23268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23269 ECHO_T=' ';;
23270 esac;;
23272 ECHO_N='-n';;
23273 esac
23275 # For backward compatibility with old third-party macros, we provide
23276 # the shell variables $as_echo and $as_echo_n. New code should use
23277 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23278 as_echo='printf %s\n'
23279 as_echo_n='printf %s'
23281 rm -f conf$$ conf$$.exe conf$$.file
23282 if test -d conf$$.dir; then
23283 rm -f conf$$.dir/conf$$.file
23284 else
23285 rm -f conf$$.dir
23286 mkdir conf$$.dir 2>/dev/null
23288 if (echo >conf$$.file) 2>/dev/null; then
23289 if ln -s conf$$.file conf$$ 2>/dev/null; then
23290 as_ln_s='ln -s'
23291 # ... but there are two gotchas:
23292 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23293 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23294 # In both cases, we have to default to `cp -pR'.
23295 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23296 as_ln_s='cp -pR'
23297 elif ln conf$$.file conf$$ 2>/dev/null; then
23298 as_ln_s=ln
23299 else
23300 as_ln_s='cp -pR'
23302 else
23303 as_ln_s='cp -pR'
23305 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23306 rmdir conf$$.dir 2>/dev/null
23309 # as_fn_mkdir_p
23310 # -------------
23311 # Create "$as_dir" as a directory, including parents if necessary.
23312 as_fn_mkdir_p ()
23315 case $as_dir in #(
23316 -*) as_dir=./$as_dir;;
23317 esac
23318 test -d "$as_dir" || eval $as_mkdir_p || {
23319 as_dirs=
23320 while :; do
23321 case $as_dir in #(
23322 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23323 *) as_qdir=$as_dir;;
23324 esac
23325 as_dirs="'$as_qdir' $as_dirs"
23326 as_dir=`$as_dirname -- "$as_dir" ||
23327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23328 X"$as_dir" : 'X\(//\)[^/]' \| \
23329 X"$as_dir" : 'X\(//\)$' \| \
23330 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23331 printf "%s\n" X"$as_dir" |
23332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23333 s//\1/
23336 /^X\(\/\/\)[^/].*/{
23337 s//\1/
23340 /^X\(\/\/\)$/{
23341 s//\1/
23344 /^X\(\/\).*/{
23345 s//\1/
23348 s/.*/./; q'`
23349 test -d "$as_dir" && break
23350 done
23351 test -z "$as_dirs" || eval "mkdir $as_dirs"
23352 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23355 } # as_fn_mkdir_p
23356 if mkdir -p . 2>/dev/null; then
23357 as_mkdir_p='mkdir -p "$as_dir"'
23358 else
23359 test -d ./-p && rmdir ./-p
23360 as_mkdir_p=false
23364 # as_fn_executable_p FILE
23365 # -----------------------
23366 # Test if FILE is an executable regular file.
23367 as_fn_executable_p ()
23369 test -f "$1" && test -x "$1"
23370 } # as_fn_executable_p
23371 as_test_x='test -x'
23372 as_executable_p=as_fn_executable_p
23374 # Sed expression to map a string onto a valid CPP name.
23375 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23377 # Sed expression to map a string onto a valid variable name.
23378 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23381 exec 6>&1
23382 ## ----------------------------------- ##
23383 ## Main body of $CONFIG_STATUS script. ##
23384 ## ----------------------------------- ##
23385 _ASEOF
23386 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23389 # Save the log message, to keep $0 and so on meaningful, and to
23390 # report actual input values of CONFIG_FILES etc. instead of their
23391 # values after options handling.
23392 ac_log="
23393 This file was extended by Wine $as_me 7.0, which was
23394 generated by GNU Autoconf 2.71. Invocation command line was
23396 CONFIG_FILES = $CONFIG_FILES
23397 CONFIG_HEADERS = $CONFIG_HEADERS
23398 CONFIG_LINKS = $CONFIG_LINKS
23399 CONFIG_COMMANDS = $CONFIG_COMMANDS
23400 $ $0 $@
23402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23405 _ACEOF
23408 case $ac_config_headers in *"
23409 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23410 esac
23413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23414 # Files that config.status was made for.
23415 config_headers="$ac_config_headers"
23416 config_links="$ac_config_links"
23417 config_commands="$ac_config_commands"
23419 _ACEOF
23421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23422 ac_cs_usage="\
23423 \`$as_me' instantiates files and other configuration actions
23424 from templates according to the current configuration. Unless the files
23425 and actions are specified as TAGs, all are instantiated by default.
23427 Usage: $0 [OPTION]... [TAG]...
23429 -h, --help print this help, then exit
23430 -V, --version print version number and configuration settings, then exit
23431 --config print configuration, then exit
23432 -q, --quiet, --silent
23433 do not print progress messages
23434 -d, --debug don't remove temporary files
23435 --recheck update $as_me by reconfiguring in the same conditions
23436 --header=FILE[:TEMPLATE]
23437 instantiate the configuration header FILE
23439 Configuration headers:
23440 $config_headers
23442 Configuration links:
23443 $config_links
23445 Configuration commands:
23446 $config_commands
23448 Report bugs to <wine-devel@winehq.org>.
23449 Wine home page: <https://www.winehq.org>."
23451 _ACEOF
23452 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23453 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23455 ac_cs_config='$ac_cs_config_escaped'
23456 ac_cs_version="\\
23457 Wine config.status 7.0
23458 configured by $0, generated by GNU Autoconf 2.71,
23459 with options \\"\$ac_cs_config\\"
23461 Copyright (C) 2021 Free Software Foundation, Inc.
23462 This config.status script is free software; the Free Software Foundation
23463 gives unlimited permission to copy, distribute and modify it."
23465 ac_pwd='$ac_pwd'
23466 srcdir='$srcdir'
23467 test -n "\$AWK" || AWK=awk
23468 _ACEOF
23470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23471 # The default lists apply if the user does not specify any file.
23472 ac_need_defaults=:
23473 while test $# != 0
23475 case $1 in
23476 --*=?*)
23477 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23478 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23479 ac_shift=:
23481 --*=)
23482 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23483 ac_optarg=
23484 ac_shift=:
23487 ac_option=$1
23488 ac_optarg=$2
23489 ac_shift=shift
23491 esac
23493 case $ac_option in
23494 # Handling of the options.
23495 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23496 ac_cs_recheck=: ;;
23497 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23498 printf "%s\n" "$ac_cs_version"; exit ;;
23499 --config | --confi | --conf | --con | --co | --c )
23500 printf "%s\n" "$ac_cs_config"; exit ;;
23501 --debug | --debu | --deb | --de | --d | -d )
23502 debug=: ;;
23503 --header | --heade | --head | --hea )
23504 $ac_shift
23505 case $ac_optarg in
23506 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23507 esac
23508 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23509 ac_need_defaults=false;;
23510 --he | --h)
23511 # Conflict between --help and --header
23512 as_fn_error $? "ambiguous option: \`$1'
23513 Try \`$0 --help' for more information.";;
23514 --help | --hel | -h )
23515 printf "%s\n" "$ac_cs_usage"; exit ;;
23516 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23517 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23518 ac_cs_silent=: ;;
23520 # This is an error.
23521 -*) as_fn_error $? "unrecognized option: \`$1'
23522 Try \`$0 --help' for more information." ;;
23524 *) as_fn_append ac_config_targets " $1"
23525 ac_need_defaults=false ;;
23527 esac
23528 shift
23529 done
23531 ac_configure_extra_args=
23533 if $ac_cs_silent; then
23534 exec 6>/dev/null
23535 ac_configure_extra_args="$ac_configure_extra_args --silent"
23538 _ACEOF
23539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23540 if \$ac_cs_recheck; then
23541 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23542 shift
23543 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23544 CONFIG_SHELL='$SHELL'
23545 export CONFIG_SHELL
23546 exec "\$@"
23549 _ACEOF
23550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23551 exec 5>>config.log
23553 echo
23554 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23555 ## Running $as_me. ##
23556 _ASBOX
23557 printf "%s\n" "$ac_log"
23558 } >&5
23560 _ACEOF
23561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23563 # INIT-COMMANDS
23565 wine_fn_output_makedep ()
23567 as_dir=tools; as_fn_mkdir_p
23568 $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
23570 wine_fn_output_makefile ()
23572 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23573 # This Makefile understands the following targets:
23575 # all (default): build wine
23576 # clean: remove all intermediate files
23577 # distclean: also remove all files created by configure
23578 # test: run tests
23579 # testclean: clean test results to force running all tests again
23580 # install-lib: install libraries needed to run applications
23581 # install-dev: install development environment
23582 # install: install everything
23583 # uninstall: uninstall everything
23584 # ctags: create a tags file for vim and others.
23585 # etags: create a TAGS file for Emacs.
23587 SHELL = $SHELL
23588 PATH_SEPARATOR = $PATH_SEPARATOR
23589 PACKAGE_NAME = $PACKAGE_NAME
23590 PACKAGE_TARNAME = $PACKAGE_TARNAME
23591 PACKAGE_VERSION = $PACKAGE_VERSION
23592 PACKAGE_STRING = $PACKAGE_STRING
23593 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23594 PACKAGE_URL = $PACKAGE_URL
23595 exec_prefix = $exec_prefix
23596 prefix = $prefix
23597 program_transform_name = $program_transform_name
23598 bindir = $bindir
23599 sbindir = $sbindir
23600 libexecdir = $libexecdir
23601 datarootdir = $datarootdir
23602 datadir = $datadir
23603 sysconfdir = $sysconfdir
23604 sharedstatedir = $sharedstatedir
23605 localstatedir = $localstatedir
23606 runstatedir = $runstatedir
23607 includedir = $includedir
23608 oldincludedir = $oldincludedir
23609 docdir = $docdir
23610 infodir = $infodir
23611 htmldir = $htmldir
23612 dvidir = $dvidir
23613 pdfdir = $pdfdir
23614 psdir = $psdir
23615 libdir = $libdir
23616 localedir = $localedir
23617 mandir = $mandir
23618 DEFS = $DEFS
23619 ECHO_C = $ECHO_C
23620 ECHO_N = $ECHO_N
23621 ECHO_T = $ECHO_T
23622 LIBS = $LIBS
23623 build_alias = $build_alias
23624 host_alias = $host_alias
23625 target_alias = $target_alias
23626 system_dllpath = $system_dllpath
23627 build = $build
23628 build_cpu = $build_cpu
23629 build_vendor = $build_vendor
23630 build_os = $build_os
23631 host = $host
23632 host_cpu = $host_cpu
23633 host_vendor = $host_vendor
23634 host_os = $host_os
23635 dlldir = $dlldir
23636 fontdir = $fontdir
23637 nlsdir = $nlsdir
23638 srcdir = $srcdir
23639 SET_MAKE = $SET_MAKE
23640 CC = $CC
23641 CFLAGS = $CFLAGS
23642 LDFLAGS = $LDFLAGS
23643 CPPFLAGS = $CPPFLAGS
23644 ac_ct_CC = $ac_ct_CC
23645 EXEEXT = $EXEEXT
23646 OBJEXT = $OBJEXT
23647 CXX = $CXX
23648 CXXFLAGS = $CXXFLAGS
23649 ac_ct_CXX = $ac_ct_CXX
23650 CPPBIN = $CPPBIN
23651 LD = $LD
23652 TARGETFLAGS = $TARGETFLAGS
23653 toolsext = $toolsext
23654 toolsdir = $toolsdir
23655 MAKEDEP = $MAKEDEP
23656 RUNTESTFLAGS = $RUNTESTFLAGS
23657 SED_CMD = $SED_CMD
23658 FLEX = $FLEX
23659 BISON = $BISON
23660 AR = $AR
23661 ac_ct_AR = $ac_ct_AR
23662 STRIP = $STRIP
23663 RANLIB = $RANLIB
23664 LN_S = $LN_S
23665 GREP = $GREP
23666 EGREP = $EGREP
23667 LDCONFIG = $LDCONFIG
23668 MSGFMT = $MSGFMT
23669 PKG_CONFIG = $PKG_CONFIG
23670 FONTFORGE = $FONTFORGE
23671 RSVG = $RSVG
23672 CONVERT = $CONVERT
23673 ICOTOOL = $ICOTOOL
23674 I386_LIBS = $I386_LIBS
23675 OPENGL_LIBS = $OPENGL_LIBS
23676 DLLFLAGS = $DLLFLAGS
23677 LDDLLFLAGS = $LDDLLFLAGS
23678 LDEXECFLAGS = $LDEXECFLAGS
23679 EXTRACFLAGS = $EXTRACFLAGS
23680 UNIXDLLFLAGS = $UNIXDLLFLAGS
23681 UNIXLDFLAGS = $UNIXLDFLAGS
23682 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23683 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23684 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23685 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23686 LDD = $LDD
23687 OTOOL = $OTOOL
23688 READELF = $READELF
23689 SUBDIRS = $SUBDIRS
23690 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23691 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23692 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23693 DLLTOOL = $DLLTOOL
23694 OBJC = $OBJC
23695 OBJCFLAGS = $OBJCFLAGS
23696 ac_ct_OBJC = $ac_ct_OBJC
23697 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23698 IOKIT_LIBS = $IOKIT_LIBS
23699 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23700 CORESERVICES_LIBS = $CORESERVICES_LIBS
23701 APPKIT_LIBS = $APPKIT_LIBS
23702 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23703 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23704 SECURITY_LIBS = $SECURITY_LIBS
23705 COREAUDIO_LIBS = $COREAUDIO_LIBS
23706 OPENAL_LIBS = $OPENAL_LIBS
23707 OPENCL_LIBS = $OPENCL_LIBS
23708 CARBON_LIBS = $CARBON_LIBS
23709 METAL_LIBS = $METAL_LIBS
23710 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23711 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23712 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23713 PRELINK = $PRELINK
23714 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23715 CROSSTARGET = $CROSSTARGET
23716 CROSSCC = $CROSSCC
23717 CROSSCFLAGS = $CROSSCFLAGS
23718 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23719 CROSSLDFLAGS = $CROSSLDFLAGS
23720 DELAYLOADFLAG = $DELAYLOADFLAG
23721 CROSSDEBUG = $CROSSDEBUG
23722 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23723 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23724 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23725 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23726 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23727 GSM_PE_LIBS = $GSM_PE_LIBS
23728 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23729 JPEG_PE_LIBS = $JPEG_PE_LIBS
23730 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23731 JXR_PE_LIBS = $JXR_PE_LIBS
23732 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23733 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23734 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23735 MPG123_PE_LIBS = $MPG123_PE_LIBS
23736 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23737 PNG_PE_LIBS = $PNG_PE_LIBS
23738 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23739 TIFF_PE_LIBS = $TIFF_PE_LIBS
23740 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23741 XML2_PE_LIBS = $XML2_PE_LIBS
23742 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23743 XSLT_PE_LIBS = $XSLT_PE_LIBS
23744 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23745 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23746 PTHREAD_LIBS = $PTHREAD_LIBS
23747 XMKMF = $XMKMF
23748 CPP = $CPP
23749 X_CFLAGS = $X_CFLAGS
23750 X_PRE_LIBS = $X_PRE_LIBS
23751 X_LIBS = $X_LIBS
23752 X_EXTRA_LIBS = $X_EXTRA_LIBS
23753 PCAP_LIBS = $PCAP_LIBS
23754 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23755 INOTIFY_LIBS = $INOTIFY_LIBS
23756 DBUS_CFLAGS = $DBUS_CFLAGS
23757 DBUS_LIBS = $DBUS_LIBS
23758 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23759 GNUTLS_LIBS = $GNUTLS_LIBS
23760 SANE_CFLAGS = $SANE_CFLAGS
23761 SANE_LIBS = $SANE_LIBS
23762 USB_CFLAGS = $USB_CFLAGS
23763 USB_LIBS = $USB_LIBS
23764 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23765 GPHOTO2_LIBS = $GPHOTO2_LIBS
23766 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23767 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23768 RESOLV_LIBS = $RESOLV_LIBS
23769 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23770 FREETYPE_LIBS = $FREETYPE_LIBS
23771 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23772 PULSE_CFLAGS = $PULSE_CFLAGS
23773 PULSE_LIBS = $PULSE_LIBS
23774 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23775 GSTREAMER_LIBS = $GSTREAMER_LIBS
23776 ALSA_LIBS = $ALSA_LIBS
23777 OSS4_CFLAGS = $OSS4_CFLAGS
23778 OSS4_LIBS = $OSS4_LIBS
23779 UDEV_CFLAGS = $UDEV_CFLAGS
23780 UDEV_LIBS = $UDEV_LIBS
23781 UNWIND_CFLAGS = $UNWIND_CFLAGS
23782 UNWIND_LIBS = $UNWIND_LIBS
23783 SDL2_CFLAGS = $SDL2_CFLAGS
23784 SDL2_LIBS = $SDL2_LIBS
23785 CAPI20_CFLAGS = $CAPI20_CFLAGS
23786 CAPI20_LIBS = $CAPI20_LIBS
23787 CUPS_CFLAGS = $CUPS_CFLAGS
23788 CUPS_LIBS = $CUPS_LIBS
23789 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23790 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23791 KRB5_CFLAGS = $KRB5_CFLAGS
23792 KRB5_LIBS = $KRB5_LIBS
23793 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23794 GSSAPI_LIBS = $GSSAPI_LIBS
23795 PROCSTAT_LIBS = $PROCSTAT_LIBS
23796 NETAPI_CFLAGS = $NETAPI_CFLAGS
23797 NETAPI_LIBS = $NETAPI_LIBS
23798 VKD3D_CFLAGS = $VKD3D_CFLAGS
23799 VKD3D_LIBS = $VKD3D_LIBS
23800 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23801 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23802 MSVCRTFLAGS = $MSVCRTFLAGS
23803 RT_LIBS = $RT_LIBS
23804 LDAP_CFLAGS = $LDAP_CFLAGS
23805 LDAP_LIBS = $LDAP_LIBS
23806 TAGSFLAGS = $TAGSFLAGS
23807 LIBOBJS = $LIBOBJS
23808 LTLIBOBJS = $LTLIBOBJS
23809 $SET_MAKE
23810 $wine_rules
23811 _WINE_EOF
23812 as_fn_error $? "could not create Makefile" "$LINENO" 5
23815 _ACEOF
23817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23819 # Handling of arguments.
23820 for ac_config_target in $ac_config_targets
23822 case $ac_config_target in
23823 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23824 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23825 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23826 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23827 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23828 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23830 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23831 esac
23832 done
23835 # If the user did not use the arguments to specify the items to instantiate,
23836 # then the envvar interface is used. Set only those that are not.
23837 # We use the long form for the default assignment because of an extremely
23838 # bizarre bug on SunOS 4.1.3.
23839 if $ac_need_defaults; then
23840 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23841 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23842 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23845 # Have a temporary directory for convenience. Make it in the build tree
23846 # simply because there is no reason against having it here, and in addition,
23847 # creating and moving files from /tmp can sometimes cause problems.
23848 # Hook for its removal unless debugging.
23849 # Note that there is a small window in which the directory will not be cleaned:
23850 # after its creation but before its name has been assigned to `$tmp'.
23851 $debug ||
23853 tmp= ac_tmp=
23854 trap 'exit_status=$?
23855 : "${ac_tmp:=$tmp}"
23856 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23858 trap 'as_fn_exit 1' 1 2 13 15
23860 # Create a (secure) tmp directory for tmp files.
23863 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23864 test -d "$tmp"
23865 } ||
23867 tmp=./conf$$-$RANDOM
23868 (umask 077 && mkdir "$tmp")
23869 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23870 ac_tmp=$tmp
23872 # Set up the scripts for CONFIG_HEADERS section.
23873 # No need to generate them if there are no CONFIG_HEADERS.
23874 # This happens for instance with `./config.status Makefile'.
23875 if test -n "$CONFIG_HEADERS"; then
23876 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23877 BEGIN {
23878 _ACEOF
23880 # Transform confdefs.h into an awk script `defines.awk', embedded as
23881 # here-document in config.status, that substitutes the proper values into
23882 # config.h.in to produce config.h.
23884 # Create a delimiter string that does not exist in confdefs.h, to ease
23885 # handling of long lines.
23886 ac_delim='%!_!# '
23887 for ac_last_try in false false :; do
23888 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23889 if test -z "$ac_tt"; then
23890 break
23891 elif $ac_last_try; then
23892 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23893 else
23894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23896 done
23898 # For the awk script, D is an array of macro values keyed by name,
23899 # likewise P contains macro parameters if any. Preserve backslash
23900 # newline sequences.
23902 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23903 sed -n '
23904 s/.\{148\}/&'"$ac_delim"'/g
23905 t rset
23906 :rset
23907 s/^[ ]*#[ ]*define[ ][ ]*/ /
23908 t def
23910 :def
23911 s/\\$//
23912 t bsnl
23913 s/["\\]/\\&/g
23914 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23915 D["\1"]=" \3"/p
23916 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23918 :bsnl
23919 s/["\\]/\\&/g
23920 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23921 D["\1"]=" \3\\\\\\n"\\/p
23922 t cont
23923 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23924 t cont
23926 :cont
23928 s/.\{148\}/&'"$ac_delim"'/g
23929 t clear
23930 :clear
23931 s/\\$//
23932 t bsnlc
23933 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23935 :bsnlc
23936 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23937 b cont
23938 ' <confdefs.h | sed '
23939 s/'"$ac_delim"'/"\\\
23940 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23943 for (key in D) D_is_set[key] = 1
23944 FS = "\a"
23946 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23947 line = \$ 0
23948 split(line, arg, " ")
23949 if (arg[1] == "#") {
23950 defundef = arg[2]
23951 mac1 = arg[3]
23952 } else {
23953 defundef = substr(arg[1], 2)
23954 mac1 = arg[2]
23956 split(mac1, mac2, "(") #)
23957 macro = mac2[1]
23958 prefix = substr(line, 1, index(line, defundef) - 1)
23959 if (D_is_set[macro]) {
23960 # Preserve the white space surrounding the "#".
23961 print prefix "define", macro P[macro] D[macro]
23962 next
23963 } else {
23964 # Replace #undef with comments. This is necessary, for example,
23965 # in the case of _POSIX_SOURCE, which is predefined and required
23966 # on some systems where configure will not decide to define it.
23967 if (defundef == "undef") {
23968 print "/*", prefix defundef, macro, "*/"
23969 next
23973 { print }
23974 _ACAWK
23975 _ACEOF
23976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23977 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23978 fi # test -n "$CONFIG_HEADERS"
23981 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23982 shift
23983 for ac_tag
23985 case $ac_tag in
23986 :[FHLC]) ac_mode=$ac_tag; continue;;
23987 esac
23988 case $ac_mode$ac_tag in
23989 :[FHL]*:*);;
23990 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23991 :[FH]-) ac_tag=-:-;;
23992 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23993 esac
23994 ac_save_IFS=$IFS
23995 IFS=:
23996 set x $ac_tag
23997 IFS=$ac_save_IFS
23998 shift
23999 ac_file=$1
24000 shift
24002 case $ac_mode in
24003 :L) ac_source=$1;;
24004 :[FH])
24005 ac_file_inputs=
24006 for ac_f
24008 case $ac_f in
24009 -) ac_f="$ac_tmp/stdin";;
24010 *) # Look for the file first in the build tree, then in the source tree
24011 # (if the path is not absolute). The absolute path cannot be DOS-style,
24012 # because $ac_f cannot contain `:'.
24013 test -f "$ac_f" ||
24014 case $ac_f in
24015 [\\/$]*) false;;
24016 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24017 esac ||
24018 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24019 esac
24020 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24021 as_fn_append ac_file_inputs " '$ac_f'"
24022 done
24024 # Let's still pretend it is `configure' which instantiates (i.e., don't
24025 # use $as_me), people would be surprised to read:
24026 # /* config.h. Generated by config.status. */
24027 configure_input='Generated from '`
24028 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24029 `' by configure.'
24030 if test x"$ac_file" != x-; then
24031 configure_input="$ac_file. $configure_input"
24032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24033 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24035 # Neutralize special characters interpreted by sed in replacement strings.
24036 case $configure_input in #(
24037 *\&* | *\|* | *\\* )
24038 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24039 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24040 *) ac_sed_conf_input=$configure_input;;
24041 esac
24043 case $ac_tag in
24044 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24046 esac
24048 esac
24050 ac_dir=`$as_dirname -- "$ac_file" ||
24051 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24052 X"$ac_file" : 'X\(//\)[^/]' \| \
24053 X"$ac_file" : 'X\(//\)$' \| \
24054 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24055 printf "%s\n" X"$ac_file" |
24056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24057 s//\1/
24060 /^X\(\/\/\)[^/].*/{
24061 s//\1/
24064 /^X\(\/\/\)$/{
24065 s//\1/
24068 /^X\(\/\).*/{
24069 s//\1/
24072 s/.*/./; q'`
24073 as_dir="$ac_dir"; as_fn_mkdir_p
24074 ac_builddir=.
24076 case "$ac_dir" in
24077 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24079 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24080 # A ".." for each directory in $ac_dir_suffix.
24081 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24082 case $ac_top_builddir_sub in
24083 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24084 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24085 esac ;;
24086 esac
24087 ac_abs_top_builddir=$ac_pwd
24088 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24089 # for backward compatibility:
24090 ac_top_builddir=$ac_top_build_prefix
24092 case $srcdir in
24093 .) # We are building in place.
24094 ac_srcdir=.
24095 ac_top_srcdir=$ac_top_builddir_sub
24096 ac_abs_top_srcdir=$ac_pwd ;;
24097 [\\/]* | ?:[\\/]* ) # Absolute name.
24098 ac_srcdir=$srcdir$ac_dir_suffix;
24099 ac_top_srcdir=$srcdir
24100 ac_abs_top_srcdir=$srcdir ;;
24101 *) # Relative name.
24102 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24103 ac_top_srcdir=$ac_top_build_prefix$srcdir
24104 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24105 esac
24106 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24109 case $ac_mode in
24113 # CONFIG_HEADER
24115 if test x"$ac_file" != x-; then
24117 printf "%s\n" "/* $configure_input */" >&1 \
24118 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24119 } >"$ac_tmp/config.h" \
24120 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24121 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24123 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24124 else
24125 rm -f "$ac_file"
24126 mv "$ac_tmp/config.h" "$ac_file" \
24127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24129 else
24130 printf "%s\n" "/* $configure_input */" >&1 \
24131 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24132 || as_fn_error $? "could not create -" "$LINENO" 5
24137 # CONFIG_LINK
24140 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24142 else
24143 # Prefer the file from the source tree if names are identical.
24144 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24145 ac_source=$srcdir/$ac_source
24148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24149 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24151 if test ! -r "$ac_source"; then
24152 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24154 rm -f "$ac_file"
24156 # Try a relative symlink, then a hard link, then a copy.
24157 case $ac_source in
24158 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24159 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24160 esac
24161 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24162 ln "$ac_source" "$ac_file" 2>/dev/null ||
24163 cp -p "$ac_source" "$ac_file" ||
24164 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24167 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24168 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24170 esac
24173 case $ac_file$ac_mode in
24174 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24175 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24176 "Makefile":C) wine_fn_output_makefile Makefile ;;
24178 esac
24179 done # for ac_tag
24182 as_fn_exit 0
24183 _ACEOF
24184 ac_clean_files=$ac_clean_files_save
24186 test $ac_write_fail = 0 ||
24187 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24190 # configure is writing to config.log, and then calls config.status.
24191 # config.status does its own redirection, appending to config.log.
24192 # Unfortunately, on DOS this fails, as config.log is still kept open
24193 # by configure, so config.status won't be able to write to it; its
24194 # output is simply discarded. So we exec the FD to /dev/null,
24195 # effectively closing config.log, so it can be properly (re)opened and
24196 # appended to by config.status. When coming back to configure, we
24197 # need to make the FD available again.
24198 if test "$no_create" != yes; then
24199 ac_cs_success=:
24200 ac_config_status_args=
24201 test "$silent" = yes &&
24202 ac_config_status_args="$ac_config_status_args --quiet"
24203 exec 5>/dev/null
24204 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24205 exec 5>>config.log
24206 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24207 # would make configure fail if this is the last instruction.
24208 $ac_cs_success || as_fn_exit 1
24210 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24212 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24216 if test "$no_create" = "yes"
24217 then
24218 exit 0
24221 ac_save_IFS="$IFS"
24222 if test "x$wine_notices" != x; then
24223 echo >&6
24224 IFS="|"
24225 for msg in $wine_notices; do
24226 IFS="$ac_save_IFS"
24227 if ${msg:+false} :
24228 then :
24230 else $as_nop
24231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24232 printf "%s\n" "$as_me: $msg" >&6;}
24234 done
24236 IFS="|"
24237 for msg in $wine_warnings; do
24238 IFS="$ac_save_IFS"
24239 if ${msg:+false} :
24240 then :
24242 else $as_nop
24243 echo >&2
24244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24245 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24247 done
24248 IFS="$ac_save_IFS"
24250 printf "%s\n" "
24251 $as_me: Finished. Do '${ac_make}' to compile Wine.
24252 " >&6