wevtapi: Enable compilation with long types.
[wine.git] / configure
blob5dadd827dbd25414302fd25037550fa71104835d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.2.
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.2'
615 PACKAGE_STRING='Wine 7.2'
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_ansi_l2_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_0
1163 enable_api_ms_win_security_lsalookup_l1_1_1
1164 enable_api_ms_win_security_lsalookup_l2_1_0
1165 enable_api_ms_win_security_lsalookup_l2_1_1
1166 enable_api_ms_win_security_lsapolicy_l1_1_0
1167 enable_api_ms_win_security_provider_l1_1_0
1168 enable_api_ms_win_security_sddl_l1_1_0
1169 enable_api_ms_win_security_systemfunctions_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_0
1171 enable_api_ms_win_service_core_l1_1_1
1172 enable_api_ms_win_service_management_l1_1_0
1173 enable_api_ms_win_service_management_l2_1_0
1174 enable_api_ms_win_service_private_l1_1_1
1175 enable_api_ms_win_service_winsvc_l1_1_0
1176 enable_api_ms_win_service_winsvc_l1_2_0
1177 enable_api_ms_win_shcore_obsolete_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_0
1179 enable_api_ms_win_shcore_scaling_l1_1_1
1180 enable_api_ms_win_shcore_stream_l1_1_0
1181 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1182 enable_api_ms_win_shcore_thread_l1_1_0
1183 enable_api_ms_win_shell_shellcom_l1_1_0
1184 enable_api_ms_win_shell_shellfolders_l1_1_0
1185 enable_apisetschema
1186 enable_apphelp
1187 enable_appwiz_cpl
1188 enable_atl
1189 enable_atl100
1190 enable_atl110
1191 enable_atl80
1192 enable_atl90
1193 enable_atlthunk
1194 enable_atmlib
1195 enable_authz
1196 enable_avicap32
1197 enable_avifil32
1198 enable_avrt
1199 enable_bcrypt
1200 enable_bluetoothapis
1201 enable_browseui
1202 enable_bthprops_cpl
1203 enable_cabinet
1204 enable_capi2032
1205 enable_cards
1206 enable_cdosys
1207 enable_cfgmgr32
1208 enable_clusapi
1209 enable_cng_sys
1210 enable_combase
1211 enable_comcat
1212 enable_comctl32
1213 enable_comdlg32
1214 enable_compstui
1215 enable_comsvcs
1216 enable_concrt140
1217 enable_connect
1218 enable_credui
1219 enable_crtdll
1220 enable_crypt32
1221 enable_cryptdlg
1222 enable_cryptdll
1223 enable_cryptext
1224 enable_cryptnet
1225 enable_cryptsp
1226 enable_cryptui
1227 enable_ctapi32
1228 enable_ctl3d32
1229 enable_d2d1
1230 enable_d3d10
1231 enable_d3d10_1
1232 enable_d3d10core
1233 enable_d3d11
1234 enable_d3d12
1235 enable_d3d8
1236 enable_d3d8thk
1237 enable_d3d9
1238 enable_d3dcompiler_33
1239 enable_d3dcompiler_34
1240 enable_d3dcompiler_35
1241 enable_d3dcompiler_36
1242 enable_d3dcompiler_37
1243 enable_d3dcompiler_38
1244 enable_d3dcompiler_39
1245 enable_d3dcompiler_40
1246 enable_d3dcompiler_41
1247 enable_d3dcompiler_42
1248 enable_d3dcompiler_43
1249 enable_d3dcompiler_46
1250 enable_d3dcompiler_47
1251 enable_d3dim
1252 enable_d3dim700
1253 enable_d3drm
1254 enable_d3dx10_33
1255 enable_d3dx10_34
1256 enable_d3dx10_35
1257 enable_d3dx10_36
1258 enable_d3dx10_37
1259 enable_d3dx10_38
1260 enable_d3dx10_39
1261 enable_d3dx10_40
1262 enable_d3dx10_41
1263 enable_d3dx10_42
1264 enable_d3dx10_43
1265 enable_d3dx11_42
1266 enable_d3dx11_43
1267 enable_d3dx9_24
1268 enable_d3dx9_25
1269 enable_d3dx9_26
1270 enable_d3dx9_27
1271 enable_d3dx9_28
1272 enable_d3dx9_29
1273 enable_d3dx9_30
1274 enable_d3dx9_31
1275 enable_d3dx9_32
1276 enable_d3dx9_33
1277 enable_d3dx9_34
1278 enable_d3dx9_35
1279 enable_d3dx9_36
1280 enable_d3dx9_37
1281 enable_d3dx9_38
1282 enable_d3dx9_39
1283 enable_d3dx9_40
1284 enable_d3dx9_41
1285 enable_d3dx9_42
1286 enable_d3dx9_43
1287 enable_d3dxof
1288 enable_davclnt
1289 enable_dbgeng
1290 enable_dbghelp
1291 enable_dciman32
1292 enable_dcomp
1293 enable_ddraw
1294 enable_ddrawex
1295 enable_devenum
1296 enable_dhcpcsvc
1297 enable_dhcpcsvc6
1298 enable_dhtmled_ocx
1299 enable_diasymreader
1300 enable_difxapi
1301 enable_dinput
1302 enable_dinput8
1303 enable_directmanipulation
1304 enable_dispex
1305 enable_dmband
1306 enable_dmcompos
1307 enable_dmime
1308 enable_dmloader
1309 enable_dmscript
1310 enable_dmstyle
1311 enable_dmsynth
1312 enable_dmusic
1313 enable_dmusic32
1314 enable_dnsapi
1315 enable_dplay
1316 enable_dplayx
1317 enable_dpnaddr
1318 enable_dpnet
1319 enable_dpnhpast
1320 enable_dpnhupnp
1321 enable_dpnlobby
1322 enable_dpvoice
1323 enable_dpwsockx
1324 enable_drmclien
1325 enable_dsdmo
1326 enable_dsound
1327 enable_dsquery
1328 enable_dssenh
1329 enable_dsuiext
1330 enable_dswave
1331 enable_dwmapi
1332 enable_dwrite
1333 enable_dx8vb
1334 enable_dxdiagn
1335 enable_dxgi
1336 enable_dxtrans
1337 enable_dxva2
1338 enable_esent
1339 enable_evr
1340 enable_explorerframe
1341 enable_ext_ms_win_authz_context_l1_1_0
1342 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1343 enable_ext_ms_win_dwmapi_ext_l1_1_0
1344 enable_ext_ms_win_gdi_dc_create_l1_1_0
1345 enable_ext_ms_win_gdi_dc_create_l1_1_1
1346 enable_ext_ms_win_gdi_dc_l1_2_0
1347 enable_ext_ms_win_gdi_devcaps_l1_1_0
1348 enable_ext_ms_win_gdi_draw_l1_1_0
1349 enable_ext_ms_win_gdi_draw_l1_1_1
1350 enable_ext_ms_win_gdi_font_l1_1_0
1351 enable_ext_ms_win_gdi_font_l1_1_1
1352 enable_ext_ms_win_gdi_render_l1_1_0
1353 enable_ext_ms_win_kernel32_package_current_l1_1_0
1354 enable_ext_ms_win_kernel32_package_l1_1_1
1355 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1356 enable_ext_ms_win_ntuser_draw_l1_1_0
1357 enable_ext_ms_win_ntuser_gui_l1_1_0
1358 enable_ext_ms_win_ntuser_gui_l1_3_0
1359 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1360 enable_ext_ms_win_ntuser_message_l1_1_0
1361 enable_ext_ms_win_ntuser_message_l1_1_1
1362 enable_ext_ms_win_ntuser_misc_l1_1_0
1363 enable_ext_ms_win_ntuser_misc_l1_2_0
1364 enable_ext_ms_win_ntuser_misc_l1_5_1
1365 enable_ext_ms_win_ntuser_mouse_l1_1_0
1366 enable_ext_ms_win_ntuser_private_l1_1_1
1367 enable_ext_ms_win_ntuser_private_l1_3_1
1368 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1369 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1370 enable_ext_ms_win_ntuser_window_l1_1_0
1371 enable_ext_ms_win_ntuser_window_l1_1_1
1372 enable_ext_ms_win_ntuser_window_l1_1_4
1373 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1374 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1375 enable_ext_ms_win_oleacc_l1_1_0
1376 enable_ext_ms_win_ras_rasapi32_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1378 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1379 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1384 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1385 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1386 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1387 enable_ext_ms_win_security_credui_l1_1_0
1388 enable_ext_ms_win_security_cryptui_l1_1_0
1389 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1390 enable_ext_ms_win_shell_comdlg32_l1_1_0
1391 enable_ext_ms_win_shell_shell32_l1_2_0
1392 enable_ext_ms_win_uxtheme_themes_l1_1_0
1393 enable_faultrep
1394 enable_feclient
1395 enable_fltlib
1396 enable_fltmgr_sys
1397 enable_fntcache
1398 enable_fontsub
1399 enable_fusion
1400 enable_fwpuclnt
1401 enable_gameux
1402 enable_gamingtcui
1403 enable_gdi32
1404 enable_gdiplus
1405 enable_glu32
1406 enable_gphoto2_ds
1407 enable_gpkcsp
1408 enable_hal
1409 enable_hhctrl_ocx
1410 enable_hid
1411 enable_hidclass_sys
1412 enable_hidparse_sys
1413 enable_hlink
1414 enable_hnetcfg
1415 enable_http_sys
1416 enable_httpapi
1417 enable_iccvid
1418 enable_icmp
1419 enable_ieframe
1420 enable_ieproxy
1421 enable_imaadp32_acm
1422 enable_imagehlp
1423 enable_imm32
1424 enable_inetcomm
1425 enable_inetcpl_cpl
1426 enable_inetmib1
1427 enable_infosoft
1428 enable_initpki
1429 enable_inkobj
1430 enable_inseng
1431 enable_iphlpapi
1432 enable_iprop
1433 enable_irprops_cpl
1434 enable_itircl
1435 enable_itss
1436 enable_joy_cpl
1437 enable_jscript
1438 enable_jsproxy
1439 enable_kerberos
1440 enable_kernel32
1441 enable_kernelbase
1442 enable_ksecdd_sys
1443 enable_ksproxy_ax
1444 enable_ksuser
1445 enable_ktmw32
1446 enable_l3codeca_acm
1447 enable_light_msstyles
1448 enable_loadperf
1449 enable_localspl
1450 enable_localui
1451 enable_lz32
1452 enable_mapi32
1453 enable_mapistub
1454 enable_mciavi32
1455 enable_mcicda
1456 enable_mciqtz32
1457 enable_mciseq
1458 enable_mciwave
1459 enable_mf
1460 enable_mf3216
1461 enable_mferror
1462 enable_mfmediaengine
1463 enable_mfplat
1464 enable_mfplay
1465 enable_mfreadwrite
1466 enable_mgmtapi
1467 enable_midimap
1468 enable_mlang
1469 enable_mmcndmgr
1470 enable_mmdevapi
1471 enable_mountmgr_sys
1472 enable_mp3dmod
1473 enable_mpr
1474 enable_mprapi
1475 enable_msacm32_drv
1476 enable_msacm32
1477 enable_msado15
1478 enable_msadp32_acm
1479 enable_msasn1
1480 enable_mscat32
1481 enable_mscms
1482 enable_mscoree
1483 enable_mscorwks
1484 enable_msctf
1485 enable_msctfmonitor
1486 enable_msctfp
1487 enable_msdaps
1488 enable_msdasql
1489 enable_msdelta
1490 enable_msdmo
1491 enable_msdrm
1492 enable_msftedit
1493 enable_msg711_acm
1494 enable_msgsm32_acm
1495 enable_mshtml_tlb
1496 enable_mshtml
1497 enable_msi
1498 enable_msident
1499 enable_msimg32
1500 enable_msimsg
1501 enable_msimtf
1502 enable_msisip
1503 enable_msisys_ocx
1504 enable_msls31
1505 enable_msnet32
1506 enable_mspatcha
1507 enable_msports
1508 enable_msrle32
1509 enable_msscript_ocx
1510 enable_mssign32
1511 enable_mssip32
1512 enable_mstask
1513 enable_msv1_0
1514 enable_msvcirt
1515 enable_msvcm80
1516 enable_msvcm90
1517 enable_msvcp100
1518 enable_msvcp110
1519 enable_msvcp120
1520 enable_msvcp120_app
1521 enable_msvcp140
1522 enable_msvcp140_1
1523 enable_msvcp140_atomic_wait
1524 enable_msvcp60
1525 enable_msvcp70
1526 enable_msvcp71
1527 enable_msvcp80
1528 enable_msvcp90
1529 enable_msvcp_win
1530 enable_msvcr100
1531 enable_msvcr110
1532 enable_msvcr120
1533 enable_msvcr120_app
1534 enable_msvcr70
1535 enable_msvcr71
1536 enable_msvcr80
1537 enable_msvcr90
1538 enable_msvcrt
1539 enable_msvcrt20
1540 enable_msvcrt40
1541 enable_msvcrtd
1542 enable_msvfw32
1543 enable_msvidc32
1544 enable_mswsock
1545 enable_msxml
1546 enable_msxml2
1547 enable_msxml3
1548 enable_msxml4
1549 enable_msxml6
1550 enable_mtxdm
1551 enable_ncrypt
1552 enable_nddeapi
1553 enable_ndis_sys
1554 enable_netapi32
1555 enable_netcfgx
1556 enable_netio_sys
1557 enable_netprofm
1558 enable_netutils
1559 enable_newdev
1560 enable_ninput
1561 enable_normaliz
1562 enable_npmshtml
1563 enable_npptools
1564 enable_nsi
1565 enable_nsiproxy_sys
1566 enable_ntdll
1567 enable_ntdsapi
1568 enable_ntoskrnl_exe
1569 enable_ntprint
1570 enable_objsel
1571 enable_odbc32
1572 enable_odbcbcp
1573 enable_odbccp32
1574 enable_odbccu32
1575 enable_ole32
1576 enable_oleacc
1577 enable_oleaut32
1578 enable_olecli32
1579 enable_oledb32
1580 enable_oledlg
1581 enable_olepro32
1582 enable_olesvr32
1583 enable_olethk32
1584 enable_opcservices
1585 enable_openal32
1586 enable_opencl
1587 enable_opengl32
1588 enable_packager
1589 enable_pdh
1590 enable_photometadatahandler
1591 enable_pidgen
1592 enable_powrprof
1593 enable_printui
1594 enable_prntvpt
1595 enable_propsys
1596 enable_psapi
1597 enable_pstorec
1598 enable_pwrshplugin
1599 enable_qasf
1600 enable_qcap
1601 enable_qdvd
1602 enable_qedit
1603 enable_qmgr
1604 enable_qmgrprxy
1605 enable_quartz
1606 enable_query
1607 enable_qwave
1608 enable_rasapi32
1609 enable_rasdlg
1610 enable_regapi
1611 enable_resutils
1612 enable_riched20
1613 enable_riched32
1614 enable_rpcrt4
1615 enable_rsabase
1616 enable_rsaenh
1617 enable_rstrtmgr
1618 enable_rtutils
1619 enable_rtworkq
1620 enable_samlib
1621 enable_sane_ds
1622 enable_sapi
1623 enable_sas
1624 enable_scarddlg
1625 enable_sccbase
1626 enable_schannel
1627 enable_schedsvc
1628 enable_scrobj
1629 enable_scrrun
1630 enable_scsiport_sys
1631 enable_sechost
1632 enable_secur32
1633 enable_security
1634 enable_sensapi
1635 enable_serialui
1636 enable_setupapi
1637 enable_sfc
1638 enable_sfc_os
1639 enable_shcore
1640 enable_shdoclc
1641 enable_shdocvw
1642 enable_shell32
1643 enable_shfolder
1644 enable_shlwapi
1645 enable_slbcsp
1646 enable_slc
1647 enable_snmpapi
1648 enable_softpub
1649 enable_spoolss
1650 enable_sppc
1651 enable_srclient
1652 enable_srvcli
1653 enable_sspicli
1654 enable_stdole2_tlb
1655 enable_stdole32_tlb
1656 enable_sti
1657 enable_strmdll
1658 enable_svrapi
1659 enable_sxs
1660 enable_t2embed
1661 enable_tapi32
1662 enable_taskschd
1663 enable_tbs
1664 enable_tdh
1665 enable_tdi_sys
1666 enable_traffic
1667 enable_twain_32
1668 enable_tzres
1669 enable_ucrtbase
1670 enable_uianimation
1671 enable_uiautomationcore
1672 enable_uiribbon
1673 enable_unicows
1674 enable_updspapi
1675 enable_url
1676 enable_urlmon
1677 enable_usbd_sys
1678 enable_user32
1679 enable_userenv
1680 enable_usp10
1681 enable_utildll
1682 enable_uxtheme
1683 enable_vbscript
1684 enable_vcomp
1685 enable_vcomp100
1686 enable_vcomp110
1687 enable_vcomp120
1688 enable_vcomp140
1689 enable_vcomp90
1690 enable_vcruntime140
1691 enable_vcruntime140_1
1692 enable_vdmdbg
1693 enable_version
1694 enable_vga
1695 enable_virtdisk
1696 enable_vssapi
1697 enable_vulkan_1
1698 enable_wbemdisp
1699 enable_wbemprox
1700 enable_wdscore
1701 enable_webservices
1702 enable_websocket
1703 enable_wer
1704 enable_wevtapi
1705 enable_wevtsvc
1706 enable_wiaservc
1707 enable_wimgapi
1708 enable_win32u
1709 enable_windows_devices_enumeration
1710 enable_windows_gaming_input
1711 enable_windows_globalization
1712 enable_windows_media_devices
1713 enable_windows_media_speech
1714 enable_windowscodecs
1715 enable_windowscodecsext
1716 enable_winealsa_drv
1717 enable_wineandroid_drv
1718 enable_winebus_sys
1719 enable_winecoreaudio_drv
1720 enable_winecrt0
1721 enable_wined3d
1722 enable_winegstreamer
1723 enable_winehid_sys
1724 enable_winemac_drv
1725 enable_winemapi
1726 enable_wineoss_drv
1727 enable_wineps_drv
1728 enable_winepulse_drv
1729 enable_wineusb_sys
1730 enable_winevulkan
1731 enable_winex11_drv
1732 enable_winexinput_sys
1733 enable_wing32
1734 enable_winhttp
1735 enable_wininet
1736 enable_winmm
1737 enable_winnls32
1738 enable_winscard
1739 enable_winspool_drv
1740 enable_winsta
1741 enable_wintab32
1742 enable_wintrust
1743 enable_winusb
1744 enable_wlanapi
1745 enable_wlanui
1746 enable_wldap32
1747 enable_wmadmod
1748 enable_wmasf
1749 enable_wmi
1750 enable_wmiutils
1751 enable_wmp
1752 enable_wmphoto
1753 enable_wmvcore
1754 enable_wnaspi32
1755 enable_wow64
1756 enable_wow64cpu
1757 enable_wow64win
1758 enable_wpc
1759 enable_wpcap
1760 enable_ws2_32
1761 enable_wsdapi
1762 enable_wshom_ocx
1763 enable_wsnmp32
1764 enable_wsock32
1765 enable_wtsapi32
1766 enable_wuapi
1767 enable_wuaueng
1768 enable_x3daudio1_0
1769 enable_x3daudio1_1
1770 enable_x3daudio1_2
1771 enable_x3daudio1_3
1772 enable_x3daudio1_4
1773 enable_x3daudio1_5
1774 enable_x3daudio1_6
1775 enable_x3daudio1_7
1776 enable_xactengine2_0
1777 enable_xactengine2_4
1778 enable_xactengine2_7
1779 enable_xactengine2_9
1780 enable_xactengine3_0
1781 enable_xactengine3_1
1782 enable_xactengine3_2
1783 enable_xactengine3_3
1784 enable_xactengine3_4
1785 enable_xactengine3_5
1786 enable_xactengine3_6
1787 enable_xactengine3_7
1788 enable_xapofx1_1
1789 enable_xapofx1_2
1790 enable_xapofx1_3
1791 enable_xapofx1_4
1792 enable_xapofx1_5
1793 enable_xaudio2_0
1794 enable_xaudio2_1
1795 enable_xaudio2_2
1796 enable_xaudio2_3
1797 enable_xaudio2_4
1798 enable_xaudio2_5
1799 enable_xaudio2_6
1800 enable_xaudio2_7
1801 enable_xaudio2_8
1802 enable_xaudio2_9
1803 enable_xinput1_1
1804 enable_xinput1_2
1805 enable_xinput1_3
1806 enable_xinput1_4
1807 enable_xinput9_1_0
1808 enable_xmllite
1809 enable_xolehlp
1810 enable_xpsprint
1811 enable_xpssvcs
1812 enable_fonts
1813 enable_include
1814 enable_adsiid
1815 enable_dmoguids
1816 enable_dxerr8
1817 enable_dxerr9
1818 enable_dxguid
1819 enable_faudio
1820 enable_gsm
1821 enable_jpeg
1822 enable_jxr
1823 enable_lcms2
1824 enable_mfuuid
1825 enable_mpg123
1826 enable_png
1827 enable_strmbase
1828 enable_strmiids
1829 enable_tiff
1830 enable_uuid
1831 enable_wbemuuid
1832 enable_wine
1833 enable_wmcodecdspuuid
1834 enable_xml2
1835 enable_xslt
1836 enable_zlib
1837 enable_loader
1838 enable_nls
1839 enable_po
1840 enable_arp
1841 enable_aspnet_regiis
1842 enable_attrib
1843 enable_cabarc
1844 enable_cacls
1845 enable_chcp_com
1846 enable_clock
1847 enable_cmd
1848 enable_conhost
1849 enable_control
1850 enable_cscript
1851 enable_dism
1852 enable_dplaysvr
1853 enable_dpnsvr
1854 enable_dpvsetup
1855 enable_dxdiag
1856 enable_eject
1857 enable_expand
1858 enable_explorer
1859 enable_extrac32
1860 enable_fc
1861 enable_find
1862 enable_findstr
1863 enable_fsutil
1864 enable_hh
1865 enable_hostname
1866 enable_icacls
1867 enable_icinfo
1868 enable_iexplore
1869 enable_ipconfig
1870 enable_lodctr
1871 enable_mofcomp
1872 enable_mshta
1873 enable_msidb
1874 enable_msiexec
1875 enable_msinfo32
1876 enable_net
1877 enable_netsh
1878 enable_netstat
1879 enable_ngen
1880 enable_notepad
1881 enable_oleview
1882 enable_ping
1883 enable_plugplay
1884 enable_powershell
1885 enable_presentationfontcache
1886 enable_progman
1887 enable_reg
1888 enable_regasm
1889 enable_regedit
1890 enable_regini
1891 enable_regsvcs
1892 enable_regsvr32
1893 enable_robocopy
1894 enable_rpcss
1895 enable_rundll32
1896 enable_sc
1897 enable_schtasks
1898 enable_sdbinst
1899 enable_secedit
1900 enable_servicemodelreg
1901 enable_services
1902 enable_shutdown
1903 enable_spoolsv
1904 enable_start
1905 enable_subst
1906 enable_svchost
1907 enable_systeminfo
1908 enable_taskkill
1909 enable_tasklist
1910 enable_taskmgr
1911 enable_termsv
1912 enable_uninstaller
1913 enable_unlodctr
1914 enable_view
1915 enable_wevtutil
1916 enable_where
1917 enable_whoami
1918 enable_wineboot
1919 enable_winebrowser
1920 enable_winecfg
1921 enable_wineconsole
1922 enable_winedbg
1923 enable_winedevice
1924 enable_winefile
1925 enable_winemenubuilder
1926 enable_winemine
1927 enable_winemsibuilder
1928 enable_winepath
1929 enable_winetest
1930 enable_winhlp32
1931 enable_winmgmt
1932 enable_winver
1933 enable_wmic
1934 enable_wmplayer
1935 enable_wordpad
1936 enable_write
1937 enable_wscript
1938 enable_wuauserv
1939 enable_wusa
1940 enable_xcopy
1941 enable_server
1942 enable_tools
1943 enable_sfnt2fon
1944 enable_widl
1945 enable_winebuild
1946 enable_winedump
1947 enable_winegcc
1948 enable_winemaker
1949 enable_wmc
1950 enable_wrc
1952 ac_precious_vars='build_alias
1953 host_alias
1954 target_alias
1956 CFLAGS
1957 LDFLAGS
1958 LIBS
1959 CPPFLAGS
1961 CXXFLAGS
1963 OBJC
1964 OBJCFLAGS
1965 FAUDIO_PE_CFLAGS
1966 FAUDIO_PE_LIBS
1967 GSM_PE_CFLAGS
1968 GSM_PE_LIBS
1969 JPEG_PE_CFLAGS
1970 JPEG_PE_LIBS
1971 JXR_PE_CFLAGS
1972 JXR_PE_LIBS
1973 LCMS2_PE_CFLAGS
1974 LCMS2_PE_LIBS
1975 MPG123_PE_CFLAGS
1976 MPG123_PE_LIBS
1977 PNG_PE_CFLAGS
1978 PNG_PE_LIBS
1979 TIFF_PE_CFLAGS
1980 TIFF_PE_LIBS
1981 XML2_PE_CFLAGS
1982 XML2_PE_LIBS
1983 XSLT_PE_CFLAGS
1984 XSLT_PE_LIBS
1985 ZLIB_PE_CFLAGS
1986 ZLIB_PE_LIBS
1987 XMKMF
1989 INOTIFY_CFLAGS
1990 INOTIFY_LIBS
1991 DBUS_CFLAGS
1992 DBUS_LIBS
1993 GNUTLS_CFLAGS
1994 GNUTLS_LIBS
1995 SANE_CFLAGS
1996 SANE_LIBS
1997 USB_CFLAGS
1998 USB_LIBS
1999 GPHOTO2_CFLAGS
2000 GPHOTO2_LIBS
2001 GPHOTO2_PORT_CFLAGS
2002 GPHOTO2_PORT_LIBS
2003 FREETYPE_CFLAGS
2004 FREETYPE_LIBS
2005 PULSE_CFLAGS
2006 PULSE_LIBS
2007 GSTREAMER_CFLAGS
2008 GSTREAMER_LIBS
2009 UDEV_CFLAGS
2010 UDEV_LIBS
2011 UNWIND_CFLAGS
2012 UNWIND_LIBS
2013 SDL2_CFLAGS
2014 SDL2_LIBS
2015 CAPI20_CFLAGS
2016 CAPI20_LIBS
2017 CUPS_CFLAGS
2018 CUPS_LIBS
2019 FONTCONFIG_CFLAGS
2020 FONTCONFIG_LIBS
2021 KRB5_CFLAGS
2022 KRB5_LIBS
2023 GSSAPI_CFLAGS
2024 GSSAPI_LIBS
2025 NETAPI_CFLAGS
2026 NETAPI_LIBS
2027 VKD3D_CFLAGS
2028 VKD3D_LIBS
2029 VKD3D_SHADER_CFLAGS
2030 VKD3D_SHADER_LIBS
2031 LDAP_CFLAGS
2032 LDAP_LIBS'
2035 # Initialize some variables set by options.
2036 ac_init_help=
2037 ac_init_version=false
2038 ac_unrecognized_opts=
2039 ac_unrecognized_sep=
2040 # The variables have the same names as the options, with
2041 # dashes changed to underlines.
2042 cache_file=/dev/null
2043 exec_prefix=NONE
2044 no_create=
2045 no_recursion=
2046 prefix=NONE
2047 program_prefix=NONE
2048 program_suffix=NONE
2049 program_transform_name=s,x,x,
2050 silent=
2051 site=
2052 srcdir=
2053 verbose=
2054 x_includes=NONE
2055 x_libraries=NONE
2057 # Installation directory options.
2058 # These are left unexpanded so users can "make install exec_prefix=/foo"
2059 # and all the variables that are supposed to be based on exec_prefix
2060 # by default will actually change.
2061 # Use braces instead of parens because sh, perl, etc. also accept them.
2062 # (The list follows the same order as the GNU Coding Standards.)
2063 bindir='${exec_prefix}/bin'
2064 sbindir='${exec_prefix}/sbin'
2065 libexecdir='${exec_prefix}/libexec'
2066 datarootdir='${prefix}/share'
2067 datadir='${datarootdir}'
2068 sysconfdir='${prefix}/etc'
2069 sharedstatedir='${prefix}/com'
2070 localstatedir='${prefix}/var'
2071 runstatedir='${localstatedir}/run'
2072 includedir='${prefix}/include'
2073 oldincludedir='/usr/include'
2074 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2075 infodir='${datarootdir}/info'
2076 htmldir='${docdir}'
2077 dvidir='${docdir}'
2078 pdfdir='${docdir}'
2079 psdir='${docdir}'
2080 libdir='${exec_prefix}/lib'
2081 localedir='${datarootdir}/locale'
2082 mandir='${datarootdir}/man'
2084 ac_prev=
2085 ac_dashdash=
2086 for ac_option
2088 # If the previous option needs an argument, assign it.
2089 if test -n "$ac_prev"; then
2090 eval $ac_prev=\$ac_option
2091 ac_prev=
2092 continue
2095 case $ac_option in
2096 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2097 *=) ac_optarg= ;;
2098 *) ac_optarg=yes ;;
2099 esac
2101 case $ac_dashdash$ac_option in
2103 ac_dashdash=yes ;;
2105 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2106 ac_prev=bindir ;;
2107 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2108 bindir=$ac_optarg ;;
2110 -build | --build | --buil | --bui | --bu)
2111 ac_prev=build_alias ;;
2112 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2113 build_alias=$ac_optarg ;;
2115 -cache-file | --cache-file | --cache-fil | --cache-fi \
2116 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2117 ac_prev=cache_file ;;
2118 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2119 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2120 cache_file=$ac_optarg ;;
2122 --config-cache | -C)
2123 cache_file=config.cache ;;
2125 -datadir | --datadir | --datadi | --datad)
2126 ac_prev=datadir ;;
2127 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2128 datadir=$ac_optarg ;;
2130 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2131 | --dataroo | --dataro | --datar)
2132 ac_prev=datarootdir ;;
2133 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2134 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2135 datarootdir=$ac_optarg ;;
2137 -disable-* | --disable-*)
2138 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2139 # Reject names that are not valid shell variable names.
2140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2141 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2142 ac_useropt_orig=$ac_useropt
2143 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2144 case $ac_user_opts in
2146 "enable_$ac_useropt"
2147 "*) ;;
2148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2149 ac_unrecognized_sep=', ';;
2150 esac
2151 eval enable_$ac_useropt=no ;;
2153 -docdir | --docdir | --docdi | --doc | --do)
2154 ac_prev=docdir ;;
2155 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2156 docdir=$ac_optarg ;;
2158 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2159 ac_prev=dvidir ;;
2160 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2161 dvidir=$ac_optarg ;;
2163 -enable-* | --enable-*)
2164 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2165 # Reject names that are not valid shell variable names.
2166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2167 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2168 ac_useropt_orig=$ac_useropt
2169 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2170 case $ac_user_opts in
2172 "enable_$ac_useropt"
2173 "*) ;;
2174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2175 ac_unrecognized_sep=', ';;
2176 esac
2177 eval enable_$ac_useropt=\$ac_optarg ;;
2179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2181 | --exec | --exe | --ex)
2182 ac_prev=exec_prefix ;;
2183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2185 | --exec=* | --exe=* | --ex=*)
2186 exec_prefix=$ac_optarg ;;
2188 -gas | --gas | --ga | --g)
2189 # Obsolete; use --with-gas.
2190 with_gas=yes ;;
2192 -help | --help | --hel | --he | -h)
2193 ac_init_help=long ;;
2194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2195 ac_init_help=recursive ;;
2196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2197 ac_init_help=short ;;
2199 -host | --host | --hos | --ho)
2200 ac_prev=host_alias ;;
2201 -host=* | --host=* | --hos=* | --ho=*)
2202 host_alias=$ac_optarg ;;
2204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2205 ac_prev=htmldir ;;
2206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2207 | --ht=*)
2208 htmldir=$ac_optarg ;;
2210 -includedir | --includedir | --includedi | --included | --include \
2211 | --includ | --inclu | --incl | --inc)
2212 ac_prev=includedir ;;
2213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2214 | --includ=* | --inclu=* | --incl=* | --inc=*)
2215 includedir=$ac_optarg ;;
2217 -infodir | --infodir | --infodi | --infod | --info | --inf)
2218 ac_prev=infodir ;;
2219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2220 infodir=$ac_optarg ;;
2222 -libdir | --libdir | --libdi | --libd)
2223 ac_prev=libdir ;;
2224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2225 libdir=$ac_optarg ;;
2227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2228 | --libexe | --libex | --libe)
2229 ac_prev=libexecdir ;;
2230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2231 | --libexe=* | --libex=* | --libe=*)
2232 libexecdir=$ac_optarg ;;
2234 -localedir | --localedir | --localedi | --localed | --locale)
2235 ac_prev=localedir ;;
2236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2237 localedir=$ac_optarg ;;
2239 -localstatedir | --localstatedir | --localstatedi | --localstated \
2240 | --localstate | --localstat | --localsta | --localst | --locals)
2241 ac_prev=localstatedir ;;
2242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2244 localstatedir=$ac_optarg ;;
2246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2247 ac_prev=mandir ;;
2248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2249 mandir=$ac_optarg ;;
2251 -nfp | --nfp | --nf)
2252 # Obsolete; use --without-fp.
2253 with_fp=no ;;
2255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2256 | --no-cr | --no-c | -n)
2257 no_create=yes ;;
2259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2261 no_recursion=yes ;;
2263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2265 | --oldin | --oldi | --old | --ol | --o)
2266 ac_prev=oldincludedir ;;
2267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2270 oldincludedir=$ac_optarg ;;
2272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2273 ac_prev=prefix ;;
2274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2275 prefix=$ac_optarg ;;
2277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2278 | --program-pre | --program-pr | --program-p)
2279 ac_prev=program_prefix ;;
2280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2282 program_prefix=$ac_optarg ;;
2284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2285 | --program-suf | --program-su | --program-s)
2286 ac_prev=program_suffix ;;
2287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2289 program_suffix=$ac_optarg ;;
2291 -program-transform-name | --program-transform-name \
2292 | --program-transform-nam | --program-transform-na \
2293 | --program-transform-n | --program-transform- \
2294 | --program-transform | --program-transfor \
2295 | --program-transfo | --program-transf \
2296 | --program-trans | --program-tran \
2297 | --progr-tra | --program-tr | --program-t)
2298 ac_prev=program_transform_name ;;
2299 -program-transform-name=* | --program-transform-name=* \
2300 | --program-transform-nam=* | --program-transform-na=* \
2301 | --program-transform-n=* | --program-transform-=* \
2302 | --program-transform=* | --program-transfor=* \
2303 | --program-transfo=* | --program-transf=* \
2304 | --program-trans=* | --program-tran=* \
2305 | --progr-tra=* | --program-tr=* | --program-t=*)
2306 program_transform_name=$ac_optarg ;;
2308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2309 ac_prev=pdfdir ;;
2310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2311 pdfdir=$ac_optarg ;;
2313 -psdir | --psdir | --psdi | --psd | --ps)
2314 ac_prev=psdir ;;
2315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2316 psdir=$ac_optarg ;;
2318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2319 | -silent | --silent | --silen | --sile | --sil)
2320 silent=yes ;;
2322 -runstatedir | --runstatedir | --runstatedi | --runstated \
2323 | --runstate | --runstat | --runsta | --runst | --runs \
2324 | --run | --ru | --r)
2325 ac_prev=runstatedir ;;
2326 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2327 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2328 | --run=* | --ru=* | --r=*)
2329 runstatedir=$ac_optarg ;;
2331 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2332 ac_prev=sbindir ;;
2333 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2334 | --sbi=* | --sb=*)
2335 sbindir=$ac_optarg ;;
2337 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2338 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2339 | --sharedst | --shareds | --shared | --share | --shar \
2340 | --sha | --sh)
2341 ac_prev=sharedstatedir ;;
2342 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2343 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2344 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2345 | --sha=* | --sh=*)
2346 sharedstatedir=$ac_optarg ;;
2348 -site | --site | --sit)
2349 ac_prev=site ;;
2350 -site=* | --site=* | --sit=*)
2351 site=$ac_optarg ;;
2353 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2354 ac_prev=srcdir ;;
2355 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2356 srcdir=$ac_optarg ;;
2358 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2359 | --syscon | --sysco | --sysc | --sys | --sy)
2360 ac_prev=sysconfdir ;;
2361 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2362 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2363 sysconfdir=$ac_optarg ;;
2365 -target | --target | --targe | --targ | --tar | --ta | --t)
2366 ac_prev=target_alias ;;
2367 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2368 target_alias=$ac_optarg ;;
2370 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2371 verbose=yes ;;
2373 -version | --version | --versio | --versi | --vers | -V)
2374 ac_init_version=: ;;
2376 -with-* | --with-*)
2377 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2378 # Reject names that are not valid shell variable names.
2379 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2380 as_fn_error $? "invalid package name: \`$ac_useropt'"
2381 ac_useropt_orig=$ac_useropt
2382 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2383 case $ac_user_opts in
2385 "with_$ac_useropt"
2386 "*) ;;
2387 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2388 ac_unrecognized_sep=', ';;
2389 esac
2390 eval with_$ac_useropt=\$ac_optarg ;;
2392 -without-* | --without-*)
2393 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2394 # Reject names that are not valid shell variable names.
2395 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2396 as_fn_error $? "invalid package name: \`$ac_useropt'"
2397 ac_useropt_orig=$ac_useropt
2398 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2399 case $ac_user_opts in
2401 "with_$ac_useropt"
2402 "*) ;;
2403 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2404 ac_unrecognized_sep=', ';;
2405 esac
2406 eval with_$ac_useropt=no ;;
2408 --x)
2409 # Obsolete; use --with-x.
2410 with_x=yes ;;
2412 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2413 | --x-incl | --x-inc | --x-in | --x-i)
2414 ac_prev=x_includes ;;
2415 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2416 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2417 x_includes=$ac_optarg ;;
2419 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2420 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2421 ac_prev=x_libraries ;;
2422 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2423 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2424 x_libraries=$ac_optarg ;;
2426 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2427 Try \`$0 --help' for more information"
2430 *=*)
2431 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2432 # Reject names that are not valid shell variable names.
2433 case $ac_envvar in #(
2434 '' | [0-9]* | *[!_$as_cr_alnum]* )
2435 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2436 esac
2437 eval $ac_envvar=\$ac_optarg
2438 export $ac_envvar ;;
2441 # FIXME: should be removed in autoconf 3.0.
2442 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2443 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2444 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2445 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2448 esac
2449 done
2451 if test -n "$ac_prev"; then
2452 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2453 as_fn_error $? "missing argument to $ac_option"
2456 if test -n "$ac_unrecognized_opts"; then
2457 case $enable_option_checking in
2458 no) ;;
2459 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2460 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2461 esac
2464 # Check all directory arguments for consistency.
2465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2466 datadir sysconfdir sharedstatedir localstatedir includedir \
2467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2468 libdir localedir mandir runstatedir
2470 eval ac_val=\$$ac_var
2471 # Remove trailing slashes.
2472 case $ac_val in
2473 */ )
2474 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2475 eval $ac_var=\$ac_val;;
2476 esac
2477 # Be sure to have absolute directory names.
2478 case $ac_val in
2479 [\\/$]* | ?:[\\/]* ) continue;;
2480 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2481 esac
2482 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2483 done
2485 # There might be people who depend on the old broken behavior: `$host'
2486 # used to hold the argument of --host etc.
2487 # FIXME: To remove some day.
2488 build=$build_alias
2489 host=$host_alias
2490 target=$target_alias
2492 # FIXME: To remove some day.
2493 if test "x$host_alias" != x; then
2494 if test "x$build_alias" = x; then
2495 cross_compiling=maybe
2496 elif test "x$build_alias" != "x$host_alias"; then
2497 cross_compiling=yes
2501 ac_tool_prefix=
2502 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2504 test "$silent" = yes && exec 6>/dev/null
2507 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2508 ac_ls_di=`ls -di .` &&
2509 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2510 as_fn_error $? "working directory cannot be determined"
2511 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2512 as_fn_error $? "pwd does not report name of working directory"
2515 # Find the source files, if location was not specified.
2516 if test -z "$srcdir"; then
2517 ac_srcdir_defaulted=yes
2518 # Try the directory containing this script, then the parent directory.
2519 ac_confdir=`$as_dirname -- "$as_myself" ||
2520 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2521 X"$as_myself" : 'X\(//\)[^/]' \| \
2522 X"$as_myself" : 'X\(//\)$' \| \
2523 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2524 printf "%s\n" X"$as_myself" |
2525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2526 s//\1/
2529 /^X\(\/\/\)[^/].*/{
2530 s//\1/
2533 /^X\(\/\/\)$/{
2534 s//\1/
2537 /^X\(\/\).*/{
2538 s//\1/
2541 s/.*/./; q'`
2542 srcdir=$ac_confdir
2543 if test ! -r "$srcdir/$ac_unique_file"; then
2544 srcdir=..
2546 else
2547 ac_srcdir_defaulted=no
2549 if test ! -r "$srcdir/$ac_unique_file"; then
2550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2551 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2553 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2554 ac_abs_confdir=`(
2555 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2556 pwd)`
2557 # When building in place, set srcdir=.
2558 if test "$ac_abs_confdir" = "$ac_pwd"; then
2559 srcdir=.
2561 # Remove unnecessary trailing slashes from srcdir.
2562 # Double slashes in file names in object file debugging info
2563 # mess up M-x gdb in Emacs.
2564 case $srcdir in
2565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2566 esac
2567 for ac_var in $ac_precious_vars; do
2568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2569 eval ac_env_${ac_var}_value=\$${ac_var}
2570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2572 done
2575 # Report the --help message.
2577 if test "$ac_init_help" = "long"; then
2578 # Omit some internal or obsolete options to make the list less imposing.
2579 # This message is too long to be a string in the A/UX 3.1 sh.
2580 cat <<_ACEOF
2581 \`configure' configures Wine 7.2 to adapt to many kinds of systems.
2583 Usage: $0 [OPTION]... [VAR=VALUE]...
2585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2586 VAR=VALUE. See below for descriptions of some of the useful variables.
2588 Defaults for the options are specified in brackets.
2590 Configuration:
2591 -h, --help display this help and exit
2592 --help=short display options specific to this package
2593 --help=recursive display the short help of all the included packages
2594 -V, --version display version information and exit
2595 -q, --quiet, --silent do not print \`checking ...' messages
2596 --cache-file=FILE cache test results in FILE [disabled]
2597 -C, --config-cache alias for \`--cache-file=config.cache'
2598 -n, --no-create do not create output files
2599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2601 Installation directories:
2602 --prefix=PREFIX install architecture-independent files in PREFIX
2603 [$ac_default_prefix]
2604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2605 [PREFIX]
2607 By default, \`make install' will install all the files in
2608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2610 for instance \`--prefix=\$HOME'.
2612 For better control, use the options below.
2614 Fine tuning of the installation directories:
2615 --bindir=DIR user executables [EPREFIX/bin]
2616 --sbindir=DIR system admin executables [EPREFIX/sbin]
2617 --libexecdir=DIR program executables [EPREFIX/libexec]
2618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2621 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2622 --libdir=DIR object code libraries [EPREFIX/lib]
2623 --includedir=DIR C header files [PREFIX/include]
2624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2625 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2626 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2627 --infodir=DIR info documentation [DATAROOTDIR/info]
2628 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2629 --mandir=DIR man documentation [DATAROOTDIR/man]
2630 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2631 --htmldir=DIR html documentation [DOCDIR]
2632 --dvidir=DIR dvi documentation [DOCDIR]
2633 --pdfdir=DIR pdf documentation [DOCDIR]
2634 --psdir=DIR ps documentation [DOCDIR]
2635 _ACEOF
2637 cat <<\_ACEOF
2639 X features:
2640 --x-includes=DIR X include files are in DIR
2641 --x-libraries=DIR X library files are in DIR
2643 System types:
2644 --build=BUILD configure for building on BUILD [guessed]
2645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2646 _ACEOF
2649 if test -n "$ac_init_help"; then
2650 case $ac_init_help in
2651 short | recursive ) echo "Configuration of Wine 7.2:";;
2652 esac
2653 cat <<\_ACEOF
2655 Optional Features:
2656 --disable-option-checking ignore unrecognized --enable/--with options
2657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2659 --disable-win16 do not include Win16 support
2660 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2661 binaries)
2662 --disable-tests do not build the regression tests
2663 --enable-build-id include .buildid section in output objects
2664 --enable-maintainer-mode
2665 enable maintainer-specific build rules
2666 --enable-silent-rules use silent build rules (override: "make V=1")
2667 --enable-werror treat compilation warnings as errors
2668 --disable-largefile omit support for large files
2670 Optional Packages:
2671 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2672 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2673 --without-alsa do not use the Alsa sound support
2674 --without-capi do not use CAPI (ISDN support)
2675 --without-coreaudio do not use the CoreAudio sound support
2676 --without-cups do not use CUPS
2677 --without-dbus do not use DBus (dynamic device support)
2678 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2679 --without-fontconfig do not use fontconfig
2680 --without-freetype do not use the FreeType library
2681 --without-gettext do not use gettext
2682 --with-gettextpo use the GetTextPO library to rebuild po files
2683 --without-gphoto do not use gphoto (Digital Camera support)
2684 --without-gnutls do not use GnuTLS (schannel support)
2685 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2686 --without-gstreamer do not use GStreamer (codecs support)
2687 --without-inotify do not use inotify (filesystem change notifications)
2688 --without-krb5 do not use krb5 (Kerberos)
2689 --without-ldap do not use LDAP
2690 --without-mingw do not use the MinGW cross-compiler
2691 --without-netapi do not use the Samba NetAPI library
2692 --without-openal do not use OpenAL
2693 --without-opencl do not use OpenCL
2694 --without-opengl do not use OpenGL
2695 --without-osmesa do not use the OSMesa library
2696 --without-oss do not use the OSS sound support
2697 --without-pcap do not use the Packet Capture library
2698 --without-pthread do not use the pthread library
2699 --without-pulse do not use PulseAudio sound support
2700 --without-sane do not use SANE (scanner support)
2701 --without-sdl do not use SDL
2702 --without-udev do not use udev (plug and play support)
2703 --without-unwind do not use the libunwind library (exception
2704 handling)
2705 --without-usb do not use the libusb library
2706 --without-v4l2 do not use v4l2 (video capture)
2707 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2708 --without-vulkan do not use Vulkan
2709 --without-xcomposite do not use the Xcomposite extension
2710 --without-xcursor do not use the Xcursor extension
2711 --without-xfixes do not use Xfixes for clipboard change notifications
2712 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2713 --without-xinput do not use the Xinput extension
2714 --without-xinput2 do not use the Xinput 2 extension
2715 --without-xrandr do not use Xrandr (multi-monitor support)
2716 --without-xrender do not use the Xrender extension
2717 --without-xshape do not use the Xshape extension
2718 --without-xshm do not use XShm (shared memory extension)
2719 --without-xxf86vm do not use XFree video mode extension
2720 --with-system-dllpath=PATH
2721 load external PE dependencies from colon-separated
2722 path PATH
2723 --with-wine-tools=DIR use Wine tools from directory DIR
2724 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2725 --with-x use the X Window System
2727 Some influential environment variables:
2728 CC C compiler command
2729 CFLAGS C compiler flags
2730 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2731 nonstandard directory <lib dir>
2732 LIBS libraries to pass to the linker, e.g. -l<library>
2733 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2734 you have headers in a nonstandard directory <include dir>
2735 CXX C++ compiler command
2736 CXXFLAGS C++ compiler flags
2737 OBJC Objective C compiler command
2738 OBJCFLAGS Objective C compiler flags
2739 FAUDIO_PE_CFLAGS
2740 C compiler flags for the PE faudio, overriding the bundled
2741 version
2742 FAUDIO_PE_LIBS
2743 Linker flags for the PE faudio, overriding the bundled version
2744 GSM_PE_CFLAGS
2745 C compiler flags for the PE gsm, overriding the bundled version
2746 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2747 JPEG_PE_CFLAGS
2748 C compiler flags for the PE jpeg, overriding the bundled version
2749 JPEG_PE_LIBS
2750 Linker flags for the PE jpeg, overriding the bundled version
2751 JXR_PE_CFLAGS
2752 C compiler flags for the PE jxr, overriding the bundled version
2753 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2754 LCMS2_PE_CFLAGS
2755 C compiler flags for the PE lcms2, overriding the bundled
2756 version
2757 LCMS2_PE_LIBS
2758 Linker flags for the PE lcms2, overriding the bundled version
2759 MPG123_PE_CFLAGS
2760 C compiler flags for the PE mpg123, overriding the bundled
2761 version
2762 MPG123_PE_LIBS
2763 Linker flags for the PE mpg123, overriding the bundled version
2764 PNG_PE_CFLAGS
2765 C compiler flags for the PE png, overriding the bundled version
2766 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2767 TIFF_PE_CFLAGS
2768 C compiler flags for the PE tiff, overriding the bundled version
2769 TIFF_PE_LIBS
2770 Linker flags for the PE tiff, overriding the bundled version
2771 XML2_PE_CFLAGS
2772 C compiler flags for the PE xml2, overriding the bundled version
2773 XML2_PE_LIBS
2774 Linker flags for the PE xml2, overriding the bundled version
2775 XSLT_PE_CFLAGS
2776 C compiler flags for the PE xslt, overriding the bundled version
2777 XSLT_PE_LIBS
2778 Linker flags for the PE xslt, overriding the bundled version
2779 ZLIB_PE_CFLAGS
2780 C compiler flags for the PE zlib, overriding the bundled version
2781 ZLIB_PE_LIBS
2782 Linker flags for the PE zlib, overriding the bundled version
2783 XMKMF Path to xmkmf, Makefile generator for X Window System
2784 CPP C preprocessor
2785 INOTIFY_CFLAGS
2786 C compiler flags for libinotify, overriding pkg-config
2787 INOTIFY_LIBS
2788 Linker flags for libinotify, overriding pkg-config
2789 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2790 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2791 GNUTLS_CFLAGS
2792 C compiler flags for gnutls, overriding pkg-config
2793 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2794 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2795 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2796 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2797 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2798 GPHOTO2_CFLAGS
2799 C compiler flags for libgphoto2, overriding pkg-config
2800 GPHOTO2_LIBS
2801 Linker flags for libgphoto2, overriding pkg-config
2802 GPHOTO2_PORT_CFLAGS
2803 C compiler flags for libgphoto2_port, overriding pkg-config
2804 GPHOTO2_PORT_LIBS
2805 Linker flags for libgphoto2_port, overriding pkg-config
2806 FREETYPE_CFLAGS
2807 C compiler flags for freetype2, overriding pkg-config
2808 FREETYPE_LIBS
2809 Linker flags for freetype2, overriding pkg-config
2810 PULSE_CFLAGS
2811 C compiler flags for libpulse, overriding pkg-config
2812 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2813 GSTREAMER_CFLAGS
2814 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2815 gstreamer-audio-1.0, overriding pkg-config
2816 GSTREAMER_LIBS
2817 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2818 gstreamer-audio-1.0, overriding pkg-config
2819 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2820 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2821 UNWIND_CFLAGS
2822 C compiler flags for libunwind, overriding pkg-config
2823 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2824 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2825 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2826 CAPI20_CFLAGS
2827 C compiler flags for capi20, overriding pkg-config
2828 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2829 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2830 CUPS_LIBS Linker flags for cups, overriding pkg-config
2831 FONTCONFIG_CFLAGS
2832 C compiler flags for fontconfig, overriding pkg-config
2833 FONTCONFIG_LIBS
2834 Linker flags for fontconfig, overriding pkg-config
2835 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2836 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2837 GSSAPI_CFLAGS
2838 C compiler flags for krb5-gssapi, overriding pkg-config
2839 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2840 NETAPI_CFLAGS
2841 C compiler flags for netapi, overriding pkg-config
2842 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2843 VKD3D_CFLAGS
2844 C compiler flags for libvkd3d, overriding pkg-config
2845 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2846 VKD3D_SHADER_CFLAGS
2847 C compiler flags for libvkd3d-shader, overriding pkg-config
2848 VKD3D_SHADER_LIBS
2849 Linker flags for libvkd3d-shader, overriding pkg-config
2850 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2851 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2853 Use these variables to override the choices made by `configure' or to help
2854 it to find libraries and programs with nonstandard names/locations.
2856 Report bugs to <wine-devel@winehq.org>.
2857 Wine home page: <https://www.winehq.org>.
2858 _ACEOF
2859 ac_status=$?
2862 if test "$ac_init_help" = "recursive"; then
2863 # If there are subdirs, report their specific --help.
2864 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2865 test -d "$ac_dir" ||
2866 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2867 continue
2868 ac_builddir=.
2870 case "$ac_dir" in
2871 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2873 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2874 # A ".." for each directory in $ac_dir_suffix.
2875 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2876 case $ac_top_builddir_sub in
2877 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2878 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2879 esac ;;
2880 esac
2881 ac_abs_top_builddir=$ac_pwd
2882 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2883 # for backward compatibility:
2884 ac_top_builddir=$ac_top_build_prefix
2886 case $srcdir in
2887 .) # We are building in place.
2888 ac_srcdir=.
2889 ac_top_srcdir=$ac_top_builddir_sub
2890 ac_abs_top_srcdir=$ac_pwd ;;
2891 [\\/]* | ?:[\\/]* ) # Absolute name.
2892 ac_srcdir=$srcdir$ac_dir_suffix;
2893 ac_top_srcdir=$srcdir
2894 ac_abs_top_srcdir=$srcdir ;;
2895 *) # Relative name.
2896 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2897 ac_top_srcdir=$ac_top_build_prefix$srcdir
2898 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2899 esac
2900 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2902 cd "$ac_dir" || { ac_status=$?; continue; }
2903 # Check for configure.gnu first; this name is used for a wrapper for
2904 # Metaconfig's "Configure" on case-insensitive file systems.
2905 if test -f "$ac_srcdir/configure.gnu"; then
2906 echo &&
2907 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2908 elif test -f "$ac_srcdir/configure"; then
2909 echo &&
2910 $SHELL "$ac_srcdir/configure" --help=recursive
2911 else
2912 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2913 fi || ac_status=$?
2914 cd "$ac_pwd" || { ac_status=$?; break; }
2915 done
2918 test -n "$ac_init_help" && exit $ac_status
2919 if $ac_init_version; then
2920 cat <<\_ACEOF
2921 Wine configure 7.2
2922 generated by GNU Autoconf 2.71
2924 Copyright (C) 2021 Free Software Foundation, Inc.
2925 This configure script is free software; the Free Software Foundation
2926 gives unlimited permission to copy, distribute and modify it.
2927 _ACEOF
2928 exit
2931 ## ------------------------ ##
2932 ## Autoconf initialization. ##
2933 ## ------------------------ ##
2935 # ac_fn_c_try_compile LINENO
2936 # --------------------------
2937 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_c_try_compile ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 rm -f conftest.$ac_objext conftest.beam
2942 if { { ac_try="$ac_compile"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_compile") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } && {
2958 test -z "$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2960 } && test -s conftest.$ac_objext
2961 then :
2962 ac_retval=0
2963 else $as_nop
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_retval=1
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_compile
2974 # ac_fn_cxx_try_compile LINENO
2975 # ----------------------------
2976 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2977 ac_fn_cxx_try_compile ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 rm -f conftest.$ac_objext conftest.beam
2981 if { { ac_try="$ac_compile"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 printf "%s\n" "$ac_try_echo"; } >&5
2988 (eval "$ac_compile") 2>conftest.err
2989 ac_status=$?
2990 if test -s conftest.err; then
2991 grep -v '^ *+' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2993 mv -f conftest.er1 conftest.err
2995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; } && {
2997 test -z "$ac_cxx_werror_flag" ||
2998 test ! -s conftest.err
2999 } && test -s conftest.$ac_objext
3000 then :
3001 ac_retval=0
3002 else $as_nop
3003 printf "%s\n" "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 ac_retval=1
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3011 } # ac_fn_cxx_try_compile
3013 # ac_fn_c_try_link LINENO
3014 # -----------------------
3015 # Try to link conftest.$ac_ext, and return whether this succeeded.
3016 ac_fn_c_try_link ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3020 if { { ac_try="$ac_link"
3021 case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024 esac
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 printf "%s\n" "$ac_try_echo"; } >&5
3027 (eval "$ac_link") 2>conftest.err
3028 ac_status=$?
3029 if test -s conftest.err; then
3030 grep -v '^ *+' conftest.err >conftest.er1
3031 cat conftest.er1 >&5
3032 mv -f conftest.er1 conftest.err
3034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; } && {
3036 test -z "$ac_c_werror_flag" ||
3037 test ! -s conftest.err
3038 } && test -s conftest$ac_exeext && {
3039 test "$cross_compiling" = yes ||
3040 test -x conftest$ac_exeext
3042 then :
3043 ac_retval=0
3044 else $as_nop
3045 printf "%s\n" "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 ac_retval=1
3050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3052 # interfere with the next link command; also delete a directory that is
3053 # left behind by Apple's compiler. We do this before executing the actions.
3054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 as_fn_set_status $ac_retval
3058 } # ac_fn_c_try_link
3060 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3061 # -------------------------------------------------------
3062 # Tests whether HEADER exists and can be compiled using the include files in
3063 # INCLUDES, setting the cache variable VAR accordingly.
3064 ac_fn_c_check_header_compile ()
3066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3068 printf %s "checking for $2... " >&6; }
3069 if eval test \${$3+y}
3070 then :
3071 printf %s "(cached) " >&6
3072 else $as_nop
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3076 #include <$2>
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"
3079 then :
3080 eval "$3=yes"
3081 else $as_nop
3082 eval "$3=no"
3084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086 eval ac_res=\$$3
3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 printf "%s\n" "$ac_res" >&6; }
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 } # ac_fn_c_check_header_compile
3093 # ac_fn_objc_try_compile LINENO
3094 # -----------------------------
3095 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3096 ac_fn_objc_try_compile ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 rm -f conftest.$ac_objext conftest.beam
3100 if { { ac_try="$ac_compile"
3101 case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 printf "%s\n" "$ac_try_echo"; } >&5
3107 (eval "$ac_compile") 2>conftest.err
3108 ac_status=$?
3109 if test -s conftest.err; then
3110 grep -v '^ *+' conftest.err >conftest.er1
3111 cat conftest.er1 >&5
3112 mv -f conftest.er1 conftest.err
3114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; } && {
3116 test -z "$ac_objc_werror_flag" ||
3117 test ! -s conftest.err
3118 } && test -s conftest.$ac_objext
3119 then :
3120 ac_retval=0
3121 else $as_nop
3122 printf "%s\n" "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 ac_retval=1
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 as_fn_set_status $ac_retval
3130 } # ac_fn_objc_try_compile
3132 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3133 # ----------------------------------------------------------
3134 # Tests whether HEADER exists and can be compiled using the include files in
3135 # INCLUDES, setting the cache variable VAR accordingly.
3136 ac_fn_objc_check_header_compile ()
3138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3140 printf %s "checking for $2... " >&6; }
3141 if eval test \${$3+y}
3142 then :
3143 printf %s "(cached) " >&6
3144 else $as_nop
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3148 #include <$2>
3149 _ACEOF
3150 if ac_fn_objc_try_compile "$LINENO"
3151 then :
3152 eval "$3=yes"
3153 else $as_nop
3154 eval "$3=no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3158 eval ac_res=\$$3
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3160 printf "%s\n" "$ac_res" >&6; }
3161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 } # ac_fn_objc_check_header_compile
3165 # ac_fn_c_check_func LINENO FUNC VAR
3166 # ----------------------------------
3167 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3168 ac_fn_c_check_func ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3172 printf %s "checking for $2... " >&6; }
3173 if eval test \${$3+y}
3174 then :
3175 printf %s "(cached) " >&6
3176 else $as_nop
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3179 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3181 #define $2 innocuous_$2
3183 /* System header to define __stub macros and hopefully few prototypes,
3184 which can conflict with char $2 (); below. */
3186 #include <limits.h>
3187 #undef $2
3189 /* Override any GCC internal prototype to avoid an error.
3190 Use char because int might match the return type of a GCC
3191 builtin and then its argument prototype would still apply. */
3192 #ifdef __cplusplus
3193 extern "C"
3194 #endif
3195 char $2 ();
3196 /* The GNU C library defines this for functions which it implements
3197 to always fail with ENOSYS. Some functions are actually named
3198 something starting with __ and the normal name is an alias. */
3199 #if defined __stub_$2 || defined __stub___$2
3200 choke me
3201 #endif
3204 main (void)
3206 return $2 ();
3208 return 0;
3210 _ACEOF
3211 if ac_fn_c_try_link "$LINENO"
3212 then :
3213 eval "$3=yes"
3214 else $as_nop
3215 eval "$3=no"
3217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3218 conftest$ac_exeext conftest.$ac_ext
3220 eval ac_res=\$$3
3221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3222 printf "%s\n" "$ac_res" >&6; }
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3225 } # ac_fn_c_check_func
3227 # ac_fn_c_try_cpp LINENO
3228 # ----------------------
3229 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3230 ac_fn_c_try_cpp ()
3232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3233 if { { ac_try="$ac_cpp conftest.$ac_ext"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 printf "%s\n" "$ac_try_echo"; } >&5
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3241 ac_status=$?
3242 if test -s conftest.err; then
3243 grep -v '^ *+' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3245 mv -f conftest.er1 conftest.err
3247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; } > conftest.i && {
3249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3250 test ! -s conftest.err
3252 then :
3253 ac_retval=0
3254 else $as_nop
3255 printf "%s\n" "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 ac_retval=1
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 as_fn_set_status $ac_retval
3263 } # ac_fn_c_try_cpp
3265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3266 # ----------------------------------------------------
3267 # Tries to find if the field MEMBER exists in type AGGR, after including
3268 # INCLUDES, setting cache variable VAR accordingly.
3269 ac_fn_c_check_member ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3273 printf %s "checking for $2.$3... " >&6; }
3274 if eval test \${$4+y}
3275 then :
3276 printf %s "(cached) " >&6
3277 else $as_nop
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3282 main (void)
3284 static $2 ac_aggr;
3285 if (ac_aggr.$3)
3286 return 0;
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"
3292 then :
3293 eval "$4=yes"
3294 else $as_nop
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3299 main (void)
3301 static $2 ac_aggr;
3302 if (sizeof ac_aggr.$3)
3303 return 0;
3305 return 0;
3307 _ACEOF
3308 if ac_fn_c_try_compile "$LINENO"
3309 then :
3310 eval "$4=yes"
3311 else $as_nop
3312 eval "$4=no"
3314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3318 eval ac_res=\$$4
3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3320 printf "%s\n" "$ac_res" >&6; }
3321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3323 } # ac_fn_c_check_member
3325 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3326 # -------------------------------------------
3327 # Tests whether TYPE exists after having included INCLUDES, setting cache
3328 # variable VAR accordingly.
3329 ac_fn_c_check_type ()
3331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3333 printf %s "checking for $2... " >&6; }
3334 if eval test \${$3+y}
3335 then :
3336 printf %s "(cached) " >&6
3337 else $as_nop
3338 eval "$3=no"
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3343 main (void)
3345 if (sizeof ($2))
3346 return 0;
3348 return 0;
3350 _ACEOF
3351 if ac_fn_c_try_compile "$LINENO"
3352 then :
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main (void)
3359 if (sizeof (($2)))
3360 return 0;
3362 return 0;
3364 _ACEOF
3365 if ac_fn_c_try_compile "$LINENO"
3366 then :
3368 else $as_nop
3369 eval "$3=yes"
3371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3375 eval ac_res=\$$3
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3377 printf "%s\n" "$ac_res" >&6; }
3378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3380 } # ac_fn_c_check_type
3381 ac_configure_args_raw=
3382 for ac_arg
3384 case $ac_arg in
3385 *\'*)
3386 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3387 esac
3388 as_fn_append ac_configure_args_raw " '$ac_arg'"
3389 done
3391 case $ac_configure_args_raw in
3392 *$as_nl*)
3393 ac_safe_unquote= ;;
3395 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3396 ac_unsafe_a="$ac_unsafe_z#~"
3397 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3398 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3399 esac
3401 cat >config.log <<_ACEOF
3402 This file contains any messages produced by compilers while
3403 running configure, to aid debugging if configure makes a mistake.
3405 It was created by Wine $as_me 7.2, which was
3406 generated by GNU Autoconf 2.71. Invocation command line was
3408 $ $0$ac_configure_args_raw
3410 _ACEOF
3411 exec 5>>config.log
3413 cat <<_ASUNAME
3414 ## --------- ##
3415 ## Platform. ##
3416 ## --------- ##
3418 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3419 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3420 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3421 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3422 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3424 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3425 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3427 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3433 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3435 _ASUNAME
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 for as_dir in $PATH
3440 IFS=$as_save_IFS
3441 case $as_dir in #(((
3442 '') as_dir=./ ;;
3443 */) ;;
3444 *) as_dir=$as_dir/ ;;
3445 esac
3446 printf "%s\n" "PATH: $as_dir"
3447 done
3448 IFS=$as_save_IFS
3450 } >&5
3452 cat >&5 <<_ACEOF
3455 ## ----------- ##
3456 ## Core tests. ##
3457 ## ----------- ##
3459 _ACEOF
3462 # Keep a trace of the command line.
3463 # Strip out --no-create and --no-recursion so they do not pile up.
3464 # Strip out --silent because we don't want to record it for future runs.
3465 # Also quote any args containing shell meta-characters.
3466 # Make two passes to allow for proper duplicate-argument suppression.
3467 ac_configure_args=
3468 ac_configure_args0=
3469 ac_configure_args1=
3470 ac_must_keep_next=false
3471 for ac_pass in 1 2
3473 for ac_arg
3475 case $ac_arg in
3476 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3478 | -silent | --silent | --silen | --sile | --sil)
3479 continue ;;
3480 *\'*)
3481 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3482 esac
3483 case $ac_pass in
3484 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3486 as_fn_append ac_configure_args1 " '$ac_arg'"
3487 if test $ac_must_keep_next = true; then
3488 ac_must_keep_next=false # Got value, back to normal.
3489 else
3490 case $ac_arg in
3491 *=* | --config-cache | -C | -disable-* | --disable-* \
3492 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3493 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3494 | -with-* | --with-* | -without-* | --without-* | --x)
3495 case "$ac_configure_args0 " in
3496 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3497 esac
3499 -* ) ac_must_keep_next=true ;;
3500 esac
3502 as_fn_append ac_configure_args " '$ac_arg'"
3504 esac
3505 done
3506 done
3507 { ac_configure_args0=; unset ac_configure_args0;}
3508 { ac_configure_args1=; unset ac_configure_args1;}
3510 # When interrupted or exit'd, cleanup temporary files, and complete
3511 # config.log. We remove comments because anyway the quotes in there
3512 # would cause problems or look ugly.
3513 # WARNING: Use '\'' to represent an apostrophe within the trap.
3514 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3515 trap 'exit_status=$?
3516 # Sanitize IFS.
3517 IFS=" "" $as_nl"
3518 # Save into config.log some information that might help in debugging.
3520 echo
3522 printf "%s\n" "## ---------------- ##
3523 ## Cache variables. ##
3524 ## ---------------- ##"
3525 echo
3526 # The following way of writing the cache mishandles newlines in values,
3528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3529 eval ac_val=\$$ac_var
3530 case $ac_val in #(
3531 *${as_nl}*)
3532 case $ac_var in #(
3533 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3534 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3535 esac
3536 case $ac_var in #(
3537 _ | IFS | as_nl) ;; #(
3538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3539 *) { eval $ac_var=; unset $ac_var;} ;;
3540 esac ;;
3541 esac
3542 done
3543 (set) 2>&1 |
3544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3545 *${as_nl}ac_space=\ *)
3546 sed -n \
3547 "s/'\''/'\''\\\\'\'''\''/g;
3548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3549 ;; #(
3551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3553 esac |
3554 sort
3556 echo
3558 printf "%s\n" "## ----------------- ##
3559 ## Output variables. ##
3560 ## ----------------- ##"
3561 echo
3562 for ac_var in $ac_subst_vars
3564 eval ac_val=\$$ac_var
3565 case $ac_val in
3566 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3567 esac
3568 printf "%s\n" "$ac_var='\''$ac_val'\''"
3569 done | sort
3570 echo
3572 if test -n "$ac_subst_files"; then
3573 printf "%s\n" "## ------------------- ##
3574 ## File substitutions. ##
3575 ## ------------------- ##"
3576 echo
3577 for ac_var in $ac_subst_files
3579 eval ac_val=\$$ac_var
3580 case $ac_val in
3581 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3582 esac
3583 printf "%s\n" "$ac_var='\''$ac_val'\''"
3584 done | sort
3585 echo
3588 if test -s confdefs.h; then
3589 printf "%s\n" "## ----------- ##
3590 ## confdefs.h. ##
3591 ## ----------- ##"
3592 echo
3593 cat confdefs.h
3594 echo
3596 test "$ac_signal" != 0 &&
3597 printf "%s\n" "$as_me: caught signal $ac_signal"
3598 printf "%s\n" "$as_me: exit $exit_status"
3599 } >&5
3600 rm -f core *.core core.conftest.* &&
3601 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3602 exit $exit_status
3604 for ac_signal in 1 2 13 15; do
3605 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3606 done
3607 ac_signal=0
3609 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3610 rm -f -r conftest* confdefs.h
3612 printf "%s\n" "/* confdefs.h */" > confdefs.h
3614 # Predefined preprocessor variables.
3616 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3618 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3624 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3626 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3629 # Let the site file select an alternate cache file if it wants to.
3630 # Prefer an explicitly selected file to automatically selected ones.
3631 if test -n "$CONFIG_SITE"; then
3632 ac_site_files="$CONFIG_SITE"
3633 elif test "x$prefix" != xNONE; then
3634 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3635 else
3636 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3639 for ac_site_file in $ac_site_files
3641 case $ac_site_file in #(
3642 */*) :
3643 ;; #(
3644 *) :
3645 ac_site_file=./$ac_site_file ;;
3646 esac
3647 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3649 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3650 sed 's/^/| /' "$ac_site_file" >&5
3651 . "$ac_site_file" \
3652 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "failed to load site script $ac_site_file
3655 See \`config.log' for more details" "$LINENO" 5; }
3657 done
3659 if test -r "$cache_file"; then
3660 # Some versions of bash will fail to source /dev/null (special files
3661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3664 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3665 case $cache_file in
3666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3667 *) . "./$cache_file";;
3668 esac
3670 else
3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3672 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3673 >$cache_file
3676 # Test code for whether the C compiler supports C89 (global declarations)
3677 ac_c_conftest_c89_globals='
3678 /* Does the compiler advertise C89 conformance?
3679 Do not test the value of __STDC__, because some compilers set it to 0
3680 while being otherwise adequately conformant. */
3681 #if !defined __STDC__
3682 # error "Compiler does not advertise C89 conformance"
3683 #endif
3685 #include <stddef.h>
3686 #include <stdarg.h>
3687 struct stat;
3688 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3689 struct buf { int x; };
3690 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3691 static char *e (p, i)
3692 char **p;
3693 int i;
3695 return p[i];
3697 static char *f (char * (*g) (char **, int), char **p, ...)
3699 char *s;
3700 va_list v;
3701 va_start (v,p);
3702 s = g (p, va_arg (v,int));
3703 va_end (v);
3704 return s;
3707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3708 function prototypes and stuff, but not \xHH hex character constants.
3709 These do not provoke an error unfortunately, instead are silently treated
3710 as an "x". The following induces an error, until -std is added to get
3711 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3712 array size at least. It is necessary to write \x00 == 0 to get something
3713 that is true only with -std. */
3714 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717 inside strings and character constants. */
3718 #define FOO(x) '\''x'\''
3719 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3721 int test (int i, double x);
3722 struct s1 {int (*f) (int a);};
3723 struct s2 {int (*f) (double a);};
3724 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3725 int, int);'
3727 # Test code for whether the C compiler supports C89 (body of main).
3728 ac_c_conftest_c89_main='
3729 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3732 # Test code for whether the C compiler supports C99 (global declarations)
3733 ac_c_conftest_c99_globals='
3734 // Does the compiler advertise C99 conformance?
3735 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3736 # error "Compiler does not advertise C99 conformance"
3737 #endif
3739 #include <stdbool.h>
3740 extern int puts (const char *);
3741 extern int printf (const char *, ...);
3742 extern int dprintf (int, const char *, ...);
3743 extern void *malloc (size_t);
3745 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3746 // dprintf is used instead of fprintf to avoid needing to declare
3747 // FILE and stderr.
3748 #define debug(...) dprintf (2, __VA_ARGS__)
3749 #define showlist(...) puts (#__VA_ARGS__)
3750 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3751 static void
3752 test_varargs_macros (void)
3754 int x = 1234;
3755 int y = 5678;
3756 debug ("Flag");
3757 debug ("X = %d\n", x);
3758 showlist (The first, second, and third items.);
3759 report (x>y, "x is %d but y is %d", x, y);
3762 // Check long long types.
3763 #define BIG64 18446744073709551615ull
3764 #define BIG32 4294967295ul
3765 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3766 #if !BIG_OK
3767 #error "your preprocessor is broken"
3768 #endif
3769 #if BIG_OK
3770 #else
3771 #error "your preprocessor is broken"
3772 #endif
3773 static long long int bignum = -9223372036854775807LL;
3774 static unsigned long long int ubignum = BIG64;
3776 struct incomplete_array
3778 int datasize;
3779 double data[];
3782 struct named_init {
3783 int number;
3784 const wchar_t *name;
3785 double average;
3788 typedef const char *ccp;
3790 static inline int
3791 test_restrict (ccp restrict text)
3793 // See if C++-style comments work.
3794 // Iterate through items via the restricted pointer.
3795 // Also check for declarations in for loops.
3796 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3797 continue;
3798 return 0;
3801 // Check varargs and va_copy.
3802 static bool
3803 test_varargs (const char *format, ...)
3805 va_list args;
3806 va_start (args, format);
3807 va_list args_copy;
3808 va_copy (args_copy, args);
3810 const char *str = "";
3811 int number = 0;
3812 float fnumber = 0;
3814 while (*format)
3816 switch (*format++)
3818 case '\''s'\'': // string
3819 str = va_arg (args_copy, const char *);
3820 break;
3821 case '\''d'\'': // int
3822 number = va_arg (args_copy, int);
3823 break;
3824 case '\''f'\'': // float
3825 fnumber = va_arg (args_copy, double);
3826 break;
3827 default:
3828 break;
3831 va_end (args_copy);
3832 va_end (args);
3834 return *str && number && fnumber;
3838 # Test code for whether the C compiler supports C99 (body of main).
3839 ac_c_conftest_c99_main='
3840 // Check bool.
3841 _Bool success = false;
3842 success |= (argc != 0);
3844 // Check restrict.
3845 if (test_restrict ("String literal") == 0)
3846 success = true;
3847 char *restrict newvar = "Another string";
3849 // Check varargs.
3850 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3851 test_varargs_macros ();
3853 // Check flexible array members.
3854 struct incomplete_array *ia =
3855 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3856 ia->datasize = 10;
3857 for (int i = 0; i < ia->datasize; ++i)
3858 ia->data[i] = i * 1.234;
3860 // Check named initializers.
3861 struct named_init ni = {
3862 .number = 34,
3863 .name = L"Test wide string",
3864 .average = 543.34343,
3867 ni.number = 58;
3869 int dynamic_array[ni.number];
3870 dynamic_array[0] = argv[0][0];
3871 dynamic_array[ni.number - 1] = 543;
3873 // work around unused variable warnings
3874 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3875 || dynamic_array[ni.number - 1] != 543);
3878 # Test code for whether the C compiler supports C11 (global declarations)
3879 ac_c_conftest_c11_globals='
3880 // Does the compiler advertise C11 conformance?
3881 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3882 # error "Compiler does not advertise C11 conformance"
3883 #endif
3885 // Check _Alignas.
3886 char _Alignas (double) aligned_as_double;
3887 char _Alignas (0) no_special_alignment;
3888 extern char aligned_as_int;
3889 char _Alignas (0) _Alignas (int) aligned_as_int;
3891 // Check _Alignof.
3892 enum
3894 int_alignment = _Alignof (int),
3895 int_array_alignment = _Alignof (int[100]),
3896 char_alignment = _Alignof (char)
3898 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3900 // Check _Noreturn.
3901 int _Noreturn does_not_return (void) { for (;;) continue; }
3903 // Check _Static_assert.
3904 struct test_static_assert
3906 int x;
3907 _Static_assert (sizeof (int) <= sizeof (long int),
3908 "_Static_assert does not work in struct");
3909 long int y;
3912 // Check UTF-8 literals.
3913 #define u8 syntax error!
3914 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3916 // Check duplicate typedefs.
3917 typedef long *long_ptr;
3918 typedef long int *long_ptr;
3919 typedef long_ptr long_ptr;
3921 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3922 struct anonymous
3924 union {
3925 struct { int i; int j; };
3926 struct { int k; long int l; } w;
3928 int m;
3929 } v1;
3932 # Test code for whether the C compiler supports C11 (body of main).
3933 ac_c_conftest_c11_main='
3934 _Static_assert ((offsetof (struct anonymous, i)
3935 == offsetof (struct anonymous, w.k)),
3936 "Anonymous union alignment botch");
3937 v1.i = 2;
3938 v1.w.k = 5;
3939 ok |= v1.i != 5;
3942 # Test code for whether the C compiler supports C11 (complete).
3943 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3944 ${ac_c_conftest_c99_globals}
3945 ${ac_c_conftest_c11_globals}
3948 main (int argc, char **argv)
3950 int ok = 0;
3951 ${ac_c_conftest_c89_main}
3952 ${ac_c_conftest_c99_main}
3953 ${ac_c_conftest_c11_main}
3954 return ok;
3958 # Test code for whether the C compiler supports C99 (complete).
3959 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3960 ${ac_c_conftest_c99_globals}
3963 main (int argc, char **argv)
3965 int ok = 0;
3966 ${ac_c_conftest_c89_main}
3967 ${ac_c_conftest_c99_main}
3968 return ok;
3972 # Test code for whether the C compiler supports C89 (complete).
3973 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3976 main (int argc, char **argv)
3978 int ok = 0;
3979 ${ac_c_conftest_c89_main}
3980 return ok;
3984 # Test code for whether the C++ compiler supports C++98 (global declarations)
3985 ac_cxx_conftest_cxx98_globals='
3986 // Does the compiler advertise C++98 conformance?
3987 #if !defined __cplusplus || __cplusplus < 199711L
3988 # error "Compiler does not advertise C++98 conformance"
3989 #endif
3991 // These inclusions are to reject old compilers that
3992 // lack the unsuffixed header files.
3993 #include <cstdlib>
3994 #include <exception>
3996 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3997 extern void assert (int);
3998 namespace std {
3999 extern int strcmp (const char *, const char *);
4002 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4003 using std::exception;
4004 using std::strcmp;
4006 namespace {
4008 void test_exception_syntax()
4010 try {
4011 throw "test";
4012 } catch (const char *s) {
4013 // Extra parentheses suppress a warning when building autoconf itself,
4014 // due to lint rules shared with more typical C programs.
4015 assert (!(strcmp) (s, "test"));
4019 template <typename T> struct test_template
4021 T const val;
4022 explicit test_template(T t) : val(t) {}
4023 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4026 } // anonymous namespace
4029 # Test code for whether the C++ compiler supports C++98 (body of main)
4030 ac_cxx_conftest_cxx98_main='
4031 assert (argc);
4032 assert (! argv[0]);
4034 test_exception_syntax ();
4035 test_template<double> tt (2.0);
4036 assert (tt.add (4) == 6.0);
4037 assert (true && !false);
4041 # Test code for whether the C++ compiler supports C++11 (global declarations)
4042 ac_cxx_conftest_cxx11_globals='
4043 // Does the compiler advertise C++ 2011 conformance?
4044 #if !defined __cplusplus || __cplusplus < 201103L
4045 # error "Compiler does not advertise C++11 conformance"
4046 #endif
4048 namespace cxx11test
4050 constexpr int get_val() { return 20; }
4052 struct testinit
4054 int i;
4055 double d;
4058 class delegate
4060 public:
4061 delegate(int n) : n(n) {}
4062 delegate(): delegate(2354) {}
4064 virtual int getval() { return this->n; };
4065 protected:
4066 int n;
4069 class overridden : public delegate
4071 public:
4072 overridden(int n): delegate(n) {}
4073 virtual int getval() override final { return this->n * 2; }
4076 class nocopy
4078 public:
4079 nocopy(int i): i(i) {}
4080 nocopy() = default;
4081 nocopy(const nocopy&) = delete;
4082 nocopy & operator=(const nocopy&) = delete;
4083 private:
4084 int i;
4087 // for testing lambda expressions
4088 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4090 return f(v);
4093 // for testing variadic templates and trailing return types
4094 template <typename V> auto sum(V first) -> V
4096 return first;
4098 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4100 return first + sum(rest...);
4105 # Test code for whether the C++ compiler supports C++11 (body of main)
4106 ac_cxx_conftest_cxx11_main='
4108 // Test auto and decltype
4109 auto a1 = 6538;
4110 auto a2 = 48573953.4;
4111 auto a3 = "String literal";
4113 int total = 0;
4114 for (auto i = a3; *i; ++i) { total += *i; }
4116 decltype(a2) a4 = 34895.034;
4119 // Test constexpr
4120 short sa[cxx11test::get_val()] = { 0 };
4123 // Test initializer lists
4124 cxx11test::testinit il = { 4323, 435234.23544 };
4127 // Test range-based for
4128 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4129 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4130 for (auto &x : array) { x += 23; }
4133 // Test lambda expressions
4134 using cxx11test::eval;
4135 assert (eval ([](int x) { return x*2; }, 21) == 42);
4136 double d = 2.0;
4137 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4138 assert (d == 5.0);
4139 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4140 assert (d == 5.0);
4143 // Test use of variadic templates
4144 using cxx11test::sum;
4145 auto a = sum(1);
4146 auto b = sum(1, 2);
4147 auto c = sum(1.0, 2.0, 3.0);
4150 // Test constructor delegation
4151 cxx11test::delegate d1;
4152 cxx11test::delegate d2();
4153 cxx11test::delegate d3(45);
4156 // Test override and final
4157 cxx11test::overridden o1(55464);
4160 // Test nullptr
4161 char *c = nullptr;
4164 // Test template brackets
4165 test_template<::test_template<int>> v(test_template<int>(12));
4168 // Unicode literals
4169 char const *utf8 = u8"UTF-8 string \u2500";
4170 char16_t const *utf16 = u"UTF-8 string \u2500";
4171 char32_t const *utf32 = U"UTF-32 string \u2500";
4175 # Test code for whether the C compiler supports C++11 (complete).
4176 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4177 ${ac_cxx_conftest_cxx11_globals}
4180 main (int argc, char **argv)
4182 int ok = 0;
4183 ${ac_cxx_conftest_cxx98_main}
4184 ${ac_cxx_conftest_cxx11_main}
4185 return ok;
4189 # Test code for whether the C compiler supports C++98 (complete).
4190 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4192 main (int argc, char **argv)
4194 int ok = 0;
4195 ${ac_cxx_conftest_cxx98_main}
4196 return ok;
4200 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4201 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4202 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4203 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4204 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4205 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4206 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4207 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4208 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4210 # Auxiliary files required by this configure script.
4211 ac_aux_files="config.guess config.sub"
4213 # Locations in which to look for auxiliary files.
4214 ac_aux_dir_candidates="${srcdir}/tools"
4216 # Search for a directory containing all of the required auxiliary files,
4217 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4218 # If we don't find one directory that contains all the files we need,
4219 # we report the set of missing files from the *first* directory in
4220 # $ac_aux_dir_candidates and give up.
4221 ac_missing_aux_files=""
4222 ac_first_candidate=:
4223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 as_found=false
4226 for as_dir in $ac_aux_dir_candidates
4228 IFS=$as_save_IFS
4229 case $as_dir in #(((
4230 '') as_dir=./ ;;
4231 */) ;;
4232 *) as_dir=$as_dir/ ;;
4233 esac
4234 as_found=:
4236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4237 ac_aux_dir_found=yes
4238 ac_install_sh=
4239 for ac_aux in $ac_aux_files
4241 # As a special case, if "install-sh" is required, that requirement
4242 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4243 # and $ac_install_sh is set appropriately for whichever one is found.
4244 if test x"$ac_aux" = x"install-sh"
4245 then
4246 if test -f "${as_dir}install-sh"; then
4247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4248 ac_install_sh="${as_dir}install-sh -c"
4249 elif test -f "${as_dir}install.sh"; then
4250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4251 ac_install_sh="${as_dir}install.sh -c"
4252 elif test -f "${as_dir}shtool"; then
4253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4254 ac_install_sh="${as_dir}shtool install -c"
4255 else
4256 ac_aux_dir_found=no
4257 if $ac_first_candidate; then
4258 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4259 else
4260 break
4263 else
4264 if test -f "${as_dir}${ac_aux}"; then
4265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4266 else
4267 ac_aux_dir_found=no
4268 if $ac_first_candidate; then
4269 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4270 else
4271 break
4275 done
4276 if test "$ac_aux_dir_found" = yes; then
4277 ac_aux_dir="$as_dir"
4278 break
4280 ac_first_candidate=false
4282 as_found=false
4283 done
4284 IFS=$as_save_IFS
4285 if $as_found
4286 then :
4288 else $as_nop
4289 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4293 # These three variables are undocumented and unsupported,
4294 # and are intended to be withdrawn in a future Autoconf release.
4295 # They can cause serious problems if a builder's source tree is in a directory
4296 # whose full name contains unusual characters.
4297 if test -f "${ac_aux_dir}config.guess"; then
4298 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4300 if test -f "${ac_aux_dir}config.sub"; then
4301 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4303 if test -f "$ac_aux_dir/configure"; then
4304 ac_configure="$SHELL ${ac_aux_dir}configure"
4307 # Check that the precious variables saved in the cache have kept the same
4308 # value.
4309 ac_cache_corrupted=false
4310 for ac_var in $ac_precious_vars; do
4311 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4312 eval ac_new_set=\$ac_env_${ac_var}_set
4313 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4314 eval ac_new_val=\$ac_env_${ac_var}_value
4315 case $ac_old_set,$ac_new_set in
4316 set,)
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4318 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4319 ac_cache_corrupted=: ;;
4320 ,set)
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4322 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4323 ac_cache_corrupted=: ;;
4324 ,);;
4326 if test "x$ac_old_val" != "x$ac_new_val"; then
4327 # differences in whitespace do not lead to failure.
4328 ac_old_val_w=`echo x $ac_old_val`
4329 ac_new_val_w=`echo x $ac_new_val`
4330 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4332 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4333 ac_cache_corrupted=:
4334 else
4335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4336 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4337 eval $ac_var=\$ac_old_val
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4340 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4342 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4343 fi;;
4344 esac
4345 # Pass precious variables to config.status.
4346 if test "$ac_new_set" = set; then
4347 case $ac_new_val in
4348 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4349 *) ac_arg=$ac_var=$ac_new_val ;;
4350 esac
4351 case " $ac_configure_args " in
4352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4353 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4354 esac
4356 done
4357 if $ac_cache_corrupted; then
4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4361 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4362 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4363 and start over" "$LINENO" 5
4365 ## -------------------- ##
4366 ## Main body of script. ##
4367 ## -------------------- ##
4369 ac_ext=c
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 ac_config_headers="$ac_config_headers include/config.h"
4381 libwine_version="1.0"
4384 # Check whether --enable-win16 was given.
4385 if test ${enable_win16+y}
4386 then :
4387 enableval=$enable_win16;
4390 # Check whether --enable-win64 was given.
4391 if test ${enable_win64+y}
4392 then :
4393 enableval=$enable_win64;
4396 # Check whether --enable-tests was given.
4397 if test ${enable_tests+y}
4398 then :
4399 enableval=$enable_tests;
4402 # Check whether --enable-build-id was given.
4403 if test ${enable_build_id+y}
4404 then :
4405 enableval=$enable_build_id;
4408 # Check whether --enable-maintainer-mode was given.
4409 if test ${enable_maintainer_mode+y}
4410 then :
4411 enableval=$enable_maintainer_mode;
4414 # Check whether --enable-silent-rules was given.
4415 if test ${enable_silent_rules+y}
4416 then :
4417 enableval=$enable_silent_rules;
4420 # Check whether --enable-werror was given.
4421 if test ${enable_werror+y}
4422 then :
4423 enableval=$enable_werror;
4428 # Check whether --with-alsa was given.
4429 if test ${with_alsa+y}
4430 then :
4431 withval=$with_alsa;
4435 # Check whether --with-capi was given.
4436 if test ${with_capi+y}
4437 then :
4438 withval=$with_capi;
4442 # Check whether --with-coreaudio was given.
4443 if test ${with_coreaudio+y}
4444 then :
4445 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4449 # Check whether --with-cups was given.
4450 if test ${with_cups+y}
4451 then :
4452 withval=$with_cups;
4456 # Check whether --with-dbus was given.
4457 if test ${with_dbus+y}
4458 then :
4459 withval=$with_dbus;
4463 # Check whether --with-float-abi was given.
4464 if test ${with_float_abi+y}
4465 then :
4466 withval=$with_float_abi;
4470 # Check whether --with-fontconfig was given.
4471 if test ${with_fontconfig+y}
4472 then :
4473 withval=$with_fontconfig;
4477 # Check whether --with-freetype was given.
4478 if test ${with_freetype+y}
4479 then :
4480 withval=$with_freetype;
4484 # Check whether --with-gettext was given.
4485 if test ${with_gettext+y}
4486 then :
4487 withval=$with_gettext;
4491 # Check whether --with-gettextpo was given.
4492 if test ${with_gettextpo+y}
4493 then :
4494 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4498 # Check whether --with-gphoto was given.
4499 if test ${with_gphoto+y}
4500 then :
4501 withval=$with_gphoto;
4505 # Check whether --with-gnutls was given.
4506 if test ${with_gnutls+y}
4507 then :
4508 withval=$with_gnutls;
4512 # Check whether --with-gssapi was given.
4513 if test ${with_gssapi+y}
4514 then :
4515 withval=$with_gssapi;
4519 # Check whether --with-gstreamer was given.
4520 if test ${with_gstreamer+y}
4521 then :
4522 withval=$with_gstreamer;
4526 # Check whether --with-inotify was given.
4527 if test ${with_inotify+y}
4528 then :
4529 withval=$with_inotify;
4533 # Check whether --with-krb5 was given.
4534 if test ${with_krb5+y}
4535 then :
4536 withval=$with_krb5;
4540 # Check whether --with-ldap was given.
4541 if test ${with_ldap+y}
4542 then :
4543 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4547 # Check whether --with-mingw was given.
4548 if test ${with_mingw+y}
4549 then :
4550 withval=$with_mingw;
4554 # Check whether --with-netapi was given.
4555 if test ${with_netapi+y}
4556 then :
4557 withval=$with_netapi;
4561 # Check whether --with-openal was given.
4562 if test ${with_openal+y}
4563 then :
4564 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4568 # Check whether --with-opencl was given.
4569 if test ${with_opencl+y}
4570 then :
4571 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4575 # Check whether --with-opengl was given.
4576 if test ${with_opengl+y}
4577 then :
4578 withval=$with_opengl;
4582 # Check whether --with-osmesa was given.
4583 if test ${with_osmesa+y}
4584 then :
4585 withval=$with_osmesa;
4589 # Check whether --with-oss was given.
4590 if test ${with_oss+y}
4591 then :
4592 withval=$with_oss;
4596 # Check whether --with-pcap was given.
4597 if test ${with_pcap+y}
4598 then :
4599 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4603 # Check whether --with-pthread was given.
4604 if test ${with_pthread+y}
4605 then :
4606 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4610 # Check whether --with-pulse was given.
4611 if test ${with_pulse+y}
4612 then :
4613 withval=$with_pulse;
4617 # Check whether --with-sane was given.
4618 if test ${with_sane+y}
4619 then :
4620 withval=$with_sane;
4624 # Check whether --with-sdl was given.
4625 if test ${with_sdl+y}
4626 then :
4627 withval=$with_sdl;
4631 # Check whether --with-udev was given.
4632 if test ${with_udev+y}
4633 then :
4634 withval=$with_udev;
4638 # Check whether --with-unwind was given.
4639 if test ${with_unwind+y}
4640 then :
4641 withval=$with_unwind;
4645 # Check whether --with-usb was given.
4646 if test ${with_usb+y}
4647 then :
4648 withval=$with_usb;
4652 # Check whether --with-v4l2 was given.
4653 if test ${with_v4l2+y}
4654 then :
4655 withval=$with_v4l2;
4659 # Check whether --with-vkd3d was given.
4660 if test ${with_vkd3d+y}
4661 then :
4662 withval=$with_vkd3d;
4666 # Check whether --with-vulkan was given.
4667 if test ${with_vulkan+y}
4668 then :
4669 withval=$with_vulkan;
4673 # Check whether --with-xcomposite was given.
4674 if test ${with_xcomposite+y}
4675 then :
4676 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4680 # Check whether --with-xcursor was given.
4681 if test ${with_xcursor+y}
4682 then :
4683 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4687 # Check whether --with-xfixes was given.
4688 if test ${with_xfixes+y}
4689 then :
4690 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4694 # Check whether --with-xinerama was given.
4695 if test ${with_xinerama+y}
4696 then :
4697 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4701 # Check whether --with-xinput was given.
4702 if test ${with_xinput+y}
4703 then :
4704 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4708 # Check whether --with-xinput2 was given.
4709 if test ${with_xinput2+y}
4710 then :
4711 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4715 # Check whether --with-xrandr was given.
4716 if test ${with_xrandr+y}
4717 then :
4718 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4722 # Check whether --with-xrender was given.
4723 if test ${with_xrender+y}
4724 then :
4725 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4729 # Check whether --with-xshape was given.
4730 if test ${with_xshape+y}
4731 then :
4732 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4736 # Check whether --with-xshm was given.
4737 if test ${with_xshm+y}
4738 then :
4739 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4743 # Check whether --with-xxf86vm was given.
4744 if test ${with_xxf86vm+y}
4745 then :
4746 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
4751 # Check whether --with-system-dllpath was given.
4752 if test ${with_system_dllpath+y}
4753 then :
4754 withval=$with_system_dllpath; system_dllpath=$withval
4759 # Check whether --with-wine-tools was given.
4760 if test ${with_wine_tools+y}
4761 then :
4762 withval=$with_wine_tools;
4766 # Check whether --with-wine64 was given.
4767 if test ${with_wine64+y}
4768 then :
4769 withval=$with_wine64;
4776 # Make sure we can run config.sub.
4777 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4778 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4781 printf %s "checking build system type... " >&6; }
4782 if test ${ac_cv_build+y}
4783 then :
4784 printf %s "(cached) " >&6
4785 else $as_nop
4786 ac_build_alias=$build_alias
4787 test "x$ac_build_alias" = x &&
4788 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4789 test "x$ac_build_alias" = x &&
4790 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4791 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4792 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4796 printf "%s\n" "$ac_cv_build" >&6; }
4797 case $ac_cv_build in
4798 *-*-*) ;;
4799 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4800 esac
4801 build=$ac_cv_build
4802 ac_save_IFS=$IFS; IFS='-'
4803 set x $ac_cv_build
4804 shift
4805 build_cpu=$1
4806 build_vendor=$2
4807 shift; shift
4808 # Remember, the first character of IFS is used to create $*,
4809 # except with old shells:
4810 build_os=$*
4811 IFS=$ac_save_IFS
4812 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4816 printf %s "checking host system type... " >&6; }
4817 if test ${ac_cv_host+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test "x$host_alias" = x; then
4822 ac_cv_host=$ac_cv_build
4823 else
4824 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4825 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4830 printf "%s\n" "$ac_cv_host" >&6; }
4831 case $ac_cv_host in
4832 *-*-*) ;;
4833 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4834 esac
4835 host=$ac_cv_host
4836 ac_save_IFS=$IFS; IFS='-'
4837 set x $ac_cv_host
4838 shift
4839 host_cpu=$1
4840 host_vendor=$2
4841 shift; shift
4842 # Remember, the first character of IFS is used to create $*,
4843 # except with old shells:
4844 host_os=$*
4845 IFS=$ac_save_IFS
4846 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4850 dlldir=\${libdir}/wine
4852 fontdir=\${datadir}/wine/fonts
4854 nlsdir=\${datadir}/wine/nls
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4860 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4861 set x ${MAKE-make}
4862 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4863 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4864 then :
4865 printf %s "(cached) " >&6
4866 else $as_nop
4867 cat >conftest.make <<\_ACEOF
4868 SHELL = /bin/sh
4869 all:
4870 @echo '@@@%%%=$(MAKE)=@@@%%%'
4871 _ACEOF
4872 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4873 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4874 *@@@%%%=?*=@@@%%%*)
4875 eval ac_cv_prog_make_${ac_make}_set=yes;;
4877 eval ac_cv_prog_make_${ac_make}_set=no;;
4878 esac
4879 rm -f conftest.make
4881 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 printf "%s\n" "yes" >&6; }
4884 SET_MAKE=
4885 else
4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 printf "%s\n" "no" >&6; }
4888 SET_MAKE="MAKE=${MAKE-make}"
4900 ac_ext=c
4901 ac_cpp='$CPP $CPPFLAGS'
4902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4905 if test -n "$ac_tool_prefix"; then
4906 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4907 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 printf %s "checking for $ac_word... " >&6; }
4910 if test ${ac_cv_prog_CC+y}
4911 then :
4912 printf %s "(cached) " >&6
4913 else $as_nop
4914 if test -n "$CC"; then
4915 ac_cv_prog_CC="$CC" # Let the user override the test.
4916 else
4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 for as_dir in $PATH
4920 IFS=$as_save_IFS
4921 case $as_dir in #(((
4922 '') as_dir=./ ;;
4923 */) ;;
4924 *) as_dir=$as_dir/ ;;
4925 esac
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4930 break 2
4932 done
4933 done
4934 IFS=$as_save_IFS
4938 CC=$ac_cv_prog_CC
4939 if test -n "$CC"; then
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4941 printf "%s\n" "$CC" >&6; }
4942 else
4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 printf "%s\n" "no" >&6; }
4949 if test -z "$ac_cv_prog_CC"; then
4950 ac_ct_CC=$CC
4951 # Extract the first word of "gcc", so it can be a program name with args.
4952 set dummy gcc; ac_word=$2
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 printf %s "checking for $ac_word... " >&6; }
4955 if test ${ac_cv_prog_ac_ct_CC+y}
4956 then :
4957 printf %s "(cached) " >&6
4958 else $as_nop
4959 if test -n "$ac_ct_CC"; then
4960 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 case $as_dir in #(((
4967 '') as_dir=./ ;;
4968 */) ;;
4969 *) as_dir=$as_dir/ ;;
4970 esac
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_ac_ct_CC="gcc"
4974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4975 break 2
4977 done
4978 done
4979 IFS=$as_save_IFS
4983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4984 if test -n "$ac_ct_CC"; then
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4986 printf "%s\n" "$ac_ct_CC" >&6; }
4987 else
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 printf "%s\n" "no" >&6; }
4992 if test "x$ac_ct_CC" = x; then
4993 CC=""
4994 else
4995 case $cross_compiling:$ac_tool_warned in
4996 yes:)
4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4999 ac_tool_warned=yes ;;
5000 esac
5001 CC=$ac_ct_CC
5003 else
5004 CC="$ac_cv_prog_CC"
5007 if test -z "$CC"; then
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}cc; ac_word=$2
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 printf %s "checking for $ac_word... " >&6; }
5013 if test ${ac_cv_prog_CC+y}
5014 then :
5015 printf %s "(cached) " >&6
5016 else $as_nop
5017 if test -n "$CC"; then
5018 ac_cv_prog_CC="$CC" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 case $as_dir in #(((
5025 '') as_dir=./ ;;
5026 */) ;;
5027 *) as_dir=$as_dir/ ;;
5028 esac
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_CC="${ac_tool_prefix}cc"
5032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 CC=$ac_cv_prog_CC
5042 if test -n "$CC"; then
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5044 printf "%s\n" "$CC" >&6; }
5045 else
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 printf "%s\n" "no" >&6; }
5053 if test -z "$CC"; then
5054 # Extract the first word of "cc", so it can be a program name with args.
5055 set dummy cc; ac_word=$2
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 printf %s "checking for $ac_word... " >&6; }
5058 if test ${ac_cv_prog_CC+y}
5059 then :
5060 printf %s "(cached) " >&6
5061 else $as_nop
5062 if test -n "$CC"; then
5063 ac_cv_prog_CC="$CC" # Let the user override the test.
5064 else
5065 ac_prog_rejected=no
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5069 IFS=$as_save_IFS
5070 case $as_dir in #(((
5071 '') as_dir=./ ;;
5072 */) ;;
5073 *) as_dir=$as_dir/ ;;
5074 esac
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5077 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5078 ac_prog_rejected=yes
5079 continue
5081 ac_cv_prog_CC="cc"
5082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5089 if test $ac_prog_rejected = yes; then
5090 # We found a bogon in the path, so make sure we never use it.
5091 set dummy $ac_cv_prog_CC
5092 shift
5093 if test $# != 0; then
5094 # We chose a different compiler from the bogus one.
5095 # However, it has the same basename, so the bogon will be chosen
5096 # first if we set CC to just the basename; use the full file name.
5097 shift
5098 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5103 CC=$ac_cv_prog_CC
5104 if test -n "$CC"; then
5105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5106 printf "%s\n" "$CC" >&6; }
5107 else
5108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 printf "%s\n" "no" >&6; }
5114 if test -z "$CC"; then
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog in cl.exe
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 printf %s "checking for $ac_word... " >&6; }
5122 if test ${ac_cv_prog_CC+y}
5123 then :
5124 printf %s "(cached) " >&6
5125 else $as_nop
5126 if test -n "$CC"; then
5127 ac_cv_prog_CC="$CC" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 case $as_dir in #(((
5134 '') as_dir=./ ;;
5135 */) ;;
5136 *) as_dir=$as_dir/ ;;
5137 esac
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5142 break 2
5144 done
5145 done
5146 IFS=$as_save_IFS
5150 CC=$ac_cv_prog_CC
5151 if test -n "$CC"; then
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5153 printf "%s\n" "$CC" >&6; }
5154 else
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 printf "%s\n" "no" >&6; }
5160 test -n "$CC" && break
5161 done
5163 if test -z "$CC"; then
5164 ac_ct_CC=$CC
5165 for ac_prog in cl.exe
5167 # Extract the first word of "$ac_prog", so it can be a program name with args.
5168 set dummy $ac_prog; ac_word=$2
5169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 printf %s "checking for $ac_word... " >&6; }
5171 if test ${ac_cv_prog_ac_ct_CC+y}
5172 then :
5173 printf %s "(cached) " >&6
5174 else $as_nop
5175 if test -n "$ac_ct_CC"; then
5176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 case $as_dir in #(((
5183 '') as_dir=./ ;;
5184 */) ;;
5185 *) as_dir=$as_dir/ ;;
5186 esac
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_CC="$ac_prog"
5190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5200 if test -n "$ac_ct_CC"; then
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5202 printf "%s\n" "$ac_ct_CC" >&6; }
5203 else
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 printf "%s\n" "no" >&6; }
5209 test -n "$ac_ct_CC" && break
5210 done
5212 if test "x$ac_ct_CC" = x; then
5213 CC=""
5214 else
5215 case $cross_compiling:$ac_tool_warned in
5216 yes:)
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5219 ac_tool_warned=yes ;;
5220 esac
5221 CC=$ac_ct_CC
5226 if test -z "$CC"; then
5227 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5229 set dummy ${ac_tool_prefix}clang; ac_word=$2
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 printf %s "checking for $ac_word... " >&6; }
5232 if test ${ac_cv_prog_CC+y}
5233 then :
5234 printf %s "(cached) " >&6
5235 else $as_nop
5236 if test -n "$CC"; then
5237 ac_cv_prog_CC="$CC" # Let the user override the test.
5238 else
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH
5242 IFS=$as_save_IFS
5243 case $as_dir in #(((
5244 '') as_dir=./ ;;
5245 */) ;;
5246 *) as_dir=$as_dir/ ;;
5247 esac
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CC="${ac_tool_prefix}clang"
5251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5252 break 2
5254 done
5255 done
5256 IFS=$as_save_IFS
5260 CC=$ac_cv_prog_CC
5261 if test -n "$CC"; then
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5263 printf "%s\n" "$CC" >&6; }
5264 else
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 printf "%s\n" "no" >&6; }
5271 if test -z "$ac_cv_prog_CC"; then
5272 ac_ct_CC=$CC
5273 # Extract the first word of "clang", so it can be a program name with args.
5274 set dummy clang; ac_word=$2
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 printf %s "checking for $ac_word... " >&6; }
5277 if test ${ac_cv_prog_ac_ct_CC+y}
5278 then :
5279 printf %s "(cached) " >&6
5280 else $as_nop
5281 if test -n "$ac_ct_CC"; then
5282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5287 IFS=$as_save_IFS
5288 case $as_dir in #(((
5289 '') as_dir=./ ;;
5290 */) ;;
5291 *) as_dir=$as_dir/ ;;
5292 esac
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_CC="clang"
5296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5306 if test -n "$ac_ct_CC"; then
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5308 printf "%s\n" "$ac_ct_CC" >&6; }
5309 else
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 printf "%s\n" "no" >&6; }
5314 if test "x$ac_ct_CC" = x; then
5315 CC=""
5316 else
5317 case $cross_compiling:$ac_tool_warned in
5318 yes:)
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5320 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5321 ac_tool_warned=yes ;;
5322 esac
5323 CC=$ac_ct_CC
5325 else
5326 CC="$ac_cv_prog_CC"
5332 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5334 as_fn_error $? "no acceptable C compiler found in \$PATH
5335 See \`config.log' for more details" "$LINENO" 5; }
5337 # Provide some information about the compiler.
5338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5339 set X $ac_compile
5340 ac_compiler=$2
5341 for ac_option in --version -v -V -qversion -version; do
5342 { { ac_try="$ac_compiler $ac_option >&5"
5343 case "(($ac_try" in
5344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345 *) ac_try_echo=$ac_try;;
5346 esac
5347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5348 printf "%s\n" "$ac_try_echo"; } >&5
5349 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5350 ac_status=$?
5351 if test -s conftest.err; then
5352 sed '10a\
5353 ... rest of stderr output deleted ...
5354 10q' conftest.err >conftest.er1
5355 cat conftest.er1 >&5
5357 rm -f conftest.er1 conftest.err
5358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5359 test $ac_status = 0; }
5360 done
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5366 main (void)
5370 return 0;
5372 _ACEOF
5373 ac_clean_files_save=$ac_clean_files
5374 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5375 # Try to create an executable without -o first, disregard a.out.
5376 # It will help us diagnose broken compilers, and finding out an intuition
5377 # of exeext.
5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5379 printf %s "checking whether the C compiler works... " >&6; }
5380 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5382 # The possible output files:
5383 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5385 ac_rmfiles=
5386 for ac_file in $ac_files
5388 case $ac_file in
5389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5390 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5391 esac
5392 done
5393 rm -f $ac_rmfiles
5395 if { { ac_try="$ac_link_default"
5396 case "(($ac_try" in
5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5398 *) ac_try_echo=$ac_try;;
5399 esac
5400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5401 printf "%s\n" "$ac_try_echo"; } >&5
5402 (eval "$ac_link_default") 2>&5
5403 ac_status=$?
5404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5405 test $ac_status = 0; }
5406 then :
5407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5409 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5410 # so that the user can short-circuit this test for compilers unknown to
5411 # Autoconf.
5412 for ac_file in $ac_files ''
5414 test -f "$ac_file" || continue
5415 case $ac_file in
5416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5418 [ab].out )
5419 # We found the default executable, but exeext='' is most
5420 # certainly right.
5421 break;;
5422 *.* )
5423 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5424 then :; else
5425 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5427 # We set ac_cv_exeext here because the later test for it is not
5428 # safe: cross compilers may not add the suffix if given an `-o'
5429 # argument, so we may need to know it at that point already.
5430 # Even if this section looks crufty: it has the advantage of
5431 # actually working.
5432 break;;
5434 break;;
5435 esac
5436 done
5437 test "$ac_cv_exeext" = no && ac_cv_exeext=
5439 else $as_nop
5440 ac_file=''
5442 if test -z "$ac_file"
5443 then :
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 printf "%s\n" "no" >&6; }
5446 printf "%s\n" "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.$ac_ext >&5
5449 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5450 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5451 as_fn_error 77 "C compiler cannot create executables
5452 See \`config.log' for more details" "$LINENO" 5; }
5453 else $as_nop
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5455 printf "%s\n" "yes" >&6; }
5457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5458 printf %s "checking for C compiler default output file name... " >&6; }
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5460 printf "%s\n" "$ac_file" >&6; }
5461 ac_exeext=$ac_cv_exeext
5463 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5464 ac_clean_files=$ac_clean_files_save
5465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5466 printf %s "checking for suffix of executables... " >&6; }
5467 if { { ac_try="$ac_link"
5468 case "(($ac_try" in
5469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470 *) ac_try_echo=$ac_try;;
5471 esac
5472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5473 printf "%s\n" "$ac_try_echo"; } >&5
5474 (eval "$ac_link") 2>&5
5475 ac_status=$?
5476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5477 test $ac_status = 0; }
5478 then :
5479 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5480 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5481 # work properly (i.e., refer to `conftest.exe'), while it won't with
5482 # `rm'.
5483 for ac_file in conftest.exe conftest conftest.*; do
5484 test -f "$ac_file" || continue
5485 case $ac_file in
5486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5487 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5488 break;;
5489 * ) break;;
5490 esac
5491 done
5492 else $as_nop
5493 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5494 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5495 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5496 See \`config.log' for more details" "$LINENO" 5; }
5498 rm -f conftest conftest$ac_cv_exeext
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5500 printf "%s\n" "$ac_cv_exeext" >&6; }
5502 rm -f conftest.$ac_ext
5503 EXEEXT=$ac_cv_exeext
5504 ac_exeext=$EXEEXT
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 #include <stdio.h>
5509 main (void)
5511 FILE *f = fopen ("conftest.out", "w");
5512 return ferror (f) || fclose (f) != 0;
5515 return 0;
5517 _ACEOF
5518 ac_clean_files="$ac_clean_files conftest.out"
5519 # Check that the compiler produces executables we can run. If not, either
5520 # the compiler is broken, or we cross compile.
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5522 printf %s "checking whether we are cross compiling... " >&6; }
5523 if test "$cross_compiling" != yes; then
5524 { { ac_try="$ac_link"
5525 case "(($ac_try" in
5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527 *) ac_try_echo=$ac_try;;
5528 esac
5529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5530 printf "%s\n" "$ac_try_echo"; } >&5
5531 (eval "$ac_link") 2>&5
5532 ac_status=$?
5533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5534 test $ac_status = 0; }
5535 if { ac_try='./conftest$ac_cv_exeext'
5536 { { case "(($ac_try" in
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5539 esac
5540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5541 printf "%s\n" "$ac_try_echo"; } >&5
5542 (eval "$ac_try") 2>&5
5543 ac_status=$?
5544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5545 test $ac_status = 0; }; }; then
5546 cross_compiling=no
5547 else
5548 if test "$cross_compiling" = maybe; then
5549 cross_compiling=yes
5550 else
5551 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5552 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5553 as_fn_error 77 "cannot run C compiled programs.
5554 If you meant to cross compile, use \`--host'.
5555 See \`config.log' for more details" "$LINENO" 5; }
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5560 printf "%s\n" "$cross_compiling" >&6; }
5562 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5563 ac_clean_files=$ac_clean_files_save
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5565 printf %s "checking for suffix of object files... " >&6; }
5566 if test ${ac_cv_objext+y}
5567 then :
5568 printf %s "(cached) " >&6
5569 else $as_nop
5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5574 main (void)
5578 return 0;
5580 _ACEOF
5581 rm -f conftest.o conftest.obj
5582 if { { ac_try="$ac_compile"
5583 case "(($ac_try" in
5584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5585 *) ac_try_echo=$ac_try;;
5586 esac
5587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5588 printf "%s\n" "$ac_try_echo"; } >&5
5589 (eval "$ac_compile") 2>&5
5590 ac_status=$?
5591 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5592 test $ac_status = 0; }
5593 then :
5594 for ac_file in conftest.o conftest.obj conftest.*; do
5595 test -f "$ac_file" || continue;
5596 case $ac_file in
5597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5598 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5599 break;;
5600 esac
5601 done
5602 else $as_nop
5603 printf "%s\n" "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5606 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5607 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5608 as_fn_error $? "cannot compute suffix of object files: cannot compile
5609 See \`config.log' for more details" "$LINENO" 5; }
5611 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5614 printf "%s\n" "$ac_cv_objext" >&6; }
5615 OBJEXT=$ac_cv_objext
5616 ac_objext=$OBJEXT
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5618 printf %s "checking whether the compiler supports GNU C... " >&6; }
5619 if test ${ac_cv_c_compiler_gnu+y}
5620 then :
5621 printf %s "(cached) " >&6
5622 else $as_nop
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5627 main (void)
5629 #ifndef __GNUC__
5630 choke me
5631 #endif
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_compile "$LINENO"
5638 then :
5639 ac_compiler_gnu=yes
5640 else $as_nop
5641 ac_compiler_gnu=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5644 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5648 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5651 if test $ac_compiler_gnu = yes; then
5652 GCC=yes
5653 else
5654 GCC=
5656 ac_test_CFLAGS=${CFLAGS+y}
5657 ac_save_CFLAGS=$CFLAGS
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5659 printf %s "checking whether $CC accepts -g... " >&6; }
5660 if test ${ac_cv_prog_cc_g+y}
5661 then :
5662 printf %s "(cached) " >&6
5663 else $as_nop
5664 ac_save_c_werror_flag=$ac_c_werror_flag
5665 ac_c_werror_flag=yes
5666 ac_cv_prog_cc_g=no
5667 CFLAGS="-g"
5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5672 main (void)
5676 return 0;
5678 _ACEOF
5679 if ac_fn_c_try_compile "$LINENO"
5680 then :
5681 ac_cv_prog_cc_g=yes
5682 else $as_nop
5683 CFLAGS=""
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5688 main (void)
5692 return 0;
5694 _ACEOF
5695 if ac_fn_c_try_compile "$LINENO"
5696 then :
5698 else $as_nop
5699 ac_c_werror_flag=$ac_save_c_werror_flag
5700 CFLAGS="-g"
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5705 main (void)
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"
5713 then :
5714 ac_cv_prog_cc_g=yes
5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5721 ac_c_werror_flag=$ac_save_c_werror_flag
5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5724 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5725 if test $ac_test_CFLAGS; then
5726 CFLAGS=$ac_save_CFLAGS
5727 elif test $ac_cv_prog_cc_g = yes; then
5728 if test "$GCC" = yes; then
5729 CFLAGS="-g -O2"
5730 else
5731 CFLAGS="-g"
5733 else
5734 if test "$GCC" = yes; then
5735 CFLAGS="-O2"
5736 else
5737 CFLAGS=
5740 ac_prog_cc_stdc=no
5741 if test x$ac_prog_cc_stdc = xno
5742 then :
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5744 printf %s "checking for $CC option to enable C11 features... " >&6; }
5745 if test ${ac_cv_prog_cc_c11+y}
5746 then :
5747 printf %s "(cached) " >&6
5748 else $as_nop
5749 ac_cv_prog_cc_c11=no
5750 ac_save_CC=$CC
5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5753 $ac_c_conftest_c11_program
5754 _ACEOF
5755 for ac_arg in '' -std=gnu11
5757 CC="$ac_save_CC $ac_arg"
5758 if ac_fn_c_try_compile "$LINENO"
5759 then :
5760 ac_cv_prog_cc_c11=$ac_arg
5762 rm -f core conftest.err conftest.$ac_objext conftest.beam
5763 test "x$ac_cv_prog_cc_c11" != "xno" && break
5764 done
5765 rm -f conftest.$ac_ext
5766 CC=$ac_save_CC
5769 if test "x$ac_cv_prog_cc_c11" = xno
5770 then :
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5772 printf "%s\n" "unsupported" >&6; }
5773 else $as_nop
5774 if test "x$ac_cv_prog_cc_c11" = x
5775 then :
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5777 printf "%s\n" "none needed" >&6; }
5778 else $as_nop
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5780 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5781 CC="$CC $ac_cv_prog_cc_c11"
5783 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5784 ac_prog_cc_stdc=c11
5787 if test x$ac_prog_cc_stdc = xno
5788 then :
5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5790 printf %s "checking for $CC option to enable C99 features... " >&6; }
5791 if test ${ac_cv_prog_cc_c99+y}
5792 then :
5793 printf %s "(cached) " >&6
5794 else $as_nop
5795 ac_cv_prog_cc_c99=no
5796 ac_save_CC=$CC
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5799 $ac_c_conftest_c99_program
5800 _ACEOF
5801 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5803 CC="$ac_save_CC $ac_arg"
5804 if ac_fn_c_try_compile "$LINENO"
5805 then :
5806 ac_cv_prog_cc_c99=$ac_arg
5808 rm -f core conftest.err conftest.$ac_objext conftest.beam
5809 test "x$ac_cv_prog_cc_c99" != "xno" && break
5810 done
5811 rm -f conftest.$ac_ext
5812 CC=$ac_save_CC
5815 if test "x$ac_cv_prog_cc_c99" = xno
5816 then :
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5818 printf "%s\n" "unsupported" >&6; }
5819 else $as_nop
5820 if test "x$ac_cv_prog_cc_c99" = x
5821 then :
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5823 printf "%s\n" "none needed" >&6; }
5824 else $as_nop
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5826 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5827 CC="$CC $ac_cv_prog_cc_c99"
5829 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5830 ac_prog_cc_stdc=c99
5833 if test x$ac_prog_cc_stdc = xno
5834 then :
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5836 printf %s "checking for $CC option to enable C89 features... " >&6; }
5837 if test ${ac_cv_prog_cc_c89+y}
5838 then :
5839 printf %s "(cached) " >&6
5840 else $as_nop
5841 ac_cv_prog_cc_c89=no
5842 ac_save_CC=$CC
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5845 $ac_c_conftest_c89_program
5846 _ACEOF
5847 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5849 CC="$ac_save_CC $ac_arg"
5850 if ac_fn_c_try_compile "$LINENO"
5851 then :
5852 ac_cv_prog_cc_c89=$ac_arg
5854 rm -f core conftest.err conftest.$ac_objext conftest.beam
5855 test "x$ac_cv_prog_cc_c89" != "xno" && break
5856 done
5857 rm -f conftest.$ac_ext
5858 CC=$ac_save_CC
5861 if test "x$ac_cv_prog_cc_c89" = xno
5862 then :
5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5864 printf "%s\n" "unsupported" >&6; }
5865 else $as_nop
5866 if test "x$ac_cv_prog_cc_c89" = x
5867 then :
5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5869 printf "%s\n" "none needed" >&6; }
5870 else $as_nop
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5872 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5873 CC="$CC $ac_cv_prog_cc_c89"
5875 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5876 ac_prog_cc_stdc=c89
5880 ac_ext=c
5881 ac_cpp='$CPP $CPPFLAGS'
5882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892 ac_ext=cpp
5893 ac_cpp='$CXXCPP $CPPFLAGS'
5894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5897 if test -z "$CXX"; then
5898 if test -n "$CCC"; then
5899 CXX=$CCC
5900 else
5901 if test -n "$ac_tool_prefix"; then
5902 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 printf %s "checking for $ac_word... " >&6; }
5908 if test ${ac_cv_prog_CXX+y}
5909 then :
5910 printf %s "(cached) " >&6
5911 else $as_nop
5912 if test -n "$CXX"; then
5913 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 case $as_dir in #(((
5920 '') as_dir=./ ;;
5921 */) ;;
5922 *) as_dir=$as_dir/ ;;
5923 esac
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 CXX=$ac_cv_prog_CXX
5937 if test -n "$CXX"; then
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5939 printf "%s\n" "$CXX" >&6; }
5940 else
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 printf "%s\n" "no" >&6; }
5946 test -n "$CXX" && break
5947 done
5949 if test -z "$CXX"; then
5950 ac_ct_CXX=$CXX
5951 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5953 # Extract the first word of "$ac_prog", so it can be a program name with args.
5954 set dummy $ac_prog; ac_word=$2
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 printf %s "checking for $ac_word... " >&6; }
5957 if test ${ac_cv_prog_ac_ct_CXX+y}
5958 then :
5959 printf %s "(cached) " >&6
5960 else $as_nop
5961 if test -n "$ac_ct_CXX"; then
5962 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 case $as_dir in #(((
5969 '') as_dir=./ ;;
5970 */) ;;
5971 *) as_dir=$as_dir/ ;;
5972 esac
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_ac_ct_CXX="$ac_prog"
5976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5986 if test -n "$ac_ct_CXX"; then
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5988 printf "%s\n" "$ac_ct_CXX" >&6; }
5989 else
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 printf "%s\n" "no" >&6; }
5995 test -n "$ac_ct_CXX" && break
5996 done
5998 if test "x$ac_ct_CXX" = x; then
5999 CXX="g++"
6000 else
6001 case $cross_compiling:$ac_tool_warned in
6002 yes:)
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6004 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6005 ac_tool_warned=yes ;;
6006 esac
6007 CXX=$ac_ct_CXX
6013 # Provide some information about the compiler.
6014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6015 set X $ac_compile
6016 ac_compiler=$2
6017 for ac_option in --version -v -V -qversion; do
6018 { { ac_try="$ac_compiler $ac_option >&5"
6019 case "(($ac_try" in
6020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6021 *) ac_try_echo=$ac_try;;
6022 esac
6023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6024 printf "%s\n" "$ac_try_echo"; } >&5
6025 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6026 ac_status=$?
6027 if test -s conftest.err; then
6028 sed '10a\
6029 ... rest of stderr output deleted ...
6030 10q' conftest.err >conftest.er1
6031 cat conftest.er1 >&5
6033 rm -f conftest.er1 conftest.err
6034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6035 test $ac_status = 0; }
6036 done
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6039 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6040 if test ${ac_cv_cxx_compiler_gnu+y}
6041 then :
6042 printf %s "(cached) " >&6
6043 else $as_nop
6044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6048 main (void)
6050 #ifndef __GNUC__
6051 choke me
6052 #endif
6055 return 0;
6057 _ACEOF
6058 if ac_fn_cxx_try_compile "$LINENO"
6059 then :
6060 ac_compiler_gnu=yes
6061 else $as_nop
6062 ac_compiler_gnu=no
6064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6065 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6069 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6072 if test $ac_compiler_gnu = yes; then
6073 GXX=yes
6074 else
6075 GXX=
6077 ac_test_CXXFLAGS=${CXXFLAGS+y}
6078 ac_save_CXXFLAGS=$CXXFLAGS
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6080 printf %s "checking whether $CXX accepts -g... " >&6; }
6081 if test ${ac_cv_prog_cxx_g+y}
6082 then :
6083 printf %s "(cached) " >&6
6084 else $as_nop
6085 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6086 ac_cxx_werror_flag=yes
6087 ac_cv_prog_cxx_g=no
6088 CXXFLAGS="-g"
6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6093 main (void)
6097 return 0;
6099 _ACEOF
6100 if ac_fn_cxx_try_compile "$LINENO"
6101 then :
6102 ac_cv_prog_cxx_g=yes
6103 else $as_nop
6104 CXXFLAGS=""
6105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6109 main (void)
6113 return 0;
6115 _ACEOF
6116 if ac_fn_cxx_try_compile "$LINENO"
6117 then :
6119 else $as_nop
6120 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6121 CXXFLAGS="-g"
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6126 main (void)
6130 return 0;
6132 _ACEOF
6133 if ac_fn_cxx_try_compile "$LINENO"
6134 then :
6135 ac_cv_prog_cxx_g=yes
6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6142 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6145 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6146 if test $ac_test_CXXFLAGS; then
6147 CXXFLAGS=$ac_save_CXXFLAGS
6148 elif test $ac_cv_prog_cxx_g = yes; then
6149 if test "$GXX" = yes; then
6150 CXXFLAGS="-g -O2"
6151 else
6152 CXXFLAGS="-g"
6154 else
6155 if test "$GXX" = yes; then
6156 CXXFLAGS="-O2"
6157 else
6158 CXXFLAGS=
6161 ac_prog_cxx_stdcxx=no
6162 if test x$ac_prog_cxx_stdcxx = xno
6163 then :
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6165 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6166 if test ${ac_cv_prog_cxx_11+y}
6167 then :
6168 printf %s "(cached) " >&6
6169 else $as_nop
6170 ac_cv_prog_cxx_11=no
6171 ac_save_CXX=$CXX
6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 $ac_cxx_conftest_cxx11_program
6175 _ACEOF
6176 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6178 CXX="$ac_save_CXX $ac_arg"
6179 if ac_fn_cxx_try_compile "$LINENO"
6180 then :
6181 ac_cv_prog_cxx_cxx11=$ac_arg
6183 rm -f core conftest.err conftest.$ac_objext conftest.beam
6184 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6185 done
6186 rm -f conftest.$ac_ext
6187 CXX=$ac_save_CXX
6190 if test "x$ac_cv_prog_cxx_cxx11" = xno
6191 then :
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6193 printf "%s\n" "unsupported" >&6; }
6194 else $as_nop
6195 if test "x$ac_cv_prog_cxx_cxx11" = x
6196 then :
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6198 printf "%s\n" "none needed" >&6; }
6199 else $as_nop
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6201 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6202 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6204 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6205 ac_prog_cxx_stdcxx=cxx11
6208 if test x$ac_prog_cxx_stdcxx = xno
6209 then :
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6211 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6212 if test ${ac_cv_prog_cxx_98+y}
6213 then :
6214 printf %s "(cached) " >&6
6215 else $as_nop
6216 ac_cv_prog_cxx_98=no
6217 ac_save_CXX=$CXX
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 $ac_cxx_conftest_cxx98_program
6221 _ACEOF
6222 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6224 CXX="$ac_save_CXX $ac_arg"
6225 if ac_fn_cxx_try_compile "$LINENO"
6226 then :
6227 ac_cv_prog_cxx_cxx98=$ac_arg
6229 rm -f core conftest.err conftest.$ac_objext conftest.beam
6230 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6231 done
6232 rm -f conftest.$ac_ext
6233 CXX=$ac_save_CXX
6236 if test "x$ac_cv_prog_cxx_cxx98" = xno
6237 then :
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6239 printf "%s\n" "unsupported" >&6; }
6240 else $as_nop
6241 if test "x$ac_cv_prog_cxx_cxx98" = x
6242 then :
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6244 printf "%s\n" "none needed" >&6; }
6245 else $as_nop
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6247 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6248 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6250 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6251 ac_prog_cxx_stdcxx=cxx98
6255 ac_ext=c
6256 ac_cpp='$CPP $CPPFLAGS'
6257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6261 if test -n "$ac_tool_prefix"; then
6262 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6263 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6265 printf %s "checking for $ac_word... " >&6; }
6266 if test ${ac_cv_prog_CPPBIN+y}
6267 then :
6268 printf %s "(cached) " >&6
6269 else $as_nop
6270 if test -n "$CPPBIN"; then
6271 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6276 IFS=$as_save_IFS
6277 case $as_dir in #(((
6278 '') as_dir=./ ;;
6279 */) ;;
6280 *) as_dir=$as_dir/ ;;
6281 esac
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6286 break 2
6288 done
6289 done
6290 IFS=$as_save_IFS
6294 CPPBIN=$ac_cv_prog_CPPBIN
6295 if test -n "$CPPBIN"; then
6296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6297 printf "%s\n" "$CPPBIN" >&6; }
6298 else
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 printf "%s\n" "no" >&6; }
6305 if test -z "$ac_cv_prog_CPPBIN"; then
6306 ac_ct_CPPBIN=$CPPBIN
6307 # Extract the first word of "cpp", so it can be a program name with args.
6308 set dummy cpp; ac_word=$2
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 printf %s "checking for $ac_word... " >&6; }
6311 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 if test -n "$ac_ct_CPPBIN"; then
6316 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6317 else
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 for as_dir in $PATH
6321 IFS=$as_save_IFS
6322 case $as_dir in #(((
6323 '') as_dir=./ ;;
6324 */) ;;
6325 *) as_dir=$as_dir/ ;;
6326 esac
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_ac_ct_CPPBIN="cpp"
6330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6331 break 2
6333 done
6334 done
6335 IFS=$as_save_IFS
6339 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6340 if test -n "$ac_ct_CPPBIN"; then
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6342 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6343 else
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 printf "%s\n" "no" >&6; }
6348 if test "x$ac_ct_CPPBIN" = x; then
6349 CPPBIN="cpp"
6350 else
6351 case $cross_compiling:$ac_tool_warned in
6352 yes:)
6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6354 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6355 ac_tool_warned=yes ;;
6356 esac
6357 CPPBIN=$ac_ct_CPPBIN
6359 else
6360 CPPBIN="$ac_cv_prog_CPPBIN"
6364 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6366 if test -n "$ac_tool_prefix"; then
6367 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6368 set dummy ${ac_tool_prefix}ld; ac_word=$2
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 printf %s "checking for $ac_word... " >&6; }
6371 if test ${ac_cv_prog_LD+y}
6372 then :
6373 printf %s "(cached) " >&6
6374 else $as_nop
6375 if test -n "$LD"; then
6376 ac_cv_prog_LD="$LD" # Let the user override the test.
6377 else
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 for as_dir in $PATH
6381 IFS=$as_save_IFS
6382 case $as_dir in #(((
6383 '') as_dir=./ ;;
6384 */) ;;
6385 *) as_dir=$as_dir/ ;;
6386 esac
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_LD="${ac_tool_prefix}ld"
6390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6391 break 2
6393 done
6394 done
6395 IFS=$as_save_IFS
6399 LD=$ac_cv_prog_LD
6400 if test -n "$LD"; then
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6402 printf "%s\n" "$LD" >&6; }
6403 else
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 printf "%s\n" "no" >&6; }
6410 if test -z "$ac_cv_prog_LD"; then
6411 ac_ct_LD=$LD
6412 # Extract the first word of "ld", so it can be a program name with args.
6413 set dummy ld; ac_word=$2
6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 printf %s "checking for $ac_word... " >&6; }
6416 if test ${ac_cv_prog_ac_ct_LD+y}
6417 then :
6418 printf %s "(cached) " >&6
6419 else $as_nop
6420 if test -n "$ac_ct_LD"; then
6421 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6422 else
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 for as_dir in $PATH
6426 IFS=$as_save_IFS
6427 case $as_dir in #(((
6428 '') as_dir=./ ;;
6429 */) ;;
6430 *) as_dir=$as_dir/ ;;
6431 esac
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6434 ac_cv_prog_ac_ct_LD="ld"
6435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6436 break 2
6438 done
6439 done
6440 IFS=$as_save_IFS
6444 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6445 if test -n "$ac_ct_LD"; then
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6447 printf "%s\n" "$ac_ct_LD" >&6; }
6448 else
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 printf "%s\n" "no" >&6; }
6453 if test "x$ac_ct_LD" = x; then
6454 LD=""
6455 else
6456 case $cross_compiling:$ac_tool_warned in
6457 yes:)
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6459 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6460 ac_tool_warned=yes ;;
6461 esac
6462 LD=$ac_ct_LD
6464 else
6465 LD="$ac_cv_prog_LD"
6469 case $host in
6470 *-darwin*)
6471 with_fontconfig=${with_fontconfig:-no}
6473 *-mingw32*|*-cygwin*)
6474 enable_win16=${enable_win16:-no}
6475 with_mingw=${with_mingw:-no}
6477 esac
6480 case $host in
6481 x86_64*|amd64*)
6482 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6483 then
6484 CC="$CC -m32"
6485 CXX="$CXX -m32"
6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6488 printf %s "checking whether $CC works... " >&6; }
6489 if test ${wine_cv_cc_m32+y}
6490 then :
6491 printf %s "(cached) " >&6
6492 else $as_nop
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6497 main (void)
6501 return 0;
6503 _ACEOF
6504 if ac_fn_c_try_link "$LINENO"
6505 then :
6506 wine_cv_cc_m32=yes
6507 else $as_nop
6508 wine_cv_cc_m32=no
6510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6511 conftest$ac_exeext conftest.$ac_ext
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6514 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6515 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
6516 host_cpu="i386"
6517 notice_platform="32-bit "
6518 TARGETFLAGS="$TARGETFLAGS -m32"
6519 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6520 export PKG_CONFIG_PATH
6521 enable_win16=${enable_win16:-yes}
6522 with_unwind=${with_unwind:-no}
6523 else
6524 if test "x${GCC}" = "xyes"
6525 then
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6527 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6528 if test ${wine_cv_builtin_ms_va_list+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <stdarg.h>
6536 main (void)
6538 void func(__builtin_ms_va_list *args);
6540 return 0;
6542 _ACEOF
6543 if ac_fn_c_try_compile "$LINENO"
6544 then :
6545 wine_cv_builtin_ms_va_list=yes
6546 else $as_nop
6547 wine_cv_builtin_ms_va_list=no
6549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6552 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6553 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
6555 CC="$CC -m64"
6556 CXX="$CXX -m64"
6557 host_cpu="x86_64"
6558 notice_platform="64-bit "
6559 TARGETFLAGS="$TARGETFLAGS -m64"
6560 enable_wow64=${enable_wow64:-yes}
6561 enable_wow64win=${enable_wow64win:-yes}
6562 enable_wow64cpu=${enable_wow64cpu:-yes}
6565 arm*)
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6567 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6568 if test ${wine_cv_thumb2+y}
6569 then :
6570 printf %s "(cached) " >&6
6571 else $as_nop
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6576 main (void)
6578 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_link "$LINENO"
6584 then :
6585 wine_cv_thumb2=yes
6586 else $as_nop
6587 wine_cv_thumb2=no
6589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6590 conftest$ac_exeext conftest.$ac_ext
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6593 printf "%s\n" "$wine_cv_thumb2" >&6; }
6594 if test x"$wine_cv_thumb2" = xyes
6595 then
6596 CFLAGS="$CFLAGS -mthumb"
6597 TARGETFLAGS="$TARGETFLAGS -mthumb"
6598 else
6599 CFLAGS="$CFLAGS -marm"
6600 TARGETFLAGS="$TARGETFLAGS -marm"
6602 case $with_float_abi in
6603 soft|softfp|hard)
6604 float_abi=$with_float_abi ;;
6606 case $host_os in
6607 *eabihf)
6608 float_abi=hard ;;
6610 float_abi=softfp
6611 saved_CFLAGS=$CFLAGS
6612 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6614 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6615 if test ${wine_cv_float_abi+y}
6616 then :
6617 printf %s "(cached) " >&6
6618 else $as_nop
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6623 main (void)
6625 asm("vmrs r2,fpscr");
6627 return 0;
6629 _ACEOF
6630 if ac_fn_c_try_link "$LINENO"
6631 then :
6632 wine_cv_float_abi=yes
6633 else $as_nop
6634 wine_cv_float_abi=no
6636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6637 conftest$ac_exeext conftest.$ac_ext
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6640 printf "%s\n" "$wine_cv_float_abi" >&6; }
6641 if test $wine_cv_float_abi = no
6642 then
6643 float_abi=soft
6644 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6646 CFLAGS=$saved_CFLAGS
6647 esac
6649 esac
6650 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6651 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6653 aarch64*)
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6655 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6656 if test ${wine_cv_builtin_ms_va_list+y}
6657 then :
6658 printf %s "(cached) " >&6
6659 else $as_nop
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <stdarg.h>
6664 main (void)
6666 void func(__builtin_ms_va_list *args);
6668 return 0;
6670 _ACEOF
6671 if ac_fn_c_try_compile "$LINENO"
6672 then :
6673 wine_cv_builtin_ms_va_list=yes
6674 else $as_nop
6675 wine_cv_builtin_ms_va_list=no
6677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6680 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6681 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6682 enable_wow64=${enable_wow64:-yes}
6683 enable_wow64win=${enable_wow64win:-yes}
6685 i[3456789]86*)
6686 enable_win16=${enable_win16:-yes}
6687 with_unwind=${with_unwind:-no}
6689 esac
6691 enable_win16=${enable_win16:-no}
6692 enable_win64=${enable_win64:-no}
6693 enable_wow64=${enable_wow64:-no}
6694 enable_wow64win=${enable_wow64win:-no}
6695 enable_wow64cpu=${enable_wow64cpu:-no}
6697 enable_winetest=${enable_winetest:-$enable_tests}
6699 if test "x$enable_win64" = "xyes"
6700 then
6701 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6702 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6705 case $build_os in
6706 cygwin*|mingw32*) toolsext=".exe"
6708 *) toolsext=""
6710 esac
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6713 printf %s "checking for the directory containing the Wine tools... " >&6; }
6714 if test ${wine_cv_toolsdir+y}
6715 then :
6716 printf %s "(cached) " >&6
6717 else $as_nop
6718 wine_cv_toolsdir="$with_wine_tools"
6719 if test -z "$with_wine_tools"; then
6720 if test "$cross_compiling" = "yes"; then
6721 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6722 elif test -n "$with_wine64"; then
6723 wine_cv_toolsdir="$with_wine64"
6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6728 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6729 if test -z "$wine_cv_toolsdir"; then
6730 wine_makedep=tools/makedep$toolsext
6731 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6732 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6733 enable_tools=${enable_tools:-no}
6734 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6735 else
6736 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6738 toolsdir=$wine_cv_toolsdir
6740 MAKEDEP=$wine_makedep
6742 RUNTESTFLAGS="-q -P wine"
6744 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'"
6747 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6748 then
6749 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6752 for ac_prog in flex
6754 # Extract the first word of "$ac_prog", so it can be a program name with args.
6755 set dummy $ac_prog; ac_word=$2
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 printf %s "checking for $ac_word... " >&6; }
6758 if test ${ac_cv_prog_FLEX+y}
6759 then :
6760 printf %s "(cached) " >&6
6761 else $as_nop
6762 if test -n "$FLEX"; then
6763 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 case $as_dir in #(((
6770 '') as_dir=./ ;;
6771 */) ;;
6772 *) as_dir=$as_dir/ ;;
6773 esac
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_FLEX="$ac_prog"
6777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6778 break 2
6780 done
6781 done
6782 IFS=$as_save_IFS
6786 FLEX=$ac_cv_prog_FLEX
6787 if test -n "$FLEX"; then
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6789 printf "%s\n" "$FLEX" >&6; }
6790 else
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 printf "%s\n" "no" >&6; }
6796 test -n "$FLEX" && break
6797 done
6798 test -n "$FLEX" || FLEX="none"
6800 if test "$FLEX" = "none"
6801 then
6802 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6805 printf %s "checking whether flex is recent enough... " >&6; }
6806 if test ${wine_cv_recent_flex+y}
6807 then :
6808 printf %s "(cached) " >&6
6809 else $as_nop
6810 cat >conftest.l <<EOF
6811 %top{
6812 #include "prediluvian.h"
6816 if $FLEX -t conftest.l >/dev/null 2>&5
6817 then
6818 wine_cv_recent_flex=yes
6819 else
6820 wine_cv_recent_flex=no
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6824 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6825 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
6827 for ac_prog in bison
6829 # Extract the first word of "$ac_prog", so it can be a program name with args.
6830 set dummy $ac_prog; ac_word=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s "checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_BISON+y}
6834 then :
6835 printf %s "(cached) " >&6
6836 else $as_nop
6837 if test -n "$BISON"; then
6838 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6843 IFS=$as_save_IFS
6844 case $as_dir in #(((
6845 '') as_dir=./ ;;
6846 */) ;;
6847 *) as_dir=$as_dir/ ;;
6848 esac
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_BISON="$ac_prog"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6853 break 2
6855 done
6856 done
6857 IFS=$as_save_IFS
6861 BISON=$ac_cv_prog_BISON
6862 if test -n "$BISON"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6864 printf "%s\n" "$BISON" >&6; }
6865 else
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6871 test -n "$BISON" && break
6872 done
6873 test -n "$BISON" || BISON="none"
6875 if test "$BISON" = "none"
6876 then
6877 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6880 printf %s "checking whether bison is recent enough... " >&6; }
6881 if test ${wine_cv_recent_bison+y}
6882 then :
6883 printf %s "(cached) " >&6
6884 else $as_nop
6885 cat >conftest.y <<EOF
6886 %define parse.error verbose
6888 empty: ;
6890 if $BISON conftest.y >/dev/null 2>&5
6891 then
6892 wine_cv_recent_bison=yes
6893 else
6894 wine_cv_recent_bison=no
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6898 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6899 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
6901 if test -n "$ac_tool_prefix"; then
6902 for ac_prog in ar gar
6904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 printf %s "checking for $ac_word... " >&6; }
6908 if test ${ac_cv_prog_AR+y}
6909 then :
6910 printf %s "(cached) " >&6
6911 else $as_nop
6912 if test -n "$AR"; then
6913 ac_cv_prog_AR="$AR" # Let the user override the test.
6914 else
6915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 for as_dir in $PATH
6918 IFS=$as_save_IFS
6919 case $as_dir in #(((
6920 '') as_dir=./ ;;
6921 */) ;;
6922 *) as_dir=$as_dir/ ;;
6923 esac
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6928 break 2
6930 done
6931 done
6932 IFS=$as_save_IFS
6936 AR=$ac_cv_prog_AR
6937 if test -n "$AR"; then
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6939 printf "%s\n" "$AR" >&6; }
6940 else
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 printf "%s\n" "no" >&6; }
6946 test -n "$AR" && break
6947 done
6949 if test -z "$AR"; then
6950 ac_ct_AR=$AR
6951 for ac_prog in ar gar
6953 # Extract the first word of "$ac_prog", so it can be a program name with args.
6954 set dummy $ac_prog; ac_word=$2
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 printf %s "checking for $ac_word... " >&6; }
6957 if test ${ac_cv_prog_ac_ct_AR+y}
6958 then :
6959 printf %s "(cached) " >&6
6960 else $as_nop
6961 if test -n "$ac_ct_AR"; then
6962 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6963 else
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 for as_dir in $PATH
6967 IFS=$as_save_IFS
6968 case $as_dir in #(((
6969 '') as_dir=./ ;;
6970 */) ;;
6971 *) as_dir=$as_dir/ ;;
6972 esac
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6975 ac_cv_prog_ac_ct_AR="$ac_prog"
6976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6977 break 2
6979 done
6980 done
6981 IFS=$as_save_IFS
6985 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6986 if test -n "$ac_ct_AR"; then
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6988 printf "%s\n" "$ac_ct_AR" >&6; }
6989 else
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 printf "%s\n" "no" >&6; }
6995 test -n "$ac_ct_AR" && break
6996 done
6998 if test "x$ac_ct_AR" = x; then
6999 AR="ar"
7000 else
7001 case $cross_compiling:$ac_tool_warned in
7002 yes:)
7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7004 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7005 ac_tool_warned=yes ;;
7006 esac
7007 AR=$ac_ct_AR
7011 if test -n "$ac_tool_prefix"; then
7012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}strip; ac_word=$2
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 printf %s "checking for $ac_word... " >&6; }
7016 if test ${ac_cv_prog_STRIP+y}
7017 then :
7018 printf %s "(cached) " >&6
7019 else $as_nop
7020 if test -n "$STRIP"; then
7021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7022 else
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 for as_dir in $PATH
7026 IFS=$as_save_IFS
7027 case $as_dir in #(((
7028 '') as_dir=./ ;;
7029 */) ;;
7030 *) as_dir=$as_dir/ ;;
7031 esac
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7036 break 2
7038 done
7039 done
7040 IFS=$as_save_IFS
7044 STRIP=$ac_cv_prog_STRIP
7045 if test -n "$STRIP"; then
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7047 printf "%s\n" "$STRIP" >&6; }
7048 else
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 printf "%s\n" "no" >&6; }
7055 if test -z "$ac_cv_prog_STRIP"; then
7056 ac_ct_STRIP=$STRIP
7057 # Extract the first word of "strip", so it can be a program name with args.
7058 set dummy strip; ac_word=$2
7059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 printf %s "checking for $ac_word... " >&6; }
7061 if test ${ac_cv_prog_ac_ct_STRIP+y}
7062 then :
7063 printf %s "(cached) " >&6
7064 else $as_nop
7065 if test -n "$ac_ct_STRIP"; then
7066 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7067 else
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 for as_dir in $PATH
7071 IFS=$as_save_IFS
7072 case $as_dir in #(((
7073 '') as_dir=./ ;;
7074 */) ;;
7075 *) as_dir=$as_dir/ ;;
7076 esac
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7079 ac_cv_prog_ac_ct_STRIP="strip"
7080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7081 break 2
7083 done
7084 done
7085 IFS=$as_save_IFS
7089 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7090 if test -n "$ac_ct_STRIP"; then
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7092 printf "%s\n" "$ac_ct_STRIP" >&6; }
7093 else
7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 printf "%s\n" "no" >&6; }
7098 if test "x$ac_ct_STRIP" = x; then
7099 STRIP="strip"
7100 else
7101 case $cross_compiling:$ac_tool_warned in
7102 yes:)
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105 ac_tool_warned=yes ;;
7106 esac
7107 STRIP=$ac_ct_STRIP
7109 else
7110 STRIP="$ac_cv_prog_STRIP"
7113 if test -n "$ac_tool_prefix"; then
7114 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7115 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 printf %s "checking for $ac_word... " >&6; }
7118 if test ${ac_cv_prog_RANLIB+y}
7119 then :
7120 printf %s "(cached) " >&6
7121 else $as_nop
7122 if test -n "$RANLIB"; then
7123 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7128 IFS=$as_save_IFS
7129 case $as_dir in #(((
7130 '') as_dir=./ ;;
7131 */) ;;
7132 *) as_dir=$as_dir/ ;;
7133 esac
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7138 break 2
7140 done
7141 done
7142 IFS=$as_save_IFS
7146 RANLIB=$ac_cv_prog_RANLIB
7147 if test -n "$RANLIB"; then
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7149 printf "%s\n" "$RANLIB" >&6; }
7150 else
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 printf "%s\n" "no" >&6; }
7157 if test -z "$ac_cv_prog_RANLIB"; then
7158 ac_ct_RANLIB=$RANLIB
7159 # Extract the first word of "ranlib", so it can be a program name with args.
7160 set dummy ranlib; ac_word=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s "checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else $as_nop
7167 if test -n "$ac_ct_RANLIB"; then
7168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7173 IFS=$as_save_IFS
7174 case $as_dir in #(((
7175 '') as_dir=./ ;;
7176 */) ;;
7177 *) as_dir=$as_dir/ ;;
7178 esac
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_ac_ct_RANLIB="ranlib"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 break 2
7185 done
7186 done
7187 IFS=$as_save_IFS
7191 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7192 if test -n "$ac_ct_RANLIB"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7194 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7195 else
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7200 if test "x$ac_ct_RANLIB" = x; then
7201 RANLIB=":"
7202 else
7203 case $cross_compiling:$ac_tool_warned in
7204 yes:)
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7207 ac_tool_warned=yes ;;
7208 esac
7209 RANLIB=$ac_ct_RANLIB
7211 else
7212 RANLIB="$ac_cv_prog_RANLIB"
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7216 printf %s "checking whether ln -s works... " >&6; }
7217 LN_S=$as_ln_s
7218 if test "$LN_S" = "ln -s"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7220 printf "%s\n" "yes" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7223 printf "%s\n" "no, using $LN_S" >&6; }
7226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7227 printf %s "checking for grep that handles long lines and -e... " >&6; }
7228 if test ${ac_cv_path_GREP+y}
7229 then :
7230 printf %s "(cached) " >&6
7231 else $as_nop
7232 if test -z "$GREP"; then
7233 ac_path_GREP_found=false
7234 # Loop through the user's path and test for each of PROGNAME-LIST
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7238 IFS=$as_save_IFS
7239 case $as_dir in #(((
7240 '') as_dir=./ ;;
7241 */) ;;
7242 *) as_dir=$as_dir/ ;;
7243 esac
7244 for ac_prog in grep ggrep
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7248 as_fn_executable_p "$ac_path_GREP" || continue
7249 # Check for GNU ac_path_GREP and select it if it is found.
7250 # Check for GNU $ac_path_GREP
7251 case `"$ac_path_GREP" --version 2>&1` in
7252 *GNU*)
7253 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7255 ac_count=0
7256 printf %s 0123456789 >"conftest.in"
7257 while :
7259 cat "conftest.in" "conftest.in" >"conftest.tmp"
7260 mv "conftest.tmp" "conftest.in"
7261 cp "conftest.in" "conftest.nl"
7262 printf "%s\n" 'GREP' >> "conftest.nl"
7263 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7265 as_fn_arith $ac_count + 1 && ac_count=$as_val
7266 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7267 # Best one so far, save it but keep looking for a better one
7268 ac_cv_path_GREP="$ac_path_GREP"
7269 ac_path_GREP_max=$ac_count
7271 # 10*(2^10) chars as input seems more than enough
7272 test $ac_count -gt 10 && break
7273 done
7274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7275 esac
7277 $ac_path_GREP_found && break 3
7278 done
7279 done
7280 done
7281 IFS=$as_save_IFS
7282 if test -z "$ac_cv_path_GREP"; then
7283 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7285 else
7286 ac_cv_path_GREP=$GREP
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7291 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7292 GREP="$ac_cv_path_GREP"
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7296 printf %s "checking for egrep... " >&6; }
7297 if test ${ac_cv_path_EGREP+y}
7298 then :
7299 printf %s "(cached) " >&6
7300 else $as_nop
7301 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7302 then ac_cv_path_EGREP="$GREP -E"
7303 else
7304 if test -z "$EGREP"; then
7305 ac_path_EGREP_found=false
7306 # Loop through the user's path and test for each of PROGNAME-LIST
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7310 IFS=$as_save_IFS
7311 case $as_dir in #(((
7312 '') as_dir=./ ;;
7313 */) ;;
7314 *) as_dir=$as_dir/ ;;
7315 esac
7316 for ac_prog in egrep
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7320 as_fn_executable_p "$ac_path_EGREP" || continue
7321 # Check for GNU ac_path_EGREP and select it if it is found.
7322 # Check for GNU $ac_path_EGREP
7323 case `"$ac_path_EGREP" --version 2>&1` in
7324 *GNU*)
7325 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7327 ac_count=0
7328 printf %s 0123456789 >"conftest.in"
7329 while :
7331 cat "conftest.in" "conftest.in" >"conftest.tmp"
7332 mv "conftest.tmp" "conftest.in"
7333 cp "conftest.in" "conftest.nl"
7334 printf "%s\n" 'EGREP' >> "conftest.nl"
7335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7337 as_fn_arith $ac_count + 1 && ac_count=$as_val
7338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7339 # Best one so far, save it but keep looking for a better one
7340 ac_cv_path_EGREP="$ac_path_EGREP"
7341 ac_path_EGREP_max=$ac_count
7343 # 10*(2^10) chars as input seems more than enough
7344 test $ac_count -gt 10 && break
7345 done
7346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7347 esac
7349 $ac_path_EGREP_found && break 3
7350 done
7351 done
7352 done
7353 IFS=$as_save_IFS
7354 if test -z "$ac_cv_path_EGREP"; then
7355 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7357 else
7358 ac_cv_path_EGREP=$EGREP
7363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7364 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7365 EGREP="$ac_cv_path_EGREP"
7368 # Extract the first word of "ldconfig", so it can be a program name with args.
7369 set dummy ldconfig; ac_word=$2
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 printf %s "checking for $ac_word... " >&6; }
7372 if test ${ac_cv_path_LDCONFIG+y}
7373 then :
7374 printf %s "(cached) " >&6
7375 else $as_nop
7376 case $LDCONFIG in
7377 [\\/]* | ?:[\\/]*)
7378 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in /sbin /usr/sbin $PATH
7384 IFS=$as_save_IFS
7385 case $as_dir in #(((
7386 '') as_dir=./ ;;
7387 */) ;;
7388 *) as_dir=$as_dir/ ;;
7389 esac
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7392 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7400 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7402 esac
7404 LDCONFIG=$ac_cv_path_LDCONFIG
7405 if test -n "$LDCONFIG"; then
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7407 printf "%s\n" "$LDCONFIG" >&6; }
7408 else
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 printf "%s\n" "no" >&6; }
7414 for ac_prog in msgfmt
7416 # Extract the first word of "$ac_prog", so it can be a program name with args.
7417 set dummy $ac_prog; ac_word=$2
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 printf %s "checking for $ac_word... " >&6; }
7420 if test ${ac_cv_prog_MSGFMT+y}
7421 then :
7422 printf %s "(cached) " >&6
7423 else $as_nop
7424 if test -n "$MSGFMT"; then
7425 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 case $as_dir in #(((
7432 '') as_dir=./ ;;
7433 */) ;;
7434 *) as_dir=$as_dir/ ;;
7435 esac
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_MSGFMT="$ac_prog"
7439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7440 break 2
7442 done
7443 done
7444 IFS=$as_save_IFS
7448 MSGFMT=$ac_cv_prog_MSGFMT
7449 if test -n "$MSGFMT"; then
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7451 printf "%s\n" "$MSGFMT" >&6; }
7452 else
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 printf "%s\n" "no" >&6; }
7458 test -n "$MSGFMT" && break
7459 done
7460 test -n "$MSGFMT" || MSGFMT="false"
7462 if test ${ac_tool_prefix+y}
7463 then :
7464 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7465 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 printf %s "checking for $ac_word... " >&6; }
7468 if test ${ac_cv_prog_PKG_CONFIG+y}
7469 then :
7470 printf %s "(cached) " >&6
7471 else $as_nop
7472 if test -n "$PKG_CONFIG"; then
7473 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 case $as_dir in #(((
7480 '') as_dir=./ ;;
7481 */) ;;
7482 *) as_dir=$as_dir/ ;;
7483 esac
7484 for ac_exec_ext in '' $ac_executable_extensions; do
7485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7486 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7488 break 2
7490 done
7491 done
7492 IFS=$as_save_IFS
7496 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7497 if test -n "$PKG_CONFIG"; then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7499 printf "%s\n" "$PKG_CONFIG" >&6; }
7500 else
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502 printf "%s\n" "no" >&6; }
7507 if ${ac_cv_prog_PKG_CONFIG:+false} :
7508 then :
7509 if test "x$cross_compiling" = xyes
7510 then :
7512 else $as_nop
7513 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7514 # Extract the first word of "pkg-config", so it can be a program name with args.
7515 set dummy pkg-config; ac_word=$2
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 printf %s "checking for $ac_word... " >&6; }
7518 if test ${ac_cv_prog_PKG_CONFIG+y}
7519 then :
7520 printf %s "(cached) " >&6
7521 else $as_nop
7522 if test -n "$PKG_CONFIG"; then
7523 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7524 else
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 for as_dir in $PATH
7528 IFS=$as_save_IFS
7529 case $as_dir in #(((
7530 '') as_dir=./ ;;
7531 */) ;;
7532 *) as_dir=$as_dir/ ;;
7533 esac
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7536 ac_cv_prog_PKG_CONFIG="pkg-config"
7537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7538 break 2
7540 done
7541 done
7542 IFS=$as_save_IFS
7546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7547 if test -n "$PKG_CONFIG"; then
7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7549 printf "%s\n" "$PKG_CONFIG" >&6; }
7550 else
7551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 printf "%s\n" "no" >&6; }
7557 else $as_nop
7558 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7561 if test "x$enable_maintainer_mode" != "xyes"
7562 then
7563 FONTFORGE=""
7564 RSVG=""
7565 CONVERT=""
7566 ICOTOOL=""
7567 else
7568 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7569 for ac_prog in fontforge
7571 # Extract the first word of "$ac_prog", so it can be a program name with args.
7572 set dummy $ac_prog; ac_word=$2
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 printf %s "checking for $ac_word... " >&6; }
7575 if test ${ac_cv_prog_FONTFORGE+y}
7576 then :
7577 printf %s "(cached) " >&6
7578 else $as_nop
7579 if test -n "$FONTFORGE"; then
7580 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 case $as_dir in #(((
7587 '') as_dir=./ ;;
7588 */) ;;
7589 *) as_dir=$as_dir/ ;;
7590 esac
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_FONTFORGE="$ac_prog"
7594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7595 break 2
7597 done
7598 done
7599 IFS=$as_save_IFS
7603 FONTFORGE=$ac_cv_prog_FONTFORGE
7604 if test -n "$FONTFORGE"; then
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7606 printf "%s\n" "$FONTFORGE" >&6; }
7607 else
7608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 printf "%s\n" "no" >&6; }
7613 test -n "$FONTFORGE" && break
7614 done
7615 test -n "$FONTFORGE" || FONTFORGE="false"
7617 for ac_prog in rsvg-convert rsvg
7619 # Extract the first word of "$ac_prog", so it can be a program name with args.
7620 set dummy $ac_prog; ac_word=$2
7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 printf %s "checking for $ac_word... " >&6; }
7623 if test ${ac_cv_prog_RSVG+y}
7624 then :
7625 printf %s "(cached) " >&6
7626 else $as_nop
7627 if test -n "$RSVG"; then
7628 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7629 else
7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 for as_dir in $PATH
7633 IFS=$as_save_IFS
7634 case $as_dir in #(((
7635 '') as_dir=./ ;;
7636 */) ;;
7637 *) as_dir=$as_dir/ ;;
7638 esac
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7641 ac_cv_prog_RSVG="$ac_prog"
7642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7643 break 2
7645 done
7646 done
7647 IFS=$as_save_IFS
7651 RSVG=$ac_cv_prog_RSVG
7652 if test -n "$RSVG"; then
7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7654 printf "%s\n" "$RSVG" >&6; }
7655 else
7656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 printf "%s\n" "no" >&6; }
7661 test -n "$RSVG" && break
7662 done
7663 test -n "$RSVG" || RSVG="false"
7665 for ac_prog in convert
7667 # Extract the first word of "$ac_prog", so it can be a program name with args.
7668 set dummy $ac_prog; ac_word=$2
7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7670 printf %s "checking for $ac_word... " >&6; }
7671 if test ${ac_cv_prog_CONVERT+y}
7672 then :
7673 printf %s "(cached) " >&6
7674 else $as_nop
7675 if test -n "$CONVERT"; then
7676 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7677 else
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 for as_dir in $PATH
7681 IFS=$as_save_IFS
7682 case $as_dir in #(((
7683 '') as_dir=./ ;;
7684 */) ;;
7685 *) as_dir=$as_dir/ ;;
7686 esac
7687 for ac_exec_ext in '' $ac_executable_extensions; do
7688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7689 ac_cv_prog_CONVERT="$ac_prog"
7690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7691 break 2
7693 done
7694 done
7695 IFS=$as_save_IFS
7699 CONVERT=$ac_cv_prog_CONVERT
7700 if test -n "$CONVERT"; then
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7702 printf "%s\n" "$CONVERT" >&6; }
7703 else
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 printf "%s\n" "no" >&6; }
7709 test -n "$CONVERT" && break
7710 done
7711 test -n "$CONVERT" || CONVERT="false"
7713 for ac_prog in icotool
7715 # Extract the first word of "$ac_prog", so it can be a program name with args.
7716 set dummy $ac_prog; ac_word=$2
7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 printf %s "checking for $ac_word... " >&6; }
7719 if test ${ac_cv_prog_ICOTOOL+y}
7720 then :
7721 printf %s "(cached) " >&6
7722 else $as_nop
7723 if test -n "$ICOTOOL"; then
7724 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7725 else
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 for as_dir in $PATH
7729 IFS=$as_save_IFS
7730 case $as_dir in #(((
7731 '') as_dir=./ ;;
7732 */) ;;
7733 *) as_dir=$as_dir/ ;;
7734 esac
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_ICOTOOL="$ac_prog"
7738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 ICOTOOL=$ac_cv_prog_ICOTOOL
7748 if test -n "$ICOTOOL"; then
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7750 printf "%s\n" "$ICOTOOL" >&6; }
7751 else
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 printf "%s\n" "no" >&6; }
7757 test -n "$ICOTOOL" && break
7758 done
7759 test -n "$ICOTOOL" || ICOTOOL="false"
7761 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7762 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7764 if test "$CONVERT" = false
7765 then
7766 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7767 else
7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7769 printf %s "checking for recent enough imagemagick... " >&6; }
7770 convert_version=`convert --version | head -n1`
7771 if test "x$convert_version" != "x"
7772 then
7773 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7774 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7775 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7776 then
7777 CONVERT=false
7780 if test "$CONVERT" = false
7781 then
7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7783 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7784 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7785 else
7786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7787 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7791 if test "$ICOTOOL" = false
7792 then
7793 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7794 else
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7796 printf %s "checking for recent enough icotool... " >&6; }
7797 icotool_version=`icotool --version | head -n1`
7798 if test "x$icotool_version" != "x"
7799 then
7800 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7801 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7802 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7803 then
7804 ICOTOOL=false
7805 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7808 if test "$ICOTOOL" = false
7809 then
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7811 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7812 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7813 else
7814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7815 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7819 with_gettext=yes
7820 with_gettextpo=yes
7822 enable_werror=yes
7825 test "x$with_gettext" != xno || MSGFMT=false
7826 if test "$MSGFMT" != "false"
7827 then
7828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7829 printf %s "checking whether msgfmt supports contexts... " >&6; }
7830 if test ${wine_cv_msgfmt_contexts+y}
7831 then :
7832 printf %s "(cached) " >&6
7833 else $as_nop
7834 cat >conftest.po <<EOF
7835 # comment
7836 msgctxt "ctxt"
7837 msgid "id"
7838 msgstr "str"
7840 if $MSGFMT -o /dev/null conftest.po 2>&5
7841 then
7842 wine_cv_msgfmt_contexts=yes
7843 else
7844 wine_cv_msgfmt_contexts=no
7847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7848 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7849 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7851 if test "$MSGFMT" = false
7852 then :
7853 case "x$with_gettext" in
7854 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7855 xno) ;;
7856 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7857 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7858 esac
7859 enable_po=${enable_po:-no}
7863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7864 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7865 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7866 then :
7867 printf %s "(cached) " >&6
7868 else $as_nop
7869 ac_check_lib_save_LIBS=$LIBS
7870 LIBS="-li386 $LIBS"
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7874 /* Override any GCC internal prototype to avoid an error.
7875 Use char because int might match the return type of a GCC
7876 builtin and then its argument prototype would still apply. */
7877 char i386_set_ldt ();
7879 main (void)
7881 return i386_set_ldt ();
7883 return 0;
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"
7887 then :
7888 ac_cv_lib_i386_i386_set_ldt=yes
7889 else $as_nop
7890 ac_cv_lib_i386_i386_set_ldt=no
7892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7893 conftest$ac_exeext conftest.$ac_ext
7894 LIBS=$ac_check_lib_save_LIBS
7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7897 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7898 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7899 then :
7900 I386_LIBS="-li386"
7905 OPENGL_LIBS=""
7909 # Check whether --enable-largefile was given.
7910 if test ${enable_largefile+y}
7911 then :
7912 enableval=$enable_largefile;
7915 if test "$enable_largefile" != no; then
7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7918 printf %s "checking for special C compiler options needed for large files... " >&6; }
7919 if test ${ac_cv_sys_largefile_CC+y}
7920 then :
7921 printf %s "(cached) " >&6
7922 else $as_nop
7923 ac_cv_sys_largefile_CC=no
7924 if test "$GCC" != yes; then
7925 ac_save_CC=$CC
7926 while :; do
7927 # IRIX 6.2 and later do not support large files by default,
7928 # so use the C compiler's -n32 option if that helps.
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7931 #include <sys/types.h>
7932 /* Check that off_t can represent 2**63 - 1 correctly.
7933 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7934 since some C++ compilers masquerading as C compilers
7935 incorrectly reject 9223372036854775807. */
7936 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7937 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7938 && LARGE_OFF_T % 2147483647 == 1)
7939 ? 1 : -1];
7941 main (void)
7945 return 0;
7947 _ACEOF
7948 if ac_fn_c_try_compile "$LINENO"
7949 then :
7950 break
7952 rm -f core conftest.err conftest.$ac_objext conftest.beam
7953 CC="$CC -n32"
7954 if ac_fn_c_try_compile "$LINENO"
7955 then :
7956 ac_cv_sys_largefile_CC=' -n32'; break
7958 rm -f core conftest.err conftest.$ac_objext conftest.beam
7959 break
7960 done
7961 CC=$ac_save_CC
7962 rm -f conftest.$ac_ext
7965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7966 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7967 if test "$ac_cv_sys_largefile_CC" != no; then
7968 CC=$CC$ac_cv_sys_largefile_CC
7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7972 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7973 if test ${ac_cv_sys_file_offset_bits+y}
7974 then :
7975 printf %s "(cached) " >&6
7976 else $as_nop
7977 while :; do
7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */
7980 #include <sys/types.h>
7981 /* Check that off_t can represent 2**63 - 1 correctly.
7982 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7983 since some C++ compilers masquerading as C compilers
7984 incorrectly reject 9223372036854775807. */
7985 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7986 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7987 && LARGE_OFF_T % 2147483647 == 1)
7988 ? 1 : -1];
7990 main (void)
7994 return 0;
7996 _ACEOF
7997 if ac_fn_c_try_compile "$LINENO"
7998 then :
7999 ac_cv_sys_file_offset_bits=no; break
8001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 #define _FILE_OFFSET_BITS 64
8005 #include <sys/types.h>
8006 /* Check that off_t can represent 2**63 - 1 correctly.
8007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8008 since some C++ compilers masquerading as C compilers
8009 incorrectly reject 9223372036854775807. */
8010 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8012 && LARGE_OFF_T % 2147483647 == 1)
8013 ? 1 : -1];
8015 main (void)
8019 return 0;
8021 _ACEOF
8022 if ac_fn_c_try_compile "$LINENO"
8023 then :
8024 ac_cv_sys_file_offset_bits=64; break
8026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8027 ac_cv_sys_file_offset_bits=unknown
8028 break
8029 done
8031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8032 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8033 case $ac_cv_sys_file_offset_bits in #(
8034 no | unknown) ;;
8036 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8038 esac
8039 rm -rf conftest*
8040 if test $ac_cv_sys_file_offset_bits = unknown; then
8041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8042 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8043 if test ${ac_cv_sys_large_files+y}
8044 then :
8045 printf %s "(cached) " >&6
8046 else $as_nop
8047 while :; do
8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8049 /* end confdefs.h. */
8050 #include <sys/types.h>
8051 /* Check that off_t can represent 2**63 - 1 correctly.
8052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8053 since some C++ compilers masquerading as C compilers
8054 incorrectly reject 9223372036854775807. */
8055 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8057 && LARGE_OFF_T % 2147483647 == 1)
8058 ? 1 : -1];
8060 main (void)
8064 return 0;
8066 _ACEOF
8067 if ac_fn_c_try_compile "$LINENO"
8068 then :
8069 ac_cv_sys_large_files=no; break
8071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8074 #define _LARGE_FILES 1
8075 #include <sys/types.h>
8076 /* Check that off_t can represent 2**63 - 1 correctly.
8077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8078 since some C++ compilers masquerading as C compilers
8079 incorrectly reject 9223372036854775807. */
8080 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8082 && LARGE_OFF_T % 2147483647 == 1)
8083 ? 1 : -1];
8085 main (void)
8089 return 0;
8091 _ACEOF
8092 if ac_fn_c_try_compile "$LINENO"
8093 then :
8094 ac_cv_sys_large_files=1; break
8096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8097 ac_cv_sys_large_files=unknown
8098 break
8099 done
8101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8102 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8103 case $ac_cv_sys_large_files in #(
8104 no | unknown) ;;
8106 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8108 esac
8109 rm -rf conftest*
8114 ac_header= ac_cache=
8115 for ac_item in $ac_header_c_list
8117 if test $ac_cache; then
8118 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8119 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8120 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8122 ac_header= ac_cache=
8123 elif test $ac_header; then
8124 ac_cache=$ac_item
8125 else
8126 ac_header=$ac_item
8128 done
8137 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8138 then :
8140 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_AL_al_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_CL_cl_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_EGL_egl_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_Security_Security_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_arpa_inet_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_asm_types_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_asm_user_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_elf_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_float_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_gettext_po_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_ieeefp_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_libproc_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_link_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_linux_filter_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_linux_input_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_linux_major_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_linux_param_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_linux_serial_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_linux_types_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8349 then :
8350 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_lwp_h" = xyes
8355 then :
8356 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_mach_mach_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_machine_cpu_h" = xyes
8373 then :
8374 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8378 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8379 then :
8380 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8383 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8384 if test "x$ac_cv_header_mntent_h" = xyes
8385 then :
8386 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8389 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8390 if test "x$ac_cv_header_netdb_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8396 if test "x$ac_cv_header_netinet_in_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8402 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8403 then :
8404 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8407 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8408 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8414 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8420 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8426 if test "x$ac_cv_header_port_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8432 if test "x$ac_cv_header_pthread_h" = xyes
8433 then :
8434 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8438 if test "x$ac_cv_header_pwd_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8444 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8450 if test "x$ac_cv_header_sched_h" = xyes
8451 then :
8452 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8455 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8456 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8461 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8462 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8468 if test "x$ac_cv_header_scsi_sg_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8473 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8474 if test "x$ac_cv_header_stdint_h" = xyes
8475 then :
8476 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8479 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8480 if test "x$ac_cv_header_sys_attr_h" = xyes
8481 then :
8482 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8485 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8486 if test "x$ac_cv_header_sys_auxv_h" = xyes
8487 then :
8488 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8491 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8492 if test "x$ac_cv_header_sys_cdio_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8498 if test "x$ac_cv_header_sys_epoll_h" = xyes
8499 then :
8500 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8503 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8504 if test "x$ac_cv_header_sys_event_h" = xyes
8505 then :
8506 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8510 if test "x$ac_cv_header_sys_filio_h" = xyes
8511 then :
8512 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8515 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8516 if test "x$ac_cv_header_sys_ipc_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8522 if test "x$ac_cv_header_sys_link_h" = xyes
8523 then :
8524 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8527 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8528 if test "x$ac_cv_header_sys_modem_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8534 if test "x$ac_cv_header_sys_mtio_h" = xyes
8535 then :
8536 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8539 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8540 if test "x$ac_cv_header_sys_param_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8546 if test "x$ac_cv_header_sys_prctl_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8552 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8553 then :
8554 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8557 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8558 if test "x$ac_cv_header_sys_queue_h" = xyes
8559 then :
8560 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8563 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8564 if test "x$ac_cv_header_sys_random_h" = xyes
8565 then :
8566 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8569 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8570 if test "x$ac_cv_header_sys_resource_h" = xyes
8571 then :
8572 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8576 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8577 then :
8578 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8581 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8582 if test "x$ac_cv_header_sys_shm_h" = xyes
8583 then :
8584 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8588 if test "x$ac_cv_header_sys_signal_h" = xyes
8589 then :
8590 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8593 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8594 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8595 then :
8596 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8600 if test "x$ac_cv_header_sys_sockio_h" = xyes
8601 then :
8602 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8606 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8612 if test "x$ac_cv_header_sys_strtio_h" = xyes
8613 then :
8614 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8617 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8618 if test "x$ac_cv_header_sys_syscall_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8624 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8630 if test "x$ac_cv_header_sys_times_h" = xyes
8631 then :
8632 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8635 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8636 if test "x$ac_cv_header_sys_uio_h" = xyes
8637 then :
8638 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8641 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8642 if test "x$ac_cv_header_sys_user_h" = xyes
8643 then :
8644 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8647 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8648 if test "x$ac_cv_header_sys_utsname_h" = xyes
8649 then :
8650 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8654 if test "x$ac_cv_header_sys_vnode_h" = xyes
8655 then :
8656 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8659 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8660 if test "x$ac_cv_header_syscall_h" = xyes
8661 then :
8662 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8666 if test "x$ac_cv_header_utime_h" = xyes
8667 then :
8668 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8671 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8672 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8673 then :
8674 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8678 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8679 then :
8680 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8684 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8685 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8686 then :
8688 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8692 if test $ac_cv_header_sys_mkdev_h = no; then
8693 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8694 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8695 then :
8697 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8703 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8704 if test ${ac_cv_header_stat_broken+y}
8705 then :
8706 printf %s "(cached) " >&6
8707 else $as_nop
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 #include <sys/types.h>
8711 #include <sys/stat.h>
8713 #if defined S_ISBLK && defined S_IFDIR
8714 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8715 #endif
8717 #if defined S_ISBLK && defined S_IFCHR
8718 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8719 #endif
8721 #if defined S_ISLNK && defined S_IFREG
8722 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8723 #endif
8725 #if defined S_ISSOCK && defined S_IFREG
8726 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8727 #endif
8729 _ACEOF
8730 if ac_fn_c_try_compile "$LINENO"
8731 then :
8732 ac_cv_header_stat_broken=no
8733 else $as_nop
8734 ac_cv_header_stat_broken=yes
8736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8739 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8740 if test $ac_cv_header_stat_broken = yes; then
8742 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8748 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8749 #ifdef HAVE_SYS_PARAM_H
8750 # include <sys/param.h>
8751 #endif
8753 if test "x$ac_cv_header_sys_conf_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8759 #ifdef HAVE_SYS_PARAM_H
8760 # include <sys/param.h>
8761 #endif
8763 if test "x$ac_cv_header_sys_mount_h" = xyes
8764 then :
8765 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8768 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8769 #ifdef HAVE_SYS_PARAM_H
8770 # include <sys/param.h>
8771 #endif
8773 if test "x$ac_cv_header_sys_statfs_h" = xyes
8774 then :
8775 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8778 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8779 #ifdef HAVE_SYS_PARAM_H
8780 # include <sys/param.h>
8781 #endif
8783 if test "x$ac_cv_header_sys_user_h" = xyes
8784 then :
8785 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8788 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8789 #ifdef HAVE_SYS_PARAM_H
8790 # include <sys/param.h>
8791 #endif
8793 if test "x$ac_cv_header_sys_vfs_h" = xyes
8794 then :
8795 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8800 saved_sysctl_h_CFLAGS=$CFLAGS
8801 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8802 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8803 #ifdef HAVE_SYS_PARAM_H
8804 # include <sys/param.h>
8805 #endif
8807 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8808 then :
8809 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8813 CFLAGS=$saved_sysctl_h_CFLAGS
8815 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8816 #include <sys/socket.h>
8817 #ifdef HAVE_SYS_SOCKETVAR_H
8818 # include <sys/socketvar.h>
8819 #endif
8820 #ifdef HAVE_NET_ROUTE_H
8821 # include <net/route.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8828 #endif
8829 #ifdef HAVE_NET_IF_H
8830 # include <net/if.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_H
8833 # include <netinet/ip.h>
8834 #endif
8836 if test "x$ac_cv_header_netinet_ip_h" = xyes
8837 then :
8838 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8841 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8842 #include <sys/socket.h>
8843 #ifdef HAVE_SYS_SOCKETVAR_H
8844 # include <sys/socketvar.h>
8845 #endif
8846 #ifdef HAVE_NET_ROUTE_H
8847 # include <net/route.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NET_IF_H
8856 # include <net/if.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_H
8859 # include <netinet/ip.h>
8860 #endif
8862 if test "x$ac_cv_header_net_if_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8871 #endif
8872 #ifdef HAVE_NET_ROUTE_H
8873 # include <net/route.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8880 #endif
8881 #ifdef HAVE_NET_IF_H
8882 # include <net/if.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8886 #endif
8888 if test "x$ac_cv_header_net_if_arp_h" = xyes
8889 then :
8890 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8893 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8894 #include <sys/socket.h>
8895 #ifdef HAVE_SYS_SOCKETVAR_H
8896 # include <sys/socketvar.h>
8897 #endif
8898 #ifdef HAVE_NET_ROUTE_H
8899 # include <net/route.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_H
8902 # include <netinet/in.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_SYSTM_H
8905 # include <netinet/in_systm.h>
8906 #endif
8907 #ifdef HAVE_NET_IF_H
8908 # include <net/if.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8912 #endif
8914 if test "x$ac_cv_header_net_if_dl_h" = xyes
8915 then :
8916 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8919 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8920 #include <sys/socket.h>
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8923 #endif
8924 #ifdef HAVE_NET_ROUTE_H
8925 # include <net/route.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8932 #endif
8933 #ifdef HAVE_NET_IF_H
8934 # include <net/if.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8938 #endif
8940 if test "x$ac_cv_header_net_if_types_h" = xyes
8941 then :
8942 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8945 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8946 #include <sys/socket.h>
8947 #ifdef HAVE_SYS_SOCKETVAR_H
8948 # include <sys/socketvar.h>
8949 #endif
8950 #ifdef HAVE_NET_ROUTE_H
8951 # include <net/route.h>
8952 #endif
8953 #ifdef HAVE_NETINET_IN_H
8954 # include <netinet/in.h>
8955 #endif
8956 #ifdef HAVE_NETINET_IN_SYSTM_H
8957 # include <netinet/in_systm.h>
8958 #endif
8959 #ifdef HAVE_NET_IF_H
8960 # include <net/if.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IP_H
8963 # include <netinet/ip.h>
8964 #endif
8966 if test "x$ac_cv_header_net_route_h" = xyes
8967 then :
8968 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8971 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8972 #include <sys/socket.h>
8973 #ifdef HAVE_SYS_SOCKETVAR_H
8974 # include <sys/socketvar.h>
8975 #endif
8976 #ifdef HAVE_NET_ROUTE_H
8977 # include <net/route.h>
8978 #endif
8979 #ifdef HAVE_NETINET_IN_H
8980 # include <netinet/in.h>
8981 #endif
8982 #ifdef HAVE_NETINET_IN_SYSTM_H
8983 # include <netinet/in_systm.h>
8984 #endif
8985 #ifdef HAVE_NET_IF_H
8986 # include <net/if.h>
8987 #endif
8988 #ifdef HAVE_NETINET_IP_H
8989 # include <netinet/ip.h>
8990 #endif
8992 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8993 then :
8994 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_SYS_SOCKETVAR_H
9000 # include <sys/socketvar.h>
9001 #endif
9002 #ifdef HAVE_NET_ROUTE_H
9003 # include <net/route.h>
9004 #endif
9005 #ifdef HAVE_NETINET_IN_H
9006 # include <netinet/in.h>
9007 #endif
9008 #ifdef HAVE_NETINET_IN_SYSTM_H
9009 # include <netinet/in_systm.h>
9010 #endif
9011 #ifdef HAVE_NET_IF_H
9012 # include <net/if.h>
9013 #endif
9014 #ifdef HAVE_NETINET_IP_H
9015 # include <netinet/ip.h>
9016 #endif
9018 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9019 then :
9020 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9024 #include <sys/socket.h>
9025 #ifdef HAVE_SYS_SOCKETVAR_H
9026 # include <sys/socketvar.h>
9027 #endif
9028 #ifdef HAVE_NET_ROUTE_H
9029 # include <net/route.h>
9030 #endif
9031 #ifdef HAVE_NETINET_IN_H
9032 # include <netinet/in.h>
9033 #endif
9034 #ifdef HAVE_NETINET_IN_SYSTM_H
9035 # include <netinet/in_systm.h>
9036 #endif
9037 #ifdef HAVE_NET_IF_H
9038 # include <net/if.h>
9039 #endif
9040 #ifdef HAVE_NETINET_IP_H
9041 # include <netinet/ip.h>
9042 #endif
9044 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9045 then :
9046 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9050 #include <sys/socket.h>
9051 #ifdef HAVE_SYS_SOCKETVAR_H
9052 # include <sys/socketvar.h>
9053 #endif
9054 #ifdef HAVE_NET_ROUTE_H
9055 # include <net/route.h>
9056 #endif
9057 #ifdef HAVE_NETINET_IN_H
9058 # include <netinet/in.h>
9059 #endif
9060 #ifdef HAVE_NETINET_IN_SYSTM_H
9061 # include <netinet/in_systm.h>
9062 #endif
9063 #ifdef HAVE_NET_IF_H
9064 # include <net/if.h>
9065 #endif
9066 #ifdef HAVE_NETINET_IP_H
9067 # include <netinet/ip.h>
9068 #endif
9070 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9075 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9076 #include <sys/socket.h>
9077 #ifdef HAVE_SYS_SOCKETVAR_H
9078 # include <sys/socketvar.h>
9079 #endif
9080 #ifdef HAVE_NET_ROUTE_H
9081 # include <net/route.h>
9082 #endif
9083 #ifdef HAVE_NETINET_IN_H
9084 # include <netinet/in.h>
9085 #endif
9086 #ifdef HAVE_NETINET_IN_SYSTM_H
9087 # include <netinet/in_systm.h>
9088 #endif
9089 #ifdef HAVE_NET_IF_H
9090 # include <net/if.h>
9091 #endif
9092 #ifdef HAVE_NETINET_IP_H
9093 # include <netinet/ip.h>
9094 #endif
9096 if test "x$ac_cv_header_netinet_udp_h" = xyes
9097 then :
9098 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9102 #include <sys/socket.h>
9103 #ifdef HAVE_SYS_SOCKETVAR_H
9104 # include <sys/socketvar.h>
9105 #endif
9106 #ifdef HAVE_NET_ROUTE_H
9107 # include <net/route.h>
9108 #endif
9109 #ifdef HAVE_NETINET_IN_H
9110 # include <netinet/in.h>
9111 #endif
9112 #ifdef HAVE_NETINET_IN_SYSTM_H
9113 # include <netinet/in_systm.h>
9114 #endif
9115 #ifdef HAVE_NET_IF_H
9116 # include <net/if.h>
9117 #endif
9118 #ifdef HAVE_NETINET_IP_H
9119 # include <netinet/ip.h>
9120 #endif
9122 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9123 then :
9124 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9127 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9128 #include <sys/socket.h>
9129 #ifdef HAVE_SYS_SOCKETVAR_H
9130 # include <sys/socketvar.h>
9131 #endif
9132 #ifdef HAVE_NET_ROUTE_H
9133 # include <net/route.h>
9134 #endif
9135 #ifdef HAVE_NETINET_IN_H
9136 # include <netinet/in.h>
9137 #endif
9138 #ifdef HAVE_NETINET_IN_SYSTM_H
9139 # include <netinet/in_systm.h>
9140 #endif
9141 #ifdef HAVE_NET_IF_H
9142 # include <net/if.h>
9143 #endif
9144 #ifdef HAVE_NETINET_IP_H
9145 # include <netinet/ip.h>
9146 #endif
9148 if test "x$ac_cv_header_sys_un_h" = xyes
9149 then :
9150 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9155 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9156 #include <sys/socket.h>
9157 #ifdef HAVE_SYS_SOCKETVAR_H
9158 # include <sys/socketvar.h>
9159 #endif
9160 #ifdef HAVE_NETINET_IN_H
9161 # include <netinet/in.h>
9162 #endif
9163 #ifdef HAVE_NETINET_IN_SYSTM_H
9164 # include <netinet/in_systm.h>
9165 #endif
9166 #ifdef HAVE_NETINET_IP_H
9167 # include <netinet/ip.h>
9168 #endif
9169 #ifdef HAVE_NETINET_IP_VAR_H
9170 # include <netinet/ip_var.h>
9171 #endif
9172 #ifdef HAVE_NETINET_IP_ICMP_H
9173 # include <netinet/ip_icmp.h>
9174 #endif
9175 #ifdef HAVE_NETINET_UDP_H
9176 # include <netinet/udp.h>
9177 #endif
9178 #ifdef HAVE_NETINET_TCP_H
9179 # include <netinet/tcp.h>
9180 #endif
9182 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9183 then :
9184 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9187 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9188 #include <sys/socket.h>
9189 #ifdef HAVE_SYS_SOCKETVAR_H
9190 # include <sys/socketvar.h>
9191 #endif
9192 #ifdef HAVE_NETINET_IN_H
9193 # include <netinet/in.h>
9194 #endif
9195 #ifdef HAVE_NETINET_IN_SYSTM_H
9196 # include <netinet/in_systm.h>
9197 #endif
9198 #ifdef HAVE_NETINET_IP_H
9199 # include <netinet/ip.h>
9200 #endif
9201 #ifdef HAVE_NETINET_IP_VAR_H
9202 # include <netinet/ip_var.h>
9203 #endif
9204 #ifdef HAVE_NETINET_IP_ICMP_H
9205 # include <netinet/ip_icmp.h>
9206 #endif
9207 #ifdef HAVE_NETINET_UDP_H
9208 # include <netinet/udp.h>
9209 #endif
9210 #ifdef HAVE_NETINET_TCP_H
9211 # include <netinet/tcp.h>
9212 #endif
9214 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9215 then :
9216 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9219 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9220 #include <sys/socket.h>
9221 #ifdef HAVE_SYS_SOCKETVAR_H
9222 # include <sys/socketvar.h>
9223 #endif
9224 #ifdef HAVE_NETINET_IN_H
9225 # include <netinet/in.h>
9226 #endif
9227 #ifdef HAVE_NETINET_IN_SYSTM_H
9228 # include <netinet/in_systm.h>
9229 #endif
9230 #ifdef HAVE_NETINET_IP_H
9231 # include <netinet/ip.h>
9232 #endif
9233 #ifdef HAVE_NETINET_IP_VAR_H
9234 # include <netinet/ip_var.h>
9235 #endif
9236 #ifdef HAVE_NETINET_IP_ICMP_H
9237 # include <netinet/ip_icmp.h>
9238 #endif
9239 #ifdef HAVE_NETINET_UDP_H
9240 # include <netinet/udp.h>
9241 #endif
9242 #ifdef HAVE_NETINET_TCP_H
9243 # include <netinet/tcp.h>
9244 #endif
9246 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9247 then :
9248 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9253 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9254 #include <sys/socket.h>
9255 #ifdef HAVE_ASM_TYPES_H
9256 # include <asm/types.h>
9257 #endif
9258 #ifdef HAVE_LINUX_TYPES_H
9259 # include <linux/types.h>
9260 #endif
9262 if test "x$ac_cv_header_linux_ipx_h" = xyes
9263 then :
9264 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9267 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9268 #include <sys/socket.h>
9269 #ifdef HAVE_ASM_TYPES_H
9270 # include <asm/types.h>
9271 #endif
9272 #ifdef HAVE_LINUX_TYPES_H
9273 # include <linux/types.h>
9274 #endif
9276 if test "x$ac_cv_header_linux_irda_h" = xyes
9277 then :
9278 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9281 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9282 #include <sys/socket.h>
9283 #ifdef HAVE_ASM_TYPES_H
9284 # include <asm/types.h>
9285 #endif
9286 #ifdef HAVE_LINUX_TYPES_H
9287 # include <linux/types.h>
9288 #endif
9290 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9291 then :
9292 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9297 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9298 #include <sys/socket.h>
9299 #ifdef HAVE_NETINET_IN_H
9300 # include <netinet/in.h>
9301 #endif
9302 #ifdef HAVE_ARPA_NAMESER_H
9303 # include <arpa/nameser.h>
9304 #endif
9306 if test "x$ac_cv_header_resolv_h" = xyes
9307 then :
9308 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9313 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9315 if test "x$ac_cv_header_ifaddrs_h" = xyes
9316 then :
9317 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9322 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9324 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9325 then :
9326 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9331 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9332 #ifdef HAVE_SYS_UCONTEXT_H
9333 #include <sys/ucontext.h>
9334 #endif
9336 if test "x$ac_cv_header_sys_thr_h" = xyes
9337 then :
9338 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9343 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9344 #include <pthread.h>
9345 #endif
9347 if test "x$ac_cv_header_pthread_np_h" = xyes
9348 then :
9349 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9354 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9355 #include <sys/types.h>
9356 #ifdef HAVE_ASM_TYPES_H
9357 #include <asm/types.h>
9358 #endif
9360 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9361 then :
9362 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9367 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9368 #include <sys/param.h>
9369 #endif
9370 #include <sys/socket.h>
9371 #ifdef HAVE_SYS_QUEUE_H
9372 #include <sys/queue.h>
9373 #endif
9375 if test "x$ac_cv_header_libprocstat_h" = xyes
9376 then :
9377 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9383 DLLFLAGS=""
9385 LDDLLFLAGS=""
9387 LDEXECFLAGS=""
9389 EXTRACFLAGS=""
9391 UNIXDLLFLAGS="-fPIC"
9393 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9395 TOP_INSTALL_LIB=""
9397 TOP_INSTALL_DEV=""
9399 WINELOADER_LDFLAGS=""
9401 WINEPRELOADER_LDFLAGS=""
9403 LIBEXT="so"
9404 # Extract the first word of "ldd", so it can be a program name with args.
9405 set dummy ldd; ac_word=$2
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9407 printf %s "checking for $ac_word... " >&6; }
9408 if test ${ac_cv_path_LDD+y}
9409 then :
9410 printf %s "(cached) " >&6
9411 else $as_nop
9412 case $LDD in
9413 [\\/]* | ?:[\\/]*)
9414 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 as_dummy="/sbin:/usr/sbin:$PATH"
9419 for as_dir in $as_dummy
9421 IFS=$as_save_IFS
9422 case $as_dir in #(((
9423 '') as_dir=./ ;;
9424 */) ;;
9425 *) as_dir=$as_dir/ ;;
9426 esac
9427 for ac_exec_ext in '' $ac_executable_extensions; do
9428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9429 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9431 break 2
9433 done
9434 done
9435 IFS=$as_save_IFS
9437 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9439 esac
9441 LDD=$ac_cv_path_LDD
9442 if test -n "$LDD"; then
9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9444 printf "%s\n" "$LDD" >&6; }
9445 else
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 printf "%s\n" "no" >&6; }
9451 if test -n "$ac_tool_prefix"; then
9452 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9453 set dummy ${ac_tool_prefix}otool; ac_word=$2
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9455 printf %s "checking for $ac_word... " >&6; }
9456 if test ${ac_cv_prog_OTOOL+y}
9457 then :
9458 printf %s "(cached) " >&6
9459 else $as_nop
9460 if test -n "$OTOOL"; then
9461 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9462 else
9463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9464 for as_dir in $PATH
9466 IFS=$as_save_IFS
9467 case $as_dir in #(((
9468 '') as_dir=./ ;;
9469 */) ;;
9470 *) as_dir=$as_dir/ ;;
9471 esac
9472 for ac_exec_ext in '' $ac_executable_extensions; do
9473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9474 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9476 break 2
9478 done
9479 done
9480 IFS=$as_save_IFS
9484 OTOOL=$ac_cv_prog_OTOOL
9485 if test -n "$OTOOL"; then
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9487 printf "%s\n" "$OTOOL" >&6; }
9488 else
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9490 printf "%s\n" "no" >&6; }
9495 if test -z "$ac_cv_prog_OTOOL"; then
9496 ac_ct_OTOOL=$OTOOL
9497 # Extract the first word of "otool", so it can be a program name with args.
9498 set dummy otool; ac_word=$2
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9500 printf %s "checking for $ac_word... " >&6; }
9501 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9502 then :
9503 printf %s "(cached) " >&6
9504 else $as_nop
9505 if test -n "$ac_ct_OTOOL"; then
9506 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9507 else
9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 for as_dir in $PATH
9511 IFS=$as_save_IFS
9512 case $as_dir in #(((
9513 '') as_dir=./ ;;
9514 */) ;;
9515 *) as_dir=$as_dir/ ;;
9516 esac
9517 for ac_exec_ext in '' $ac_executable_extensions; do
9518 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9519 ac_cv_prog_ac_ct_OTOOL="otool"
9520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9521 break 2
9523 done
9524 done
9525 IFS=$as_save_IFS
9529 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9530 if test -n "$ac_ct_OTOOL"; then
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9532 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9533 else
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9535 printf "%s\n" "no" >&6; }
9538 if test "x$ac_ct_OTOOL" = x; then
9539 OTOOL="otool"
9540 else
9541 case $cross_compiling:$ac_tool_warned in
9542 yes:)
9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9544 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9545 ac_tool_warned=yes ;;
9546 esac
9547 OTOOL=$ac_ct_OTOOL
9549 else
9550 OTOOL="$ac_cv_prog_OTOOL"
9553 if test -n "$ac_tool_prefix"; then
9554 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9555 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9557 printf %s "checking for $ac_word... " >&6; }
9558 if test ${ac_cv_prog_READELF+y}
9559 then :
9560 printf %s "(cached) " >&6
9561 else $as_nop
9562 if test -n "$READELF"; then
9563 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9564 else
9565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566 for as_dir in $PATH
9568 IFS=$as_save_IFS
9569 case $as_dir in #(((
9570 '') as_dir=./ ;;
9571 */) ;;
9572 *) as_dir=$as_dir/ ;;
9573 esac
9574 for ac_exec_ext in '' $ac_executable_extensions; do
9575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9576 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9578 break 2
9580 done
9581 done
9582 IFS=$as_save_IFS
9586 READELF=$ac_cv_prog_READELF
9587 if test -n "$READELF"; then
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9589 printf "%s\n" "$READELF" >&6; }
9590 else
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9592 printf "%s\n" "no" >&6; }
9597 if test -z "$ac_cv_prog_READELF"; then
9598 ac_ct_READELF=$READELF
9599 # Extract the first word of "readelf", so it can be a program name with args.
9600 set dummy readelf; ac_word=$2
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 printf %s "checking for $ac_word... " >&6; }
9603 if test ${ac_cv_prog_ac_ct_READELF+y}
9604 then :
9605 printf %s "(cached) " >&6
9606 else $as_nop
9607 if test -n "$ac_ct_READELF"; then
9608 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9609 else
9610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9611 for as_dir in $PATH
9613 IFS=$as_save_IFS
9614 case $as_dir in #(((
9615 '') as_dir=./ ;;
9616 */) ;;
9617 *) as_dir=$as_dir/ ;;
9618 esac
9619 for ac_exec_ext in '' $ac_executable_extensions; do
9620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9621 ac_cv_prog_ac_ct_READELF="readelf"
9622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9623 break 2
9625 done
9626 done
9627 IFS=$as_save_IFS
9631 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9632 if test -n "$ac_ct_READELF"; then
9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9634 printf "%s\n" "$ac_ct_READELF" >&6; }
9635 else
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 printf "%s\n" "no" >&6; }
9640 if test "x$ac_ct_READELF" = x; then
9641 READELF="true"
9642 else
9643 case $cross_compiling:$ac_tool_warned in
9644 yes:)
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9646 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9647 ac_tool_warned=yes ;;
9648 esac
9649 READELF=$ac_ct_READELF
9651 else
9652 READELF="$ac_cv_prog_READELF"
9655 wine_rules="all:"
9656 SUBDIRS=""
9658 DISABLED_SUBDIRS=""
9660 CONFIGURE_TARGETS=""
9663 wine_fn_append_file ()
9665 as_fn_append $1 " \\$as_nl $2"
9668 wine_fn_append_rule ()
9670 as_fn_append wine_rules "$as_nl$1"
9673 wine_fn_config_makefile ()
9675 wine_fn_append_file SUBDIRS $1
9676 if eval test \"x\$"$2"\" = x"no"
9677 then :
9678 wine_fn_append_file DISABLED_SUBDIRS $1
9682 wine_fn_config_symlink ()
9684 ac_links=$@
9685 wine_fn_append_rule \
9686 "$ac_links:
9687 @./config.status \$@"
9688 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9691 wine_binary="wine"
9692 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9693 WINELOADER_PROGRAMS="$wine_binary"
9695 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9697 case $host_os in
9698 cygwin*|mingw32*)
9699 if test -n "$ac_tool_prefix"; then
9700 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9701 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9703 printf %s "checking for $ac_word... " >&6; }
9704 if test ${ac_cv_prog_DLLTOOL+y}
9705 then :
9706 printf %s "(cached) " >&6
9707 else $as_nop
9708 if test -n "$DLLTOOL"; then
9709 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9710 else
9711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9712 for as_dir in $PATH
9714 IFS=$as_save_IFS
9715 case $as_dir in #(((
9716 '') as_dir=./ ;;
9717 */) ;;
9718 *) as_dir=$as_dir/ ;;
9719 esac
9720 for ac_exec_ext in '' $ac_executable_extensions; do
9721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9722 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9724 break 2
9726 done
9727 done
9728 IFS=$as_save_IFS
9732 DLLTOOL=$ac_cv_prog_DLLTOOL
9733 if test -n "$DLLTOOL"; then
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9735 printf "%s\n" "$DLLTOOL" >&6; }
9736 else
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9738 printf "%s\n" "no" >&6; }
9743 if test -z "$ac_cv_prog_DLLTOOL"; then
9744 ac_ct_DLLTOOL=$DLLTOOL
9745 # Extract the first word of "dlltool", so it can be a program name with args.
9746 set dummy dlltool; ac_word=$2
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9748 printf %s "checking for $ac_word... " >&6; }
9749 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9750 then :
9751 printf %s "(cached) " >&6
9752 else $as_nop
9753 if test -n "$ac_ct_DLLTOOL"; then
9754 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9755 else
9756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9757 for as_dir in $PATH
9759 IFS=$as_save_IFS
9760 case $as_dir in #(((
9761 '') as_dir=./ ;;
9762 */) ;;
9763 *) as_dir=$as_dir/ ;;
9764 esac
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9767 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9769 break 2
9771 done
9772 done
9773 IFS=$as_save_IFS
9777 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9778 if test -n "$ac_ct_DLLTOOL"; then
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9780 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9781 else
9782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9783 printf "%s\n" "no" >&6; }
9786 if test "x$ac_ct_DLLTOOL" = x; then
9787 DLLTOOL="false"
9788 else
9789 case $cross_compiling:$ac_tool_warned in
9790 yes:)
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9793 ac_tool_warned=yes ;;
9794 esac
9795 DLLTOOL=$ac_ct_DLLTOOL
9797 else
9798 DLLTOOL="$ac_cv_prog_DLLTOOL"
9801 LIBEXT="dll"
9802 EXTRACFLAGS="-D__WINE_PE_BUILD"
9803 case $host_cpu in
9804 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9805 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9806 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9807 then :
9808 printf %s "(cached) " >&6
9809 else $as_nop
9810 ac_wine_try_cflags_saved=$CFLAGS
9811 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int main(int argc, char **argv) { return 0; }
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"
9817 then :
9818 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9819 else $as_nop
9820 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9823 conftest$ac_exeext conftest.$ac_ext
9824 CFLAGS=$ac_wine_try_cflags_saved
9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9827 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9828 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9829 then :
9830 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9831 fi ;;
9832 esac
9833 enable_loader=${enable_loader:-no}
9834 enable_server=${enable_server:-no}
9835 with_x=${with_x:-no}
9836 with_pthread=${with_pthread:-no}
9839 darwin*|macosx*)
9840 ac_ext=m
9841 ac_cpp='$OBJCPP $CPPFLAGS'
9842 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9843 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9844 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9846 ac_ext=m
9847 ac_cpp='$OBJCPP $CPPFLAGS'
9848 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9849 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9850 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9851 if test -n "$ac_tool_prefix"; then
9852 for ac_prog in gcc objcc objc cc CC clang
9854 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9857 printf %s "checking for $ac_word... " >&6; }
9858 if test ${ac_cv_prog_OBJC+y}
9859 then :
9860 printf %s "(cached) " >&6
9861 else $as_nop
9862 if test -n "$OBJC"; then
9863 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9864 else
9865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9866 for as_dir in $PATH
9868 IFS=$as_save_IFS
9869 case $as_dir in #(((
9870 '') as_dir=./ ;;
9871 */) ;;
9872 *) as_dir=$as_dir/ ;;
9873 esac
9874 for ac_exec_ext in '' $ac_executable_extensions; do
9875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9876 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9878 break 2
9880 done
9881 done
9882 IFS=$as_save_IFS
9886 OBJC=$ac_cv_prog_OBJC
9887 if test -n "$OBJC"; then
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9889 printf "%s\n" "$OBJC" >&6; }
9890 else
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9892 printf "%s\n" "no" >&6; }
9896 test -n "$OBJC" && break
9897 done
9899 if test -z "$OBJC"; then
9900 ac_ct_OBJC=$OBJC
9901 for ac_prog in gcc objcc objc cc CC clang
9903 # Extract the first word of "$ac_prog", so it can be a program name with args.
9904 set dummy $ac_prog; ac_word=$2
9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9906 printf %s "checking for $ac_word... " >&6; }
9907 if test ${ac_cv_prog_ac_ct_OBJC+y}
9908 then :
9909 printf %s "(cached) " >&6
9910 else $as_nop
9911 if test -n "$ac_ct_OBJC"; then
9912 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9913 else
9914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915 for as_dir in $PATH
9917 IFS=$as_save_IFS
9918 case $as_dir in #(((
9919 '') as_dir=./ ;;
9920 */) ;;
9921 *) as_dir=$as_dir/ ;;
9922 esac
9923 for ac_exec_ext in '' $ac_executable_extensions; do
9924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9925 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9927 break 2
9929 done
9930 done
9931 IFS=$as_save_IFS
9935 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9936 if test -n "$ac_ct_OBJC"; then
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9938 printf "%s\n" "$ac_ct_OBJC" >&6; }
9939 else
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9941 printf "%s\n" "no" >&6; }
9945 test -n "$ac_ct_OBJC" && break
9946 done
9948 if test "x$ac_ct_OBJC" = x; then
9949 OBJC="gcc"
9950 else
9951 case $cross_compiling:$ac_tool_warned in
9952 yes:)
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9955 ac_tool_warned=yes ;;
9956 esac
9957 OBJC=$ac_ct_OBJC
9961 # Provide some information about the compiler.
9962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9963 set X $ac_compile
9964 ac_compiler=$2
9965 for ac_option in --version -v -V -qversion; do
9966 { { ac_try="$ac_compiler $ac_option >&5"
9967 case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9970 esac
9971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9972 printf "%s\n" "$ac_try_echo"; } >&5
9973 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9974 ac_status=$?
9975 if test -s conftest.err; then
9976 sed '10a\
9977 ... rest of stderr output deleted ...
9978 10q' conftest.err >conftest.er1
9979 cat conftest.er1 >&5
9981 rm -f conftest.er1 conftest.err
9982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9983 test $ac_status = 0; }
9984 done
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9987 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9988 if test ${ac_cv_objc_compiler_gnu+y}
9989 then :
9990 printf %s "(cached) " >&6
9991 else $as_nop
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9996 main (void)
9998 #ifndef __GNUC__
9999 choke me
10000 #endif
10003 return 0;
10005 _ACEOF
10006 if ac_fn_objc_try_compile "$LINENO"
10007 then :
10008 ac_compiler_gnu=yes
10009 else $as_nop
10010 ac_compiler_gnu=no
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10013 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10017 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10018 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10020 if test $ac_compiler_gnu = yes; then
10021 GOBJC=yes
10022 else
10023 GOBJC=
10025 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10026 ac_save_OBJCFLAGS=$OBJCFLAGS
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10028 printf %s "checking whether $OBJC accepts -g... " >&6; }
10029 if test ${ac_cv_prog_objc_g+y}
10030 then :
10031 printf %s "(cached) " >&6
10032 else $as_nop
10033 ac_save_objc_werror_flag=$ac_objc_werror_flag
10034 ac_objc_werror_flag=yes
10035 ac_cv_prog_objc_g=no
10036 OBJCFLAGS="-g"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10041 main (void)
10045 return 0;
10047 _ACEOF
10048 if ac_fn_objc_try_compile "$LINENO"
10049 then :
10050 ac_cv_prog_objc_g=yes
10051 else $as_nop
10052 OBJCFLAGS=""
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10057 main (void)
10061 return 0;
10063 _ACEOF
10064 if ac_fn_objc_try_compile "$LINENO"
10065 then :
10067 else $as_nop
10068 ac_objc_werror_flag=$ac_save_objc_werror_flag
10069 OBJCFLAGS="-g"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10074 main (void)
10078 return 0;
10080 _ACEOF
10081 if ac_fn_objc_try_compile "$LINENO"
10082 then :
10083 ac_cv_prog_objc_g=yes
10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10090 ac_objc_werror_flag=$ac_save_objc_werror_flag
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10093 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10094 if test $ac_test_OBJCFLAGS; then
10095 OBJCFLAGS=$ac_save_OBJCFLAGS
10096 elif test $ac_cv_prog_objc_g = yes; then
10097 if test "$GOBJC" = yes; then
10098 OBJCFLAGS="-g -O2"
10099 else
10100 OBJCFLAGS="-g"
10102 else
10103 if test "$GOBJC" = yes; then
10104 OBJCFLAGS="-O2"
10105 else
10106 OBJCFLAGS=
10109 ac_ext=m
10110 ac_cpp='$OBJCPP $CPPFLAGS'
10111 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10112 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10113 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10116 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10117 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10118 then :
10119 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10123 ac_ext=c
10124 ac_cpp='$CPP $CPPFLAGS'
10125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10129 LIBEXT="dylib"
10130 DLLFLAGS="$DLLFLAGS -fPIC"
10131 LDDLLFLAGS="-fPIC"
10132 COREFOUNDATION_LIBS="-framework CoreFoundation"
10134 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10136 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10138 CORESERVICES_LIBS="-framework CoreServices"
10140 APPKIT_LIBS="-framework AppKit"
10142 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10145 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10147 wine_can_build_preloader=yes
10148 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"
10149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10150 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10151 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10152 then :
10153 printf %s "(cached) " >&6
10154 else $as_nop
10155 ac_wine_try_cflags_saved=$CFLAGS
10156 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 int main(int argc, char **argv) { return 0; }
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"
10162 then :
10163 ac_cv_cflags__Wl__no_new_main__e__main=yes
10164 else $as_nop
10165 ac_cv_cflags__Wl__no_new_main__e__main=no
10167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10172 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10173 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10174 then :
10175 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10176 { 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
10177 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10178 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"
10189 then :
10190 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10191 else $as_nop
10192 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10198 { 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
10199 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10200 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10201 then :
10202 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10203 else $as_nop
10204 wine_can_build_preloader=no
10206 else $as_nop
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10208 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10209 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10210 then :
10211 printf %s "(cached) " >&6
10212 else $as_nop
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"
10220 then :
10221 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10222 else $as_nop
10223 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10230 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10231 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10232 then :
10233 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10234 else $as_nop
10235 wine_can_build_preloader=no
10238 if test "$wine_can_build_preloader" = "yes"
10239 then
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10241 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10242 if test ${ac_cv_cflags__Wl__no_pie+y}
10243 then :
10244 printf %s "(cached) " >&6
10245 else $as_nop
10246 ac_wine_try_cflags_saved=$CFLAGS
10247 CFLAGS="$CFLAGS -Wl,-no_pie"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int main(int argc, char **argv) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"
10253 then :
10254 ac_cv_cflags__Wl__no_pie=yes
10255 else $as_nop
10256 ac_cv_cflags__Wl__no_pie=no
10258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10263 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10264 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10265 then :
10266 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10268 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10269 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10270 else
10271 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10274 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10275 then
10276 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10279 if test "$ac_cv_header_Security_Security_h" = "yes"
10280 then
10281 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10284 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10285 then
10286 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10288 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10290 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10291 then
10292 OPENAL_LIBS="-framework OpenAL"
10295 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10297 ac_cv_lib_openal=yes
10299 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10300 then
10301 OPENCL_LIBS="-framework OpenCL"
10303 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10305 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10306 then
10307 ac_save_LIBS="$LIBS"
10308 LIBS="$LIBS $IOKIT_LIBS"
10309 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10310 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10311 then :
10312 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10316 LIBS="$ac_save_LIBS"
10319 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10320 then
10321 CARBON_LIBS="-framework Carbon"
10324 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10325 then
10326 METAL_LIBS="-framework Metal"
10330 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10331 then
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10333 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10334 ac_ext=m
10335 ac_cpp='$OBJCPP $CPPFLAGS'
10336 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10337 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10338 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 #include <Metal/Metal.h>
10344 main (void)
10346 id<MTLDevice> device; device.registryID;
10348 return 0;
10350 _ACEOF
10351 if ac_fn_objc_try_compile "$LINENO"
10352 then :
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10354 printf "%s\n" "yes" >&6; }
10356 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10358 else $as_nop
10359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10360 printf "%s\n" "no" >&6; }
10362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10363 ac_ext=c
10364 ac_cpp='$CPP $CPPFLAGS'
10365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10371 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10372 then
10373 ac_save_LIBS="$LIBS"
10374 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10375 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10376 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10377 then :
10378 enable_winemac_drv=${enable_winemac_drv:-yes}
10381 LIBS="$ac_save_LIBS"
10384 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10385 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10387 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10389 WINELOADER_DEPENDS="wine_info.plist"
10391 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10394 linux-android*)
10396 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10398 DLLFLAGS="$DLLFLAGS -fPIC"
10399 LDDLLFLAGS="-fPIC"
10400 LDEXECFLAGS="-Wl,-pie"
10401 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10403 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10404 if test ${ac_cv_cflags__Wl__z_defs+y}
10405 then :
10406 printf %s "(cached) " >&6
10407 else $as_nop
10408 ac_wine_try_cflags_saved=$CFLAGS
10409 CFLAGS="$CFLAGS -Wl,-z,defs"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10412 int main(int argc, char **argv) { return 0; }
10413 _ACEOF
10414 if ac_fn_c_try_link "$LINENO"
10415 then :
10416 ac_cv_cflags__Wl__z_defs=yes
10417 else $as_nop
10418 ac_cv_cflags__Wl__z_defs=no
10420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10421 conftest$ac_exeext conftest.$ac_ext
10422 CFLAGS=$ac_wine_try_cflags_saved
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10425 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10426 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10427 then :
10428 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10431 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10432 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10433 then :
10434 printf %s "(cached) " >&6
10435 else $as_nop
10436 ac_wine_try_cflags_saved=$CFLAGS
10437 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int main(int argc, char **argv) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"
10443 then :
10444 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10445 else $as_nop
10446 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10453 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10454 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10455 then :
10456 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10458 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10461 printf %s "checking for -lEGL... " >&6; }
10462 if test ${ac_cv_lib_soname_EGL+y}
10463 then :
10464 printf %s "(cached) " >&6
10465 else $as_nop
10466 ac_check_soname_save_LIBS=$LIBS
10467 LIBS="-lEGL $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 char eglGetProcAddress ();
10476 main (void)
10478 return eglGetProcAddress ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"
10484 then :
10485 case "$LIBEXT" in
10486 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10487 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'` ;;
10488 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10489 if ${ac_cv_lib_soname_EGL:+false} :
10490 then :
10491 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10492 fi ;;
10493 esac
10494 else $as_nop
10495 ac_cv_lib_soname_EGL=
10497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10498 conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_soname_save_LIBS
10501 if ${ac_cv_lib_soname_EGL:+false} :
10502 then :
10503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10504 printf "%s\n" "not found" >&6; }
10506 else $as_nop
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10508 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10510 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10515 printf %s "checking for -lGLESv2... " >&6; }
10516 if test ${ac_cv_lib_soname_GLESv2+y}
10517 then :
10518 printf %s "(cached) " >&6
10519 else $as_nop
10520 ac_check_soname_save_LIBS=$LIBS
10521 LIBS="-lGLESv2 $LIBS"
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 char glFlush ();
10530 main (void)
10532 return glFlush ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"
10538 then :
10539 case "$LIBEXT" in
10540 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10541 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'` ;;
10542 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10543 if ${ac_cv_lib_soname_GLESv2:+false} :
10544 then :
10545 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 fi ;;
10547 esac
10548 else $as_nop
10549 ac_cv_lib_soname_GLESv2=
10551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_soname_save_LIBS
10555 if ${ac_cv_lib_soname_GLESv2:+false} :
10556 then :
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10558 printf "%s\n" "not found" >&6; }
10560 else $as_nop
10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10562 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10564 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10569 if test "x$exec_prefix" = xNONE
10570 then
10571 case $host_cpu in
10572 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10573 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10574 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10575 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10576 esac
10582 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10584 test "$ac_cv_sys_file_offset_bits" = 64 &&
10585 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10587 case $host_cpu in
10588 *i[3456789]86*)
10589 DLLFLAGS="$DLLFLAGS -fno-PIC"
10590 LDDLLFLAGS="-fno-PIC"
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10592 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10593 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10594 then :
10595 printf %s "(cached) " >&6
10596 else $as_nop
10597 ac_wine_try_cflags_saved=$CFLAGS
10598 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 int main(int argc, char **argv) { return 0; }
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"
10604 then :
10605 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10606 else $as_nop
10607 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10610 conftest$ac_exeext conftest.$ac_ext
10611 CFLAGS=$ac_wine_try_cflags_saved
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10614 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10615 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10616 then :
10617 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10621 DLLFLAGS="$DLLFLAGS -fPIC"
10622 LDDLLFLAGS="-fPIC" ;;
10623 esac
10624 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10626 echo '{ global: *; };' >conftest.map
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10628 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10629 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10630 then :
10631 printf %s "(cached) " >&6
10632 else $as_nop
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 int main(int argc, char **argv) { return 0; }
10638 _ACEOF
10639 if ac_fn_c_try_link "$LINENO"
10640 then :
10641 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10642 else $as_nop
10643 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10646 conftest$ac_exeext conftest.$ac_ext
10647 CFLAGS=$ac_wine_try_cflags_saved
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10650 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10651 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10652 then :
10653 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10655 rm -f conftest.map
10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10658 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10659 if test ${ac_cv_cflags__Wl__z_defs+y}
10660 then :
10661 printf %s "(cached) " >&6
10662 else $as_nop
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 CFLAGS="$CFLAGS -Wl,-z,defs"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 int main(int argc, char **argv) { return 0; }
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"
10670 then :
10671 ac_cv_cflags__Wl__z_defs=yes
10672 else $as_nop
10673 ac_cv_cflags__Wl__z_defs=no
10675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10676 conftest$ac_exeext conftest.$ac_ext
10677 CFLAGS=$ac_wine_try_cflags_saved
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10680 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10681 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10682 then :
10683 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10686 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10687 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10688 then :
10689 printf %s "(cached) " >&6
10690 else $as_nop
10691 ac_wine_try_cflags_saved=$CFLAGS
10692 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10695 int main(int argc, char **argv) { return 0; }
10696 _ACEOF
10697 if ac_fn_c_try_link "$LINENO"
10698 then :
10699 ac_cv_cflags__Wl___export_dynamic=yes
10700 else $as_nop
10701 ac_cv_cflags__Wl___export_dynamic=no
10703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10704 conftest$ac_exeext conftest.$ac_ext
10705 CFLAGS=$ac_wine_try_cflags_saved
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10708 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10709 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10710 then :
10711 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10713 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10715 case $host_cpu in
10716 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10718 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10719 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10720 then :
10721 printf %s "(cached) " >&6
10722 else $as_nop
10723 ac_wine_try_cflags_saved=$CFLAGS
10724 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10727 int main(int argc, char **argv) { return 0; }
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"
10730 then :
10731 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10732 else $as_nop
10733 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10736 conftest$ac_exeext conftest.$ac_ext
10737 CFLAGS=$ac_wine_try_cflags_saved
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10740 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10741 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10742 then :
10743 case $host_os in
10744 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10745 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10746 esac
10747 else $as_nop
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10749 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10750 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10751 then :
10752 printf %s "(cached) " >&6
10753 else $as_nop
10754 ac_wine_try_cflags_saved=$CFLAGS
10755 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 int main(int argc, char **argv) { return 0; }
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"
10761 then :
10762 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10763 else $as_nop
10764 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10767 conftest$ac_exeext conftest.$ac_ext
10768 CFLAGS=$ac_wine_try_cflags_saved
10770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10771 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10772 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10773 then :
10774 case $host_os in
10775 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10776 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10777 esac
10779 # Extract the first word of "prelink", so it can be a program name with args.
10780 set dummy prelink; ac_word=$2
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10782 printf %s "checking for $ac_word... " >&6; }
10783 if test ${ac_cv_path_PRELINK+y}
10784 then :
10785 printf %s "(cached) " >&6
10786 else $as_nop
10787 case $PRELINK in
10788 [\\/]* | ?:[\\/]*)
10789 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in /sbin /usr/sbin $PATH
10795 IFS=$as_save_IFS
10796 case $as_dir in #(((
10797 '') as_dir=./ ;;
10798 */) ;;
10799 *) as_dir=$as_dir/ ;;
10800 esac
10801 for ac_exec_ext in '' $ac_executable_extensions; do
10802 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10803 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10805 break 2
10807 done
10808 done
10809 IFS=$as_save_IFS
10811 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10813 esac
10815 PRELINK=$ac_cv_path_PRELINK
10816 if test -n "$PRELINK"; then
10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10818 printf "%s\n" "$PRELINK" >&6; }
10819 else
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10821 printf "%s\n" "no" >&6; }
10825 if test "x$PRELINK" = xfalse
10826 then
10827 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10831 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10832 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10833 then :
10834 printf %s "(cached) " >&6
10835 else $as_nop
10836 ac_wine_try_cflags_saved=$CFLAGS
10837 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 int main(int argc, char **argv) { return 0; }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"
10843 then :
10844 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10845 else $as_nop
10846 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10849 conftest$ac_exeext conftest.$ac_ext
10850 CFLAGS=$ac_wine_try_cflags_saved
10852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10853 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10854 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10855 then :
10856 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10859 esac
10860 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10862 LIBWINE_DEPENDS="wine.map"
10864 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10866 esac
10868 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10869 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10870 enable_winemac_drv=${enable_winemac_drv:-no}
10873 if test "x$with_mingw" != xno
10874 then
10875 case "x$with_mingw" in
10876 x|xyes) case "$host_cpu" in
10877 aarch64*)
10878 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10879 arm*)
10880 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10881 i[3456789]86*)
10882 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
10883 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10884 mingw32-gcc clang" ;;
10885 x86_64)
10886 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
10887 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10889 ac_prefix_list="" ;;
10890 esac
10891 for ac_prog in $ac_prefix_list
10893 # Extract the first word of "$ac_prog", so it can be a program name with args.
10894 set dummy $ac_prog; ac_word=$2
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10896 printf %s "checking for $ac_word... " >&6; }
10897 if test ${ac_cv_prog_CROSSCC+y}
10898 then :
10899 printf %s "(cached) " >&6
10900 else $as_nop
10901 if test -n "$CROSSCC"; then
10902 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10903 else
10904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10905 for as_dir in $PATH
10907 IFS=$as_save_IFS
10908 case $as_dir in #(((
10909 '') as_dir=./ ;;
10910 */) ;;
10911 *) as_dir=$as_dir/ ;;
10912 esac
10913 for ac_exec_ext in '' $ac_executable_extensions; do
10914 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10915 ac_cv_prog_CROSSCC="$ac_prog"
10916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10917 break 2
10919 done
10920 done
10921 IFS=$as_save_IFS
10925 CROSSCC=$ac_cv_prog_CROSSCC
10926 if test -n "$CROSSCC"; then
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10928 printf "%s\n" "$CROSSCC" >&6; }
10929 else
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10931 printf "%s\n" "no" >&6; }
10935 test -n "$CROSSCC" && break
10936 done
10937 test -n "$CROSSCC" || CROSSCC="false"
10939 *) CROSSCC=$with_mingw ;;
10940 esac
10941 if test "$CROSSCC" != "false"
10942 then
10943 ac_save_CC="$CC"
10944 saved_CFLAGS=$CFLAGS
10945 saved_LDFLAGS=$LDFLAGS
10946 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10948 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10952 CC="$CROSSCC"
10953 CFLAGS=$CROSSCFLAGS
10954 LDFLAGS=$CROSSLDFLAGS
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10956 printf %s "checking whether $CROSSCC works... " >&6; }
10957 if test ${wine_cv_crosscc+y}
10958 then :
10959 printf %s "(cached) " >&6
10960 else $as_nop
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10965 main (void)
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_compile "$LINENO"
10973 then :
10974 wine_cv_crosscc=yes
10975 else $as_nop
10976 wine_cv_crosscc=no
10978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10981 printf "%s\n" "$wine_cv_crosscc" >&6; }
10982 if test $wine_cv_crosscc = yes
10983 then
10984 set x $CROSSCC
10985 shift
10986 while test $# -ge 1
10988 case "$1" in
10989 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10990 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10991 esac
10992 shift
10993 done
10995 llvm_target=$CROSSTARGET
10996 llvm_cflags="-fuse-ld=lld"
10997 if test -z "$llvm_target"
10998 then
10999 case $host_cpu in
11000 *i[3456789]86*) llvm_target=i686-windows ;;
11001 *) llvm_target=$host_cpu-windows ;;
11002 esac
11004 case $llvm_target in
11005 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11006 esac
11007 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11009 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11010 if eval test \${$as_ac_var+y}
11011 then :
11012 printf %s "(cached) " >&6
11013 else $as_nop
11014 ac_wine_try_cflags_saved=$CFLAGS
11015 ac_wine_try_cflags_saved_cc=$CC
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11018 CC="$CROSSCC"
11019 ac_exeext=".exe"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 eval "$as_ac_var=yes"
11027 else $as_nop
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 CC=$ac_wine_try_cflags_saved_cc
11034 ac_exeext=$ac_wine_try_cflags_saved_exeext
11036 eval ac_res=\$$as_ac_var
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11038 printf "%s\n" "$ac_res" >&6; }
11039 if eval test \"x\$"$as_ac_var"\" = x"yes"
11040 then :
11041 CROSSTARGET=$llvm_target
11042 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11043 DELAYLOADFLAG="-Wl,-delayload,"
11045 CFLAGS="$CFLAGS $llvm_cflags"
11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11049 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11050 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11051 then :
11052 printf %s "(cached) " >&6
11053 else $as_nop
11054 ac_wine_try_cflags_saved=$CFLAGS
11055 ac_wine_try_cflags_saved_cc=$CC
11056 ac_wine_try_cflags_saved_exeext=$ac_exeext
11057 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11058 CC="$CROSSCC"
11059 ac_exeext=".exe"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11062 int __cdecl mainCRTStartup(void) { return 0; }
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"
11065 then :
11066 ac_cv_crosscflags__fno_strict_aliasing=yes
11067 else $as_nop
11068 ac_cv_crosscflags__fno_strict_aliasing=no
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 CC=$ac_wine_try_cflags_saved_cc
11074 ac_exeext=$ac_wine_try_cflags_saved_exeext
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11077 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11078 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11079 then :
11080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11083 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11084 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11085 then :
11086 printf %s "(cached) " >&6
11087 else $as_nop
11088 ac_wine_try_cflags_saved=$CFLAGS
11089 ac_wine_try_cflags_saved_cc=$CC
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11092 CC="$CROSSCC"
11093 ac_exeext=".exe"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11096 int __cdecl mainCRTStartup(void) { return 0; }
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"
11099 then :
11100 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11101 else $as_nop
11102 ac_cv_crosscflags__Werror_unknown_warning_option=no
11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11105 conftest$ac_exeext conftest.$ac_ext
11106 CFLAGS=$ac_wine_try_cflags_saved
11107 CC=$ac_wine_try_cflags_saved_cc
11108 ac_exeext=$ac_wine_try_cflags_saved_exeext
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11111 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11112 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11113 then :
11114 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11117 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11118 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11119 then :
11120 printf %s "(cached) " >&6
11121 else $as_nop
11122 ac_wine_try_cflags_saved=$CFLAGS
11123 ac_wine_try_cflags_saved_cc=$CC
11124 ac_wine_try_cflags_saved_exeext=$ac_exeext
11125 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11126 CC="$CROSSCC"
11127 ac_exeext=".exe"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11130 int __cdecl mainCRTStartup(void) { return 0; }
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"
11133 then :
11134 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11135 else $as_nop
11136 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11139 conftest$ac_exeext conftest.$ac_ext
11140 CFLAGS=$ac_wine_try_cflags_saved
11141 CC=$ac_wine_try_cflags_saved_cc
11142 ac_exeext=$ac_wine_try_cflags_saved_exeext
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11145 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11146 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11147 then :
11148 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11151 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11152 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11153 then :
11154 printf %s "(cached) " >&6
11155 else $as_nop
11156 ac_wine_try_cflags_saved=$CFLAGS
11157 ac_wine_try_cflags_saved_cc=$CC
11158 ac_wine_try_cflags_saved_exeext=$ac_exeext
11159 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11160 CC="$CROSSCC"
11161 ac_exeext=".exe"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11164 int __cdecl mainCRTStartup(void) { return 0; }
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"
11167 then :
11168 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11169 else $as_nop
11170 ac_cv_crosscflags__Wdeclaration_after_statement=no
11172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11173 conftest$ac_exeext conftest.$ac_ext
11174 CFLAGS=$ac_wine_try_cflags_saved
11175 CC=$ac_wine_try_cflags_saved_cc
11176 ac_exeext=$ac_wine_try_cflags_saved_exeext
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11179 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11180 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11181 then :
11182 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11185 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11186 if test ${ac_cv_crosscflags__Wempty_body+y}
11187 then :
11188 printf %s "(cached) " >&6
11189 else $as_nop
11190 ac_wine_try_cflags_saved=$CFLAGS
11191 ac_wine_try_cflags_saved_cc=$CC
11192 ac_wine_try_cflags_saved_exeext=$ac_exeext
11193 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11194 CC="$CROSSCC"
11195 ac_exeext=".exe"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11198 int __cdecl mainCRTStartup(void) { return 0; }
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"
11201 then :
11202 ac_cv_crosscflags__Wempty_body=yes
11203 else $as_nop
11204 ac_cv_crosscflags__Wempty_body=no
11206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11207 conftest$ac_exeext conftest.$ac_ext
11208 CFLAGS=$ac_wine_try_cflags_saved
11209 CC=$ac_wine_try_cflags_saved_cc
11210 ac_exeext=$ac_wine_try_cflags_saved_exeext
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11213 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11214 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11215 then :
11216 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11219 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11220 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11221 then :
11222 printf %s "(cached) " >&6
11223 else $as_nop
11224 ac_wine_try_cflags_saved=$CFLAGS
11225 ac_wine_try_cflags_saved_cc=$CC
11226 ac_wine_try_cflags_saved_exeext=$ac_exeext
11227 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11228 CC="$CROSSCC"
11229 ac_exeext=".exe"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11232 int __cdecl mainCRTStartup(void) { return 0; }
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"
11235 then :
11236 ac_cv_crosscflags__Wignored_qualifiers=yes
11237 else $as_nop
11238 ac_cv_crosscflags__Wignored_qualifiers=no
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 CC=$ac_wine_try_cflags_saved_cc
11244 ac_exeext=$ac_wine_try_cflags_saved_exeext
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11247 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11248 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11249 then :
11250 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11253 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11254 if test ${ac_cv_crosscflags__Winit_self+y}
11255 then :
11256 printf %s "(cached) " >&6
11257 else $as_nop
11258 ac_wine_try_cflags_saved=$CFLAGS
11259 ac_wine_try_cflags_saved_cc=$CC
11260 ac_wine_try_cflags_saved_exeext=$ac_exeext
11261 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11262 CC="$CROSSCC"
11263 ac_exeext=".exe"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266 int __cdecl mainCRTStartup(void) { return 0; }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"
11269 then :
11270 ac_cv_crosscflags__Winit_self=yes
11271 else $as_nop
11272 ac_cv_crosscflags__Winit_self=no
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 CC=$ac_wine_try_cflags_saved_cc
11278 ac_exeext=$ac_wine_try_cflags_saved_exeext
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11281 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11282 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11283 then :
11284 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11287 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11288 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11289 then :
11290 printf %s "(cached) " >&6
11291 else $as_nop
11292 ac_wine_try_cflags_saved=$CFLAGS
11293 ac_wine_try_cflags_saved_cc=$CC
11294 ac_wine_try_cflags_saved_exeext=$ac_exeext
11295 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11296 CC="$CROSSCC"
11297 ac_exeext=".exe"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11300 int __cdecl mainCRTStartup(void) { return 0; }
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"
11303 then :
11304 ac_cv_crosscflags__Wpacked_not_aligned=yes
11305 else $as_nop
11306 ac_cv_crosscflags__Wpacked_not_aligned=no
11308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11309 conftest$ac_exeext conftest.$ac_ext
11310 CFLAGS=$ac_wine_try_cflags_saved
11311 CC=$ac_wine_try_cflags_saved_cc
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11315 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11316 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11317 then :
11318 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11321 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11322 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11323 then :
11324 printf %s "(cached) " >&6
11325 else $as_nop
11326 ac_wine_try_cflags_saved=$CFLAGS
11327 ac_wine_try_cflags_saved_cc=$CC
11328 ac_wine_try_cflags_saved_exeext=$ac_exeext
11329 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11330 CC="$CROSSCC"
11331 ac_exeext=".exe"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 int __cdecl mainCRTStartup(void) { return 0; }
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"
11337 then :
11338 ac_cv_crosscflags__Wpragma_pack=yes
11339 else $as_nop
11340 ac_cv_crosscflags__Wpragma_pack=no
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 CC=$ac_wine_try_cflags_saved_cc
11346 ac_exeext=$ac_wine_try_cflags_saved_exeext
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11349 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11350 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11351 then :
11352 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11355 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11356 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11357 then :
11358 printf %s "(cached) " >&6
11359 else $as_nop
11360 ac_wine_try_cflags_saved=$CFLAGS
11361 ac_wine_try_cflags_saved_cc=$CC
11362 ac_wine_try_cflags_saved_exeext=$ac_exeext
11363 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11364 CC="$CROSSCC"
11365 ac_exeext=".exe"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11368 int __cdecl mainCRTStartup(void) { return 0; }
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"
11371 then :
11372 ac_cv_crosscflags__Wshift_overflow_2=yes
11373 else $as_nop
11374 ac_cv_crosscflags__Wshift_overflow_2=no
11376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11377 conftest$ac_exeext conftest.$ac_ext
11378 CFLAGS=$ac_wine_try_cflags_saved
11379 CC=$ac_wine_try_cflags_saved_cc
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11383 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11384 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11385 then :
11386 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11389 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11390 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11391 then :
11392 printf %s "(cached) " >&6
11393 else $as_nop
11394 ac_wine_try_cflags_saved=$CFLAGS
11395 ac_wine_try_cflags_saved_cc=$CC
11396 ac_wine_try_cflags_saved_exeext=$ac_exeext
11397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11398 CC="$CROSSCC"
11399 ac_exeext=".exe"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11402 int __cdecl mainCRTStartup(void) { return 0; }
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"
11405 then :
11406 ac_cv_crosscflags__Wstrict_prototypes=yes
11407 else $as_nop
11408 ac_cv_crosscflags__Wstrict_prototypes=no
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 CC=$ac_wine_try_cflags_saved_cc
11414 ac_exeext=$ac_wine_try_cflags_saved_exeext
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11417 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11418 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11419 then :
11420 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11423 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11424 if test ${ac_cv_crosscflags__Wtype_limits+y}
11425 then :
11426 printf %s "(cached) " >&6
11427 else $as_nop
11428 ac_wine_try_cflags_saved=$CFLAGS
11429 ac_wine_try_cflags_saved_cc=$CC
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11432 CC="$CROSSCC"
11433 ac_exeext=".exe"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436 int __cdecl mainCRTStartup(void) { return 0; }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"
11439 then :
11440 ac_cv_crosscflags__Wtype_limits=yes
11441 else $as_nop
11442 ac_cv_crosscflags__Wtype_limits=no
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 CC=$ac_wine_try_cflags_saved_cc
11448 ac_exeext=$ac_wine_try_cflags_saved_exeext
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11451 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11452 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11453 then :
11454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11457 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11458 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11459 then :
11460 printf %s "(cached) " >&6
11461 else $as_nop
11462 ac_wine_try_cflags_saved=$CFLAGS
11463 ac_wine_try_cflags_saved_cc=$CC
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11466 CC="$CROSSCC"
11467 ac_exeext=".exe"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11470 int __cdecl mainCRTStartup(void) { return 0; }
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"
11473 then :
11474 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11475 else $as_nop
11476 ac_cv_crosscflags__Wunused_but_set_parameter=no
11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11479 conftest$ac_exeext conftest.$ac_ext
11480 CFLAGS=$ac_wine_try_cflags_saved
11481 CC=$ac_wine_try_cflags_saved_cc
11482 ac_exeext=$ac_wine_try_cflags_saved_exeext
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11485 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11486 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11487 then :
11488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11491 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11492 if test ${ac_cv_crosscflags__Wvla+y}
11493 then :
11494 printf %s "(cached) " >&6
11495 else $as_nop
11496 ac_wine_try_cflags_saved=$CFLAGS
11497 ac_wine_try_cflags_saved_cc=$CC
11498 ac_wine_try_cflags_saved_exeext=$ac_exeext
11499 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11500 CC="$CROSSCC"
11501 ac_exeext=".exe"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504 int __cdecl mainCRTStartup(void) { return 0; }
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"
11507 then :
11508 ac_cv_crosscflags__Wvla=yes
11509 else $as_nop
11510 ac_cv_crosscflags__Wvla=no
11512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11513 conftest$ac_exeext conftest.$ac_ext
11514 CFLAGS=$ac_wine_try_cflags_saved
11515 CC=$ac_wine_try_cflags_saved_cc
11516 ac_exeext=$ac_wine_try_cflags_saved_exeext
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11519 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11520 if test "x$ac_cv_crosscflags__Wvla" = xyes
11521 then :
11522 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11525 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11526 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11527 then :
11528 printf %s "(cached) " >&6
11529 else $as_nop
11530 ac_wine_try_cflags_saved=$CFLAGS
11531 ac_wine_try_cflags_saved_cc=$CC
11532 ac_wine_try_cflags_saved_exeext=$ac_exeext
11533 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11534 CC="$CROSSCC"
11535 ac_exeext=".exe"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11538 int __cdecl mainCRTStartup(void) { return 0; }
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"
11541 then :
11542 ac_cv_crosscflags__Wwrite_strings=yes
11543 else $as_nop
11544 ac_cv_crosscflags__Wwrite_strings=no
11546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11547 conftest$ac_exeext conftest.$ac_ext
11548 CFLAGS=$ac_wine_try_cflags_saved
11549 CC=$ac_wine_try_cflags_saved_cc
11550 ac_exeext=$ac_wine_try_cflags_saved_exeext
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11553 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11554 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11555 then :
11556 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11559 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11560 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11561 then :
11562 printf %s "(cached) " >&6
11563 else $as_nop
11564 ac_wine_try_cflags_saved=$CFLAGS
11565 ac_wine_try_cflags_saved_cc=$CC
11566 ac_wine_try_cflags_saved_exeext=$ac_exeext
11567 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11568 CC="$CROSSCC"
11569 ac_exeext=".exe"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11572 int __cdecl mainCRTStartup(void) { return 0; }
11573 _ACEOF
11574 if ac_fn_c_try_link "$LINENO"
11575 then :
11576 ac_cv_crosscflags__Wpointer_arith=yes
11577 else $as_nop
11578 ac_cv_crosscflags__Wpointer_arith=no
11580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11581 conftest$ac_exeext conftest.$ac_ext
11582 CFLAGS=$ac_wine_try_cflags_saved
11583 CC=$ac_wine_try_cflags_saved_cc
11584 ac_exeext=$ac_wine_try_cflags_saved_exeext
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11587 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11588 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11589 then :
11590 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11593 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11594 if test ${ac_cv_crosscflags__Wlogical_op+y}
11595 then :
11596 printf %s "(cached) " >&6
11597 else $as_nop
11598 ac_wine_try_cflags_saved=$CFLAGS
11599 ac_wine_try_cflags_saved_cc=$CC
11600 ac_wine_try_cflags_saved_exeext=$ac_exeext
11601 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11602 CC="$CROSSCC"
11603 ac_exeext=".exe"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11606 int __cdecl mainCRTStartup(void) { return 0; }
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"
11609 then :
11610 ac_cv_crosscflags__Wlogical_op=yes
11611 else $as_nop
11612 ac_cv_crosscflags__Wlogical_op=no
11614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11615 conftest$ac_exeext conftest.$ac_ext
11616 CFLAGS=$ac_wine_try_cflags_saved
11617 CC=$ac_wine_try_cflags_saved_cc
11618 ac_exeext=$ac_wine_try_cflags_saved_exeext
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11621 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11622 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11623 then :
11624 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11627 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11628 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11629 then :
11630 printf %s "(cached) " >&6
11631 else $as_nop
11632 ac_wine_try_cflags_saved=$CFLAGS
11633 ac_wine_try_cflags_saved_cc=$CC
11634 ac_wine_try_cflags_saved_exeext=$ac_exeext
11635 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11636 CC="$CROSSCC"
11637 ac_exeext=".exe"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11640 int __cdecl mainCRTStartup(void) { return 0; }
11641 _ACEOF
11642 if ac_fn_c_try_link "$LINENO"
11643 then :
11644 ac_cv_crosscflags__Wabsolute_value=yes
11645 else $as_nop
11646 ac_cv_crosscflags__Wabsolute_value=no
11648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11649 conftest$ac_exeext conftest.$ac_ext
11650 CFLAGS=$ac_wine_try_cflags_saved
11651 CC=$ac_wine_try_cflags_saved_cc
11652 ac_exeext=$ac_wine_try_cflags_saved_exeext
11654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11655 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11656 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11657 then :
11658 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11661 case $host_cpu in
11662 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11663 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11664 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11665 then :
11666 printf %s "(cached) " >&6
11667 else $as_nop
11668 ac_wine_try_cflags_saved=$CFLAGS
11669 ac_wine_try_cflags_saved_cc=$CC
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11672 CC="$CROSSCC"
11673 ac_exeext=".exe"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 int __cdecl mainCRTStartup(void) { return 0; }
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"
11679 then :
11680 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11681 else $as_nop
11682 ac_cv_crosscflags__fno_omit_frame_pointer=no
11684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11685 conftest$ac_exeext conftest.$ac_ext
11686 CFLAGS=$ac_wine_try_cflags_saved
11687 CC=$ac_wine_try_cflags_saved_cc
11688 ac_exeext=$ac_wine_try_cflags_saved_exeext
11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11691 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11692 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11693 then :
11694 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11695 fi ;;
11696 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11697 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11698 if test ${ac_cv_crosscflags__Wno_format+y}
11699 then :
11700 printf %s "(cached) " >&6
11701 else $as_nop
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_cc=$CC
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11706 CC="$CROSSCC"
11707 ac_exeext=".exe"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 int __cdecl mainCRTStartup(void) { return 0; }
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"
11713 then :
11714 ac_cv_crosscflags__Wno_format=yes
11715 else $as_nop
11716 ac_cv_crosscflags__Wno_format=no
11718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11719 conftest$ac_exeext conftest.$ac_ext
11720 CFLAGS=$ac_wine_try_cflags_saved
11721 CC=$ac_wine_try_cflags_saved_cc
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11725 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11726 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11727 then :
11728 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11731 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11732 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11733 then :
11734 printf %s "(cached) " >&6
11735 else $as_nop
11736 ac_wine_try_cflags_saved=$CFLAGS
11737 ac_wine_try_cflags_saved_cc=$CC
11738 ac_wine_try_cflags_saved_exeext=$ac_exeext
11739 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11740 CC="$CROSSCC"
11741 ac_exeext=".exe"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11744 int __cdecl mainCRTStartup(void) { return 0; }
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"
11747 then :
11748 ac_cv_crosscflags__Wformat_overflow=yes
11749 else $as_nop
11750 ac_cv_crosscflags__Wformat_overflow=no
11752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11753 conftest$ac_exeext conftest.$ac_ext
11754 CFLAGS=$ac_wine_try_cflags_saved
11755 CC=$ac_wine_try_cflags_saved_cc
11756 ac_exeext=$ac_wine_try_cflags_saved_exeext
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11759 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11760 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11761 then :
11762 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11765 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11766 if test ${ac_cv_crosscflags__Wnonnull+y}
11767 then :
11768 printf %s "(cached) " >&6
11769 else $as_nop
11770 ac_wine_try_cflags_saved=$CFLAGS
11771 ac_wine_try_cflags_saved_cc=$CC
11772 ac_wine_try_cflags_saved_exeext=$ac_exeext
11773 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11774 CC="$CROSSCC"
11775 ac_exeext=".exe"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11778 int __cdecl mainCRTStartup(void) { return 0; }
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"
11781 then :
11782 ac_cv_crosscflags__Wnonnull=yes
11783 else $as_nop
11784 ac_cv_crosscflags__Wnonnull=no
11786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11787 conftest$ac_exeext conftest.$ac_ext
11788 CFLAGS=$ac_wine_try_cflags_saved
11789 CC=$ac_wine_try_cflags_saved_cc
11790 ac_exeext=$ac_wine_try_cflags_saved_exeext
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11793 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11794 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11795 then :
11796 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11799 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11800 if test ${ac_cv_crosscflags__mcx16+y}
11801 then :
11802 printf %s "(cached) " >&6
11803 else $as_nop
11804 ac_wine_try_cflags_saved=$CFLAGS
11805 ac_wine_try_cflags_saved_cc=$CC
11806 ac_wine_try_cflags_saved_exeext=$ac_exeext
11807 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11808 CC="$CROSSCC"
11809 ac_exeext=".exe"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 int __cdecl mainCRTStartup(void) { return 0; }
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"
11815 then :
11816 ac_cv_crosscflags__mcx16=yes
11817 else $as_nop
11818 ac_cv_crosscflags__mcx16=no
11820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11821 conftest$ac_exeext conftest.$ac_ext
11822 CFLAGS=$ac_wine_try_cflags_saved
11823 CC=$ac_wine_try_cflags_saved_cc
11824 ac_exeext=$ac_wine_try_cflags_saved_exeext
11826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11827 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11828 if test "x$ac_cv_crosscflags__mcx16" = xyes
11829 then :
11830 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11831 fi ;;
11832 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11833 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11834 if test ${ac_cv_crosscflags__Wno_format+y}
11835 then :
11836 printf %s "(cached) " >&6
11837 else $as_nop
11838 ac_wine_try_cflags_saved=$CFLAGS
11839 ac_wine_try_cflags_saved_cc=$CC
11840 ac_wine_try_cflags_saved_exeext=$ac_exeext
11841 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11842 CC="$CROSSCC"
11843 ac_exeext=".exe"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11846 int __cdecl mainCRTStartup(void) { return 0; }
11847 _ACEOF
11848 if ac_fn_c_try_link "$LINENO"
11849 then :
11850 ac_cv_crosscflags__Wno_format=yes
11851 else $as_nop
11852 ac_cv_crosscflags__Wno_format=no
11854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11855 conftest$ac_exeext conftest.$ac_ext
11856 CFLAGS=$ac_wine_try_cflags_saved
11857 CC=$ac_wine_try_cflags_saved_cc
11858 ac_exeext=$ac_wine_try_cflags_saved_exeext
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11861 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11862 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11863 then :
11864 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11865 fi ;;
11866 esac
11869 if test -z "$CROSSDEBUG"
11870 then
11871 for ac_flag in $CROSSCFLAGS; do
11872 case $ac_flag in
11873 -gdwarf*) CROSSDEBUG=dwarf ;;
11874 -gcodeview) CROSSDEBUG=pdb ;;
11875 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11876 esac
11877 done
11880 ac_debug_format_seen=""
11881 for ac_flag in $CROSSCFLAGS; do
11882 case $ac_flag in
11883 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11884 esac
11885 done
11886 if test "x$ac_debug_format_seen" = x
11887 then
11888 case $CROSSDEBUG in
11889 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11890 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11891 if test ${ac_cv_crosscflags__gdwarf_4+y}
11892 then :
11893 printf %s "(cached) " >&6
11894 else $as_nop
11895 ac_wine_try_cflags_saved=$CFLAGS
11896 ac_wine_try_cflags_saved_cc=$CC
11897 ac_wine_try_cflags_saved_exeext=$ac_exeext
11898 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11899 CC="$CROSSCC"
11900 ac_exeext=".exe"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903 int __cdecl mainCRTStartup(void) { return 0; }
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"
11906 then :
11907 ac_cv_crosscflags__gdwarf_4=yes
11908 else $as_nop
11909 ac_cv_crosscflags__gdwarf_4=no
11911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11912 conftest$ac_exeext conftest.$ac_ext
11913 CFLAGS=$ac_wine_try_cflags_saved
11914 CC=$ac_wine_try_cflags_saved_cc
11915 ac_exeext=$ac_wine_try_cflags_saved_exeext
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11918 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11919 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11920 then :
11921 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11922 fi ;;
11923 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11924 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11925 if test ${ac_cv_crosscflags__gcodeview+y}
11926 then :
11927 printf %s "(cached) " >&6
11928 else $as_nop
11929 ac_wine_try_cflags_saved=$CFLAGS
11930 ac_wine_try_cflags_saved_cc=$CC
11931 ac_wine_try_cflags_saved_exeext=$ac_exeext
11932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11933 CC="$CROSSCC"
11934 ac_exeext=".exe"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11937 int __cdecl mainCRTStartup(void) { return 0; }
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"
11940 then :
11941 ac_cv_crosscflags__gcodeview=yes
11942 else $as_nop
11943 ac_cv_crosscflags__gcodeview=no
11945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11946 conftest$ac_exeext conftest.$ac_ext
11947 CFLAGS=$ac_wine_try_cflags_saved
11948 CC=$ac_wine_try_cflags_saved_cc
11949 ac_exeext=$ac_wine_try_cflags_saved_exeext
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11952 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11953 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11954 then :
11955 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11956 fi ;;
11957 esac
11960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11961 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11962 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11963 then :
11964 printf %s "(cached) " >&6
11965 else $as_nop
11966 ac_wine_try_cflags_saved=$CFLAGS
11967 ac_wine_try_cflags_saved_cc=$CC
11968 ac_wine_try_cflags_saved_exeext=$ac_exeext
11969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11970 CC="$CROSSCC"
11971 ac_exeext=".exe"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 int __cdecl mainCRTStartup(void) { return 0; }
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"
11977 then :
11978 ac_cv_crosscflags__fexcess_precision_standard=yes
11979 else $as_nop
11980 ac_cv_crosscflags__fexcess_precision_standard=no
11982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11983 conftest$ac_exeext conftest.$ac_ext
11984 CFLAGS=$ac_wine_try_cflags_saved
11985 CC=$ac_wine_try_cflags_saved_cc
11986 ac_exeext=$ac_wine_try_cflags_saved_exeext
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11989 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11990 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11991 then :
11992 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11996 if test "x$enable_werror" = "xyes"
11997 then
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11999 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12000 if test ${ac_cv_crosscflags__Werror+y}
12001 then :
12002 printf %s "(cached) " >&6
12003 else $as_nop
12004 ac_wine_try_cflags_saved=$CFLAGS
12005 ac_wine_try_cflags_saved_cc=$CC
12006 ac_wine_try_cflags_saved_exeext=$ac_exeext
12007 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12008 CC="$CROSSCC"
12009 ac_exeext=".exe"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12012 int __cdecl mainCRTStartup(void) { return 0; }
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"
12015 then :
12016 ac_cv_crosscflags__Werror=yes
12017 else $as_nop
12018 ac_cv_crosscflags__Werror=no
12020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12021 conftest$ac_exeext conftest.$ac_ext
12022 CFLAGS=$ac_wine_try_cflags_saved
12023 CC=$ac_wine_try_cflags_saved_cc
12024 ac_exeext=$ac_wine_try_cflags_saved_exeext
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12027 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12028 if test "x$ac_cv_crosscflags__Werror" = xyes
12029 then :
12030 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12033 if test "x$enable_build_id" = "xyes"
12034 then
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12036 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12037 if test ${ac_cv_crosscflags__Wl___build_id+y}
12038 then :
12039 printf %s "(cached) " >&6
12040 else $as_nop
12041 ac_wine_try_cflags_saved=$CFLAGS
12042 ac_wine_try_cflags_saved_cc=$CC
12043 ac_wine_try_cflags_saved_exeext=$ac_exeext
12044 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12045 CC="$CROSSCC"
12046 ac_exeext=".exe"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12049 int __cdecl mainCRTStartup(void) { return 0; }
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"
12052 then :
12053 ac_cv_crosscflags__Wl___build_id=yes
12054 else $as_nop
12055 ac_cv_crosscflags__Wl___build_id=no
12057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12058 conftest$ac_exeext conftest.$ac_ext
12059 CFLAGS=$ac_wine_try_cflags_saved
12060 CC=$ac_wine_try_cflags_saved_cc
12061 ac_exeext=$ac_wine_try_cflags_saved_exeext
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12064 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12065 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12066 then :
12067 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12068 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12072 CFLAGS=$saved_CFLAGS
12073 LDFLAGS=$saved_LDFLAGS
12074 CC="$ac_save_CC"
12077 if test "x$CROSSTARGET" = "x"
12078 then :
12079 case "x$with_mingw" in
12080 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12081 xno) ;;
12082 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12083 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12084 esac
12089 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12090 then
12091 case "$host_cpu" in
12092 i[3456789]86*)
12093 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12095 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12096 esac
12097 for ac_prog in $ac_prefix_list
12099 # Extract the first word of "$ac_prog", so it can be a program name with args.
12100 set dummy $ac_prog; ac_word=$2
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 printf %s "checking for $ac_word... " >&6; }
12103 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12104 then :
12105 printf %s "(cached) " >&6
12106 else $as_nop
12107 if test -n "$MINGW_PKG_CONFIG"; then
12108 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12109 else
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $PATH
12113 IFS=$as_save_IFS
12114 case $as_dir in #(((
12115 '') as_dir=./ ;;
12116 */) ;;
12117 *) as_dir=$as_dir/ ;;
12118 esac
12119 for ac_exec_ext in '' $ac_executable_extensions; do
12120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12121 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12123 break 2
12125 done
12126 done
12127 IFS=$as_save_IFS
12131 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12132 if test -n "$MINGW_PKG_CONFIG"; then
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12134 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12135 else
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137 printf "%s\n" "no" >&6; }
12141 test -n "$MINGW_PKG_CONFIG" && break
12142 done
12143 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12145 if ${FAUDIO_PE_CFLAGS:+false} :
12146 then :
12147 if test ${MINGW_PKG_CONFIG+y}
12148 then :
12149 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12152 if ${FAUDIO_PE_LIBS:+false} :
12153 then :
12154 if test ${MINGW_PKG_CONFIG+y}
12155 then :
12156 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12159 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12160 ac_save_CPPFLAGS=$CPPFLAGS
12161 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12163 printf %s "checking for MinGW FAudio.h... " >&6; }
12164 if test ${ac_cv_mingw_header_FAudio_h+y}
12165 then :
12166 printf %s "(cached) " >&6
12167 else $as_nop
12168 ac_wine_check_headers_saved_cc=$CC
12169 ac_wine_check_headers_saved_exeext=$ac_exeext
12170 CC="$CROSSCC"
12171 ac_exeext=".exe"
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12175 #include <FAudio.h>
12177 main (void)
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_compile "$LINENO"
12185 then :
12186 ac_cv_mingw_header_FAudio_h=yes
12187 else $as_nop
12188 ac_cv_mingw_header_FAudio_h=no
12190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12191 CC=$ac_wine_check_headers_saved_cc
12192 ac_exeext=$ac_wine_check_headers_saved_exeext
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12195 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12196 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12197 then :
12198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12199 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12200 if test ${ac_cv_mingw_lib_FAudio+y}
12201 then :
12202 printf %s "(cached) " >&6
12203 else $as_nop
12204 ac_wine_check_headers_saved_cc=$CC
12205 ac_wine_check_headers_saved_exeext=$ac_exeext
12206 ac_wine_check_headers_saved_libs=$LIBS
12207 CC="$CROSSCC"
12208 ac_exeext=".exe"
12209 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12216 char FAudio_CommitOperationSet ();
12218 main (void)
12220 return FAudio_CommitOperationSet ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"
12226 then :
12227 ac_cv_mingw_lib_FAudio=yes
12228 else $as_nop
12229 ac_cv_mingw_lib_FAudio=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12232 conftest$ac_exeext conftest.$ac_ext
12233 CC=$ac_wine_check_headers_saved_cc
12234 ac_exeext=$ac_wine_check_headers_saved_exeext
12235 LIBS=$ac_wine_check_headers_saved_libs
12237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12238 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12239 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12240 then :
12242 else $as_nop
12243 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12245 else $as_nop
12246 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12248 CPPFLAGS=$ac_save_CPPFLAGS
12250 if test "x$FAUDIO_PE_LIBS" = "x"
12251 then
12252 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12255 if ${JPEG_PE_CFLAGS:+false} :
12256 then :
12257 if test ${MINGW_PKG_CONFIG+y}
12258 then :
12259 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12262 if ${JPEG_PE_LIBS:+false} :
12263 then :
12264 if test ${MINGW_PKG_CONFIG+y}
12265 then :
12266 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12270 ac_save_CPPFLAGS=$CPPFLAGS
12271 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12273 printf %s "checking for MinGW jpeglib.h... " >&6; }
12274 if test ${ac_cv_mingw_header_jpeglib_h+y}
12275 then :
12276 printf %s "(cached) " >&6
12277 else $as_nop
12278 ac_wine_check_headers_saved_cc=$CC
12279 ac_wine_check_headers_saved_exeext=$ac_exeext
12280 CC="$CROSSCC"
12281 ac_exeext=".exe"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #include <stddef.h>
12285 #include <stdio.h>
12286 #include <jpeglib.h>
12288 main (void)
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_compile "$LINENO"
12296 then :
12297 ac_cv_mingw_header_jpeglib_h=yes
12298 else $as_nop
12299 ac_cv_mingw_header_jpeglib_h=no
12301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12302 CC=$ac_wine_check_headers_saved_cc
12303 ac_exeext=$ac_wine_check_headers_saved_exeext
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12306 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12307 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12308 then :
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12310 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12311 if test ${ac_cv_mingw_lib_jpeg+y}
12312 then :
12313 printf %s "(cached) " >&6
12314 else $as_nop
12315 ac_wine_check_headers_saved_cc=$CC
12316 ac_wine_check_headers_saved_exeext=$ac_exeext
12317 ac_wine_check_headers_saved_libs=$LIBS
12318 CC="$CROSSCC"
12319 ac_exeext=".exe"
12320 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 char jpeg_start_decompress ();
12329 main (void)
12331 return jpeg_start_decompress ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"
12337 then :
12338 ac_cv_mingw_lib_jpeg=yes
12339 else $as_nop
12340 ac_cv_mingw_lib_jpeg=no
12342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12346 LIBS=$ac_wine_check_headers_saved_libs
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12349 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12350 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12351 then :
12353 else $as_nop
12354 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12356 else $as_nop
12357 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12361 if test "x$JPEG_PE_LIBS" = "x"
12362 then
12363 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12366 if ${LCMS2_PE_CFLAGS:+false} :
12367 then :
12368 if test ${MINGW_PKG_CONFIG+y}
12369 then :
12370 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12373 if ${LCMS2_PE_LIBS:+false} :
12374 then :
12375 if test ${MINGW_PKG_CONFIG+y}
12376 then :
12377 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12380 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12384 printf %s "checking for MinGW lcms2.h... " >&6; }
12385 if test ${ac_cv_mingw_header_lcms2_h+y}
12386 then :
12387 printf %s "(cached) " >&6
12388 else $as_nop
12389 ac_wine_check_headers_saved_cc=$CC
12390 ac_wine_check_headers_saved_exeext=$ac_exeext
12391 CC="$CROSSCC"
12392 ac_exeext=".exe"
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h. */
12396 #include <lcms2.h>
12398 main (void)
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_compile "$LINENO"
12406 then :
12407 ac_cv_mingw_header_lcms2_h=yes
12408 else $as_nop
12409 ac_cv_mingw_header_lcms2_h=no
12411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12412 CC=$ac_wine_check_headers_saved_cc
12413 ac_exeext=$ac_wine_check_headers_saved_exeext
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12416 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12417 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12418 then :
12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12420 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12421 if test ${ac_cv_mingw_lib_lcms2+y}
12422 then :
12423 printf %s "(cached) " >&6
12424 else $as_nop
12425 ac_wine_check_headers_saved_cc=$CC
12426 ac_wine_check_headers_saved_exeext=$ac_exeext
12427 ac_wine_check_headers_saved_libs=$LIBS
12428 CC="$CROSSCC"
12429 ac_exeext=".exe"
12430 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12437 char cmsOpenProfileFromFile ();
12439 main (void)
12441 return cmsOpenProfileFromFile ();
12443 return 0;
12445 _ACEOF
12446 if ac_fn_c_try_link "$LINENO"
12447 then :
12448 ac_cv_mingw_lib_lcms2=yes
12449 else $as_nop
12450 ac_cv_mingw_lib_lcms2=no
12452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12453 conftest$ac_exeext conftest.$ac_ext
12454 CC=$ac_wine_check_headers_saved_cc
12455 ac_exeext=$ac_wine_check_headers_saved_exeext
12456 LIBS=$ac_wine_check_headers_saved_libs
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12459 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12460 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12461 then :
12463 else $as_nop
12464 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12466 else $as_nop
12467 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12469 CPPFLAGS=$ac_save_CPPFLAGS
12471 if test "x$LCMS2_PE_LIBS" = "x"
12472 then
12473 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12476 if ${MPG123_PE_CFLAGS:+false} :
12477 then :
12478 if test ${MINGW_PKG_CONFIG+y}
12479 then :
12480 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12483 if ${MPG123_PE_LIBS:+false} :
12484 then :
12485 if test ${MINGW_PKG_CONFIG+y}
12486 then :
12487 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12490 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12491 ac_save_CPPFLAGS=$CPPFLAGS
12492 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12494 printf %s "checking for MinGW mpg123.h... " >&6; }
12495 if test ${ac_cv_mingw_header_mpg123_h+y}
12496 then :
12497 printf %s "(cached) " >&6
12498 else $as_nop
12499 ac_wine_check_headers_saved_cc=$CC
12500 ac_wine_check_headers_saved_exeext=$ac_exeext
12501 CC="$CROSSCC"
12502 ac_exeext=".exe"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 #include <mpg123.h>
12508 main (void)
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_compile "$LINENO"
12516 then :
12517 ac_cv_mingw_header_mpg123_h=yes
12518 else $as_nop
12519 ac_cv_mingw_header_mpg123_h=no
12521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12522 CC=$ac_wine_check_headers_saved_cc
12523 ac_exeext=$ac_wine_check_headers_saved_exeext
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12526 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12527 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12528 then :
12529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12530 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12531 if test ${ac_cv_mingw_lib_mpg123+y}
12532 then :
12533 printf %s "(cached) " >&6
12534 else $as_nop
12535 ac_wine_check_headers_saved_cc=$CC
12536 ac_wine_check_headers_saved_exeext=$ac_exeext
12537 ac_wine_check_headers_saved_libs=$LIBS
12538 CC="$CROSSCC"
12539 ac_exeext=".exe"
12540 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 char mpg123_feed ();
12549 main (void)
12551 return mpg123_feed ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"
12557 then :
12558 ac_cv_mingw_lib_mpg123=yes
12559 else $as_nop
12560 ac_cv_mingw_lib_mpg123=no
12562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12563 conftest$ac_exeext conftest.$ac_ext
12564 CC=$ac_wine_check_headers_saved_cc
12565 ac_exeext=$ac_wine_check_headers_saved_exeext
12566 LIBS=$ac_wine_check_headers_saved_libs
12568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12569 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12570 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12571 then :
12573 else $as_nop
12574 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12576 else $as_nop
12577 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12579 CPPFLAGS=$ac_save_CPPFLAGS
12581 if test "x$MPG123_PE_LIBS" = "x"
12582 then
12583 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12586 if ${PNG_PE_CFLAGS:+false} :
12587 then :
12588 if test ${MINGW_PKG_CONFIG+y}
12589 then :
12590 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12593 if ${PNG_PE_LIBS:+false} :
12594 then :
12595 if test ${MINGW_PKG_CONFIG+y}
12596 then :
12597 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12601 ac_save_CPPFLAGS=$CPPFLAGS
12602 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12604 printf %s "checking for MinGW png.h... " >&6; }
12605 if test ${ac_cv_mingw_header_png_h+y}
12606 then :
12607 printf %s "(cached) " >&6
12608 else $as_nop
12609 ac_wine_check_headers_saved_cc=$CC
12610 ac_wine_check_headers_saved_exeext=$ac_exeext
12611 CC="$CROSSCC"
12612 ac_exeext=".exe"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 #include <png.h>
12618 main (void)
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_compile "$LINENO"
12626 then :
12627 ac_cv_mingw_header_png_h=yes
12628 else $as_nop
12629 ac_cv_mingw_header_png_h=no
12631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12632 CC=$ac_wine_check_headers_saved_cc
12633 ac_exeext=$ac_wine_check_headers_saved_exeext
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12636 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12637 if test "x$ac_cv_mingw_header_png_h" = xyes
12638 then :
12639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12640 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12641 if test ${ac_cv_mingw_lib_png+y}
12642 then :
12643 printf %s "(cached) " >&6
12644 else $as_nop
12645 ac_wine_check_headers_saved_cc=$CC
12646 ac_wine_check_headers_saved_exeext=$ac_exeext
12647 ac_wine_check_headers_saved_libs=$LIBS
12648 CC="$CROSSCC"
12649 ac_exeext=".exe"
12650 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 char png_create_read_struct ();
12659 main (void)
12661 return png_create_read_struct ();
12663 return 0;
12665 _ACEOF
12666 if ac_fn_c_try_link "$LINENO"
12667 then :
12668 ac_cv_mingw_lib_png=yes
12669 else $as_nop
12670 ac_cv_mingw_lib_png=no
12672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12673 conftest$ac_exeext conftest.$ac_ext
12674 CC=$ac_wine_check_headers_saved_cc
12675 ac_exeext=$ac_wine_check_headers_saved_exeext
12676 LIBS=$ac_wine_check_headers_saved_libs
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12679 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12680 if test "x$ac_cv_mingw_lib_png" = xyes
12681 then :
12683 else $as_nop
12684 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12686 else $as_nop
12687 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12689 CPPFLAGS=$ac_save_CPPFLAGS
12691 if test "x$PNG_PE_LIBS" = "x"
12692 then
12693 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12696 if ${TIFF_PE_CFLAGS:+false} :
12697 then :
12698 if test ${MINGW_PKG_CONFIG+y}
12699 then :
12700 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12703 if ${TIFF_PE_LIBS:+false} :
12704 then :
12705 if test ${MINGW_PKG_CONFIG+y}
12706 then :
12707 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12711 ac_save_CPPFLAGS=$CPPFLAGS
12712 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12714 printf %s "checking for MinGW tiffio.h... " >&6; }
12715 if test ${ac_cv_mingw_header_tiffio_h+y}
12716 then :
12717 printf %s "(cached) " >&6
12718 else $as_nop
12719 ac_wine_check_headers_saved_cc=$CC
12720 ac_wine_check_headers_saved_exeext=$ac_exeext
12721 CC="$CROSSCC"
12722 ac_exeext=".exe"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 #include <tiffio.h>
12728 main (void)
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_compile "$LINENO"
12736 then :
12737 ac_cv_mingw_header_tiffio_h=yes
12738 else $as_nop
12739 ac_cv_mingw_header_tiffio_h=no
12741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12742 CC=$ac_wine_check_headers_saved_cc
12743 ac_exeext=$ac_wine_check_headers_saved_exeext
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12746 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12747 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12748 then :
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12750 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12751 if test ${ac_cv_mingw_lib_tiff+y}
12752 then :
12753 printf %s "(cached) " >&6
12754 else $as_nop
12755 ac_wine_check_headers_saved_cc=$CC
12756 ac_wine_check_headers_saved_exeext=$ac_exeext
12757 ac_wine_check_headers_saved_libs=$LIBS
12758 CC="$CROSSCC"
12759 ac_exeext=".exe"
12760 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12767 char TIFFClientOpen ();
12769 main (void)
12771 return TIFFClientOpen ();
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_link "$LINENO"
12777 then :
12778 ac_cv_mingw_lib_tiff=yes
12779 else $as_nop
12780 ac_cv_mingw_lib_tiff=no
12782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12783 conftest$ac_exeext conftest.$ac_ext
12784 CC=$ac_wine_check_headers_saved_cc
12785 ac_exeext=$ac_wine_check_headers_saved_exeext
12786 LIBS=$ac_wine_check_headers_saved_libs
12788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12789 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12790 if test "x$ac_cv_mingw_lib_tiff" = xyes
12791 then :
12793 else $as_nop
12794 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12796 else $as_nop
12797 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12799 CPPFLAGS=$ac_save_CPPFLAGS
12801 if test "x$TIFF_PE_LIBS" = "x"
12802 then
12803 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12806 if ${XML2_PE_CFLAGS:+false} :
12807 then :
12808 if test ${MINGW_PKG_CONFIG+y}
12809 then :
12810 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12813 if ${XML2_PE_LIBS:+false} :
12814 then :
12815 if test ${MINGW_PKG_CONFIG+y}
12816 then :
12817 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12820 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12821 ac_save_CPPFLAGS=$CPPFLAGS
12822 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12824 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12825 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12826 then :
12827 printf %s "(cached) " >&6
12828 else $as_nop
12829 ac_wine_check_headers_saved_cc=$CC
12830 ac_wine_check_headers_saved_exeext=$ac_exeext
12831 CC="$CROSSCC"
12832 ac_exeext=".exe"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 #include <libxml/parser.h>
12838 main (void)
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_compile "$LINENO"
12846 then :
12847 ac_cv_mingw_header_libxml_parser_h=yes
12848 else $as_nop
12849 ac_cv_mingw_header_libxml_parser_h=no
12851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12852 CC=$ac_wine_check_headers_saved_cc
12853 ac_exeext=$ac_wine_check_headers_saved_exeext
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12856 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12857 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12858 then :
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12862 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12863 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12864 then :
12865 printf %s "(cached) " >&6
12866 else $as_nop
12867 ac_wine_check_headers_saved_cc=$CC
12868 ac_wine_check_headers_saved_exeext=$ac_exeext
12869 CC="$CROSSCC"
12870 ac_exeext=".exe"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 #include <libxml/xmlsave.h>
12876 main (void)
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_compile "$LINENO"
12884 then :
12885 ac_cv_mingw_header_libxml_xmlsave_h=yes
12886 else $as_nop
12887 ac_cv_mingw_header_libxml_xmlsave_h=no
12889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12890 CC=$ac_wine_check_headers_saved_cc
12891 ac_exeext=$ac_wine_check_headers_saved_exeext
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12894 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12895 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12896 then :
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12900 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12901 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12902 then :
12903 printf %s "(cached) " >&6
12904 else $as_nop
12905 ac_wine_check_headers_saved_cc=$CC
12906 ac_wine_check_headers_saved_exeext=$ac_exeext
12907 CC="$CROSSCC"
12908 ac_exeext=".exe"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 #include <libxml/SAX2.h>
12914 main (void)
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_compile "$LINENO"
12922 then :
12923 ac_cv_mingw_header_libxml_SAX2_h=yes
12924 else $as_nop
12925 ac_cv_mingw_header_libxml_SAX2_h=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12928 CC=$ac_wine_check_headers_saved_cc
12929 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12932 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12933 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12934 then :
12937 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"
12938 then
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12940 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12941 if test ${ac_cv_mingw_lib_xml2+y}
12942 then :
12943 printf %s "(cached) " >&6
12944 else $as_nop
12945 ac_wine_check_headers_saved_cc=$CC
12946 ac_wine_check_headers_saved_exeext=$ac_exeext
12947 ac_wine_check_headers_saved_libs=$LIBS
12948 CC="$CROSSCC"
12949 ac_exeext=".exe"
12950 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h. */
12954 /* Override any GCC internal prototype to avoid an error.
12955 Use char because int might match the return type of a GCC
12956 builtin and then its argument prototype would still apply. */
12957 char xmlFirstElementChild ();
12959 main (void)
12961 return xmlFirstElementChild ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"
12967 then :
12968 ac_cv_mingw_lib_xml2=yes
12969 else $as_nop
12970 ac_cv_mingw_lib_xml2=no
12972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12973 conftest$ac_exeext conftest.$ac_ext
12974 CC=$ac_wine_check_headers_saved_cc
12975 ac_exeext=$ac_wine_check_headers_saved_exeext
12976 LIBS=$ac_wine_check_headers_saved_libs
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12979 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12980 if test "x$ac_cv_mingw_lib_xml2" = xyes
12981 then :
12983 else $as_nop
12984 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12986 else
12987 XML2_PE_CFLAGS=""
12988 XML2_PE_LIBS=""
12990 CPPFLAGS=$ac_save_CPPFLAGS
12992 if test "x$XML2_PE_LIBS" = "x"
12993 then
12994 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12997 if ${XSLT_PE_CFLAGS:+false} :
12998 then :
12999 if test ${MINGW_PKG_CONFIG+y}
13000 then :
13001 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13004 if ${XSLT_PE_LIBS:+false} :
13005 then :
13006 if test ${MINGW_PKG_CONFIG+y}
13007 then :
13008 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13011 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13012 ac_save_CPPFLAGS=$CPPFLAGS
13013 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13015 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13016 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13017 then :
13018 printf %s "(cached) " >&6
13019 else $as_nop
13020 ac_wine_check_headers_saved_cc=$CC
13021 ac_wine_check_headers_saved_exeext=$ac_exeext
13022 CC="$CROSSCC"
13023 ac_exeext=".exe"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 #include <libxslt/pattern.h>
13029 main (void)
13033 return 0;
13035 _ACEOF
13036 if ac_fn_c_try_compile "$LINENO"
13037 then :
13038 ac_cv_mingw_header_libxslt_pattern_h=yes
13039 else $as_nop
13040 ac_cv_mingw_header_libxslt_pattern_h=no
13042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13043 CC=$ac_wine_check_headers_saved_cc
13044 ac_exeext=$ac_wine_check_headers_saved_exeext
13046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13047 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13048 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13049 then :
13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13053 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13054 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13055 then :
13056 printf %s "(cached) " >&6
13057 else $as_nop
13058 ac_wine_check_headers_saved_cc=$CC
13059 ac_wine_check_headers_saved_exeext=$ac_exeext
13060 CC="$CROSSCC"
13061 ac_exeext=".exe"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 #include <libxslt/transform.h>
13067 main (void)
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_compile "$LINENO"
13075 then :
13076 ac_cv_mingw_header_libxslt_transform_h=yes
13077 else $as_nop
13078 ac_cv_mingw_header_libxslt_transform_h=no
13080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13081 CC=$ac_wine_check_headers_saved_cc
13082 ac_exeext=$ac_wine_check_headers_saved_exeext
13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13085 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13086 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13087 then :
13090 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13091 then
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13093 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13094 if test ${ac_cv_mingw_lib_xslt+y}
13095 then :
13096 printf %s "(cached) " >&6
13097 else $as_nop
13098 ac_wine_check_headers_saved_cc=$CC
13099 ac_wine_check_headers_saved_exeext=$ac_exeext
13100 ac_wine_check_headers_saved_libs=$LIBS
13101 CC="$CROSSCC"
13102 ac_exeext=".exe"
13103 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 char xsltCompilePattern ();
13112 main (void)
13114 return xsltCompilePattern ();
13116 return 0;
13118 _ACEOF
13119 if ac_fn_c_try_link "$LINENO"
13120 then :
13121 ac_cv_mingw_lib_xslt=yes
13122 else $as_nop
13123 ac_cv_mingw_lib_xslt=no
13125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13126 conftest$ac_exeext conftest.$ac_ext
13127 CC=$ac_wine_check_headers_saved_cc
13128 ac_exeext=$ac_wine_check_headers_saved_exeext
13129 LIBS=$ac_wine_check_headers_saved_libs
13131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13132 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13133 if test "x$ac_cv_mingw_lib_xslt" = xyes
13134 then :
13136 else $as_nop
13137 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13139 else
13140 XSLT_PE_CFLAGS=""
13141 XSLT_PE_LIBS=""
13143 CPPFLAGS=$ac_save_CPPFLAGS
13145 if test "x$XSLT_PE_LIBS" = "x"
13146 then
13147 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13150 if ${ZLIB_PE_CFLAGS:+false} :
13151 then :
13152 if test ${MINGW_PKG_CONFIG+y}
13153 then :
13154 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13157 if ${ZLIB_PE_LIBS:+false} :
13158 then :
13159 if test ${MINGW_PKG_CONFIG+y}
13160 then :
13161 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13164 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13165 ac_save_CPPFLAGS=$CPPFLAGS
13166 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13168 printf %s "checking for MinGW zlib.h... " >&6; }
13169 if test ${ac_cv_mingw_header_zlib_h+y}
13170 then :
13171 printf %s "(cached) " >&6
13172 else $as_nop
13173 ac_wine_check_headers_saved_cc=$CC
13174 ac_wine_check_headers_saved_exeext=$ac_exeext
13175 CC="$CROSSCC"
13176 ac_exeext=".exe"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 #include <zlib.h>
13182 main (void)
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_compile "$LINENO"
13190 then :
13191 ac_cv_mingw_header_zlib_h=yes
13192 else $as_nop
13193 ac_cv_mingw_header_zlib_h=no
13195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13196 CC=$ac_wine_check_headers_saved_cc
13197 ac_exeext=$ac_wine_check_headers_saved_exeext
13199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13200 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13201 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13202 then :
13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13204 printf %s "checking for inflate in MinGW -lz... " >&6; }
13205 if test ${ac_cv_mingw_lib_z+y}
13206 then :
13207 printf %s "(cached) " >&6
13208 else $as_nop
13209 ac_wine_check_headers_saved_cc=$CC
13210 ac_wine_check_headers_saved_exeext=$ac_exeext
13211 ac_wine_check_headers_saved_libs=$LIBS
13212 CC="$CROSSCC"
13213 ac_exeext=".exe"
13214 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13216 /* end confdefs.h. */
13218 /* Override any GCC internal prototype to avoid an error.
13219 Use char because int might match the return type of a GCC
13220 builtin and then its argument prototype would still apply. */
13221 char inflate ();
13223 main (void)
13225 return inflate ();
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_link "$LINENO"
13231 then :
13232 ac_cv_mingw_lib_z=yes
13233 else $as_nop
13234 ac_cv_mingw_lib_z=no
13236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13237 conftest$ac_exeext conftest.$ac_ext
13238 CC=$ac_wine_check_headers_saved_cc
13239 ac_exeext=$ac_wine_check_headers_saved_exeext
13240 LIBS=$ac_wine_check_headers_saved_libs
13242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13243 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13244 if test "x$ac_cv_mingw_lib_z" = xyes
13245 then :
13247 else $as_nop
13248 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13250 else $as_nop
13251 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13253 CPPFLAGS=$ac_save_CPPFLAGS
13255 if test "x$ZLIB_PE_LIBS" = "x"
13256 then
13257 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13261 if ${FAUDIO_PE_LIBS:+false} :
13262 then :
13263 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13264 if ${FAUDIO_PE_CFLAGS:+false} :
13265 then :
13266 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13267 else $as_nop
13268 enable_faudio=no
13270 else $as_nop
13271 enable_faudio=no
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13276 if ${GSM_PE_LIBS:+false} :
13277 then :
13278 GSM_PE_LIBS=gsm
13279 if ${GSM_PE_CFLAGS:+false} :
13280 then :
13281 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13282 else $as_nop
13283 enable_gsm=no
13285 else $as_nop
13286 enable_gsm=no
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13291 if ${JPEG_PE_LIBS:+false} :
13292 then :
13293 JPEG_PE_LIBS=jpeg
13294 if ${JPEG_PE_CFLAGS:+false} :
13295 then :
13296 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13297 else $as_nop
13298 enable_jpeg=no
13300 else $as_nop
13301 enable_jpeg=no
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13306 if ${JXR_PE_LIBS:+false} :
13307 then :
13308 JXR_PE_LIBS=jxr
13309 if ${JXR_PE_CFLAGS:+false} :
13310 then :
13311 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13312 else $as_nop
13313 enable_jxr=no
13315 else $as_nop
13316 enable_jxr=no
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13321 if ${LCMS2_PE_LIBS:+false} :
13322 then :
13323 LCMS2_PE_LIBS=lcms2
13324 if ${LCMS2_PE_CFLAGS:+false} :
13325 then :
13326 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13327 else $as_nop
13328 enable_lcms2=no
13330 else $as_nop
13331 enable_lcms2=no
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13336 if ${MPG123_PE_LIBS:+false} :
13337 then :
13338 MPG123_PE_LIBS=mpg123
13339 if ${MPG123_PE_CFLAGS:+false} :
13340 then :
13341 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13342 else $as_nop
13343 enable_mpg123=no
13345 else $as_nop
13346 enable_mpg123=no
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13351 if ${PNG_PE_LIBS:+false} :
13352 then :
13353 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13354 if ${PNG_PE_CFLAGS:+false} :
13355 then :
13356 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13357 else $as_nop
13358 enable_png=no
13360 else $as_nop
13361 enable_png=no
13363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13366 if ${TIFF_PE_LIBS:+false} :
13367 then :
13368 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13369 if ${TIFF_PE_CFLAGS:+false} :
13370 then :
13371 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13372 else $as_nop
13373 enable_tiff=no
13375 else $as_nop
13376 enable_tiff=no
13378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13381 if ${XML2_PE_LIBS:+false} :
13382 then :
13383 XML2_PE_LIBS=xml2
13384 if ${XML2_PE_CFLAGS:+false} :
13385 then :
13386 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13387 else $as_nop
13388 enable_xml2=no
13390 else $as_nop
13391 enable_xml2=no
13393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13396 if ${XSLT_PE_LIBS:+false} :
13397 then :
13398 XSLT_PE_LIBS=xslt
13399 if ${XSLT_PE_CFLAGS:+false} :
13400 then :
13401 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13402 else $as_nop
13403 enable_xslt=no
13405 else $as_nop
13406 enable_xslt=no
13408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13411 if ${ZLIB_PE_LIBS:+false} :
13412 then :
13413 ZLIB_PE_LIBS=z
13414 if ${ZLIB_PE_CFLAGS:+false} :
13415 then :
13416 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13417 else $as_nop
13418 enable_zlib=no
13420 else $as_nop
13421 enable_zlib=no
13423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13428 if test "$ac_cv_header_pthread_h" = "yes"
13429 then
13430 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13431 if test "x$ac_cv_func_pthread_create" = xyes
13432 then :
13434 else $as_nop
13435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13436 printf %s "checking for pthread_create in -lpthread... " >&6; }
13437 if test ${ac_cv_lib_pthread_pthread_create+y}
13438 then :
13439 printf %s "(cached) " >&6
13440 else $as_nop
13441 ac_check_lib_save_LIBS=$LIBS
13442 LIBS="-lpthread $LIBS"
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 char pthread_create ();
13451 main (void)
13453 return pthread_create ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"
13459 then :
13460 ac_cv_lib_pthread_pthread_create=yes
13461 else $as_nop
13462 ac_cv_lib_pthread_pthread_create=no
13464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13469 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13470 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13471 then :
13472 PTHREAD_LIBS="-lpthread"
13479 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13480 then :
13481 case "x$with_pthread" in
13482 xno) ;;
13483 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13484 Wine cannot support threads without libpthread.
13485 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13486 esac
13491 ac_ext=c
13492 ac_cpp='$CPP $CPPFLAGS'
13493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13497 printf %s "checking how to run the C preprocessor... " >&6; }
13498 # On Suns, sometimes $CPP names a directory.
13499 if test -n "$CPP" && test -d "$CPP"; then
13500 CPP=
13502 if test -z "$CPP"; then
13503 if test ${ac_cv_prog_CPP+y}
13504 then :
13505 printf %s "(cached) " >&6
13506 else $as_nop
13507 # Double quotes because $CC needs to be expanded
13508 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13510 ac_preproc_ok=false
13511 for ac_c_preproc_warn_flag in '' yes
13513 # Use a header file that comes with gcc, so configuring glibc
13514 # with a fresh cross-compiler works.
13515 # On the NeXT, cc -E runs the code through the compiler's parser,
13516 # not just through cpp. "Syntax error" is here to catch this case.
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13519 #include <limits.h>
13520 Syntax error
13521 _ACEOF
13522 if ac_fn_c_try_cpp "$LINENO"
13523 then :
13525 else $as_nop
13526 # Broken: fails on valid input.
13527 continue
13529 rm -f conftest.err conftest.i conftest.$ac_ext
13531 # OK, works on sane cases. Now check whether nonexistent headers
13532 # can be detected and how.
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 #include <ac_nonexistent.h>
13536 _ACEOF
13537 if ac_fn_c_try_cpp "$LINENO"
13538 then :
13539 # Broken: success on invalid input.
13540 continue
13541 else $as_nop
13542 # Passes both tests.
13543 ac_preproc_ok=:
13544 break
13546 rm -f conftest.err conftest.i conftest.$ac_ext
13548 done
13549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13550 rm -f conftest.i conftest.err conftest.$ac_ext
13551 if $ac_preproc_ok
13552 then :
13553 break
13556 done
13557 ac_cv_prog_CPP=$CPP
13560 CPP=$ac_cv_prog_CPP
13561 else
13562 ac_cv_prog_CPP=$CPP
13564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13565 printf "%s\n" "$CPP" >&6; }
13566 ac_preproc_ok=false
13567 for ac_c_preproc_warn_flag in '' yes
13569 # Use a header file that comes with gcc, so configuring glibc
13570 # with a fresh cross-compiler works.
13571 # On the NeXT, cc -E runs the code through the compiler's parser,
13572 # not just through cpp. "Syntax error" is here to catch this case.
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <limits.h>
13576 Syntax error
13577 _ACEOF
13578 if ac_fn_c_try_cpp "$LINENO"
13579 then :
13581 else $as_nop
13582 # Broken: fails on valid input.
13583 continue
13585 rm -f conftest.err conftest.i conftest.$ac_ext
13587 # OK, works on sane cases. Now check whether nonexistent headers
13588 # can be detected and how.
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13591 #include <ac_nonexistent.h>
13592 _ACEOF
13593 if ac_fn_c_try_cpp "$LINENO"
13594 then :
13595 # Broken: success on invalid input.
13596 continue
13597 else $as_nop
13598 # Passes both tests.
13599 ac_preproc_ok=:
13600 break
13602 rm -f conftest.err conftest.i conftest.$ac_ext
13604 done
13605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13606 rm -f conftest.i conftest.err conftest.$ac_ext
13607 if $ac_preproc_ok
13608 then :
13610 else $as_nop
13611 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13612 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13613 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13614 See \`config.log' for more details" "$LINENO" 5; }
13617 ac_ext=c
13618 ac_cpp='$CPP $CPPFLAGS'
13619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13625 printf %s "checking for X... " >&6; }
13628 # Check whether --with-x was given.
13629 if test ${with_x+y}
13630 then :
13631 withval=$with_x;
13634 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13635 if test "x$with_x" = xno; then
13636 # The user explicitly disabled X.
13637 have_x=disabled
13638 else
13639 case $x_includes,$x_libraries in #(
13640 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13641 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13642 then :
13643 printf %s "(cached) " >&6
13644 else $as_nop
13645 # One or both of the vars are not set, and there is no cached value.
13646 ac_x_includes=no
13647 ac_x_libraries=no
13648 # Do we need to do anything special at all?
13649 ac_save_LIBS=$LIBS
13650 LIBS="-lX11 $LIBS"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13653 #include <X11/Xlib.h>
13655 main (void)
13657 XrmInitialize ()
13659 return 0;
13661 _ACEOF
13662 if ac_fn_c_try_link "$LINENO"
13663 then :
13664 # We can compile and link X programs with no special options.
13665 ac_x_includes=
13666 ac_x_libraries=
13668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13669 conftest$ac_exeext conftest.$ac_ext
13670 LIBS="$ac_save_LIBS"
13671 # If that didn't work, only try xmkmf and file system searches
13672 # for native compilation.
13673 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13674 then :
13675 rm -f -r conftest.dir
13676 if mkdir conftest.dir; then
13677 cd conftest.dir
13678 cat >Imakefile <<'_ACEOF'
13679 incroot:
13680 @echo incroot='${INCROOT}'
13681 usrlibdir:
13682 @echo usrlibdir='${USRLIBDIR}'
13683 libdir:
13684 @echo libdir='${LIBDIR}'
13685 _ACEOF
13686 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13687 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13688 for ac_var in incroot usrlibdir libdir; do
13689 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13690 done
13691 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13692 for ac_extension in a so sl dylib la dll; do
13693 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13694 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13695 ac_im_usrlibdir=$ac_im_libdir; break
13697 done
13698 # Screen out bogus values from the imake configuration. They are
13699 # bogus both because they are the default anyway, and because
13700 # using them would break gcc on systems where it needs fixed includes.
13701 case $ac_im_incroot in
13702 /usr/include) ac_x_includes= ;;
13703 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13704 esac
13705 case $ac_im_usrlibdir in
13706 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13707 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13708 esac
13710 cd ..
13711 rm -f -r conftest.dir
13714 # Standard set of common directories for X headers.
13715 # Check X11 before X11Rn because it is often a symlink to the current release.
13716 ac_x_header_dirs='
13717 /usr/X11/include
13718 /usr/X11R7/include
13719 /usr/X11R6/include
13720 /usr/X11R5/include
13721 /usr/X11R4/include
13723 /usr/include/X11
13724 /usr/include/X11R7
13725 /usr/include/X11R6
13726 /usr/include/X11R5
13727 /usr/include/X11R4
13729 /usr/local/X11/include
13730 /usr/local/X11R7/include
13731 /usr/local/X11R6/include
13732 /usr/local/X11R5/include
13733 /usr/local/X11R4/include
13735 /usr/local/include/X11
13736 /usr/local/include/X11R7
13737 /usr/local/include/X11R6
13738 /usr/local/include/X11R5
13739 /usr/local/include/X11R4
13741 /opt/X11/include
13743 /usr/X386/include
13744 /usr/x386/include
13745 /usr/XFree86/include/X11
13747 /usr/include
13748 /usr/local/include
13749 /usr/unsupported/include
13750 /usr/athena/include
13751 /usr/local/x11r5/include
13752 /usr/lpp/Xamples/include
13754 /usr/openwin/include
13755 /usr/openwin/share/include'
13757 if test "$ac_x_includes" = no; then
13758 # Guess where to find include files, by looking for Xlib.h.
13759 # First, try using that file with no special directory specified.
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 #include <X11/Xlib.h>
13763 _ACEOF
13764 if ac_fn_c_try_cpp "$LINENO"
13765 then :
13766 # We can compile using X headers with no special include directory.
13767 ac_x_includes=
13768 else $as_nop
13769 for ac_dir in $ac_x_header_dirs; do
13770 if test -r "$ac_dir/X11/Xlib.h"; then
13771 ac_x_includes=$ac_dir
13772 break
13774 done
13776 rm -f conftest.err conftest.i conftest.$ac_ext
13777 fi # $ac_x_includes = no
13779 if test "$ac_x_libraries" = no; then
13780 # Check for the libraries.
13781 # See if we find them without any special options.
13782 # Don't add to $LIBS permanently.
13783 ac_save_LIBS=$LIBS
13784 LIBS="-lX11 $LIBS"
13785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13787 #include <X11/Xlib.h>
13789 main (void)
13791 XrmInitialize ()
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"
13797 then :
13798 LIBS=$ac_save_LIBS
13799 # We can link X programs with no special library path.
13800 ac_x_libraries=
13801 else $as_nop
13802 LIBS=$ac_save_LIBS
13803 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13805 # Don't even attempt the hair of trying to link an X program!
13806 for ac_extension in a so sl dylib la dll; do
13807 if test -r "$ac_dir/libX11.$ac_extension"; then
13808 ac_x_libraries=$ac_dir
13809 break 2
13811 done
13812 done
13814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13815 conftest$ac_exeext conftest.$ac_ext
13816 fi # $ac_x_libraries = no
13819 # Record the results.
13820 case $ac_x_includes,$ac_x_libraries in #(
13821 no,* | *,no | *\'*) :
13822 # Didn't find X, or a directory has "'" in its name.
13823 ac_cv_have_x="have_x=no" ;; #(
13824 *) :
13825 # Record where we found X for the cache.
13826 ac_cv_have_x="have_x=yes\
13827 ac_x_includes='$ac_x_includes'\
13828 ac_x_libraries='$ac_x_libraries'" ;;
13829 esac
13831 ;; #(
13832 *) have_x=yes;;
13833 esac
13834 eval "$ac_cv_have_x"
13835 fi # $with_x != no
13837 if test "$have_x" != yes; then
13838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13839 printf "%s\n" "$have_x" >&6; }
13840 no_x=yes
13841 else
13842 # If each of the values was on the command line, it overrides each guess.
13843 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13844 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13845 # Update the cache value to reflect the command line values.
13846 ac_cv_have_x="have_x=yes\
13847 ac_x_includes='$x_includes'\
13848 ac_x_libraries='$x_libraries'"
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13850 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13853 if test "$no_x" = yes; then
13854 # Not all programs may use this symbol, but it does not hurt to define it.
13856 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13858 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13859 else
13860 if test -n "$x_includes"; then
13861 X_CFLAGS="$X_CFLAGS -I$x_includes"
13864 # It would also be nice to do this for all -L options, not just this one.
13865 if test -n "$x_libraries"; then
13866 X_LIBS="$X_LIBS -L$x_libraries"
13867 # For Solaris; some versions of Sun CC require a space after -R and
13868 # others require no space. Words are not sufficient . . . .
13869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13870 printf %s "checking whether -R must be followed by a space... " >&6; }
13871 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13872 ac_xsave_c_werror_flag=$ac_c_werror_flag
13873 ac_c_werror_flag=yes
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13878 main (void)
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"
13886 then :
13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13888 printf "%s\n" "no" >&6; }
13889 X_LIBS="$X_LIBS -R$x_libraries"
13890 else $as_nop
13891 LIBS="$ac_xsave_LIBS -R $x_libraries"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13896 main (void)
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"
13904 then :
13905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13906 printf "%s\n" "yes" >&6; }
13907 X_LIBS="$X_LIBS -R $x_libraries"
13908 else $as_nop
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13910 printf "%s\n" "neither works" >&6; }
13912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13913 conftest$ac_exeext conftest.$ac_ext
13915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13916 conftest$ac_exeext conftest.$ac_ext
13917 ac_c_werror_flag=$ac_xsave_c_werror_flag
13918 LIBS=$ac_xsave_LIBS
13921 # Check for system-dependent libraries X programs must link with.
13922 # Do this before checking for the system-independent R6 libraries
13923 # (-lICE), since we may need -lsocket or whatever for X linking.
13925 if test "$ISC" = yes; then
13926 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13927 else
13928 # Martyn Johnson says this is needed for Ultrix, if the X
13929 # libraries were built with DECnet support. And Karl Berry says
13930 # the Alpha needs dnet_stub (dnet does not exist).
13931 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13935 /* Override any GCC internal prototype to avoid an error.
13936 Use char because int might match the return type of a GCC
13937 builtin and then its argument prototype would still apply. */
13938 char XOpenDisplay ();
13940 main (void)
13942 return XOpenDisplay ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"
13948 then :
13950 else $as_nop
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13952 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13953 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13954 then :
13955 printf %s "(cached) " >&6
13956 else $as_nop
13957 ac_check_lib_save_LIBS=$LIBS
13958 LIBS="-ldnet $LIBS"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13962 /* Override any GCC internal prototype to avoid an error.
13963 Use char because int might match the return type of a GCC
13964 builtin and then its argument prototype would still apply. */
13965 char dnet_ntoa ();
13967 main (void)
13969 return dnet_ntoa ();
13971 return 0;
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"
13975 then :
13976 ac_cv_lib_dnet_dnet_ntoa=yes
13977 else $as_nop
13978 ac_cv_lib_dnet_dnet_ntoa=no
13980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13981 conftest$ac_exeext conftest.$ac_ext
13982 LIBS=$ac_check_lib_save_LIBS
13984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13985 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13986 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13987 then :
13988 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13991 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13993 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13994 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13995 then :
13996 printf %s "(cached) " >&6
13997 else $as_nop
13998 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-ldnet_stub $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 char dnet_ntoa ();
14008 main (void)
14010 return dnet_ntoa ();
14012 return 0;
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"
14016 then :
14017 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14018 else $as_nop
14019 ac_cv_lib_dnet_stub_dnet_ntoa=no
14021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14022 conftest$ac_exeext conftest.$ac_ext
14023 LIBS=$ac_check_lib_save_LIBS
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14026 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14027 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14028 then :
14029 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14035 conftest$ac_exeext conftest.$ac_ext
14036 LIBS="$ac_xsave_LIBS"
14038 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14039 # to get the SysV transport functions.
14040 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14041 # needs -lnsl.
14042 # The nsl library prevents programs from opening the X display
14043 # on Irix 5.2, according to T.E. Dickey.
14044 # The functions gethostbyname, getservbyname, and inet_addr are
14045 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14046 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14047 if test "x$ac_cv_func_gethostbyname" = xyes
14048 then :
14052 if test $ac_cv_func_gethostbyname = no; then
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14054 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14055 if test ${ac_cv_lib_nsl_gethostbyname+y}
14056 then :
14057 printf %s "(cached) " >&6
14058 else $as_nop
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-lnsl $LIBS"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14064 /* Override any GCC internal prototype to avoid an error.
14065 Use char because int might match the return type of a GCC
14066 builtin and then its argument prototype would still apply. */
14067 char gethostbyname ();
14069 main (void)
14071 return gethostbyname ();
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"
14077 then :
14078 ac_cv_lib_nsl_gethostbyname=yes
14079 else $as_nop
14080 ac_cv_lib_nsl_gethostbyname=no
14082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_lib_save_LIBS
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14087 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14088 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14089 then :
14090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14093 if test $ac_cv_lib_nsl_gethostbyname = no; then
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14095 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14096 if test ${ac_cv_lib_bsd_gethostbyname+y}
14097 then :
14098 printf %s "(cached) " >&6
14099 else $as_nop
14100 ac_check_lib_save_LIBS=$LIBS
14101 LIBS="-lbsd $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 char gethostbyname ();
14110 main (void)
14112 return gethostbyname ();
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"
14118 then :
14119 ac_cv_lib_bsd_gethostbyname=yes
14120 else $as_nop
14121 ac_cv_lib_bsd_gethostbyname=no
14123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14124 conftest$ac_exeext conftest.$ac_ext
14125 LIBS=$ac_check_lib_save_LIBS
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14128 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14129 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14130 then :
14131 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14137 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14138 # socket/setsockopt and other routines are undefined under SCO ODT
14139 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14140 # on later versions), says Simon Leinen: it contains gethostby*
14141 # variants that don't use the name server (or something). -lsocket
14142 # must be given before -lnsl if both are needed. We assume that
14143 # if connect needs -lnsl, so does gethostbyname.
14144 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14145 if test "x$ac_cv_func_connect" = xyes
14146 then :
14150 if test $ac_cv_func_connect = no; then
14151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14152 printf %s "checking for connect in -lsocket... " >&6; }
14153 if test ${ac_cv_lib_socket_connect+y}
14154 then :
14155 printf %s "(cached) " >&6
14156 else $as_nop
14157 ac_check_lib_save_LIBS=$LIBS
14158 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14162 /* Override any GCC internal prototype to avoid an error.
14163 Use char because int might match the return type of a GCC
14164 builtin and then its argument prototype would still apply. */
14165 char connect ();
14167 main (void)
14169 return connect ();
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"
14175 then :
14176 ac_cv_lib_socket_connect=yes
14177 else $as_nop
14178 ac_cv_lib_socket_connect=no
14180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14181 conftest$ac_exeext conftest.$ac_ext
14182 LIBS=$ac_check_lib_save_LIBS
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14185 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14186 if test "x$ac_cv_lib_socket_connect" = xyes
14187 then :
14188 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14193 # Guillermo Gomez says -lposix is necessary on A/UX.
14194 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14195 if test "x$ac_cv_func_remove" = xyes
14196 then :
14200 if test $ac_cv_func_remove = no; then
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14202 printf %s "checking for remove in -lposix... " >&6; }
14203 if test ${ac_cv_lib_posix_remove+y}
14204 then :
14205 printf %s "(cached) " >&6
14206 else $as_nop
14207 ac_check_lib_save_LIBS=$LIBS
14208 LIBS="-lposix $LIBS"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 char remove ();
14217 main (void)
14219 return remove ();
14221 return 0;
14223 _ACEOF
14224 if ac_fn_c_try_link "$LINENO"
14225 then :
14226 ac_cv_lib_posix_remove=yes
14227 else $as_nop
14228 ac_cv_lib_posix_remove=no
14230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14231 conftest$ac_exeext conftest.$ac_ext
14232 LIBS=$ac_check_lib_save_LIBS
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14235 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14236 if test "x$ac_cv_lib_posix_remove" = xyes
14237 then :
14238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14243 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14244 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14245 if test "x$ac_cv_func_shmat" = xyes
14246 then :
14250 if test $ac_cv_func_shmat = no; then
14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14252 printf %s "checking for shmat in -lipc... " >&6; }
14253 if test ${ac_cv_lib_ipc_shmat+y}
14254 then :
14255 printf %s "(cached) " >&6
14256 else $as_nop
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-lipc $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 char shmat ();
14267 main (void)
14269 return shmat ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"
14275 then :
14276 ac_cv_lib_ipc_shmat=yes
14277 else $as_nop
14278 ac_cv_lib_ipc_shmat=no
14280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_lib_save_LIBS
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14285 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14286 if test "x$ac_cv_lib_ipc_shmat" = xyes
14287 then :
14288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14294 # Check for libraries that X11R6 Xt/Xaw programs need.
14295 ac_save_LDFLAGS=$LDFLAGS
14296 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14297 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14298 # check for ICE first), but we must link in the order -lSM -lICE or
14299 # we get undefined symbols. So assume we have SM if we have ICE.
14300 # These have to be linked with before -lX11, unlike the other
14301 # libraries we check for below, so use a different variable.
14302 # John Interrante, Karl Berry
14303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14304 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14305 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14306 then :
14307 printf %s "(cached) " >&6
14308 else $as_nop
14309 ac_check_lib_save_LIBS=$LIBS
14310 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14314 /* Override any GCC internal prototype to avoid an error.
14315 Use char because int might match the return type of a GCC
14316 builtin and then its argument prototype would still apply. */
14317 char IceConnectionNumber ();
14319 main (void)
14321 return IceConnectionNumber ();
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"
14327 then :
14328 ac_cv_lib_ICE_IceConnectionNumber=yes
14329 else $as_nop
14330 ac_cv_lib_ICE_IceConnectionNumber=no
14332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14337 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14338 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14339 then :
14340 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14343 LDFLAGS=$ac_save_LDFLAGS
14348 if test "$have_x" = "yes"
14349 then
14350 ac_save_CPPFLAGS="$CPPFLAGS"
14351 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14354 printf %s "checking for -lX11... " >&6; }
14355 if test ${ac_cv_lib_soname_X11+y}
14356 then :
14357 printf %s "(cached) " >&6
14358 else $as_nop
14359 ac_check_soname_save_LIBS=$LIBS
14360 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14367 char XCreateWindow ();
14369 main (void)
14371 return XCreateWindow ();
14373 return 0;
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"
14377 then :
14378 case "$LIBEXT" in
14379 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14380 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'` ;;
14381 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14382 if ${ac_cv_lib_soname_X11:+false} :
14383 then :
14384 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14385 fi ;;
14386 esac
14387 else $as_nop
14388 ac_cv_lib_soname_X11=
14390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_soname_save_LIBS
14394 if ${ac_cv_lib_soname_X11:+false} :
14395 then :
14396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14397 printf "%s\n" "not found" >&6; }
14399 else $as_nop
14400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14401 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14403 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14408 printf %s "checking for -lXext... " >&6; }
14409 if test ${ac_cv_lib_soname_Xext+y}
14410 then :
14411 printf %s "(cached) " >&6
14412 else $as_nop
14413 ac_check_soname_save_LIBS=$LIBS
14414 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14418 /* Override any GCC internal prototype to avoid an error.
14419 Use char because int might match the return type of a GCC
14420 builtin and then its argument prototype would still apply. */
14421 char XextCreateExtension ();
14423 main (void)
14425 return XextCreateExtension ();
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"
14431 then :
14432 case "$LIBEXT" in
14433 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14434 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'` ;;
14435 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14436 if ${ac_cv_lib_soname_Xext:+false} :
14437 then :
14438 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14439 fi ;;
14440 esac
14441 else $as_nop
14442 ac_cv_lib_soname_Xext=
14444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS=$ac_check_soname_save_LIBS
14448 if ${ac_cv_lib_soname_Xext:+false} :
14449 then :
14450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14451 printf "%s\n" "not found" >&6; }
14453 else $as_nop
14454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14455 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14457 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14459 X_LIBS="$X_LIBS -lXext"
14461 X_LIBS="$X_LIBS -lX11"
14463 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14464 # include <X11/Xlib.h>
14465 #endif
14466 #ifdef HAVE_X11_XUTIL_H
14467 # include <X11/Xutil.h>
14468 #endif
14470 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14471 then :
14472 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14475 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14476 # include <X11/Xlib.h>
14477 #endif
14478 #ifdef HAVE_X11_XUTIL_H
14479 # include <X11/Xutil.h>
14480 #endif
14482 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14483 then :
14484 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14487 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14488 # include <X11/Xlib.h>
14489 #endif
14490 #ifdef HAVE_X11_XUTIL_H
14491 # include <X11/Xutil.h>
14492 #endif
14494 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14495 then :
14496 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14500 # include <X11/Xlib.h>
14501 #endif
14502 #ifdef HAVE_X11_XUTIL_H
14503 # include <X11/Xutil.h>
14504 #endif
14506 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14507 then :
14508 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14511 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14512 # include <X11/Xlib.h>
14513 #endif
14514 #ifdef HAVE_X11_XUTIL_H
14515 # include <X11/Xutil.h>
14516 #endif
14518 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14519 then :
14520 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14523 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14524 # include <X11/Xlib.h>
14525 #endif
14526 #ifdef HAVE_X11_XUTIL_H
14527 # include <X11/Xutil.h>
14528 #endif
14530 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14531 then :
14532 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14535 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14536 # include <X11/Xlib.h>
14537 #endif
14538 #ifdef HAVE_X11_XUTIL_H
14539 # include <X11/Xutil.h>
14540 #endif
14542 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14543 then :
14544 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14547 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14548 # include <X11/Xlib.h>
14549 #endif
14550 #ifdef HAVE_X11_XUTIL_H
14551 # include <X11/Xutil.h>
14552 #endif
14554 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14555 then :
14556 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14559 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14560 # include <X11/Xlib.h>
14561 #endif
14562 #ifdef HAVE_X11_XUTIL_H
14563 # include <X11/Xutil.h>
14564 #endif
14566 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14567 then :
14568 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14571 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14572 # include <X11/Xlib.h>
14573 #endif
14574 #ifdef HAVE_X11_XUTIL_H
14575 # include <X11/Xutil.h>
14576 #endif
14578 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14579 then :
14580 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14583 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14584 # include <X11/Xlib.h>
14585 #endif
14586 #ifdef HAVE_X11_XUTIL_H
14587 # include <X11/Xutil.h>
14588 #endif
14590 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14591 then :
14592 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14595 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14596 # include <X11/Xlib.h>
14597 #endif
14598 #ifdef HAVE_X11_XUTIL_H
14599 # include <X11/Xutil.h>
14600 #endif
14602 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14603 then :
14604 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14607 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14608 # include <X11/Xlib.h>
14609 #endif
14610 #ifdef HAVE_X11_XUTIL_H
14611 # include <X11/Xutil.h>
14612 #endif
14614 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14615 then :
14616 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14619 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14620 # include <X11/Xlib.h>
14621 #endif
14622 #ifdef HAVE_X11_XUTIL_H
14623 # include <X11/Xutil.h>
14624 #endif
14626 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14627 then :
14628 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14631 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14632 # include <X11/Xlib.h>
14633 #endif
14634 #ifdef HAVE_X11_XUTIL_H
14635 # include <X11/Xutil.h>
14636 #endif
14638 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14639 then :
14640 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14645 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14646 then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14648 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14649 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14650 then :
14651 printf %s "(cached) " >&6
14652 else $as_nop
14653 ac_check_lib_save_LIBS=$LIBS
14654 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 char XkbQueryExtension ();
14663 main (void)
14665 return XkbQueryExtension ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"
14671 then :
14672 ac_cv_lib_X11_XkbQueryExtension=yes
14673 else $as_nop
14674 ac_cv_lib_X11_XkbQueryExtension=no
14676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14681 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14682 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14683 then :
14685 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14691 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14692 then
14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14694 printf %s "checking for -lXcursor... " >&6; }
14695 if test ${ac_cv_lib_soname_Xcursor+y}
14696 then :
14697 printf %s "(cached) " >&6
14698 else $as_nop
14699 ac_check_soname_save_LIBS=$LIBS
14700 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 char XcursorImageLoadCursor ();
14709 main (void)
14711 return XcursorImageLoadCursor ();
14713 return 0;
14715 _ACEOF
14716 if ac_fn_c_try_link "$LINENO"
14717 then :
14718 case "$LIBEXT" in
14719 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14720 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'` ;;
14721 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14722 if ${ac_cv_lib_soname_Xcursor:+false} :
14723 then :
14724 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14725 fi ;;
14726 esac
14727 else $as_nop
14728 ac_cv_lib_soname_Xcursor=
14730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_soname_save_LIBS
14734 if ${ac_cv_lib_soname_Xcursor:+false} :
14735 then :
14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14737 printf "%s\n" "not found" >&6; }
14739 else $as_nop
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14741 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14743 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14748 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14749 then :
14750 case "x$with_xcursor" in
14751 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14752 xno) ;;
14753 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14754 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14755 esac
14759 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14760 then
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14762 printf %s "checking for -lXi... " >&6; }
14763 if test ${ac_cv_lib_soname_Xi+y}
14764 then :
14765 printf %s "(cached) " >&6
14766 else $as_nop
14767 ac_check_soname_save_LIBS=$LIBS
14768 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 char XOpenDevice ();
14777 main (void)
14779 return XOpenDevice ();
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"
14785 then :
14786 case "$LIBEXT" in
14787 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14788 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'` ;;
14789 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14790 if ${ac_cv_lib_soname_Xi:+false} :
14791 then :
14792 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14793 fi ;;
14794 esac
14795 else $as_nop
14796 ac_cv_lib_soname_Xi=
14798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_check_soname_save_LIBS
14802 if ${ac_cv_lib_soname_Xi:+false} :
14803 then :
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14805 printf "%s\n" "not found" >&6; }
14807 else $as_nop
14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14809 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14811 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14816 if test "x$ac_cv_lib_soname_Xi" = "x"
14817 then :
14818 case "x$with_xinput" in
14819 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14820 xno) ;;
14821 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14822 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14823 esac
14827 if test "x$ac_cv_lib_soname_Xi" != x
14828 then
14829 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14830 then :
14831 case "x$with_xinput2" in
14832 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14833 xno) ;;
14834 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14835 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14836 esac
14841 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14842 then
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14844 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14845 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14846 then :
14847 printf %s "(cached) " >&6
14848 else $as_nop
14849 ac_check_lib_save_LIBS=$LIBS
14850 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14857 char XShmQueryExtension ();
14859 main (void)
14861 return XShmQueryExtension ();
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"
14867 then :
14868 ac_cv_lib_Xext_XShmQueryExtension=yes
14869 else $as_nop
14870 ac_cv_lib_Xext_XShmQueryExtension=no
14872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_lib_save_LIBS
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14877 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14878 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14879 then :
14881 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14886 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14887 then :
14888 case "x$with_xshm" in
14889 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14890 xno) ;;
14891 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14892 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14893 esac
14897 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14898 then
14899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14900 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14901 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14902 then :
14903 printf %s "(cached) " >&6
14904 else $as_nop
14905 ac_check_lib_save_LIBS=$LIBS
14906 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14908 /* end confdefs.h. */
14910 /* Override any GCC internal prototype to avoid an error.
14911 Use char because int might match the return type of a GCC
14912 builtin and then its argument prototype would still apply. */
14913 char XShapeQueryExtension ();
14915 main (void)
14917 return XShapeQueryExtension ();
14919 return 0;
14921 _ACEOF
14922 if ac_fn_c_try_link "$LINENO"
14923 then :
14924 ac_cv_lib_Xext_XShapeQueryExtension=yes
14925 else $as_nop
14926 ac_cv_lib_Xext_XShapeQueryExtension=no
14928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14929 conftest$ac_exeext conftest.$ac_ext
14930 LIBS=$ac_check_lib_save_LIBS
14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14933 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14934 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14935 then :
14937 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14942 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14943 then :
14944 case "x$with_xshape" in
14945 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14946 xno) ;;
14947 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14948 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14949 esac
14953 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14954 then
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14956 printf %s "checking for -lXxf86vm... " >&6; }
14957 if test ${ac_cv_lib_soname_Xxf86vm+y}
14958 then :
14959 printf %s "(cached) " >&6
14960 else $as_nop
14961 ac_check_soname_save_LIBS=$LIBS
14962 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 char XF86VidModeQueryExtension ();
14971 main (void)
14973 return XF86VidModeQueryExtension ();
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"
14979 then :
14980 case "$LIBEXT" in
14981 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14982 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'` ;;
14983 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14984 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14985 then :
14986 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14987 fi ;;
14988 esac
14989 else $as_nop
14990 ac_cv_lib_soname_Xxf86vm=
14992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14993 conftest$ac_exeext conftest.$ac_ext
14994 LIBS=$ac_check_soname_save_LIBS
14996 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14997 then :
14998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14999 printf "%s\n" "not found" >&6; }
15001 else $as_nop
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15003 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15005 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15010 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15011 then :
15012 case "x$with_xxf86vm" in
15013 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15014 xno) ;;
15015 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15016 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15017 esac
15021 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15022 then
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15024 printf %s "checking for -lXrender... " >&6; }
15025 if test ${ac_cv_lib_soname_Xrender+y}
15026 then :
15027 printf %s "(cached) " >&6
15028 else $as_nop
15029 ac_check_soname_save_LIBS=$LIBS
15030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 char XRenderQueryExtension ();
15039 main (void)
15041 return XRenderQueryExtension ();
15043 return 0;
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"
15047 then :
15048 case "$LIBEXT" in
15049 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15050 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'` ;;
15051 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15052 if ${ac_cv_lib_soname_Xrender:+false} :
15053 then :
15054 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15055 fi ;;
15056 esac
15057 else $as_nop
15058 ac_cv_lib_soname_Xrender=
15060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15061 conftest$ac_exeext conftest.$ac_ext
15062 LIBS=$ac_check_soname_save_LIBS
15064 if ${ac_cv_lib_soname_Xrender:+false} :
15065 then :
15066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15067 printf "%s\n" "not found" >&6; }
15069 else $as_nop
15070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15071 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15073 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15076 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15077 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15078 then :
15079 printf %s "(cached) " >&6
15080 else $as_nop
15081 ac_check_lib_save_LIBS=$LIBS
15082 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 char XRenderSetPictureTransform ();
15091 main (void)
15093 return XRenderSetPictureTransform ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"
15099 then :
15100 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15101 else $as_nop
15102 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_lib_save_LIBS
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15109 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15110 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15111 then :
15113 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15118 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15119 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15120 then :
15121 printf %s "(cached) " >&6
15122 else $as_nop
15123 ac_check_lib_save_LIBS=$LIBS
15124 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15128 /* Override any GCC internal prototype to avoid an error.
15129 Use char because int might match the return type of a GCC
15130 builtin and then its argument prototype would still apply. */
15131 char XRenderCreateLinearGradient ();
15133 main (void)
15135 return XRenderCreateLinearGradient ();
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_link "$LINENO"
15141 then :
15142 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15143 else $as_nop
15144 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_lib_save_LIBS
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15151 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15152 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15153 then :
15155 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15162 if test "x$ac_cv_lib_soname_Xrender" = "x"
15163 then :
15164 case "x$with_xrender" in
15165 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15166 xno) ;;
15167 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15168 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15169 esac
15173 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15174 then
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 #include <X11/Xlib.h>
15178 #include <X11/extensions/Xrandr.h>
15180 main (void)
15182 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_compile "$LINENO"
15188 then :
15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15190 printf %s "checking for -lXrandr... " >&6; }
15191 if test ${ac_cv_lib_soname_Xrandr+y}
15192 then :
15193 printf %s "(cached) " >&6
15194 else $as_nop
15195 ac_check_soname_save_LIBS=$LIBS
15196 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15200 /* Override any GCC internal prototype to avoid an error.
15201 Use char because int might match the return type of a GCC
15202 builtin and then its argument prototype would still apply. */
15203 char XRRQueryExtension ();
15205 main (void)
15207 return XRRQueryExtension ();
15209 return 0;
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"
15213 then :
15214 case "$LIBEXT" in
15215 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15216 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'` ;;
15217 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15218 if ${ac_cv_lib_soname_Xrandr:+false} :
15219 then :
15220 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15221 fi ;;
15222 esac
15223 else $as_nop
15224 ac_cv_lib_soname_Xrandr=
15226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15227 conftest$ac_exeext conftest.$ac_ext
15228 LIBS=$ac_check_soname_save_LIBS
15230 if ${ac_cv_lib_soname_Xrandr:+false} :
15231 then :
15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15233 printf "%s\n" "not found" >&6; }
15235 else $as_nop
15236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15237 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15239 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #include <X11/Xlib.h>
15244 #include <X11/extensions/Xrandr.h>
15246 main (void)
15248 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_compile "$LINENO"
15254 then :
15256 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15258 else $as_nop
15259 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15266 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15267 then :
15268 case "x$with_xrandr" in
15269 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15270 xno) ;;
15271 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15272 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15273 esac
15277 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15278 then
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15281 #include <X11/Xlib.h>
15282 #include <X11/extensions/Xfixes.h>
15284 main (void)
15286 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_compile "$LINENO"
15292 then :
15293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15294 printf %s "checking for -lXfixes... " >&6; }
15295 if test ${ac_cv_lib_soname_Xfixes+y}
15296 then :
15297 printf %s "(cached) " >&6
15298 else $as_nop
15299 ac_check_soname_save_LIBS=$LIBS
15300 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15307 char XFixesQueryVersion ();
15309 main (void)
15311 return XFixesQueryVersion ();
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"
15317 then :
15318 case "$LIBEXT" in
15319 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15320 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'` ;;
15321 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15322 if ${ac_cv_lib_soname_Xfixes:+false} :
15323 then :
15324 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15325 fi ;;
15326 esac
15327 else $as_nop
15328 ac_cv_lib_soname_Xfixes=
15330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15331 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_check_soname_save_LIBS
15334 if ${ac_cv_lib_soname_Xfixes:+false} :
15335 then :
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15337 printf "%s\n" "not found" >&6; }
15339 else $as_nop
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15341 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15343 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15350 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15351 then :
15352 case "x$with_xfixes" in
15353 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15356 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15362 then
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #include <X11/Xlib.h>
15366 #include <X11/extensions/Xinerama.h>
15368 main (void)
15370 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_compile "$LINENO"
15376 then :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15378 printf %s "checking for -lXinerama... " >&6; }
15379 if test ${ac_cv_lib_soname_Xinerama+y}
15380 then :
15381 printf %s "(cached) " >&6
15382 else $as_nop
15383 ac_check_soname_save_LIBS=$LIBS
15384 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 char XineramaQueryScreens ();
15393 main (void)
15395 return XineramaQueryScreens ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"
15401 then :
15402 case "$LIBEXT" in
15403 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15404 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'` ;;
15405 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15406 if ${ac_cv_lib_soname_Xinerama:+false} :
15407 then :
15408 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15409 fi ;;
15410 esac
15411 else $as_nop
15412 ac_cv_lib_soname_Xinerama=
15414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_Xinerama:+false} :
15419 then :
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15421 printf "%s\n" "not found" >&6; }
15423 else $as_nop
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15425 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15427 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15434 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15435 then :
15436 case "x$with_xinerama" in
15437 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15438 xno) ;;
15439 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15440 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15441 esac
15445 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15446 then
15447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15448 printf %s "checking for -lXcomposite... " >&6; }
15449 if test ${ac_cv_lib_soname_Xcomposite+y}
15450 then :
15451 printf %s "(cached) " >&6
15452 else $as_nop
15453 ac_check_soname_save_LIBS=$LIBS
15454 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 char XCompositeRedirectWindow ();
15463 main (void)
15465 return XCompositeRedirectWindow ();
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"
15471 then :
15472 case "$LIBEXT" in
15473 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15474 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'` ;;
15475 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15476 if ${ac_cv_lib_soname_Xcomposite:+false} :
15477 then :
15478 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15479 fi ;;
15480 esac
15481 else $as_nop
15482 ac_cv_lib_soname_Xcomposite=
15484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if ${ac_cv_lib_soname_Xcomposite:+false} :
15489 then :
15490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15491 printf "%s\n" "not found" >&6; }
15493 else $as_nop
15494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15495 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15497 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15502 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15503 then :
15504 case "x$with_xcomposite" in
15505 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15506 xno) ;;
15507 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15508 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15509 esac
15513 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15514 #include <X11/Xlib.h>
15515 #endif
15517 if test "x$ac_cv_member_XICCallback_callback" = xyes
15518 then :
15520 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15524 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15525 #include <X11/Xlib.h>
15526 #endif
15528 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15529 then :
15531 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15538 opengl_msg=""
15539 if test "x$with_opengl" != "xno"
15540 then
15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15542 printf %s "checking for -lGL... " >&6; }
15543 if test ${ac_cv_lib_soname_GL+y}
15544 then :
15545 printf %s "(cached) " >&6
15546 else $as_nop
15547 ac_check_soname_save_LIBS=$LIBS
15548 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 char glXCreateContext ();
15557 main (void)
15559 return glXCreateContext ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"
15565 then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_GL:+false} :
15571 then :
15572 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 fi ;;
15574 esac
15575 else $as_nop
15576 ac_cv_lib_soname_GL=
15578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_GL:+false} :
15583 then :
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15585 printf "%s\n" "not found" >&6; }
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15587 printf %s "checking for -lGL... " >&6; }
15588 if test ${ac_cv_lib_soname_GL+y}
15589 then :
15590 printf %s "(cached) " >&6
15591 else $as_nop
15592 ac_check_soname_save_LIBS=$LIBS
15593 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"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char glXCreateContext ();
15602 main (void)
15604 return glXCreateContext ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"
15610 then :
15611 case "$LIBEXT" in
15612 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_GL:+false} :
15616 then :
15617 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15618 fi ;;
15619 esac
15620 else $as_nop
15621 ac_cv_lib_soname_GL=
15623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_GL:+false} :
15628 then :
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 printf "%s\n" "not found" >&6; }
15631 if test -f /usr/X11R6/lib/libGL.a
15632 then
15633 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15634 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15635 else
15636 opengl_msg="No OpenGL library found on this system."
15638 else $as_nop
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15640 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15642 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15644 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"
15646 else $as_nop
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15648 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15650 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15652 OPENGL_LIBS="-lGL"
15654 if test "x$with_osmesa" != "xno"
15655 then
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15657 printf %s "checking for -lOSMesa... " >&6; }
15658 if test ${ac_cv_lib_soname_OSMesa+y}
15659 then :
15660 printf %s "(cached) " >&6
15661 else $as_nop
15662 ac_check_soname_save_LIBS=$LIBS
15663 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char OSMesaGetProcAddress ();
15672 main (void)
15674 return OSMesaGetProcAddress ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"
15680 then :
15681 case "$LIBEXT" in
15682 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15683 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'` ;;
15684 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15685 if ${ac_cv_lib_soname_OSMesa:+false} :
15686 then :
15687 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15688 fi ;;
15689 esac
15690 else $as_nop
15691 ac_cv_lib_soname_OSMesa=
15693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15694 conftest$ac_exeext conftest.$ac_ext
15695 LIBS=$ac_check_soname_save_LIBS
15697 if ${ac_cv_lib_soname_OSMesa:+false} :
15698 then :
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 printf "%s\n" "not found" >&6; }
15702 else $as_nop
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15704 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15706 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15710 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15711 then :
15712 case "x$with_osmesa" in
15713 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15714 xno) ;;
15715 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15716 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15717 esac
15722 if test -n "$opengl_msg"
15723 then :
15724 case "x$with_opengl" in
15725 x) as_fn_append wine_warnings "|$opengl_msg
15726 OpenGL and Direct3D won't be supported." ;;
15727 xno) ;;
15728 *) as_fn_error $? "$opengl_msg
15729 OpenGL and Direct3D won't be supported.
15730 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15731 esac
15735 CPPFLAGS="$ac_save_CPPFLAGS"
15736 else
15737 X_CFLAGS=""
15738 X_LIBS=""
15741 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15742 then
15743 if test "x$X_LIBS" = "x"
15744 then :
15745 case "x$with_x" in
15746 xno) ;;
15747 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15748 without X support, which probably isn't what you want. You will need
15749 to install ${notice_platform}development packages of Xlib at the very least.
15750 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15751 esac
15752 enable_winex11_drv=${enable_winex11_drv:-no}
15754 else
15755 if test "x$X_LIBS" = "x"
15756 then :
15757 case "x$with_x" in
15758 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15759 xno) ;;
15760 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15761 This is an error since --with-x was requested." "$LINENO" 5 ;;
15762 esac
15763 enable_winex11_drv=${enable_winex11_drv:-no}
15767 if test "$ac_cv_header_CL_cl_h" = "yes"
15768 then
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15770 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15771 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15772 then :
15773 printf %s "(cached) " >&6
15774 else $as_nop
15775 ac_check_lib_save_LIBS=$LIBS
15776 LIBS="-lOpenCL $LIBS"
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 /* Override any GCC internal prototype to avoid an error.
15781 Use char because int might match the return type of a GCC
15782 builtin and then its argument prototype would still apply. */
15783 char clGetPlatformInfo ();
15785 main (void)
15787 return clGetPlatformInfo ();
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_link "$LINENO"
15793 then :
15794 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15795 else $as_nop
15796 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15799 conftest$ac_exeext conftest.$ac_ext
15800 LIBS=$ac_check_lib_save_LIBS
15802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15803 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15804 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15805 then :
15806 OPENCL_LIBS="-lOpenCL"
15811 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15812 then :
15813 case "x$with_opencl" in
15814 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15815 xno) ;;
15816 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15817 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15818 esac
15819 enable_opencl=${enable_opencl:-no}
15822 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15823 then
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15825 printf %s "checking for pcap_create in -lpcap... " >&6; }
15826 if test ${ac_cv_lib_pcap_pcap_create+y}
15827 then :
15828 printf %s "(cached) " >&6
15829 else $as_nop
15830 ac_check_lib_save_LIBS=$LIBS
15831 LIBS="-lpcap $LIBS"
15832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833 /* end confdefs.h. */
15835 /* Override any GCC internal prototype to avoid an error.
15836 Use char because int might match the return type of a GCC
15837 builtin and then its argument prototype would still apply. */
15838 char pcap_create ();
15840 main (void)
15842 return pcap_create ();
15844 return 0;
15846 _ACEOF
15847 if ac_fn_c_try_link "$LINENO"
15848 then :
15849 ac_cv_lib_pcap_pcap_create=yes
15850 else $as_nop
15851 ac_cv_lib_pcap_pcap_create=no
15853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15854 conftest$ac_exeext conftest.$ac_ext
15855 LIBS=$ac_check_lib_save_LIBS
15857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15858 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15859 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15860 then :
15861 PCAP_LIBS="-lpcap"
15866 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15867 then :
15868 case "x$with_pcap" in
15869 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15870 xno) ;;
15871 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15872 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15873 esac
15874 enable_wpcap=${enable_wpcap:-no}
15877 if test "x$with_inotify" != "xno"
15878 then
15879 if ${INOTIFY_CFLAGS:+false} :
15880 then :
15881 if test ${PKG_CONFIG+y}
15882 then :
15883 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15887 if ${INOTIFY_LIBS:+false} :
15888 then :
15889 if test ${PKG_CONFIG+y}
15890 then :
15891 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15898 ac_save_CPPFLAGS=$CPPFLAGS
15899 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15900 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15901 if test "x$ac_cv_header_sys_inotify_h" = xyes
15902 then :
15903 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15908 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15909 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15910 then :
15911 printf %s "(cached) " >&6
15912 else $as_nop
15913 ac_check_lib_save_LIBS=$LIBS
15914 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15921 char inotify_add_watch ();
15923 main (void)
15925 return inotify_add_watch ();
15927 return 0;
15929 _ACEOF
15930 if ac_fn_c_try_link "$LINENO"
15931 then :
15932 ac_cv_lib_inotify_inotify_add_watch=yes
15933 else $as_nop
15934 ac_cv_lib_inotify_inotify_add_watch=no
15936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_lib_save_LIBS
15940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15941 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15942 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15943 then :
15945 else $as_nop
15946 INOTIFY_LIBS=""
15949 CPPFLAGS=$ac_save_CPPFLAGS
15952 if test "$ac_cv_header_sys_inotify_h" != "yes"
15953 then :
15954 case "x$with_inotify" in
15955 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15956 xno) ;;
15957 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15958 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15959 esac
15963 if test "x$with_dbus" != "xno"
15964 then
15965 if ${DBUS_CFLAGS:+false} :
15966 then :
15967 if test ${PKG_CONFIG+y}
15968 then :
15969 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15973 if ${DBUS_LIBS:+false} :
15974 then :
15975 if test ${PKG_CONFIG+y}
15976 then :
15977 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15984 ac_save_CPPFLAGS=$CPPFLAGS
15985 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15986 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15987 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15988 then :
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15990 printf %s "checking for -ldbus-1... " >&6; }
15991 if test ${ac_cv_lib_soname_dbus_1+y}
15992 then :
15993 printf %s "(cached) " >&6
15994 else $as_nop
15995 ac_check_soname_save_LIBS=$LIBS
15996 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16003 char dbus_connection_close ();
16005 main (void)
16007 return dbus_connection_close ();
16009 return 0;
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"
16013 then :
16014 case "$LIBEXT" in
16015 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16016 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'` ;;
16017 *) 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'`
16018 if ${ac_cv_lib_soname_dbus_1:+false} :
16019 then :
16020 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16021 fi ;;
16022 esac
16023 else $as_nop
16024 ac_cv_lib_soname_dbus_1=
16026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16027 conftest$ac_exeext conftest.$ac_ext
16028 LIBS=$ac_check_soname_save_LIBS
16030 if ${ac_cv_lib_soname_dbus_1:+false} :
16031 then :
16032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16033 printf "%s\n" "not found" >&6; }
16034 DBUS_CFLAGS=""
16035 else $as_nop
16036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16037 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16039 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16043 else $as_nop
16044 DBUS_CFLAGS=""
16047 CPPFLAGS=$ac_save_CPPFLAGS
16050 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16051 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16052 then :
16053 case "x$with_dbus" in
16054 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16055 xno) ;;
16056 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16057 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16058 esac
16062 if test "x$with_gnutls" != "xno"
16063 then
16064 if ${GNUTLS_CFLAGS:+false} :
16065 then :
16066 if test ${PKG_CONFIG+y}
16067 then :
16068 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16072 if ${GNUTLS_LIBS:+false} :
16073 then :
16074 if test ${PKG_CONFIG+y}
16075 then :
16076 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16080 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16083 ac_save_CPPFLAGS=$CPPFLAGS
16084 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16085 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16086 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16087 then :
16088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16089 /* end confdefs.h. */
16090 #include <gnutls/gnutls.h>
16091 #include <gnutls/crypto.h>
16093 main (void)
16095 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16097 return 0;
16099 _ACEOF
16100 if ac_fn_c_try_compile "$LINENO"
16101 then :
16102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16103 printf %s "checking for -lgnutls... " >&6; }
16104 if test ${ac_cv_lib_soname_gnutls+y}
16105 then :
16106 printf %s "(cached) " >&6
16107 else $as_nop
16108 ac_check_soname_save_LIBS=$LIBS
16109 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 char gnutls_global_init ();
16118 main (void)
16120 return gnutls_global_init ();
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_link "$LINENO"
16126 then :
16127 case "$LIBEXT" in
16128 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16129 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'` ;;
16130 *) 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'`
16131 if ${ac_cv_lib_soname_gnutls:+false} :
16132 then :
16133 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'`
16134 fi ;;
16135 esac
16136 else $as_nop
16137 ac_cv_lib_soname_gnutls=
16139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16140 conftest$ac_exeext conftest.$ac_ext
16141 LIBS=$ac_check_soname_save_LIBS
16143 if ${ac_cv_lib_soname_gnutls:+false} :
16144 then :
16145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16146 printf "%s\n" "not found" >&6; }
16147 GNUTLS_CFLAGS=""
16148 else $as_nop
16149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16150 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16152 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16156 ac_wine_check_funcs_save_LIBS="$LIBS"
16157 LIBS="$LIBS $GNUTLS_LIBS"
16159 for ac_func in gnutls_cipher_init
16160 do :
16161 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16162 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16163 then :
16164 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16166 else $as_nop
16167 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16170 done
16171 LIBS="$ac_wine_check_funcs_save_LIBS"
16173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16174 else $as_nop
16175 GNUTLS_CFLAGS=""
16178 CPPFLAGS=$ac_save_CPPFLAGS
16181 if test "x$ac_cv_lib_soname_gnutls" = "x"
16182 then :
16183 case "x$with_gnutls" in
16184 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16185 xno) ;;
16186 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16187 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16188 esac
16192 if test "x$with_sane" != "xno"
16193 then
16194 if ${SANE_CFLAGS:+false} :
16195 then :
16196 if test ${PKG_CONFIG+y}
16197 then :
16198 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16201 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16202 if ${SANE_LIBS:+false} :
16203 then :
16204 if test ${PKG_CONFIG+y}
16205 then :
16206 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16209 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16213 ac_save_CPPFLAGS=$CPPFLAGS
16214 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16215 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16216 if test "x$ac_cv_header_sane_sane_h" = xyes
16217 then :
16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16219 printf %s "checking for sane_init in -lsane... " >&6; }
16220 if test ${ac_cv_lib_sane_sane_init+y}
16221 then :
16222 printf %s "(cached) " >&6
16223 else $as_nop
16224 ac_check_lib_save_LIBS=$LIBS
16225 LIBS="-lsane $SANE_LIBS $LIBS"
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 /* Override any GCC internal prototype to avoid an error.
16230 Use char because int might match the return type of a GCC
16231 builtin and then its argument prototype would still apply. */
16232 char sane_init ();
16234 main (void)
16236 return sane_init ();
16238 return 0;
16240 _ACEOF
16241 if ac_fn_c_try_link "$LINENO"
16242 then :
16243 ac_cv_lib_sane_sane_init=yes
16244 else $as_nop
16245 ac_cv_lib_sane_sane_init=no
16247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16248 conftest$ac_exeext conftest.$ac_ext
16249 LIBS=$ac_check_lib_save_LIBS
16251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16252 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16253 if test "x$ac_cv_lib_sane_sane_init" = xyes
16254 then :
16260 CPPFLAGS=$ac_save_CPPFLAGS
16263 if test "$ac_cv_lib_sane_sane_init" != "yes"
16264 then :
16265 case "x$with_sane" in
16266 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16267 xno) ;;
16268 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16269 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16270 esac
16271 enable_sane_ds=${enable_sane_ds:-no}
16274 if test "x$with_usb" != "xno"
16275 then
16276 if ${USB_CFLAGS:+false} :
16277 then :
16278 if test ${PKG_CONFIG+y}
16279 then :
16280 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16284 if ${USB_LIBS:+false} :
16285 then :
16286 if test ${PKG_CONFIG+y}
16287 then :
16288 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16292 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16295 ac_save_CPPFLAGS=$CPPFLAGS
16296 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16297 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16298 if test "x$ac_cv_header_libusb_h" = xyes
16299 then :
16300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16301 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16302 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16303 then :
16304 printf %s "(cached) " >&6
16305 else $as_nop
16306 ac_check_lib_save_LIBS=$LIBS
16307 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16311 /* Override any GCC internal prototype to avoid an error.
16312 Use char because int might match the return type of a GCC
16313 builtin and then its argument prototype would still apply. */
16314 char libusb_interrupt_event_handler ();
16316 main (void)
16318 return libusb_interrupt_event_handler ();
16320 return 0;
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"
16324 then :
16325 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16326 else $as_nop
16327 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16330 conftest$ac_exeext conftest.$ac_ext
16331 LIBS=$ac_check_lib_save_LIBS
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16334 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16335 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16336 then :
16338 else $as_nop
16339 USB_LIBS=""
16342 else $as_nop
16343 USB_LIBS=""
16346 CPPFLAGS=$ac_save_CPPFLAGS
16349 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16350 then :
16351 case "x$with_usb" in
16352 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16353 xno) ;;
16354 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16355 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16356 esac
16357 enable_wineusb_sys=${enable_wineusb_sys:-no}
16360 if test "x$with_v4l2" != "xno"
16361 then
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16363 printf %s "checking for -lv4l2... " >&6; }
16364 if test ${ac_cv_lib_soname_v4l2+y}
16365 then :
16366 printf %s "(cached) " >&6
16367 else $as_nop
16368 ac_check_soname_save_LIBS=$LIBS
16369 LIBS="-lv4l2 $LIBS"
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16376 char v4l2_open ();
16378 main (void)
16380 return v4l2_open ();
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_link "$LINENO"
16386 then :
16387 case "$LIBEXT" in
16388 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16389 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'` ;;
16390 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16391 if ${ac_cv_lib_soname_v4l2:+false} :
16392 then :
16393 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16394 fi ;;
16395 esac
16396 else $as_nop
16397 ac_cv_lib_soname_v4l2=
16399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_v4l2:+false} :
16404 then :
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16406 printf "%s\n" "not found" >&6; }
16408 else $as_nop
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16410 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16412 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16417 if test "x$ac_cv_lib_soname_v4l2" = "x"
16418 then :
16419 case "x$with_v4l2" in
16420 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16421 xno) ;;
16422 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16423 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16424 esac
16428 if test "x$with_gphoto" != "xno"
16429 then
16430 if ${GPHOTO2_CFLAGS:+false} :
16431 then :
16432 if test ${PKG_CONFIG+y}
16433 then :
16434 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16437 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16438 if ${GPHOTO2_LIBS:+false} :
16439 then :
16440 if test ${PKG_CONFIG+y}
16441 then :
16442 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16445 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16446 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16449 ac_save_CPPFLAGS=$CPPFLAGS
16450 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16451 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16452 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16453 then :
16454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16455 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16456 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16457 then :
16458 printf %s "(cached) " >&6
16459 else $as_nop
16460 ac_check_lib_save_LIBS=$LIBS
16461 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16463 /* end confdefs.h. */
16465 /* Override any GCC internal prototype to avoid an error.
16466 Use char because int might match the return type of a GCC
16467 builtin and then its argument prototype would still apply. */
16468 char gp_camera_new ();
16470 main (void)
16472 return gp_camera_new ();
16474 return 0;
16476 _ACEOF
16477 if ac_fn_c_try_link "$LINENO"
16478 then :
16479 ac_cv_lib_gphoto2_gp_camera_new=yes
16480 else $as_nop
16481 ac_cv_lib_gphoto2_gp_camera_new=no
16483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_lib_save_LIBS
16487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16488 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16489 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16490 then :
16496 CPPFLAGS=$ac_save_CPPFLAGS
16498 if ${GPHOTO2_PORT_CFLAGS:+false} :
16499 then :
16500 if test ${PKG_CONFIG+y}
16501 then :
16502 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16505 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16506 if ${GPHOTO2_PORT_LIBS:+false} :
16507 then :
16508 if test ${PKG_CONFIG+y}
16509 then :
16510 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16513 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16514 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16517 ac_save_CPPFLAGS=$CPPFLAGS
16518 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16519 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16520 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16521 then :
16522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16523 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16524 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16525 then :
16526 printf %s "(cached) " >&6
16527 else $as_nop
16528 ac_check_lib_save_LIBS=$LIBS
16529 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16536 char gp_port_info_list_new ();
16538 main (void)
16540 return gp_port_info_list_new ();
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"
16546 then :
16547 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16548 else $as_nop
16549 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16552 conftest$ac_exeext conftest.$ac_ext
16553 LIBS=$ac_check_lib_save_LIBS
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16556 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16557 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16558 then :
16560 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16562 else $as_nop
16563 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16566 else $as_nop
16567 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16570 CPPFLAGS=$ac_save_CPPFLAGS
16573 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16574 then :
16575 case "x$with_gphoto" in
16576 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16577 xno) ;;
16578 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16579 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16580 esac
16581 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16583 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16584 then :
16585 case "x$with_gphoto" in
16586 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16587 xno) ;;
16588 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16589 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16590 esac
16595 if test "$ac_cv_header_resolv_h" = "yes"
16596 then
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16598 printf %s "checking for resolver library... " >&6; }
16599 if test ${ac_cv_have_resolv+y}
16600 then :
16601 printf %s "(cached) " >&6
16602 else $as_nop
16603 ac_save_LIBS="$LIBS"
16604 for lib in '' -lresolv
16606 LIBS="$lib $ac_save_LIBS"
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #ifdef HAVE_NETINET_IN_H
16610 #include <netinet/in.h>
16611 #endif
16612 #include <resolv.h>
16614 main (void)
16616 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"
16622 then :
16623 ac_cv_have_resolv=${lib:-"none required"}
16624 else $as_nop
16625 ac_cv_have_resolv="not found"
16627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16628 conftest$ac_exeext conftest.$ac_ext
16629 test "x$ac_cv_have_resolv" = "xnot found" || break
16630 done
16631 LIBS="$ac_save_LIBS"
16633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16634 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16636 case "$ac_cv_have_resolv" in
16637 "not found") ;;
16638 "none required")
16640 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16643 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16645 RESOLV_LIBS=$ac_cv_have_resolv
16647 esac
16649 if test "x$ac_cv_have_resolv" != "xnot found"
16650 then
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16652 printf %s "checking for res_getservers... " >&6; }
16653 if test ${ac_cv_have_res_getservers+y}
16654 then :
16655 printf %s "(cached) " >&6
16656 else $as_nop
16657 ac_save_LIBS="$LIBS"
16658 LIBS="$RESOLV_LIBS $LIBS"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #include <resolv.h>
16663 main (void)
16665 res_getservers(NULL, NULL, 0);
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"
16671 then :
16672 ac_cv_have_res_getservers=yes
16673 else $as_nop
16674 ac_cv_have_res_getservers=no
16676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS="$ac_save_LIBS"
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16681 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16682 if test "$ac_cv_have_res_getservers" = "yes"
16683 then
16685 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16691 if test "x$with_freetype" != "xno"
16692 then
16693 if ${FREETYPE_CFLAGS:+false} :
16694 then :
16695 if test ${PKG_CONFIG+y}
16696 then :
16697 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16700 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16701 if ${FREETYPE_LIBS:+false} :
16702 then :
16703 if test ${PKG_CONFIG+y}
16704 then :
16705 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16708 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16709 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16712 ac_save_CPPFLAGS=$CPPFLAGS
16713 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16714 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_ft2build_h" = xyes
16716 then :
16717 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16721 if test "$ac_cv_header_ft2build_h" = "yes"
16722 then
16723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16724 printf %s "checking for -lfreetype... " >&6; }
16725 if test ${ac_cv_lib_soname_freetype+y}
16726 then :
16727 printf %s "(cached) " >&6
16728 else $as_nop
16729 ac_check_soname_save_LIBS=$LIBS
16730 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16734 /* Override any GCC internal prototype to avoid an error.
16735 Use char because int might match the return type of a GCC
16736 builtin and then its argument prototype would still apply. */
16737 char FT_Init_FreeType ();
16739 main (void)
16741 return FT_Init_FreeType ();
16743 return 0;
16745 _ACEOF
16746 if ac_fn_c_try_link "$LINENO"
16747 then :
16748 case "$LIBEXT" in
16749 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16750 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'` ;;
16751 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16752 if ${ac_cv_lib_soname_freetype:+false} :
16753 then :
16754 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16755 fi ;;
16756 esac
16757 else $as_nop
16758 ac_cv_lib_soname_freetype=
16760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS=$ac_check_soname_save_LIBS
16764 if ${ac_cv_lib_soname_freetype:+false} :
16765 then :
16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16767 printf "%s\n" "not found" >&6; }
16768 FREETYPE_LIBS=""
16769 else $as_nop
16770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16771 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16773 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16776 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16778 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16779 #include FT_MODULE_H
16781 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16782 then :
16784 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16790 else
16791 FREETYPE_CFLAGS=""
16792 FREETYPE_LIBS=""
16794 CPPFLAGS=$ac_save_CPPFLAGS
16797 if test "x$ac_cv_lib_soname_freetype" = x
16798 then :
16799 case "x$with_freetype" in
16800 xno) ;;
16801 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16802 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16803 esac
16804 enable_fonts=${enable_fonts:-no}
16807 ac_wine_check_funcs_save_LIBS="$LIBS"
16808 LIBS="$LIBS $PTHREAD_LIBS"
16809 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16810 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16811 then :
16812 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16816 LIBS="$ac_wine_check_funcs_save_LIBS"
16818 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16819 then
16820 if test "$ac_cv_header_gettext_po_h" = "yes"
16821 then
16822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16823 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16824 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16825 then :
16826 printf %s "(cached) " >&6
16827 else $as_nop
16828 ac_check_lib_save_LIBS=$LIBS
16829 LIBS="-lgettextpo $LIBS"
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16833 /* Override any GCC internal prototype to avoid an error.
16834 Use char because int might match the return type of a GCC
16835 builtin and then its argument prototype would still apply. */
16836 char po_message_msgctxt ();
16838 main (void)
16840 return po_message_msgctxt ();
16842 return 0;
16844 _ACEOF
16845 if ac_fn_c_try_link "$LINENO"
16846 then :
16847 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16848 else $as_nop
16849 ac_cv_lib_gettextpo_po_message_msgctxt=no
16851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16852 conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16856 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16857 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16858 then :
16860 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16862 GETTEXTPO_LIBS="-lgettextpo"
16867 if test "x$GETTEXTPO_LIBS" = "x"
16868 then :
16869 case "x$with_gettextpo" in
16870 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16871 xno) ;;
16872 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16873 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16874 esac
16877 if test "$srcdir" != .
16878 then :
16879 case "x$with_gettextpo" in
16880 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16881 xno) ;;
16882 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16883 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16884 esac
16889 if test "x$with_pulse" != "xno";
16890 then
16891 if ${PULSE_CFLAGS:+false} :
16892 then :
16893 if test ${PKG_CONFIG+y}
16894 then :
16895 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16899 if ${PULSE_LIBS:+false} :
16900 then :
16901 if test ${PKG_CONFIG+y}
16902 then :
16903 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16910 ac_save_CPPFLAGS=$CPPFLAGS
16911 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16912 for ac_header in pulse/pulseaudio.h
16913 do :
16914 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16915 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16916 then :
16917 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16919 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16920 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16921 then :
16922 printf %s "(cached) " >&6
16923 else $as_nop
16924 ac_check_lib_save_LIBS=$LIBS
16925 LIBS="-lpulse $PULSE_LIBS $LIBS"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16929 /* Override any GCC internal prototype to avoid an error.
16930 Use char because int might match the return type of a GCC
16931 builtin and then its argument prototype would still apply. */
16932 char pa_stream_is_corked ();
16934 main (void)
16936 return pa_stream_is_corked ();
16938 return 0;
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"
16942 then :
16943 ac_cv_lib_pulse_pa_stream_is_corked=yes
16944 else $as_nop
16945 ac_cv_lib_pulse_pa_stream_is_corked=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16948 conftest$ac_exeext conftest.$ac_ext
16949 LIBS=$ac_check_lib_save_LIBS
16951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16952 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16953 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16954 then :
16956 else $as_nop
16957 PULSE_LIBS=""
16960 else $as_nop
16961 PULSE_LIBS=""
16964 done
16965 CPPFLAGS=$ac_save_CPPFLAGS
16968 if test -z "$PULSE_LIBS"
16969 then :
16970 case "x$with_pulse" in
16971 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16972 xno) ;;
16973 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16974 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16975 esac
16976 enable_winepulse_drv=${enable_winepulse_drv:-no}
16979 if test "x$with_gstreamer" != "xno"
16980 then
16981 if ${GSTREAMER_CFLAGS:+false} :
16982 then :
16983 if test ${PKG_CONFIG+y}
16984 then :
16985 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16989 if ${GSTREAMER_LIBS:+false} :
16990 then :
16991 if test ${PKG_CONFIG+y}
16992 then :
16993 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17000 ac_save_CPPFLAGS=$CPPFLAGS
17001 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17002 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17003 if test "x$ac_cv_header_gst_gst_h" = xyes
17004 then :
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17006 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #include <gst/gst.h>
17011 main (void)
17013 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17015 return 0;
17017 _ACEOF
17018 if ac_fn_c_try_compile "$LINENO"
17019 then :
17020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17021 printf "%s\n" "yes" >&6; }
17022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17023 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17024 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17025 then :
17026 printf %s "(cached) " >&6
17027 else $as_nop
17028 ac_check_lib_save_LIBS=$LIBS
17029 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17033 /* Override any GCC internal prototype to avoid an error.
17034 Use char because int might match the return type of a GCC
17035 builtin and then its argument prototype would still apply. */
17036 char gst_pad_new ();
17038 main (void)
17040 return gst_pad_new ();
17042 return 0;
17044 _ACEOF
17045 if ac_fn_c_try_link "$LINENO"
17046 then :
17047 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17048 else $as_nop
17049 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17052 conftest$ac_exeext conftest.$ac_ext
17053 LIBS=$ac_check_lib_save_LIBS
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17056 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17057 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17058 then :
17062 else $as_nop
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17064 printf "%s\n" "no" >&6; }
17065 ac_glib2_broken=yes
17066 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17071 CPPFLAGS=$ac_save_CPPFLAGS
17074 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17075 then :
17076 case "x$with_gstreamer" in
17077 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17078 xno) ;;
17079 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17080 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17081 esac
17082 enable_winegstreamer=${enable_winegstreamer:-no}
17085 ALSA_LIBS=""
17087 if test "x$with_alsa" != "xno"
17088 then
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17090 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17091 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17092 then :
17093 printf %s "(cached) " >&6
17094 else $as_nop
17095 ac_check_lib_save_LIBS=$LIBS
17096 LIBS="-lasound $LIBS"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17100 /* Override any GCC internal prototype to avoid an error.
17101 Use char because int might match the return type of a GCC
17102 builtin and then its argument prototype would still apply. */
17103 char snd_pcm_hw_params_get_access_mask ();
17105 main (void)
17107 return snd_pcm_hw_params_get_access_mask ();
17109 return 0;
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"
17113 then :
17114 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17115 else $as_nop
17116 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17119 conftest$ac_exeext conftest.$ac_ext
17120 LIBS=$ac_check_lib_save_LIBS
17122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17123 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17124 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17125 then :
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 #include <alsa/asoundlib.h>
17130 main (void)
17132 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17134 return 0;
17136 _ACEOF
17137 if ac_fn_c_try_compile "$LINENO"
17138 then :
17139 ALSA_LIBS="-lasound"
17141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17145 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17147 if test "x$with_oss" != xno
17148 then
17149 ac_save_CPPFLAGS="$CPPFLAGS"
17150 if test -f /etc/oss.conf
17151 then
17152 . /etc/oss.conf
17154 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17155 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17156 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17157 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17158 then :
17159 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17161 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17162 then :
17164 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17166 OSS4_CFLAGS="$ac_oss_incl"
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17169 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17170 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17171 then :
17172 printf %s "(cached) " >&6
17173 else $as_nop
17174 ac_check_lib_save_LIBS=$LIBS
17175 LIBS="-lossaudio $LIBS"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17182 char _oss_ioctl ();
17184 main (void)
17186 return _oss_ioctl ();
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"
17192 then :
17193 ac_cv_lib_ossaudio__oss_ioctl=yes
17194 else $as_nop
17195 ac_cv_lib_ossaudio__oss_ioctl=no
17197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17198 conftest$ac_exeext conftest.$ac_ext
17199 LIBS=$ac_check_lib_save_LIBS
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17202 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17203 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17204 then :
17205 OSS4_LIBS="-lossaudio"
17213 CPPFLAGS="$ac_save_CPPFLAGS"
17215 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17216 then :
17217 case "x$with_oss" in
17218 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17219 xno) ;;
17220 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17221 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17222 esac
17223 enable_wineoss_drv=${enable_wineoss_drv:-no}
17226 if test "x$with_udev" != "xno"
17227 then
17228 if ${UDEV_CFLAGS:+false} :
17229 then :
17230 if test ${PKG_CONFIG+y}
17231 then :
17232 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17236 if ${UDEV_LIBS:+false} :
17237 then :
17238 if test ${PKG_CONFIG+y}
17239 then :
17240 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17244 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17247 ac_save_CPPFLAGS=$CPPFLAGS
17248 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17249 for ac_header in libudev.h
17250 do :
17251 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17252 if test "x$ac_cv_header_libudev_h" = xyes
17253 then :
17254 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17256 printf %s "checking for udev_new in -ludev... " >&6; }
17257 if test ${ac_cv_lib_udev_udev_new+y}
17258 then :
17259 printf %s "(cached) " >&6
17260 else $as_nop
17261 ac_check_lib_save_LIBS=$LIBS
17262 LIBS="-ludev $UDEV_LIBS $LIBS"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17266 /* Override any GCC internal prototype to avoid an error.
17267 Use char because int might match the return type of a GCC
17268 builtin and then its argument prototype would still apply. */
17269 char udev_new ();
17271 main (void)
17273 return udev_new ();
17275 return 0;
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"
17279 then :
17280 ac_cv_lib_udev_udev_new=yes
17281 else $as_nop
17282 ac_cv_lib_udev_udev_new=no
17284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17289 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17290 if test "x$ac_cv_lib_udev_udev_new" = xyes
17291 then :
17293 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17295 else $as_nop
17296 UDEV_LIBS=""
17299 else $as_nop
17300 UDEV_LIBS=""
17303 done
17304 CPPFLAGS=$ac_save_CPPFLAGS
17307 if test "x$UDEV_LIBS" = "x"
17308 then :
17309 case "x$with_udev" in
17310 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17311 xno) ;;
17312 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17313 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17314 esac
17318 if test "x$with_unwind" != xno
17319 then
17320 if ${UNWIND_CFLAGS:+false} :
17321 then :
17322 if test ${PKG_CONFIG+y}
17323 then :
17324 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17328 if ${UNWIND_LIBS:+false} :
17329 then :
17330 if test ${PKG_CONFIG+y}
17331 then :
17332 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17336 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17339 ac_save_CPPFLAGS=$CPPFLAGS
17340 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17342 printf %s "checking for unw_step... " >&6; }
17343 if test ${wine_cv_have_unw_step+y}
17344 then :
17345 printf %s "(cached) " >&6
17346 else $as_nop
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 #define UNW_LOCAL_ONLY
17350 #include <libunwind.h>
17352 main (void)
17354 unw_cursor_t cursor; unw_step( &cursor );
17356 return 0;
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"
17360 then :
17361 wine_cv_have_unw_step="yes"
17362 else $as_nop
17363 wine_cv_have_unw_step="no"
17365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17366 conftest$ac_exeext conftest.$ac_ext
17368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17369 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17370 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17371 then
17372 save_libs=$LIBS
17373 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17374 LIBS="$UNWIND_LIBS $LIBS"
17375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17376 printf %s "checking for unw_step in libunwind... " >&6; }
17377 if test ${wine_cv_have_libunwind_unw_step+y}
17378 then :
17379 printf %s "(cached) " >&6
17380 else $as_nop
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #define UNW_LOCAL_ONLY
17384 #include <libunwind.h>
17386 main (void)
17388 unw_cursor_t cursor; unw_step( &cursor );
17390 return 0;
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"
17394 then :
17395 wine_cv_have_libunwind_unw_step="yes"
17396 else $as_nop
17397 wine_cv_have_libunwind_unw_step="no"
17399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17400 conftest$ac_exeext conftest.$ac_ext
17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17403 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17404 LIBS=$save_libs
17406 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17407 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17408 then
17410 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17413 CPPFLAGS=$ac_save_CPPFLAGS
17416 case $host in
17417 aarch64*|*-darwin*)
17418 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17419 then :
17420 case "x$with_unwind" in
17421 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17422 xno) ;;
17423 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17424 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17425 esac
17427 fi ;;
17428 esac
17430 if test "x$with_sdl" != "xno"
17431 then
17432 if ${SDL2_CFLAGS:+false} :
17433 then :
17434 if test ${PKG_CONFIG+y}
17435 then :
17436 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17440 if ${SDL2_LIBS:+false} :
17441 then :
17442 if test ${PKG_CONFIG+y}
17443 then :
17444 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17448 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17451 ac_save_CPPFLAGS=$CPPFLAGS
17452 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17453 for ac_header in SDL.h
17454 do :
17455 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17456 if test "x$ac_cv_header_SDL_h" = xyes
17457 then :
17458 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17460 printf %s "checking for -lSDL2... " >&6; }
17461 if test ${ac_cv_lib_soname_SDL2+y}
17462 then :
17463 printf %s "(cached) " >&6
17464 else $as_nop
17465 ac_check_soname_save_LIBS=$LIBS
17466 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17470 /* Override any GCC internal prototype to avoid an error.
17471 Use char because int might match the return type of a GCC
17472 builtin and then its argument prototype would still apply. */
17473 char SDL_Init ();
17475 main (void)
17477 return SDL_Init ();
17479 return 0;
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"
17483 then :
17484 case "$LIBEXT" in
17485 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17486 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'` ;;
17487 *) 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'`
17488 if ${ac_cv_lib_soname_SDL2:+false} :
17489 then :
17490 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17491 fi ;;
17492 esac
17493 else $as_nop
17494 ac_cv_lib_soname_SDL2=
17496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17497 conftest$ac_exeext conftest.$ac_ext
17498 LIBS=$ac_check_soname_save_LIBS
17500 if ${ac_cv_lib_soname_SDL2:+false} :
17501 then :
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17503 printf "%s\n" "not found" >&6; }
17505 else $as_nop
17506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17507 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17509 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17515 done
17516 CPPFLAGS=$ac_save_CPPFLAGS
17519 if test "x$ac_cv_lib_soname_SDL2" = "x"
17520 then :
17521 case "x$with_sdl" in
17522 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17523 xno) ;;
17524 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17525 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17526 esac
17530 if test "x$with_capi" != "xno"
17531 then
17532 if ${CAPI20_CFLAGS:+false} :
17533 then :
17534 if test ${PKG_CONFIG+y}
17535 then :
17536 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17540 if ${CAPI20_LIBS:+false} :
17541 then :
17542 if test ${PKG_CONFIG+y}
17543 then :
17544 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17551 ac_save_CPPFLAGS=$CPPFLAGS
17552 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17553 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17555 if test "x$ac_cv_header_capi20_h" = xyes
17556 then :
17557 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17560 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17562 if test "x$ac_cv_header_linux_capi_h" = xyes
17563 then :
17564 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17568 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17569 then
17570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17571 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17572 if test ${ac_cv_lib_capi20_capi20_register+y}
17573 then :
17574 printf %s "(cached) " >&6
17575 else $as_nop
17576 ac_check_lib_save_LIBS=$LIBS
17577 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17581 /* Override any GCC internal prototype to avoid an error.
17582 Use char because int might match the return type of a GCC
17583 builtin and then its argument prototype would still apply. */
17584 char capi20_register ();
17586 main (void)
17588 return capi20_register ();
17590 return 0;
17592 _ACEOF
17593 if ac_fn_c_try_link "$LINENO"
17594 then :
17595 ac_cv_lib_capi20_capi20_register=yes
17596 else $as_nop
17597 ac_cv_lib_capi20_capi20_register=no
17599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17600 conftest$ac_exeext conftest.$ac_ext
17601 LIBS=$ac_check_lib_save_LIBS
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17604 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17605 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17606 then :
17608 else $as_nop
17609 CAPI20_LIBS=""
17613 CPPFLAGS=$ac_save_CPPFLAGS
17616 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17617 then :
17618 case "x$with_capi" in
17619 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17620 xno) ;;
17621 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17622 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17623 esac
17624 enable_capi2032=${enable_capi2032:-no}
17627 if test "x$with_cups" != "xno"
17628 then
17629 if ${CUPS_CFLAGS:+false} :
17630 then :
17631 if test ${PKG_CONFIG+y}
17632 then :
17633 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17636 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17637 if ${CUPS_LIBS:+false} :
17638 then :
17639 if test ${PKG_CONFIG+y}
17640 then :
17641 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17644 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17645 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17648 ac_save_CPPFLAGS=$CPPFLAGS
17649 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17650 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17651 if test "x$ac_cv_header_cups_cups_h" = xyes
17652 then :
17653 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17656 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17657 if test "x$ac_cv_header_cups_ppd_h" = xyes
17658 then :
17659 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17663 if test "$ac_cv_header_cups_cups_h" = "yes"
17664 then
17665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17666 printf %s "checking for -lcups... " >&6; }
17667 if test ${ac_cv_lib_soname_cups+y}
17668 then :
17669 printf %s "(cached) " >&6
17670 else $as_nop
17671 ac_check_soname_save_LIBS=$LIBS
17672 LIBS="-lcups $CUPS_LIBS $LIBS"
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17676 /* Override any GCC internal prototype to avoid an error.
17677 Use char because int might match the return type of a GCC
17678 builtin and then its argument prototype would still apply. */
17679 char cupsGetDefault ();
17681 main (void)
17683 return cupsGetDefault ();
17685 return 0;
17687 _ACEOF
17688 if ac_fn_c_try_link "$LINENO"
17689 then :
17690 case "$LIBEXT" in
17691 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17692 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'` ;;
17693 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17694 if ${ac_cv_lib_soname_cups:+false} :
17695 then :
17696 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17697 fi ;;
17698 esac
17699 else $as_nop
17700 ac_cv_lib_soname_cups=
17702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17703 conftest$ac_exeext conftest.$ac_ext
17704 LIBS=$ac_check_soname_save_LIBS
17706 if ${ac_cv_lib_soname_cups:+false} :
17707 then :
17708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17709 printf "%s\n" "not found" >&6; }
17710 CUPS_LIBS=""
17711 else $as_nop
17712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17713 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17715 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17719 else
17720 CUPS_CFLAGS=""
17721 CUPS_LIBS=""
17723 CPPFLAGS=$ac_save_CPPFLAGS
17726 if test "x$ac_cv_lib_soname_cups" = "x"
17727 then :
17728 case "x$with_cups" in
17729 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17730 xno) ;;
17731 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17732 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17733 esac
17737 if test "x$with_fontconfig" != "xno"
17738 then
17739 if ${FONTCONFIG_CFLAGS:+false} :
17740 then :
17741 if test ${PKG_CONFIG+y}
17742 then :
17743 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17746 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17747 if ${FONTCONFIG_LIBS:+false} :
17748 then :
17749 if test ${PKG_CONFIG+y}
17750 then :
17751 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17754 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17758 ac_save_CPPFLAGS=$CPPFLAGS
17759 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17760 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17761 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17762 then :
17763 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17767 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17768 then
17769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17770 printf %s "checking for -lfontconfig... " >&6; }
17771 if test ${ac_cv_lib_soname_fontconfig+y}
17772 then :
17773 printf %s "(cached) " >&6
17774 else $as_nop
17775 ac_check_soname_save_LIBS=$LIBS
17776 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17780 /* Override any GCC internal prototype to avoid an error.
17781 Use char because int might match the return type of a GCC
17782 builtin and then its argument prototype would still apply. */
17783 char FcInit ();
17785 main (void)
17787 return FcInit ();
17789 return 0;
17791 _ACEOF
17792 if ac_fn_c_try_link "$LINENO"
17793 then :
17794 case "$LIBEXT" in
17795 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17796 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'` ;;
17797 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17798 if ${ac_cv_lib_soname_fontconfig:+false} :
17799 then :
17800 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17801 fi ;;
17802 esac
17803 else $as_nop
17804 ac_cv_lib_soname_fontconfig=
17806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17807 conftest$ac_exeext conftest.$ac_ext
17808 LIBS=$ac_check_soname_save_LIBS
17810 if ${ac_cv_lib_soname_fontconfig:+false} :
17811 then :
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17813 printf "%s\n" "not found" >&6; }
17814 FONTCONFIG_CFLAGS=""
17815 else $as_nop
17816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17817 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17819 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17823 else
17824 FONTCONFIG_CFLAGS=""
17826 CPPFLAGS=$ac_save_CPPFLAGS
17829 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17830 then :
17831 case "x$with_fontconfig" in
17832 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17833 xno) ;;
17834 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17835 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17836 esac
17840 if test "x$with_krb5" != "xno"
17841 then
17842 if ${KRB5_CFLAGS:+false} :
17843 then :
17844 if test ${PKG_CONFIG+y}
17845 then :
17846 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17849 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17850 if ${KRB5_LIBS:+false} :
17851 then :
17852 if test ${PKG_CONFIG+y}
17853 then :
17854 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17857 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17861 ac_save_CPPFLAGS=$CPPFLAGS
17862 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17863 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17864 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17865 then :
17866 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17870 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17871 then
17872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17873 printf %s "checking for -lkrb5... " >&6; }
17874 if test ${ac_cv_lib_soname_krb5+y}
17875 then :
17876 printf %s "(cached) " >&6
17877 else $as_nop
17878 ac_check_soname_save_LIBS=$LIBS
17879 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17883 /* Override any GCC internal prototype to avoid an error.
17884 Use char because int might match the return type of a GCC
17885 builtin and then its argument prototype would still apply. */
17886 char krb5_is_config_principal ();
17888 main (void)
17890 return krb5_is_config_principal ();
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_link "$LINENO"
17896 then :
17897 case "$LIBEXT" in
17898 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17899 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'` ;;
17900 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17901 if ${ac_cv_lib_soname_krb5:+false} :
17902 then :
17903 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17904 fi ;;
17905 esac
17906 else $as_nop
17907 ac_cv_lib_soname_krb5=
17909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17910 conftest$ac_exeext conftest.$ac_ext
17911 LIBS=$ac_check_soname_save_LIBS
17913 if ${ac_cv_lib_soname_krb5:+false} :
17914 then :
17915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17916 printf "%s\n" "not found" >&6; }
17917 KRB5_CFLAGS=""
17918 else $as_nop
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17920 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17922 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17926 else
17927 KRB5_CFLAGS=""
17929 CPPFLAGS=$ac_save_CPPFLAGS
17932 if test "x$ac_cv_lib_soname_krb5" = "x"
17933 then :
17934 case "x$with_krb5" in
17935 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17936 xno) ;;
17937 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17938 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17939 esac
17942 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17944 if test "x$with_gssapi" != "xno"
17945 then
17946 if ${GSSAPI_CFLAGS:+false} :
17947 then :
17948 if test ${PKG_CONFIG+y}
17949 then :
17950 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17953 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17954 if ${GSSAPI_LIBS:+false} :
17955 then :
17956 if test ${PKG_CONFIG+y}
17957 then :
17958 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17961 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17965 ac_save_CPPFLAGS=$CPPFLAGS
17966 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17967 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17968 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17969 then :
17970 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17973 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17974 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17975 then :
17976 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17980 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17981 then
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17983 printf %s "checking for -lgssapi_krb5... " >&6; }
17984 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17985 then :
17986 printf %s "(cached) " >&6
17987 else $as_nop
17988 ac_check_soname_save_LIBS=$LIBS
17989 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
17996 char gss_init_sec_context ();
17998 main (void)
18000 return gss_init_sec_context ();
18002 return 0;
18004 _ACEOF
18005 if ac_fn_c_try_link "$LINENO"
18006 then :
18007 case "$LIBEXT" in
18008 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18009 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'` ;;
18010 *) 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'`
18011 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18012 then :
18013 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18014 fi ;;
18015 esac
18016 else $as_nop
18017 ac_cv_lib_soname_gssapi_krb5=
18019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18020 conftest$ac_exeext conftest.$ac_ext
18021 LIBS=$ac_check_soname_save_LIBS
18023 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18024 then :
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18026 printf "%s\n" "not found" >&6; }
18027 GSSAPI_CFLAGS=""
18028 else $as_nop
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18030 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18032 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18036 else
18037 GSSAPI_CFLAGS=""
18039 CPPFLAGS=$ac_save_CPPFLAGS
18042 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18043 then :
18044 case "x$with_gssapi" in
18045 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18046 xno) ;;
18047 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18048 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18049 esac
18053 if test "$ac_cv_header_AL_al_h" = "yes"
18054 then
18055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18056 printf %s "checking for -lopenal... " >&6; }
18057 if test ${ac_cv_lib_soname_openal+y}
18058 then :
18059 printf %s "(cached) " >&6
18060 else $as_nop
18061 ac_check_soname_save_LIBS=$LIBS
18062 LIBS="-lopenal $LIBS"
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18066 /* Override any GCC internal prototype to avoid an error.
18067 Use char because int might match the return type of a GCC
18068 builtin and then its argument prototype would still apply. */
18069 char alGetSource3i ();
18071 main (void)
18073 return alGetSource3i ();
18075 return 0;
18077 _ACEOF
18078 if ac_fn_c_try_link "$LINENO"
18079 then :
18080 case "$LIBEXT" in
18081 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18082 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'` ;;
18083 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18084 if ${ac_cv_lib_soname_openal:+false} :
18085 then :
18086 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18087 fi ;;
18088 esac
18089 else $as_nop
18090 ac_cv_lib_soname_openal=
18092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18093 conftest$ac_exeext conftest.$ac_ext
18094 LIBS=$ac_check_soname_save_LIBS
18096 if ${ac_cv_lib_soname_openal:+false} :
18097 then :
18098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18099 printf "%s\n" "not found" >&6; }
18101 else $as_nop
18102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18103 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18105 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18107 OPENAL_LIBS="-lopenal"
18109 ac_cv_lib_openal=yes
18111 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18115 if test "x$ac_cv_lib_openal" != xyes
18116 then :
18117 case "x$with_openal" in
18118 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18119 xno) ;;
18120 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18121 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18122 esac
18123 enable_openal32=${enable_openal32:-no}
18126 if test "$ac_cv_header_libprocstat_h" = "yes"
18127 then
18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18129 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18130 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18131 then :
18132 printf %s "(cached) " >&6
18133 else $as_nop
18134 ac_check_lib_save_LIBS=$LIBS
18135 LIBS="-lprocstat $LIBS"
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18139 /* Override any GCC internal prototype to avoid an error.
18140 Use char because int might match the return type of a GCC
18141 builtin and then its argument prototype would still apply. */
18142 char procstat_open_sysctl ();
18144 main (void)
18146 return procstat_open_sysctl ();
18148 return 0;
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"
18152 then :
18153 ac_cv_lib_procstat_procstat_open_sysctl=yes
18154 else $as_nop
18155 ac_cv_lib_procstat_procstat_open_sysctl=no
18157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18158 conftest$ac_exeext conftest.$ac_ext
18159 LIBS=$ac_check_lib_save_LIBS
18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18162 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18163 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18164 then :
18166 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18168 PROCSTAT_LIBS="-lprocstat"
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18175 printf %s "checking for -lodbc... " >&6; }
18176 if test ${ac_cv_lib_soname_odbc+y}
18177 then :
18178 printf %s "(cached) " >&6
18179 else $as_nop
18180 ac_check_soname_save_LIBS=$LIBS
18181 LIBS="-lodbc $LIBS"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 /* Override any GCC internal prototype to avoid an error.
18186 Use char because int might match the return type of a GCC
18187 builtin and then its argument prototype would still apply. */
18188 char SQLConnect ();
18190 main (void)
18192 return SQLConnect ();
18194 return 0;
18196 _ACEOF
18197 if ac_fn_c_try_link "$LINENO"
18198 then :
18199 case "$LIBEXT" in
18200 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18201 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'` ;;
18202 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18203 if ${ac_cv_lib_soname_odbc:+false} :
18204 then :
18205 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18206 fi ;;
18207 esac
18208 else $as_nop
18209 ac_cv_lib_soname_odbc=
18211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18212 conftest$ac_exeext conftest.$ac_ext
18213 LIBS=$ac_check_soname_save_LIBS
18215 if ${ac_cv_lib_soname_odbc:+false} :
18216 then :
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18218 printf "%s\n" "not found" >&6; }
18219 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18221 else $as_nop
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18223 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18225 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18230 if test "x$with_netapi" != "xno"
18231 then
18232 if ${NETAPI_CFLAGS:+false} :
18233 then :
18234 if test ${PKG_CONFIG+y}
18235 then :
18236 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18240 if ${NETAPI_LIBS:+false} :
18241 then :
18242 if test ${PKG_CONFIG+y}
18243 then :
18244 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18251 ac_save_CPPFLAGS=$CPPFLAGS
18252 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18254 printf %s "checking for -lnetapi... " >&6; }
18255 if test ${ac_cv_lib_soname_netapi+y}
18256 then :
18257 printf %s "(cached) " >&6
18258 else $as_nop
18259 ac_check_soname_save_LIBS=$LIBS
18260 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 /* Override any GCC internal prototype to avoid an error.
18265 Use char because int might match the return type of a GCC
18266 builtin and then its argument prototype would still apply. */
18267 char libnetapi_init ();
18269 main (void)
18271 return libnetapi_init ();
18273 return 0;
18275 _ACEOF
18276 if ac_fn_c_try_link "$LINENO"
18277 then :
18278 case "$LIBEXT" in
18279 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18280 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'` ;;
18281 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18282 if ${ac_cv_lib_soname_netapi:+false} :
18283 then :
18284 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18285 fi ;;
18286 esac
18287 else $as_nop
18288 ac_cv_lib_soname_netapi=
18290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18291 conftest$ac_exeext conftest.$ac_ext
18292 LIBS=$ac_check_soname_save_LIBS
18294 if ${ac_cv_lib_soname_netapi:+false} :
18295 then :
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18297 printf "%s\n" "not found" >&6; }
18298 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18300 else $as_nop
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18302 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18304 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18308 CPPFLAGS=$ac_save_CPPFLAGS
18311 if test "x$ac_cv_lib_soname_netapi" = "x"
18312 then :
18313 case "x$with_netapi" in
18314 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18315 xno) ;;
18316 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18317 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18318 esac
18319 enable_netapi=${enable_netapi:-no}
18323 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18324 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18325 then
18326 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18329 if test "x$with_vulkan" != "xno"
18330 then
18331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18332 printf %s "checking for -lvulkan... " >&6; }
18333 if test ${ac_cv_lib_soname_vulkan+y}
18334 then :
18335 printf %s "(cached) " >&6
18336 else $as_nop
18337 ac_check_soname_save_LIBS=$LIBS
18338 LIBS="-lvulkan $LIBS"
18339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18342 /* Override any GCC internal prototype to avoid an error.
18343 Use char because int might match the return type of a GCC
18344 builtin and then its argument prototype would still apply. */
18345 char vkGetInstanceProcAddr ();
18347 main (void)
18349 return vkGetInstanceProcAddr ();
18351 return 0;
18353 _ACEOF
18354 if ac_fn_c_try_link "$LINENO"
18355 then :
18356 case "$LIBEXT" in
18357 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18358 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'` ;;
18359 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18360 if ${ac_cv_lib_soname_vulkan:+false} :
18361 then :
18362 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18363 fi ;;
18364 esac
18365 else $as_nop
18366 ac_cv_lib_soname_vulkan=
18368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18369 conftest$ac_exeext conftest.$ac_ext
18370 LIBS=$ac_check_soname_save_LIBS
18372 if ${ac_cv_lib_soname_vulkan:+false} :
18373 then :
18374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18375 printf "%s\n" "not found" >&6; }
18377 else $as_nop
18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18379 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18381 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18385 if test "x$ac_cv_lib_soname_vulkan" = "x"
18386 then
18387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18388 printf %s "checking for -lMoltenVK... " >&6; }
18389 if test ${ac_cv_lib_soname_MoltenVK+y}
18390 then :
18391 printf %s "(cached) " >&6
18392 else $as_nop
18393 ac_check_soname_save_LIBS=$LIBS
18394 LIBS="-lMoltenVK $LIBS"
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18398 /* Override any GCC internal prototype to avoid an error.
18399 Use char because int might match the return type of a GCC
18400 builtin and then its argument prototype would still apply. */
18401 char vkGetInstanceProcAddr ();
18403 main (void)
18405 return vkGetInstanceProcAddr ();
18407 return 0;
18409 _ACEOF
18410 if ac_fn_c_try_link "$LINENO"
18411 then :
18412 case "$LIBEXT" in
18413 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18414 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'` ;;
18415 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18416 if ${ac_cv_lib_soname_MoltenVK:+false} :
18417 then :
18418 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18419 fi ;;
18420 esac
18421 else $as_nop
18422 ac_cv_lib_soname_MoltenVK=
18424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18425 conftest$ac_exeext conftest.$ac_ext
18426 LIBS=$ac_check_soname_save_LIBS
18428 if ${ac_cv_lib_soname_MoltenVK:+false} :
18429 then :
18430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18431 printf "%s\n" "not found" >&6; }
18433 else $as_nop
18434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18435 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18437 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18443 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18444 then :
18445 case "x$with_vulkan" in
18446 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18447 xno) ;;
18448 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18449 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18450 esac
18454 if test "x$with_vkd3d" != "xno"
18455 then
18456 if ${VKD3D_CFLAGS:+false} :
18457 then :
18458 if test ${PKG_CONFIG+y}
18459 then :
18460 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18464 if ${VKD3D_LIBS:+false} :
18465 then :
18466 if test ${PKG_CONFIG+y}
18467 then :
18468 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18475 ac_save_CPPFLAGS=$CPPFLAGS
18476 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18478 printf %s "checking for -lvkd3d... " >&6; }
18479 if test ${ac_cv_lib_soname_vkd3d+y}
18480 then :
18481 printf %s "(cached) " >&6
18482 else $as_nop
18483 ac_check_soname_save_LIBS=$LIBS
18484 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18488 /* Override any GCC internal prototype to avoid an error.
18489 Use char because int might match the return type of a GCC
18490 builtin and then its argument prototype would still apply. */
18491 char vkd3d_serialize_versioned_root_signature ();
18493 main (void)
18495 return vkd3d_serialize_versioned_root_signature ();
18497 return 0;
18499 _ACEOF
18500 if ac_fn_c_try_link "$LINENO"
18501 then :
18502 case "$LIBEXT" in
18503 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18504 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'` ;;
18505 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18506 if ${ac_cv_lib_soname_vkd3d:+false} :
18507 then :
18508 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18509 fi ;;
18510 esac
18511 else $as_nop
18512 ac_cv_lib_soname_vkd3d=
18514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_soname_save_LIBS
18518 if ${ac_cv_lib_soname_vkd3d:+false} :
18519 then :
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18521 printf "%s\n" "not found" >&6; }
18523 else $as_nop
18524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18525 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18527 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18531 CPPFLAGS=$ac_save_CPPFLAGS
18533 if ${VKD3D_SHADER_CFLAGS:+false} :
18534 then :
18535 if test ${PKG_CONFIG+y}
18536 then :
18537 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18541 if ${VKD3D_SHADER_LIBS:+false} :
18542 then :
18543 if test ${PKG_CONFIG+y}
18544 then :
18545 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18552 ac_save_CPPFLAGS=$CPPFLAGS
18553 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18555 printf %s "checking for -lvkd3d-shader... " >&6; }
18556 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18557 then :
18558 printf %s "(cached) " >&6
18559 else $as_nop
18560 ac_check_soname_save_LIBS=$LIBS
18561 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 /* Override any GCC internal prototype to avoid an error.
18566 Use char because int might match the return type of a GCC
18567 builtin and then its argument prototype would still apply. */
18568 char vkd3d_shader_compile ();
18570 main (void)
18572 return vkd3d_shader_compile ();
18574 return 0;
18576 _ACEOF
18577 if ac_fn_c_try_link "$LINENO"
18578 then :
18579 case "$LIBEXT" in
18580 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18581 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'` ;;
18582 *) 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'`
18583 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18584 then :
18585 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18586 fi ;;
18587 esac
18588 else $as_nop
18589 ac_cv_lib_soname_vkd3d_shader=
18591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18592 conftest$ac_exeext conftest.$ac_ext
18593 LIBS=$ac_check_soname_save_LIBS
18595 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18596 then :
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18598 printf "%s\n" "not found" >&6; }
18600 else $as_nop
18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18602 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18604 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18608 CPPFLAGS=$ac_save_CPPFLAGS
18611 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18612 then :
18613 case "x$with_vkd3d" in
18614 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18615 xno) ;;
18616 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18617 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18618 esac
18621 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18624 if test "x${GCC}" = "xyes"
18625 then
18626 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18628 saved_CFLAGS=$CFLAGS
18629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18630 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18631 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18632 then :
18633 printf %s "(cached) " >&6
18634 else $as_nop
18635 ac_wine_try_cflags_saved=$CFLAGS
18636 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 int main(int argc, char **argv) { return 0; }
18640 _ACEOF
18641 if ac_fn_c_try_link "$LINENO"
18642 then :
18643 ac_cv_cflags__Werror_unknown_warning_option=yes
18644 else $as_nop
18645 ac_cv_cflags__Werror_unknown_warning_option=no
18647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18648 conftest$ac_exeext conftest.$ac_ext
18649 CFLAGS=$ac_wine_try_cflags_saved
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18652 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18653 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18654 then :
18655 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18658 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18659 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18660 then :
18661 printf %s "(cached) " >&6
18662 else $as_nop
18663 ac_wine_try_cflags_saved=$CFLAGS
18664 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 int main(int argc, char **argv) { return 0; }
18668 _ACEOF
18669 if ac_fn_c_try_link "$LINENO"
18670 then :
18671 ac_cv_cflags__Werror_unused_command_line_argument=yes
18672 else $as_nop
18673 ac_cv_cflags__Werror_unused_command_line_argument=no
18675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18676 conftest$ac_exeext conftest.$ac_ext
18677 CFLAGS=$ac_wine_try_cflags_saved
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18680 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18681 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18682 then :
18683 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18686 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18687 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18688 then :
18689 printf %s "(cached) " >&6
18690 else $as_nop
18691 ac_wine_try_cflags_saved=$CFLAGS
18692 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18695 int main(int argc, char **argv) { return 0; }
18696 _ACEOF
18697 if ac_fn_c_try_link "$LINENO"
18698 then :
18699 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18700 else $as_nop
18701 ac_cv_cflags__Werror_ignored_optimization_argument=no
18703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18704 conftest$ac_exeext conftest.$ac_ext
18705 CFLAGS=$ac_wine_try_cflags_saved
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18708 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18709 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18710 then :
18711 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18714 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18715 if test ${ac_cv_cflags__fcf_protection_none+y}
18716 then :
18717 printf %s "(cached) " >&6
18718 else $as_nop
18719 ac_wine_try_cflags_saved=$CFLAGS
18720 CFLAGS="$CFLAGS -fcf-protection=none"
18721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h. */
18723 int main(int argc, char **argv) { return 0; }
18724 _ACEOF
18725 if ac_fn_c_try_link "$LINENO"
18726 then :
18727 ac_cv_cflags__fcf_protection_none=yes
18728 else $as_nop
18729 ac_cv_cflags__fcf_protection_none=no
18731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18732 conftest$ac_exeext conftest.$ac_ext
18733 CFLAGS=$ac_wine_try_cflags_saved
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18736 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18737 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18738 then :
18739 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18742 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18743 if test ${ac_cv_cflags__fno_stack_protector+y}
18744 then :
18745 printf %s "(cached) " >&6
18746 else $as_nop
18747 ac_wine_try_cflags_saved=$CFLAGS
18748 CFLAGS="$CFLAGS -fno-stack-protector"
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18751 int main(int argc, char **argv) { return 0; }
18752 _ACEOF
18753 if ac_fn_c_try_link "$LINENO"
18754 then :
18755 ac_cv_cflags__fno_stack_protector=yes
18756 else $as_nop
18757 ac_cv_cflags__fno_stack_protector=no
18759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18760 conftest$ac_exeext conftest.$ac_ext
18761 CFLAGS=$ac_wine_try_cflags_saved
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18764 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18765 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18766 then :
18767 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18770 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18771 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18772 then :
18773 printf %s "(cached) " >&6
18774 else $as_nop
18775 ac_wine_try_cflags_saved=$CFLAGS
18776 CFLAGS="$CFLAGS -fno-strict-aliasing"
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 int main(int argc, char **argv) { return 0; }
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"
18782 then :
18783 ac_cv_cflags__fno_strict_aliasing=yes
18784 else $as_nop
18785 ac_cv_cflags__fno_strict_aliasing=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18788 conftest$ac_exeext conftest.$ac_ext
18789 CFLAGS=$ac_wine_try_cflags_saved
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18792 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18793 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18794 then :
18795 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18798 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18799 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18800 then :
18801 printf %s "(cached) " >&6
18802 else $as_nop
18803 ac_wine_try_cflags_saved=$CFLAGS
18804 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807 int main(int argc, char **argv) { return 0; }
18808 _ACEOF
18809 if ac_fn_c_try_link "$LINENO"
18810 then :
18811 ac_cv_cflags__Wdeclaration_after_statement=yes
18812 else $as_nop
18813 ac_cv_cflags__Wdeclaration_after_statement=no
18815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18816 conftest$ac_exeext conftest.$ac_ext
18817 CFLAGS=$ac_wine_try_cflags_saved
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18820 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18821 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18822 then :
18823 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18826 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18827 if test ${ac_cv_cflags__Wempty_body+y}
18828 then :
18829 printf %s "(cached) " >&6
18830 else $as_nop
18831 ac_wine_try_cflags_saved=$CFLAGS
18832 CFLAGS="$CFLAGS -Wempty-body"
18833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18835 int main(int argc, char **argv) { return 0; }
18836 _ACEOF
18837 if ac_fn_c_try_link "$LINENO"
18838 then :
18839 ac_cv_cflags__Wempty_body=yes
18840 else $as_nop
18841 ac_cv_cflags__Wempty_body=no
18843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18844 conftest$ac_exeext conftest.$ac_ext
18845 CFLAGS=$ac_wine_try_cflags_saved
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18848 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18849 if test "x$ac_cv_cflags__Wempty_body" = xyes
18850 then :
18851 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18854 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18855 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18856 then :
18857 printf %s "(cached) " >&6
18858 else $as_nop
18859 ac_wine_try_cflags_saved=$CFLAGS
18860 CFLAGS="$CFLAGS -Wignored-qualifiers"
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 int main(int argc, char **argv) { return 0; }
18864 _ACEOF
18865 if ac_fn_c_try_link "$LINENO"
18866 then :
18867 ac_cv_cflags__Wignored_qualifiers=yes
18868 else $as_nop
18869 ac_cv_cflags__Wignored_qualifiers=no
18871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18872 conftest$ac_exeext conftest.$ac_ext
18873 CFLAGS=$ac_wine_try_cflags_saved
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18876 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18877 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18878 then :
18879 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18882 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18883 if test ${ac_cv_cflags__Winit_self+y}
18884 then :
18885 printf %s "(cached) " >&6
18886 else $as_nop
18887 ac_wine_try_cflags_saved=$CFLAGS
18888 CFLAGS="$CFLAGS -Winit-self"
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18891 int main(int argc, char **argv) { return 0; }
18892 _ACEOF
18893 if ac_fn_c_try_link "$LINENO"
18894 then :
18895 ac_cv_cflags__Winit_self=yes
18896 else $as_nop
18897 ac_cv_cflags__Winit_self=no
18899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18900 conftest$ac_exeext conftest.$ac_ext
18901 CFLAGS=$ac_wine_try_cflags_saved
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18904 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18905 if test "x$ac_cv_cflags__Winit_self" = xyes
18906 then :
18907 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18910 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18911 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18912 then :
18913 printf %s "(cached) " >&6
18914 else $as_nop
18915 ac_wine_try_cflags_saved=$CFLAGS
18916 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 int main(int argc, char **argv) { return 0; }
18920 _ACEOF
18921 if ac_fn_c_try_link "$LINENO"
18922 then :
18923 ac_cv_cflags__Wpacked_not_aligned=yes
18924 else $as_nop
18925 ac_cv_cflags__Wpacked_not_aligned=no
18927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18928 conftest$ac_exeext conftest.$ac_ext
18929 CFLAGS=$ac_wine_try_cflags_saved
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18932 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18933 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18934 then :
18935 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18938 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18939 if test ${ac_cv_cflags__Wpragma_pack+y}
18940 then :
18941 printf %s "(cached) " >&6
18942 else $as_nop
18943 ac_wine_try_cflags_saved=$CFLAGS
18944 CFLAGS="$CFLAGS -Wpragma-pack"
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18947 int main(int argc, char **argv) { return 0; }
18948 _ACEOF
18949 if ac_fn_c_try_link "$LINENO"
18950 then :
18951 ac_cv_cflags__Wpragma_pack=yes
18952 else $as_nop
18953 ac_cv_cflags__Wpragma_pack=no
18955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18956 conftest$ac_exeext conftest.$ac_ext
18957 CFLAGS=$ac_wine_try_cflags_saved
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18960 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18961 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18962 then :
18963 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18966 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18967 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18968 then :
18969 printf %s "(cached) " >&6
18970 else $as_nop
18971 ac_wine_try_cflags_saved=$CFLAGS
18972 CFLAGS="$CFLAGS -Wshift-overflow=2"
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18975 int main(int argc, char **argv) { return 0; }
18976 _ACEOF
18977 if ac_fn_c_try_link "$LINENO"
18978 then :
18979 ac_cv_cflags__Wshift_overflow_2=yes
18980 else $as_nop
18981 ac_cv_cflags__Wshift_overflow_2=no
18983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18984 conftest$ac_exeext conftest.$ac_ext
18985 CFLAGS=$ac_wine_try_cflags_saved
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18988 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18989 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18990 then :
18991 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18994 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18995 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18996 then :
18997 printf %s "(cached) " >&6
18998 else $as_nop
18999 ac_wine_try_cflags_saved=$CFLAGS
19000 CFLAGS="$CFLAGS -Wstrict-prototypes"
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003 int main(int argc, char **argv) { return 0; }
19004 _ACEOF
19005 if ac_fn_c_try_link "$LINENO"
19006 then :
19007 ac_cv_cflags__Wstrict_prototypes=yes
19008 else $as_nop
19009 ac_cv_cflags__Wstrict_prototypes=no
19011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19012 conftest$ac_exeext conftest.$ac_ext
19013 CFLAGS=$ac_wine_try_cflags_saved
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19016 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19017 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19018 then :
19019 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19022 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19023 if test ${ac_cv_cflags__Wtype_limits+y}
19024 then :
19025 printf %s "(cached) " >&6
19026 else $as_nop
19027 ac_wine_try_cflags_saved=$CFLAGS
19028 CFLAGS="$CFLAGS -Wtype-limits"
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 int main(int argc, char **argv) { return 0; }
19032 _ACEOF
19033 if ac_fn_c_try_link "$LINENO"
19034 then :
19035 ac_cv_cflags__Wtype_limits=yes
19036 else $as_nop
19037 ac_cv_cflags__Wtype_limits=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19040 conftest$ac_exeext conftest.$ac_ext
19041 CFLAGS=$ac_wine_try_cflags_saved
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19044 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19045 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19046 then :
19047 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19050 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19051 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19052 then :
19053 printf %s "(cached) " >&6
19054 else $as_nop
19055 ac_wine_try_cflags_saved=$CFLAGS
19056 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 int main(int argc, char **argv) { return 0; }
19060 _ACEOF
19061 if ac_fn_c_try_link "$LINENO"
19062 then :
19063 ac_cv_cflags__Wunused_but_set_parameter=yes
19064 else $as_nop
19065 ac_cv_cflags__Wunused_but_set_parameter=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19068 conftest$ac_exeext conftest.$ac_ext
19069 CFLAGS=$ac_wine_try_cflags_saved
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19072 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19073 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19074 then :
19075 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19078 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19079 if test ${ac_cv_cflags__Wvla+y}
19080 then :
19081 printf %s "(cached) " >&6
19082 else $as_nop
19083 ac_wine_try_cflags_saved=$CFLAGS
19084 CFLAGS="$CFLAGS -Wvla"
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 int main(int argc, char **argv) { return 0; }
19088 _ACEOF
19089 if ac_fn_c_try_link "$LINENO"
19090 then :
19091 ac_cv_cflags__Wvla=yes
19092 else $as_nop
19093 ac_cv_cflags__Wvla=no
19095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19096 conftest$ac_exeext conftest.$ac_ext
19097 CFLAGS=$ac_wine_try_cflags_saved
19099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19100 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19101 if test "x$ac_cv_cflags__Wvla" = xyes
19102 then :
19103 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19106 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19107 if test ${ac_cv_cflags__Wwrite_strings+y}
19108 then :
19109 printf %s "(cached) " >&6
19110 else $as_nop
19111 ac_wine_try_cflags_saved=$CFLAGS
19112 CFLAGS="$CFLAGS -Wwrite-strings"
19113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19114 /* end confdefs.h. */
19115 int main(int argc, char **argv) { return 0; }
19116 _ACEOF
19117 if ac_fn_c_try_link "$LINENO"
19118 then :
19119 ac_cv_cflags__Wwrite_strings=yes
19120 else $as_nop
19121 ac_cv_cflags__Wwrite_strings=no
19123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19124 conftest$ac_exeext conftest.$ac_ext
19125 CFLAGS=$ac_wine_try_cflags_saved
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19128 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19129 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19130 then :
19131 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19134 if test -z "$CROSSTARGET"
19135 then
19136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19137 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19138 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19139 then :
19140 printf %s "(cached) " >&6
19141 else $as_nop
19142 ac_wine_try_cflags_saved=$CFLAGS
19143 CFLAGS="$CFLAGS -fexcess-precision=standard"
19144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19146 int main(int argc, char **argv) { return 0; }
19147 _ACEOF
19148 if ac_fn_c_try_link "$LINENO"
19149 then :
19150 ac_cv_cflags__fexcess_precision_standard=yes
19151 else $as_nop
19152 ac_cv_cflags__fexcess_precision_standard=no
19154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19155 conftest$ac_exeext conftest.$ac_ext
19156 CFLAGS=$ac_wine_try_cflags_saved
19158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19159 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19160 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19161 then :
19162 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19168 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19169 if test ${ac_cv_cflags__Wpointer_arith+y}
19170 then :
19171 printf %s "(cached) " >&6
19172 else $as_nop
19173 ac_wine_try_cflags_saved=$CFLAGS
19174 CFLAGS="$CFLAGS -Wpointer-arith"
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 int main(int argc, char **argv) { return 0; }
19178 _ACEOF
19179 if ac_fn_c_try_link "$LINENO"
19180 then :
19181 ac_cv_cflags__Wpointer_arith=yes
19182 else $as_nop
19183 ac_cv_cflags__Wpointer_arith=no
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19186 conftest$ac_exeext conftest.$ac_ext
19187 CFLAGS=$ac_wine_try_cflags_saved
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19190 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19191 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19192 then :
19193 saved_string_h_CFLAGS=$CFLAGS
19194 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19196 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19197 if test ${ac_cv_c_string_h_warnings+y}
19198 then :
19199 printf %s "(cached) " >&6
19200 else $as_nop
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #include <string.h>
19205 main (void)
19209 return 0;
19211 _ACEOF
19212 if ac_fn_c_try_compile "$LINENO"
19213 then :
19214 ac_cv_c_string_h_warnings=no
19215 else $as_nop
19216 ac_cv_c_string_h_warnings=yes
19218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19221 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19222 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19223 CFLAGS=$saved_string_h_CFLAGS
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19227 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19228 if test ${ac_cv_cflags__Wlogical_op+y}
19229 then :
19230 printf %s "(cached) " >&6
19231 else $as_nop
19232 ac_wine_try_cflags_saved=$CFLAGS
19233 CFLAGS="$CFLAGS -Wlogical-op"
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19236 int main(int argc, char **argv) { return 0; }
19237 _ACEOF
19238 if ac_fn_c_try_link "$LINENO"
19239 then :
19240 ac_cv_cflags__Wlogical_op=yes
19241 else $as_nop
19242 ac_cv_cflags__Wlogical_op=no
19244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19245 conftest$ac_exeext conftest.$ac_ext
19246 CFLAGS=$ac_wine_try_cflags_saved
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19249 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19250 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19251 then :
19252 saved_string_h_CFLAGS=$CFLAGS
19253 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19255 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19256 if test ${ac_cv_c_logicalop_noisy+y}
19257 then :
19258 printf %s "(cached) " >&6
19259 else $as_nop
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h. */
19262 #include <string.h>
19263 char*f(const char *h,char n) {return strchr(h,n);}
19265 main (void)
19269 return 0;
19271 _ACEOF
19272 if ac_fn_c_try_compile "$LINENO"
19273 then :
19274 ac_cv_c_logicalop_noisy=no
19275 else $as_nop
19276 ac_cv_c_logicalop_noisy=yes
19278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19281 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19282 CFLAGS=$saved_string_h_CFLAGS
19283 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19287 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19288 if test ${wine_cv_64bit_compare_swap+y}
19289 then :
19290 printf %s "(cached) " >&6
19291 else $as_nop
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19295 #error no
19296 #endif
19298 main (void)
19302 return 0;
19304 _ACEOF
19305 if ac_fn_c_try_compile "$LINENO"
19306 then :
19307 wine_cv_64bit_compare_swap="none needed"
19308 else $as_nop
19309 case $host_cpu in
19310 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19311 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19312 *) wine_cv_64bit_compare_swap="unknown" ;;
19313 esac
19314 if test "x$wine_cv_64bit_compare_swap" != xunknown
19315 then
19316 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19319 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19320 #error no
19321 #endif
19323 main (void)
19327 return 0;
19329 _ACEOF
19330 if ac_fn_c_try_compile "$LINENO"
19331 then :
19333 else $as_nop
19334 wine_cv_64bit_compare_swap="unknown"
19336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19337 CFLAGS=$saved_CFLAGS
19340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19343 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19344 case "$wine_cv_64bit_compare_swap" in
19345 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19346 "none needed") ;;
19347 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19348 esac
19350 ac_debug_format_seen=""
19351 for ac_flag in $CFLAGS; do
19352 case $ac_flag in
19353 -gdwarf*) ac_debug_format_seen=yes ;;
19354 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19355 esac
19356 done
19357 if test "x$ac_debug_format_seen" = xdefault
19358 then
19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19360 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19361 if test ${ac_cv_cflags__gdwarf_4+y}
19362 then :
19363 printf %s "(cached) " >&6
19364 else $as_nop
19365 ac_wine_try_cflags_saved=$CFLAGS
19366 CFLAGS="$CFLAGS -gdwarf-4"
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369 int main(int argc, char **argv) { return 0; }
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"
19372 then :
19373 ac_cv_cflags__gdwarf_4=yes
19374 else $as_nop
19375 ac_cv_cflags__gdwarf_4=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19378 conftest$ac_exeext conftest.$ac_ext
19379 CFLAGS=$ac_wine_try_cflags_saved
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19382 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19383 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19384 then :
19385 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19389 MSVCRTFLAGS=""
19391 case $host_os in
19392 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19393 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19394 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19395 then :
19396 printf %s "(cached) " >&6
19397 else $as_nop
19398 ac_wine_try_cflags_saved=$CFLAGS
19399 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 int main(int argc, char **argv) { return 0; }
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"
19405 then :
19406 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19407 else $as_nop
19408 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19411 conftest$ac_exeext conftest.$ac_ext
19412 CFLAGS=$ac_wine_try_cflags_saved
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19415 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19416 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19417 then :
19418 DELAYLOADFLAG="-Wl,-delayload,"
19420 fi ;;
19421 *) MSVCRTFLAGS="-D_WIN32"
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19423 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19424 if test ${ac_cv_cflags__fno_builtin+y}
19425 then :
19426 printf %s "(cached) " >&6
19427 else $as_nop
19428 ac_wine_try_cflags_saved=$CFLAGS
19429 CFLAGS="$CFLAGS -fno-builtin"
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 int main(int argc, char **argv) { return 0; }
19433 _ACEOF
19434 if ac_fn_c_try_link "$LINENO"
19435 then :
19436 ac_cv_cflags__fno_builtin=yes
19437 else $as_nop
19438 ac_cv_cflags__fno_builtin=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19441 conftest$ac_exeext conftest.$ac_ext
19442 CFLAGS=$ac_wine_try_cflags_saved
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19445 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19446 if test "x$ac_cv_cflags__fno_builtin" = xyes
19447 then :
19448 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19451 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19452 if test ${ac_cv_cflags__fshort_wchar+y}
19453 then :
19454 printf %s "(cached) " >&6
19455 else $as_nop
19456 ac_wine_try_cflags_saved=$CFLAGS
19457 CFLAGS="$CFLAGS -fshort-wchar"
19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h. */
19460 int main(int argc, char **argv) { return 0; }
19461 _ACEOF
19462 if ac_fn_c_try_link "$LINENO"
19463 then :
19464 ac_cv_cflags__fshort_wchar=yes
19465 else $as_nop
19466 ac_cv_cflags__fshort_wchar=no
19468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19469 conftest$ac_exeext conftest.$ac_ext
19470 CFLAGS=$ac_wine_try_cflags_saved
19472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19473 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19474 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19475 then :
19476 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19479 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19480 if test ${ac_cv_cflags__Wno_format+y}
19481 then :
19482 printf %s "(cached) " >&6
19483 else $as_nop
19484 ac_wine_try_cflags_saved=$CFLAGS
19485 CFLAGS="$CFLAGS -Wno-format"
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 int main(int argc, char **argv) { return 0; }
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"
19491 then :
19492 ac_cv_cflags__Wno_format=yes
19493 else $as_nop
19494 ac_cv_cflags__Wno_format=no
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19497 conftest$ac_exeext conftest.$ac_ext
19498 CFLAGS=$ac_wine_try_cflags_saved
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19501 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19502 if test "x$ac_cv_cflags__Wno_format" = xyes
19503 then :
19504 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19505 fi ;;
19506 esac
19508 case $host_cpu in
19509 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19510 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19511 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19512 then :
19513 printf %s "(cached) " >&6
19514 else $as_nop
19515 ac_wine_try_cflags_saved=$CFLAGS
19516 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 int main(int argc, char **argv) { return 0; }
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"
19522 then :
19523 ac_cv_cflags__fno_omit_frame_pointer=yes
19524 else $as_nop
19525 ac_cv_cflags__fno_omit_frame_pointer=no
19527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19528 conftest$ac_exeext conftest.$ac_ext
19529 CFLAGS=$ac_wine_try_cflags_saved
19531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19532 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19533 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19534 then :
19535 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19536 fi ;;
19537 *x86_64*)
19538 case $host_os in
19539 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19540 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19541 if test ${ac_cv_cflags__Wno_format+y}
19542 then :
19543 printf %s "(cached) " >&6
19544 else $as_nop
19545 ac_wine_try_cflags_saved=$CFLAGS
19546 CFLAGS="$CFLAGS -Wno-format"
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 int main(int argc, char **argv) { return 0; }
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"
19552 then :
19553 ac_cv_cflags__Wno_format=yes
19554 else $as_nop
19555 ac_cv_cflags__Wno_format=no
19557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19558 conftest$ac_exeext conftest.$ac_ext
19559 CFLAGS=$ac_wine_try_cflags_saved
19561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19562 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19563 if test "x$ac_cv_cflags__Wno_format" = xyes
19564 then :
19565 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19566 fi ;;
19567 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19568 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19569 if test ${ac_cv_cflags__mabi_ms+y}
19570 then :
19571 printf %s "(cached) " >&6
19572 else $as_nop
19573 ac_wine_try_cflags_saved=$CFLAGS
19574 CFLAGS="$CFLAGS -mabi=ms"
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 int main(int argc, char **argv) { return 0; }
19578 _ACEOF
19579 if ac_fn_c_try_link "$LINENO"
19580 then :
19581 ac_cv_cflags__mabi_ms=yes
19582 else $as_nop
19583 ac_cv_cflags__mabi_ms=no
19585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19586 conftest$ac_exeext conftest.$ac_ext
19587 CFLAGS=$ac_wine_try_cflags_saved
19589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19590 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19591 if test "x$ac_cv_cflags__mabi_ms" = xyes
19592 then :
19593 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19594 fi ;;
19595 esac ;;
19596 esac
19598 CFLAGS=$saved_CFLAGS
19600 if test "x$enable_werror" = "xyes"
19601 then
19602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19603 printf %s "checking whether the compiler supports -Werror... " >&6; }
19604 if test ${ac_cv_cflags__Werror+y}
19605 then :
19606 printf %s "(cached) " >&6
19607 else $as_nop
19608 ac_wine_try_cflags_saved=$CFLAGS
19609 CFLAGS="$CFLAGS -Werror"
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612 int main(int argc, char **argv) { return 0; }
19613 _ACEOF
19614 if ac_fn_c_try_link "$LINENO"
19615 then :
19616 ac_cv_cflags__Werror=yes
19617 else $as_nop
19618 ac_cv_cflags__Werror=no
19620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19621 conftest$ac_exeext conftest.$ac_ext
19622 CFLAGS=$ac_wine_try_cflags_saved
19624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19625 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19626 if test "x$ac_cv_cflags__Werror" = xyes
19627 then :
19628 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19631 if test "x$enable_build_id" = "xyes"
19632 then
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19634 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19635 if test ${ac_cv_cflags__Wl___build_id+y}
19636 then :
19637 printf %s "(cached) " >&6
19638 else $as_nop
19639 ac_wine_try_cflags_saved=$CFLAGS
19640 CFLAGS="$CFLAGS -Wl,--build-id"
19641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19643 int main(int argc, char **argv) { return 0; }
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"
19646 then :
19647 ac_cv_cflags__Wl___build_id=yes
19648 else $as_nop
19649 ac_cv_cflags__Wl___build_id=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19652 conftest$ac_exeext conftest.$ac_ext
19653 CFLAGS=$ac_wine_try_cflags_saved
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19656 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19657 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19658 then :
19659 CFLAGS="$CFLAGS -Wl,--build-id"
19660 LDFLAGS="$LDFLAGS -Wl,--build-id"
19666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19667 printf %s "checking for the need to disable Fortify... " >&6; }
19668 if test ${ac_cv_c_fortify_enabled+y}
19669 then :
19670 printf %s "(cached) " >&6
19671 else $as_nop
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #include <string.h>
19676 main (void)
19678 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19679 #error Fortify enabled
19680 #endif
19682 return 0;
19684 _ACEOF
19685 if ac_fn_c_try_compile "$LINENO"
19686 then :
19687 ac_cv_c_fortify_enabled=no
19688 else $as_nop
19689 ac_cv_c_fortify_enabled=yes
19691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19694 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19695 if test "$ac_cv_c_fortify_enabled" = yes
19696 then
19697 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19702 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19703 if test ${ac_cv_c_cfi_support+y}
19704 then :
19705 printf %s "(cached) " >&6
19706 else $as_nop
19707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708 /* end confdefs.h. */
19709 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19711 main (void)
19715 return 0;
19717 _ACEOF
19718 if ac_fn_c_try_compile "$LINENO"
19719 then :
19720 ac_cv_c_cfi_support="yes"
19721 else $as_nop
19722 ac_cv_c_cfi_support="no"
19724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19727 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19728 if test "$ac_cv_c_cfi_support" = "yes"
19729 then
19730 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19731 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19732 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19733 else
19734 if test "x$enable_win64" = "xyes"
19735 then
19736 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19741 case $host_os in
19742 linux*)
19743 case $host_cpu in
19744 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19745 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19746 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19748 esac
19750 esac
19753 ac_save_CFLAGS="$CFLAGS"
19754 CFLAGS="$CFLAGS $BUILTINFLAG"
19755 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19756 if test "x$ac_cv_func_epoll_create" = xyes
19757 then :
19758 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19761 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19762 if test "x$ac_cv_func_fstatfs" = xyes
19763 then :
19764 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19767 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19768 if test "x$ac_cv_func_futimens" = xyes
19769 then :
19770 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19773 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19774 if test "x$ac_cv_func_futimes" = xyes
19775 then :
19776 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19779 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19780 if test "x$ac_cv_func_futimesat" = xyes
19781 then :
19782 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19785 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19786 if test "x$ac_cv_func_getattrlist" = xyes
19787 then :
19788 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19791 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19792 if test "x$ac_cv_func_getauxval" = xyes
19793 then :
19794 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19797 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19798 if test "x$ac_cv_func_getifaddrs" = xyes
19799 then :
19800 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19803 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19804 if test "x$ac_cv_func_getrandom" = xyes
19805 then :
19806 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19809 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19810 if test "x$ac_cv_func_kqueue" = xyes
19811 then :
19812 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19815 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19816 if test "x$ac_cv_func_mach_continuous_time" = xyes
19817 then :
19818 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19821 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19822 if test "x$ac_cv_func_pipe2" = xyes
19823 then :
19824 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19827 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19828 if test "x$ac_cv_func_port_create" = xyes
19829 then :
19830 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19833 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19834 if test "x$ac_cv_func_posix_fadvise" = xyes
19835 then :
19836 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19839 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19840 if test "x$ac_cv_func_posix_fallocate" = xyes
19841 then :
19842 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19845 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19846 if test "x$ac_cv_func_prctl" = xyes
19847 then :
19848 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19851 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19852 if test "x$ac_cv_func_proc_pidinfo" = xyes
19853 then :
19854 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19857 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19858 if test "x$ac_cv_func_sched_yield" = xyes
19859 then :
19860 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19863 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19864 if test "x$ac_cv_func_setproctitle" = xyes
19865 then :
19866 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19869 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19870 if test "x$ac_cv_func_setprogname" = xyes
19871 then :
19872 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19875 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19876 if test "x$ac_cv_func_sigprocmask" = xyes
19877 then :
19878 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19881 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19882 if test "x$ac_cv_func_sysinfo" = xyes
19883 then :
19884 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19887 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19888 if test "x$ac_cv_func_tcdrain" = xyes
19889 then :
19890 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19893 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19894 if test "x$ac_cv_func_thr_kill2" = xyes
19895 then :
19896 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19900 CFLAGS="$ac_save_CFLAGS"
19902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19903 printf %s "checking for library containing dlopen... " >&6; }
19904 if test ${ac_cv_search_dlopen+y}
19905 then :
19906 printf %s "(cached) " >&6
19907 else $as_nop
19908 ac_func_search_save_LIBS=$LIBS
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19912 /* Override any GCC internal prototype to avoid an error.
19913 Use char because int might match the return type of a GCC
19914 builtin and then its argument prototype would still apply. */
19915 char dlopen ();
19917 main (void)
19919 return dlopen ();
19921 return 0;
19923 _ACEOF
19924 for ac_lib in '' dl
19926 if test -z "$ac_lib"; then
19927 ac_res="none required"
19928 else
19929 ac_res=-l$ac_lib
19930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19932 if ac_fn_c_try_link "$LINENO"
19933 then :
19934 ac_cv_search_dlopen=$ac_res
19936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19937 conftest$ac_exeext
19938 if test ${ac_cv_search_dlopen+y}
19939 then :
19940 break
19942 done
19943 if test ${ac_cv_search_dlopen+y}
19944 then :
19946 else $as_nop
19947 ac_cv_search_dlopen=no
19949 rm conftest.$ac_ext
19950 LIBS=$ac_func_search_save_LIBS
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19953 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19954 ac_res=$ac_cv_search_dlopen
19955 if test "$ac_res" != no
19956 then :
19957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19961 ac_wine_check_funcs_save_LIBS="$LIBS"
19962 LIBS="$LIBS $DL_LIBS"
19963 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19964 if test "x$ac_cv_func_dlinfo" = xyes
19965 then :
19966 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19970 LIBS="$ac_wine_check_funcs_save_LIBS"
19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19973 printf %s "checking for library containing gethostbyname... " >&6; }
19974 if test ${ac_cv_search_gethostbyname+y}
19975 then :
19976 printf %s "(cached) " >&6
19977 else $as_nop
19978 ac_func_search_save_LIBS=$LIBS
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 /* Override any GCC internal prototype to avoid an error.
19983 Use char because int might match the return type of a GCC
19984 builtin and then its argument prototype would still apply. */
19985 char gethostbyname ();
19987 main (void)
19989 return gethostbyname ();
19991 return 0;
19993 _ACEOF
19994 for ac_lib in '' nsl
19996 if test -z "$ac_lib"; then
19997 ac_res="none required"
19998 else
19999 ac_res=-l$ac_lib
20000 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20002 if ac_fn_c_try_link "$LINENO"
20003 then :
20004 ac_cv_search_gethostbyname=$ac_res
20006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20007 conftest$ac_exeext
20008 if test ${ac_cv_search_gethostbyname+y}
20009 then :
20010 break
20012 done
20013 if test ${ac_cv_search_gethostbyname+y}
20014 then :
20016 else $as_nop
20017 ac_cv_search_gethostbyname=no
20019 rm conftest.$ac_ext
20020 LIBS=$ac_func_search_save_LIBS
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20023 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20024 ac_res=$ac_cv_search_gethostbyname
20025 if test "$ac_res" != no
20026 then :
20027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20033 printf %s "checking for library containing connect... " >&6; }
20034 if test ${ac_cv_search_connect+y}
20035 then :
20036 printf %s "(cached) " >&6
20037 else $as_nop
20038 ac_func_search_save_LIBS=$LIBS
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20045 char connect ();
20047 main (void)
20049 return connect ();
20051 return 0;
20053 _ACEOF
20054 for ac_lib in '' socket
20056 if test -z "$ac_lib"; then
20057 ac_res="none required"
20058 else
20059 ac_res=-l$ac_lib
20060 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20062 if ac_fn_c_try_link "$LINENO"
20063 then :
20064 ac_cv_search_connect=$ac_res
20066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20067 conftest$ac_exeext
20068 if test ${ac_cv_search_connect+y}
20069 then :
20070 break
20072 done
20073 if test ${ac_cv_search_connect+y}
20074 then :
20076 else $as_nop
20077 ac_cv_search_connect=no
20079 rm conftest.$ac_ext
20080 LIBS=$ac_func_search_save_LIBS
20082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20083 printf "%s\n" "$ac_cv_search_connect" >&6; }
20084 ac_res=$ac_cv_search_connect
20085 if test "$ac_res" != no
20086 then :
20087 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20093 printf %s "checking for library containing inet_aton... " >&6; }
20094 if test ${ac_cv_search_inet_aton+y}
20095 then :
20096 printf %s "(cached) " >&6
20097 else $as_nop
20098 ac_func_search_save_LIBS=$LIBS
20099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 /* Override any GCC internal prototype to avoid an error.
20103 Use char because int might match the return type of a GCC
20104 builtin and then its argument prototype would still apply. */
20105 char inet_aton ();
20107 main (void)
20109 return inet_aton ();
20111 return 0;
20113 _ACEOF
20114 for ac_lib in '' resolv
20116 if test -z "$ac_lib"; then
20117 ac_res="none required"
20118 else
20119 ac_res=-l$ac_lib
20120 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20122 if ac_fn_c_try_link "$LINENO"
20123 then :
20124 ac_cv_search_inet_aton=$ac_res
20126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20127 conftest$ac_exeext
20128 if test ${ac_cv_search_inet_aton+y}
20129 then :
20130 break
20132 done
20133 if test ${ac_cv_search_inet_aton+y}
20134 then :
20136 else $as_nop
20137 ac_cv_search_inet_aton=no
20139 rm conftest.$ac_ext
20140 LIBS=$ac_func_search_save_LIBS
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20143 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20144 ac_res=$ac_cv_search_inet_aton
20145 if test "$ac_res" != no
20146 then :
20147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20152 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20153 if test "x$ac_cv_func_getaddrinfo" = xyes
20154 then :
20155 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20160 case $host_os in
20161 darwin*|macosx*) ;;
20162 *) ac_save_LIBS=$LIBS
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20164 printf %s "checking for library containing clock_gettime... " >&6; }
20165 if test ${ac_cv_search_clock_gettime+y}
20166 then :
20167 printf %s "(cached) " >&6
20168 else $as_nop
20169 ac_func_search_save_LIBS=$LIBS
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20173 /* Override any GCC internal prototype to avoid an error.
20174 Use char because int might match the return type of a GCC
20175 builtin and then its argument prototype would still apply. */
20176 char clock_gettime ();
20178 main (void)
20180 return clock_gettime ();
20182 return 0;
20184 _ACEOF
20185 for ac_lib in '' rt
20187 if test -z "$ac_lib"; then
20188 ac_res="none required"
20189 else
20190 ac_res=-l$ac_lib
20191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20193 if ac_fn_c_try_link "$LINENO"
20194 then :
20195 ac_cv_search_clock_gettime=$ac_res
20197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20198 conftest$ac_exeext
20199 if test ${ac_cv_search_clock_gettime+y}
20200 then :
20201 break
20203 done
20204 if test ${ac_cv_search_clock_gettime+y}
20205 then :
20207 else $as_nop
20208 ac_cv_search_clock_gettime=no
20210 rm conftest.$ac_ext
20211 LIBS=$ac_func_search_save_LIBS
20213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20214 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20215 ac_res=$ac_cv_search_clock_gettime
20216 if test "$ac_res" != no
20217 then :
20218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20220 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20222 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20226 LIBS=$ac_save_LIBS
20228 esac
20230 if test "x$with_ldap" != "xno"
20231 then
20232 if ${LDAP_CFLAGS:+false} :
20233 then :
20234 if test ${PKG_CONFIG+y}
20235 then :
20236 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20240 if ${LDAP_LIBS:+false} :
20241 then :
20242 if test ${PKG_CONFIG+y}
20243 then :
20244 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20248 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20251 ac_save_CPPFLAGS=$CPPFLAGS
20252 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20253 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20254 if test "x$ac_cv_header_ldap_h" = xyes
20255 then :
20256 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20259 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20260 if test "x$ac_cv_header_lber_h" = xyes
20261 then :
20262 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20266 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20267 then
20268 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20270 if test "x$ac_cv_type_LDAPSortKey" = xyes
20271 then :
20272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20273 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20274 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20275 then :
20276 printf %s "(cached) " >&6
20277 else $as_nop
20278 ac_check_lib_save_LIBS=$LIBS
20279 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20281 /* end confdefs.h. */
20283 /* Override any GCC internal prototype to avoid an error.
20284 Use char because int might match the return type of a GCC
20285 builtin and then its argument prototype would still apply. */
20286 char ldap_initialize ();
20288 main (void)
20290 return ldap_initialize ();
20292 return 0;
20294 _ACEOF
20295 if ac_fn_c_try_link "$LINENO"
20296 then :
20297 ac_cv_lib_ldap_ldap_initialize=yes
20298 else $as_nop
20299 ac_cv_lib_ldap_ldap_initialize=no
20301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20302 conftest$ac_exeext conftest.$ac_ext
20303 LIBS=$ac_check_lib_save_LIBS
20305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20306 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20307 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20308 then :
20309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20310 printf %s "checking for ber_init in -llber... " >&6; }
20311 if test ${ac_cv_lib_lber_ber_init+y}
20312 then :
20313 printf %s "(cached) " >&6
20314 else $as_nop
20315 ac_check_lib_save_LIBS=$LIBS
20316 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h. */
20320 /* Override any GCC internal prototype to avoid an error.
20321 Use char because int might match the return type of a GCC
20322 builtin and then its argument prototype would still apply. */
20323 char ber_init ();
20325 main (void)
20327 return ber_init ();
20329 return 0;
20331 _ACEOF
20332 if ac_fn_c_try_link "$LINENO"
20333 then :
20334 ac_cv_lib_lber_ber_init=yes
20335 else $as_nop
20336 ac_cv_lib_lber_ber_init=no
20338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20339 conftest$ac_exeext conftest.$ac_ext
20340 LIBS=$ac_check_lib_save_LIBS
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20343 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20344 if test "x$ac_cv_lib_lber_ber_init" = xyes
20345 then :
20347 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20349 else $as_nop
20350 LDAP_LIBS=""
20353 else $as_nop
20354 LDAP_LIBS=""
20357 else $as_nop
20358 LDAP_LIBS=""
20361 else
20362 LDAP_LIBS=""
20364 CPPFLAGS=$ac_save_CPPFLAGS
20367 if test "x$LDAP_LIBS" = "x"
20368 then :
20369 case "x$with_ldap" in
20370 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20371 xno) ;;
20372 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20373 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20374 esac
20378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20379 printf %s "checking for sched_setaffinity... " >&6; }
20380 if test ${wine_cv_have_sched_setaffinity+y}
20381 then :
20382 printf %s "(cached) " >&6
20383 else $as_nop
20384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20386 #include <sched.h>
20388 main (void)
20390 sched_setaffinity(0, 0, 0);
20392 return 0;
20394 _ACEOF
20395 if ac_fn_c_try_link "$LINENO"
20396 then :
20397 wine_cv_have_sched_setaffinity=yes
20398 else $as_nop
20399 wine_cv_have_sched_setaffinity=no
20401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20402 conftest$ac_exeext conftest.$ac_ext
20404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20405 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20406 if test "$wine_cv_have_sched_setaffinity" = "yes"
20407 then
20409 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20415 printf %s "checking for inline... " >&6; }
20416 if test ${ac_cv_c_inline+y}
20417 then :
20418 printf %s "(cached) " >&6
20419 else $as_nop
20420 ac_cv_c_inline=no
20421 for ac_kw in inline __inline__ __inline; do
20422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20423 /* end confdefs.h. */
20424 #ifndef __cplusplus
20425 typedef int foo_t;
20426 static $ac_kw foo_t static_foo (void) {return 0; }
20427 $ac_kw foo_t foo (void) {return 0; }
20428 #endif
20430 _ACEOF
20431 if ac_fn_c_try_compile "$LINENO"
20432 then :
20433 ac_cv_c_inline=$ac_kw
20435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20436 test "$ac_cv_c_inline" != no && break
20437 done
20440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20441 printf "%s\n" "$ac_cv_c_inline" >&6; }
20443 case $ac_cv_c_inline in
20444 inline | yes) ;;
20446 case $ac_cv_c_inline in
20447 no) ac_val=;;
20448 *) ac_val=$ac_cv_c_inline;;
20449 esac
20450 cat >>confdefs.h <<_ACEOF
20451 #ifndef __cplusplus
20452 #define inline $ac_val
20453 #endif
20454 _ACEOF
20456 esac
20458 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20459 #include <signal.h>
20461 if test "x$ac_cv_type_sigset_t" = xyes
20462 then :
20464 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20469 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20471 if test "x$ac_cv_type_request_sense" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20480 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20481 #include <sys/socket.h>
20482 #ifdef HAVE_SYS_SOCKETVAR_H
20483 #include <sys/socketvar.h>
20484 #endif
20485 #ifdef HAVE_NET_ROUTE_H
20486 #include <net/route.h>
20487 #endif
20488 #ifdef HAVE_NETINET_IN_H
20489 #include <netinet/in.h>
20490 #endif
20491 #ifdef HAVE_NETINET_IN_SYSTM_H
20492 #include <netinet/in_systm.h>
20493 #endif
20494 #ifdef HAVE_NETINET_IP_H
20495 #include <netinet/ip.h>
20496 #endif
20497 #ifdef HAVE_NETINET_IN_PCB_H
20498 #include <netinet/in_pcb.h>
20499 #endif
20501 if test "x$ac_cv_type_struct_xinpgen" = xyes
20502 then :
20504 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20511 printf %s "checking for sigaddset... " >&6; }
20512 if test ${wine_cv_have_sigaddset+y}
20513 then :
20514 printf %s "(cached) " >&6
20515 else $as_nop
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #include <signal.h>
20520 main (void)
20522 sigset_t set; sigaddset(&set,SIGTERM);
20524 return 0;
20526 _ACEOF
20527 if ac_fn_c_try_link "$LINENO"
20528 then :
20529 wine_cv_have_sigaddset=yes
20530 else $as_nop
20531 wine_cv_have_sigaddset=no
20533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20534 conftest$ac_exeext conftest.$ac_ext
20536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20537 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20538 if test "$wine_cv_have_sigaddset" = "yes"
20539 then
20541 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20547 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20548 if test ${wine_cv_linux_gethostbyname_r_6+y}
20549 then :
20550 printf %s "(cached) " >&6
20551 else $as_nop
20552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20554 #include <netdb.h>
20556 main (void)
20559 char *name=0;
20560 struct hostent he;
20561 struct hostent *result;
20562 char *buf=0;
20563 int bufsize=0;
20564 int errnr;
20565 char *addr=0;
20566 int addrlen=0;
20567 int addrtype=0;
20568 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20569 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20572 return 0;
20574 _ACEOF
20575 if ac_fn_c_try_link "$LINENO"
20576 then :
20577 wine_cv_linux_gethostbyname_r_6=yes
20578 else $as_nop
20579 wine_cv_linux_gethostbyname_r_6=no
20582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20583 conftest$ac_exeext conftest.$ac_ext
20586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20587 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20588 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20589 then
20591 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20595 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20596 #include <sys/socket.h>
20597 #ifdef HAVE_SYS_UN_H
20598 # include <sys/un.h>
20599 #endif
20601 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20602 then :
20604 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20608 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20609 #include <sys/socket.h>
20610 #ifdef HAVE_SYS_UN_H
20611 # include <sys/un.h>
20612 #endif
20614 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20615 then :
20617 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20623 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20624 #ifdef HAVE_SCSI_SG_H
20625 #include <scsi/sg.h>
20626 #endif
20628 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20629 then :
20631 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20635 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>
20636 #ifdef HAVE_SCSI_SG_H
20637 #include <scsi/sg.h>
20638 #endif
20640 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20641 then :
20643 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20649 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20651 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20652 then :
20654 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20660 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20661 #ifdef HAVE_SYS_MTIO_H
20662 #include <sys/mtio.h>
20663 #endif
20665 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20672 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20673 #ifdef HAVE_SYS_MTIO_H
20674 #include <sys/mtio.h>
20675 #endif
20677 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20678 then :
20680 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20684 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20685 #ifdef HAVE_SYS_MTIO_H
20686 #include <sys/mtio.h>
20687 #endif
20689 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20698 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20699 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20700 then :
20702 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20706 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20707 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20708 then :
20710 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20714 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20715 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20722 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20723 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20724 then :
20726 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20730 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20731 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20732 then :
20734 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20738 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20739 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20740 then :
20742 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20746 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20747 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20748 then :
20750 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20754 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20755 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20756 then :
20758 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20762 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20763 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20764 then :
20766 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20770 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20771 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20772 then :
20774 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20778 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20779 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20780 then :
20782 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20788 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>
20789 #ifdef HAVE_NETINET_IN_H
20790 #include <netinet/in.h>
20791 #endif
20793 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20794 then :
20796 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20802 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
20803 #include <resolv.h>
20804 #endif
20806 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20807 then :
20809 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20815 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20816 #include <netinet/in.h>
20817 #endif
20819 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20820 then :
20822 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20828 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20829 #ifdef HAVE_SYS_SOCKETVAR_H
20830 #include <sys/socketvar.h>
20831 #endif
20832 #ifdef HAVE_NETINET_IN_H
20833 #include <netinet/in.h>
20834 #endif
20835 #ifdef HAVE_NETINET_IP_VAR_H
20836 #include <netinet/ip_var.h>
20837 #endif
20839 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20840 then :
20842 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20848 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
20849 #include <netinet/ip_var.h>
20850 #endif
20852 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20853 then :
20855 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20861 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20862 #ifdef HAVE_SYS_SOCKETVAR_H
20863 #include <sys/socketvar.h>
20864 #endif
20865 #ifdef HAVE_NETINET_IN_H
20866 #include <netinet/in.h>
20867 #endif
20868 #ifdef HAVE_NETINET_TCP_H
20869 #include <netinet/tcp.h>
20870 #endif
20871 #ifdef HAVE_NETINET_TCP_VAR_H
20872 #include <netinet/tcp_var.h>
20873 #endif
20875 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20876 then :
20878 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20884 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
20885 #include <netinet/tcp_var.h>
20886 #endif
20888 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20889 then :
20891 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20897 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20898 #ifdef HAVE_NETINET_IN_H
20899 #include <netinet/in.h>
20900 #endif
20901 #ifdef HAVE_NETINET_IP_VAR_H
20902 #include <netinet/ip_var.h>
20903 #endif
20904 #ifdef HAVE_NETINET_UDP_H
20905 #include <netinet/udp.h>
20906 #endif
20907 #ifdef HAVE_NETINET_UDP_VAR_H
20908 #include <netinet/udp_var.h>
20909 #endif
20911 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20912 then :
20914 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20920 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20921 #ifdef HAVE_NET_IF_H
20922 # include <net/if.h>
20923 #endif
20925 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20926 then :
20928 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20934 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20935 # include <sys/sysinfo.h>
20936 #endif
20938 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20939 then :
20941 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20945 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20946 # include <sys/sysinfo.h>
20947 #endif
20949 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20950 then :
20952 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20958 ac_save_LIBS="$LIBS"
20959 LIBS="$LIBS -lm"
20960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20961 printf %s "checking for isfinite... " >&6; }
20962 if test ${ac_cv_have_isfinite+y}
20963 then :
20964 printf %s "(cached) " >&6
20965 else $as_nop
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <math.h>
20970 main (void)
20972 float f = 0.0; return isfinite(f)
20974 return 0;
20976 _ACEOF
20977 if ac_fn_c_try_link "$LINENO"
20978 then :
20979 ac_cv_have_isfinite="yes"
20980 else $as_nop
20981 ac_cv_have_isfinite="no"
20983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20984 conftest$ac_exeext conftest.$ac_ext
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20987 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20988 if test "$ac_cv_have_isfinite" = "yes"
20989 then
20991 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20996 printf %s "checking for isinf... " >&6; }
20997 if test ${ac_cv_have_isinf+y}
20998 then :
20999 printf %s "(cached) " >&6
21000 else $as_nop
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003 #include <math.h>
21005 main (void)
21007 float f = 0.0; return isinf(f)
21009 return 0;
21011 _ACEOF
21012 if ac_fn_c_try_link "$LINENO"
21013 then :
21014 ac_cv_have_isinf="yes"
21015 else $as_nop
21016 ac_cv_have_isinf="no"
21018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21019 conftest$ac_exeext conftest.$ac_ext
21021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21022 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21023 if test "$ac_cv_have_isinf" = "yes"
21024 then
21026 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21031 printf %s "checking for isnan... " >&6; }
21032 if test ${ac_cv_have_isnan+y}
21033 then :
21034 printf %s "(cached) " >&6
21035 else $as_nop
21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21037 /* end confdefs.h. */
21038 #include <math.h>
21040 main (void)
21042 float f = 0.0; return isnan(f)
21044 return 0;
21046 _ACEOF
21047 if ac_fn_c_try_link "$LINENO"
21048 then :
21049 ac_cv_have_isnan="yes"
21050 else $as_nop
21051 ac_cv_have_isnan="no"
21053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21054 conftest$ac_exeext conftest.$ac_ext
21056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21057 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21058 if test "$ac_cv_have_isnan" = "yes"
21059 then
21061 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21065 LIBS="$ac_save_LIBS"
21067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21068 printf %s "checking for __builtin_popcount... " >&6; }
21069 if test ${ac_cv_have___builtin_popcount+y}
21070 then :
21071 printf %s "(cached) " >&6
21072 else $as_nop
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21077 main (void)
21079 return __builtin_popcount(1)
21081 return 0;
21083 _ACEOF
21084 if ac_fn_c_try_link "$LINENO"
21085 then :
21086 ac_cv_have___builtin_popcount="yes"
21087 else $as_nop
21088 ac_cv_have___builtin_popcount="no"
21090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21091 conftest$ac_exeext conftest.$ac_ext
21093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21094 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21095 if test "$ac_cv_have___builtin_popcount" = "yes"
21096 then
21098 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21103 printf %s "checking for __clear_cache... " >&6; }
21104 if test ${ac_cv_have___clear_cache+y}
21105 then :
21106 printf %s "(cached) " >&6
21107 else $as_nop
21108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21109 /* end confdefs.h. */
21112 main (void)
21114 __clear_cache((void*)0, (void*)0); return 0;
21116 return 0;
21118 _ACEOF
21119 if ac_fn_c_try_link "$LINENO"
21120 then :
21121 ac_cv_have___clear_cache="yes"
21122 else $as_nop
21123 ac_cv_have___clear_cache="no"
21125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21126 conftest$ac_exeext conftest.$ac_ext
21128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21129 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21130 if test "$ac_cv_have___clear_cache" = "yes"
21131 then
21133 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21138 case $host_cpu in
21139 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21140 printf %s "checking whether we need to define __i386__... " >&6; }
21141 if test ${ac_cv_cpp_def___i386__+y}
21142 then :
21143 printf %s "(cached) " >&6
21144 else $as_nop
21145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21146 /* end confdefs.h. */
21147 #ifndef __i386__
21149 #endif
21150 _ACEOF
21151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21152 $EGREP "yes" >/dev/null 2>&1
21153 then :
21154 ac_cv_cpp_def___i386__=yes
21155 else $as_nop
21156 ac_cv_cpp_def___i386__=no
21158 rm -rf conftest*
21161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21162 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21163 if test "x$ac_cv_cpp_def___i386__" = xyes
21164 then :
21165 CFLAGS="$CFLAGS -D__i386__"
21166 LINTFLAGS="$LINTFLAGS -D__i386__"
21167 fi ;;
21168 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21169 printf %s "checking whether we need to define __x86_64__... " >&6; }
21170 if test ${ac_cv_cpp_def___x86_64__+y}
21171 then :
21172 printf %s "(cached) " >&6
21173 else $as_nop
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176 #ifndef __x86_64__
21178 #endif
21179 _ACEOF
21180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21181 $EGREP "yes" >/dev/null 2>&1
21182 then :
21183 ac_cv_cpp_def___x86_64__=yes
21184 else $as_nop
21185 ac_cv_cpp_def___x86_64__=no
21187 rm -rf conftest*
21190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21191 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21192 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21193 then :
21194 CFLAGS="$CFLAGS -D__x86_64__"
21195 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21196 fi ;;
21197 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21198 printf %s "checking whether we need to define __sparc64__... " >&6; }
21199 if test ${ac_cv_cpp_def___sparc64__+y}
21200 then :
21201 printf %s "(cached) " >&6
21202 else $as_nop
21203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21205 #ifndef __sparc64__
21207 #endif
21208 _ACEOF
21209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21210 $EGREP "yes" >/dev/null 2>&1
21211 then :
21212 ac_cv_cpp_def___sparc64__=yes
21213 else $as_nop
21214 ac_cv_cpp_def___sparc64__=no
21216 rm -rf conftest*
21219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21220 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21221 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21222 then :
21223 CFLAGS="$CFLAGS -D__sparc64__"
21224 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21225 fi ;;
21226 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21227 printf %s "checking whether we need to define __sparc__... " >&6; }
21228 if test ${ac_cv_cpp_def___sparc__+y}
21229 then :
21230 printf %s "(cached) " >&6
21231 else $as_nop
21232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21233 /* end confdefs.h. */
21234 #ifndef __sparc__
21236 #endif
21237 _ACEOF
21238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21239 $EGREP "yes" >/dev/null 2>&1
21240 then :
21241 ac_cv_cpp_def___sparc__=yes
21242 else $as_nop
21243 ac_cv_cpp_def___sparc__=no
21245 rm -rf conftest*
21248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21249 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21250 if test "x$ac_cv_cpp_def___sparc__" = xyes
21251 then :
21252 CFLAGS="$CFLAGS -D__sparc__"
21253 LINTFLAGS="$LINTFLAGS -D__sparc__"
21254 fi ;;
21255 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21256 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21257 if test ${ac_cv_cpp_def___powerpc64__+y}
21258 then :
21259 printf %s "(cached) " >&6
21260 else $as_nop
21261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21262 /* end confdefs.h. */
21263 #ifndef __powerpc64__
21265 #endif
21266 _ACEOF
21267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21268 $EGREP "yes" >/dev/null 2>&1
21269 then :
21270 ac_cv_cpp_def___powerpc64__=yes
21271 else $as_nop
21272 ac_cv_cpp_def___powerpc64__=no
21274 rm -rf conftest*
21277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21278 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21279 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21280 then :
21281 CFLAGS="$CFLAGS -D__powerpc64__"
21282 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21283 fi ;;
21284 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21285 printf %s "checking whether we need to define __powerpc__... " >&6; }
21286 if test ${ac_cv_cpp_def___powerpc__+y}
21287 then :
21288 printf %s "(cached) " >&6
21289 else $as_nop
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292 #ifndef __powerpc__
21294 #endif
21295 _ACEOF
21296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21297 $EGREP "yes" >/dev/null 2>&1
21298 then :
21299 ac_cv_cpp_def___powerpc__=yes
21300 else $as_nop
21301 ac_cv_cpp_def___powerpc__=no
21303 rm -rf conftest*
21306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21307 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21308 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21309 then :
21310 CFLAGS="$CFLAGS -D__powerpc__"
21311 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21312 fi ;;
21313 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21314 printf %s "checking whether we need to define __aarch64__... " >&6; }
21315 if test ${ac_cv_cpp_def___aarch64__+y}
21316 then :
21317 printf %s "(cached) " >&6
21318 else $as_nop
21319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21320 /* end confdefs.h. */
21321 #ifndef __aarch64__
21323 #endif
21324 _ACEOF
21325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21326 $EGREP "yes" >/dev/null 2>&1
21327 then :
21328 ac_cv_cpp_def___aarch64__=yes
21329 else $as_nop
21330 ac_cv_cpp_def___aarch64__=no
21332 rm -rf conftest*
21335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21336 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21337 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21338 then :
21339 CFLAGS="$CFLAGS -D__aarch64__"
21340 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21341 fi ;;
21342 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21343 printf %s "checking whether we need to define __arm__... " >&6; }
21344 if test ${ac_cv_cpp_def___arm__+y}
21345 then :
21346 printf %s "(cached) " >&6
21347 else $as_nop
21348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21349 /* end confdefs.h. */
21350 #ifndef __arm__
21352 #endif
21353 _ACEOF
21354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21355 $EGREP "yes" >/dev/null 2>&1
21356 then :
21357 ac_cv_cpp_def___arm__=yes
21358 else $as_nop
21359 ac_cv_cpp_def___arm__=no
21361 rm -rf conftest*
21364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21365 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21366 if test "x$ac_cv_cpp_def___arm__" = xyes
21367 then :
21368 CFLAGS="$CFLAGS -D__arm__"
21369 LINTFLAGS="$LINTFLAGS -D__arm__"
21370 fi ;;
21371 esac
21373 case $host_vendor in
21374 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21375 printf %s "checking whether we need to define __sun__... " >&6; }
21376 if test ${ac_cv_cpp_def___sun__+y}
21377 then :
21378 printf %s "(cached) " >&6
21379 else $as_nop
21380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h. */
21382 #ifndef __sun__
21384 #endif
21385 _ACEOF
21386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21387 $EGREP "yes" >/dev/null 2>&1
21388 then :
21389 ac_cv_cpp_def___sun__=yes
21390 else $as_nop
21391 ac_cv_cpp_def___sun__=no
21393 rm -rf conftest*
21396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21397 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21398 if test "x$ac_cv_cpp_def___sun__" = xyes
21399 then :
21400 CFLAGS="$CFLAGS -D__sun__"
21401 LINTFLAGS="$LINTFLAGS -D__sun__"
21402 fi ;;
21403 esac
21409 ac_config_commands="$ac_config_commands include/stamp-h"
21411 printf %s "creating Makefile rules..." >&6
21413 makedep_flags=""
21414 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21416 wine_srcdir=
21417 test "$srcdir" = . || wine_srcdir="$srcdir/"
21419 ac_config_links="$ac_config_links wine:tools/winewrapper"
21420 wine_fn_config_symlink wine
21421 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21422 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21423 wine_fn_config_symlink wine64
21426 wine_fn_config_makefile dlls/acledit enable_acledit
21427 wine_fn_config_makefile dlls/aclui enable_aclui
21428 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21429 wine_fn_config_makefile dlls/activeds enable_activeds
21430 wine_fn_config_makefile dlls/activeds/tests enable_tests
21431 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21432 wine_fn_config_makefile dlls/adsldp enable_adsldp
21433 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21434 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21435 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21436 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21437 wine_fn_config_makefile dlls/advpack enable_advpack
21438 wine_fn_config_makefile dlls/advpack/tests enable_tests
21439 wine_fn_config_makefile dlls/amsi enable_amsi
21440 wine_fn_config_makefile dlls/amstream enable_amstream
21441 wine_fn_config_makefile dlls/amstream/tests enable_tests
21442 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21443 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21444 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21445 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21446 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21447 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21448 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21451 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21453 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21456 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21459 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21460 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21461 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21462 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21463 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21464 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21465 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21466 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21467 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21468 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21469 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21470 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21471 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21472 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21473 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21474 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21476 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21477 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21478 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21479 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21480 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21481 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21482 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21483 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21485 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21490 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21491 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21492 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21493 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21494 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21495 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21496 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21497 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21498 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21499 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21500 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21501 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21502 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21503 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21504 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21505 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21507 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21508 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21509 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21510 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21512 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21514 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21516 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21517 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21518 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21519 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21520 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21521 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21527 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21528 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21529 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21531 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21532 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21533 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21534 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21535 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21543 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21545 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21555 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21557 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21559 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21561 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21562 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21563 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21564 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21565 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21566 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21567 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21568 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21576 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21577 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21578 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21579 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21581 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21583 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21584 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21585 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21586 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21589 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21591 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21593 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21606 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21610 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21611 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21612 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21613 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21632 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21633 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21634 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21643 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21644 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21645 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21646 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21647 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21648 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21649 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21650 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21651 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21652 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21653 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21654 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21655 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21657 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-ansi-l2-1-0 enable_api_ms_win_security_lsalookup_ansi_l2_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21659 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21660 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21661 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21662 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21663 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21664 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21665 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21666 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21667 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21668 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21669 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21670 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21671 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21672 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21673 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21674 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21675 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21676 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21677 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21678 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21679 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21680 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21681 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21682 wine_fn_config_makefile dlls/apphelp enable_apphelp
21683 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21684 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21685 wine_fn_config_makefile dlls/atl enable_atl
21686 wine_fn_config_makefile dlls/atl/tests enable_tests
21687 wine_fn_config_makefile dlls/atl100 enable_atl100
21688 wine_fn_config_makefile dlls/atl100/tests enable_tests
21689 wine_fn_config_makefile dlls/atl110 enable_atl110
21690 wine_fn_config_makefile dlls/atl80 enable_atl80
21691 wine_fn_config_makefile dlls/atl80/tests enable_tests
21692 wine_fn_config_makefile dlls/atl90 enable_atl90
21693 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21694 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21695 wine_fn_config_makefile dlls/atmlib enable_atmlib
21696 wine_fn_config_makefile dlls/authz enable_authz
21697 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21698 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21699 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21700 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21701 wine_fn_config_makefile dlls/avrt enable_avrt
21702 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21703 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21704 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21705 wine_fn_config_makefile dlls/browseui enable_browseui
21706 wine_fn_config_makefile dlls/browseui/tests enable_tests
21707 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21708 wine_fn_config_makefile dlls/cabinet enable_cabinet
21709 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21710 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21711 wine_fn_config_makefile dlls/cards enable_cards
21712 wine_fn_config_makefile dlls/cdosys enable_cdosys
21713 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21714 wine_fn_config_makefile dlls/clusapi enable_clusapi
21715 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21716 wine_fn_config_makefile dlls/combase enable_combase
21717 wine_fn_config_makefile dlls/combase/tests enable_tests
21718 wine_fn_config_makefile dlls/comcat enable_comcat
21719 wine_fn_config_makefile dlls/comcat/tests enable_tests
21720 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21721 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21722 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21723 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21724 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21725 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21726 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21727 wine_fn_config_makefile dlls/compstui enable_compstui
21728 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21729 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21730 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21731 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21732 wine_fn_config_makefile dlls/connect enable_connect
21733 wine_fn_config_makefile dlls/credui enable_credui
21734 wine_fn_config_makefile dlls/credui/tests enable_tests
21735 wine_fn_config_makefile dlls/crtdll enable_crtdll
21736 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21737 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21738 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21739 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21740 wine_fn_config_makefile dlls/cryptext enable_cryptext
21741 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21742 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21743 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21744 wine_fn_config_makefile dlls/cryptui enable_cryptui
21745 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21746 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21747 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21748 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21749 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21750 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21751 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21752 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21753 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21754 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21755 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21756 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21757 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21758 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21759 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21760 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21761 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21762 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21763 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21764 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21765 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21766 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21767 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21768 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21769 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21770 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21771 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21772 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21773 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21774 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21775 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21776 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21777 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21778 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21779 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21780 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21781 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21782 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21783 wine_fn_config_makefile dlls/d3dim enable_d3dim
21784 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21785 wine_fn_config_makefile dlls/d3drm enable_d3drm
21786 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21787 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21788 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21789 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21790 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21791 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21792 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21793 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21794 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21795 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21796 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21797 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21798 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21799 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21800 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21801 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21802 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21803 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21804 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21805 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21806 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21807 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21808 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21809 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21810 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21811 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21812 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21813 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21814 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21815 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21816 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21817 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21818 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21819 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21820 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21821 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21822 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21823 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21824 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21825 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21826 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21827 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21828 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21829 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21830 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21831 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21832 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21833 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21834 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21835 wine_fn_config_makefile dlls/davclnt enable_davclnt
21836 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21837 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21838 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21839 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21840 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21841 wine_fn_config_makefile dlls/dcomp enable_dcomp
21842 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21843 wine_fn_config_makefile dlls/ddraw enable_ddraw
21844 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21845 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21846 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21847 wine_fn_config_makefile dlls/devenum enable_devenum
21848 wine_fn_config_makefile dlls/devenum/tests enable_tests
21849 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21850 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21851 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21852 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21853 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21854 wine_fn_config_makefile dlls/difxapi enable_difxapi
21855 wine_fn_config_makefile dlls/dinput enable_dinput
21856 wine_fn_config_makefile dlls/dinput/tests enable_tests
21857 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21858 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21859 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21860 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21861 wine_fn_config_makefile dlls/dispex enable_dispex
21862 wine_fn_config_makefile dlls/dispex/tests enable_tests
21863 wine_fn_config_makefile dlls/display.drv16 enable_win16
21864 wine_fn_config_makefile dlls/dmband enable_dmband
21865 wine_fn_config_makefile dlls/dmband/tests enable_tests
21866 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21867 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21868 wine_fn_config_makefile dlls/dmime enable_dmime
21869 wine_fn_config_makefile dlls/dmime/tests enable_tests
21870 wine_fn_config_makefile dlls/dmloader enable_dmloader
21871 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21872 wine_fn_config_makefile dlls/dmscript enable_dmscript
21873 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21874 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21875 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21876 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21877 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21878 wine_fn_config_makefile dlls/dmusic enable_dmusic
21879 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21880 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21881 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21882 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21883 wine_fn_config_makefile dlls/dplay enable_dplay
21884 wine_fn_config_makefile dlls/dplayx enable_dplayx
21885 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21886 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21887 wine_fn_config_makefile dlls/dpnet enable_dpnet
21888 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21889 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21890 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21891 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21892 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21893 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21894 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21895 wine_fn_config_makefile dlls/drmclien enable_drmclien
21896 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21897 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21898 wine_fn_config_makefile dlls/dsound enable_dsound
21899 wine_fn_config_makefile dlls/dsound/tests enable_tests
21900 wine_fn_config_makefile dlls/dsquery enable_dsquery
21901 wine_fn_config_makefile dlls/dssenh enable_dssenh
21902 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21903 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21904 wine_fn_config_makefile dlls/dswave enable_dswave
21905 wine_fn_config_makefile dlls/dswave/tests enable_tests
21906 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21907 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21908 wine_fn_config_makefile dlls/dwrite enable_dwrite
21909 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21910 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21911 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21912 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21913 wine_fn_config_makefile dlls/dxgi enable_dxgi
21914 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21915 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21916 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21917 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21918 wine_fn_config_makefile dlls/esent enable_esent
21919 wine_fn_config_makefile dlls/evr enable_evr
21920 wine_fn_config_makefile dlls/evr/tests enable_tests
21921 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21922 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21923 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21924 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21925 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21927 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21928 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21929 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21930 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21932 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21933 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21934 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21935 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21936 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21937 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21938 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21939 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21940 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21941 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21942 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21943 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21944 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21945 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21947 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21948 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21949 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21950 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21951 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21952 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21953 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21954 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21955 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21956 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21957 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21959 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21960 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21961 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21962 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21963 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
21964 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21965 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21966 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21967 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21968 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21969 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21970 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21971 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21972 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21973 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21974 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21975 wine_fn_config_makefile dlls/faultrep enable_faultrep
21976 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21977 wine_fn_config_makefile dlls/feclient enable_feclient
21978 wine_fn_config_makefile dlls/fltlib enable_fltlib
21979 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21980 wine_fn_config_makefile dlls/fntcache enable_fntcache
21981 wine_fn_config_makefile dlls/fontsub enable_fontsub
21982 wine_fn_config_makefile dlls/fusion enable_fusion
21983 wine_fn_config_makefile dlls/fusion/tests enable_tests
21984 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21985 wine_fn_config_makefile dlls/gameux enable_gameux
21986 wine_fn_config_makefile dlls/gameux/tests enable_tests
21987 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21988 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21989 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21990 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21991 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21992 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21993 wine_fn_config_makefile dlls/glu32 enable_glu32
21994 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21995 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21996 wine_fn_config_makefile dlls/hal enable_hal
21997 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21998 wine_fn_config_makefile dlls/hid enable_hid
21999 wine_fn_config_makefile dlls/hid/tests enable_tests
22000 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22001 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22002 wine_fn_config_makefile dlls/hlink enable_hlink
22003 wine_fn_config_makefile dlls/hlink/tests enable_tests
22004 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22005 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22006 wine_fn_config_makefile dlls/http.sys enable_http_sys
22007 wine_fn_config_makefile dlls/httpapi enable_httpapi
22008 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22009 wine_fn_config_makefile dlls/iccvid enable_iccvid
22010 wine_fn_config_makefile dlls/icmp enable_icmp
22011 wine_fn_config_makefile dlls/ieframe enable_ieframe
22012 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22013 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22014 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22015 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22016 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22017 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22018 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22019 wine_fn_config_makefile dlls/imm32 enable_imm32
22020 wine_fn_config_makefile dlls/imm32/tests enable_tests
22021 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22022 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22023 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22024 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22025 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22026 wine_fn_config_makefile dlls/infosoft enable_infosoft
22027 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22028 wine_fn_config_makefile dlls/initpki enable_initpki
22029 wine_fn_config_makefile dlls/inkobj enable_inkobj
22030 wine_fn_config_makefile dlls/inseng enable_inseng
22031 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22032 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22033 wine_fn_config_makefile dlls/iprop enable_iprop
22034 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22035 wine_fn_config_makefile dlls/itircl enable_itircl
22036 wine_fn_config_makefile dlls/itss enable_itss
22037 wine_fn_config_makefile dlls/itss/tests enable_tests
22038 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22039 wine_fn_config_makefile dlls/jscript enable_jscript
22040 wine_fn_config_makefile dlls/jscript/tests enable_tests
22041 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22042 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22043 wine_fn_config_makefile dlls/kerberos enable_kerberos
22044 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22045 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22046 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22047 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22048 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22049 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22050 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22051 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22052 wine_fn_config_makefile dlls/ksuser enable_ksuser
22053 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22054 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22055 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22056 wine_fn_config_makefile dlls/loadperf enable_loadperf
22057 wine_fn_config_makefile dlls/localspl enable_localspl
22058 wine_fn_config_makefile dlls/localspl/tests enable_tests
22059 wine_fn_config_makefile dlls/localui enable_localui
22060 wine_fn_config_makefile dlls/localui/tests enable_tests
22061 wine_fn_config_makefile dlls/lz32 enable_lz32
22062 wine_fn_config_makefile dlls/lz32/tests enable_tests
22063 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22064 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22065 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22066 wine_fn_config_makefile dlls/mapistub enable_mapistub
22067 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22068 wine_fn_config_makefile dlls/mcicda enable_mcicda
22069 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22070 wine_fn_config_makefile dlls/mciseq enable_mciseq
22071 wine_fn_config_makefile dlls/mciwave enable_mciwave
22072 wine_fn_config_makefile dlls/mf enable_mf
22073 wine_fn_config_makefile dlls/mf/tests enable_tests
22074 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22075 wine_fn_config_makefile dlls/mferror enable_mferror
22076 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22077 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22078 wine_fn_config_makefile dlls/mfplat enable_mfplat
22079 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22080 wine_fn_config_makefile dlls/mfplay enable_mfplay
22081 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22082 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22083 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22084 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22085 wine_fn_config_makefile dlls/midimap enable_midimap
22086 wine_fn_config_makefile dlls/mlang enable_mlang
22087 wine_fn_config_makefile dlls/mlang/tests enable_tests
22088 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22089 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22090 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22091 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22092 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22093 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22094 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22095 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22096 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22097 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22098 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22099 wine_fn_config_makefile dlls/mpr enable_mpr
22100 wine_fn_config_makefile dlls/mpr/tests enable_tests
22101 wine_fn_config_makefile dlls/mprapi enable_mprapi
22102 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22103 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22104 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22105 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22106 wine_fn_config_makefile dlls/msado15 enable_msado15
22107 wine_fn_config_makefile dlls/msado15/tests enable_tests
22108 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22109 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22110 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22111 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22112 wine_fn_config_makefile dlls/mscms enable_mscms
22113 wine_fn_config_makefile dlls/mscms/tests enable_tests
22114 wine_fn_config_makefile dlls/mscoree enable_mscoree
22115 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22116 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22117 wine_fn_config_makefile dlls/msctf enable_msctf
22118 wine_fn_config_makefile dlls/msctf/tests enable_tests
22119 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22120 wine_fn_config_makefile dlls/msctfp enable_msctfp
22121 wine_fn_config_makefile dlls/msdaps enable_msdaps
22122 wine_fn_config_makefile dlls/msdasql enable_msdasql
22123 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22124 wine_fn_config_makefile dlls/msdelta enable_msdelta
22125 wine_fn_config_makefile dlls/msdmo enable_msdmo
22126 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22127 wine_fn_config_makefile dlls/msdrm enable_msdrm
22128 wine_fn_config_makefile dlls/msftedit enable_msftedit
22129 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22130 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22131 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22132 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22133 wine_fn_config_makefile dlls/mshtml enable_mshtml
22134 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22135 wine_fn_config_makefile dlls/msi enable_msi
22136 wine_fn_config_makefile dlls/msi/tests enable_tests
22137 wine_fn_config_makefile dlls/msident enable_msident
22138 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22139 wine_fn_config_makefile dlls/msimsg enable_msimsg
22140 wine_fn_config_makefile dlls/msimtf enable_msimtf
22141 wine_fn_config_makefile dlls/msisip enable_msisip
22142 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22143 wine_fn_config_makefile dlls/msls31 enable_msls31
22144 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22145 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22146 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22147 wine_fn_config_makefile dlls/msports enable_msports
22148 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22149 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22150 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22151 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22152 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22153 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22154 wine_fn_config_makefile dlls/mstask enable_mstask
22155 wine_fn_config_makefile dlls/mstask/tests enable_tests
22156 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22157 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22158 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22159 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22160 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22161 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22162 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22163 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22164 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22165 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22166 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22167 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22168 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22169 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22170 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22171 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22172 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22173 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22174 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22175 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22176 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22177 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22178 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22179 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22180 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22181 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22182 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22183 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22184 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22185 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22186 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22187 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22188 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22189 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22190 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22191 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22192 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22193 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22194 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22195 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22196 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22197 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22198 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22199 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22200 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22201 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22202 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22203 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22204 wine_fn_config_makefile dlls/mswsock enable_mswsock
22205 wine_fn_config_makefile dlls/msxml enable_msxml
22206 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22207 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22208 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22209 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22210 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22211 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22212 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22213 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22214 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22215 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22216 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22217 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22218 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22219 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22220 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22221 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22222 wine_fn_config_makefile dlls/netprofm enable_netprofm
22223 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22224 wine_fn_config_makefile dlls/netutils enable_netutils
22225 wine_fn_config_makefile dlls/newdev enable_newdev
22226 wine_fn_config_makefile dlls/ninput enable_ninput
22227 wine_fn_config_makefile dlls/ninput/tests enable_tests
22228 wine_fn_config_makefile dlls/normaliz enable_normaliz
22229 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22230 wine_fn_config_makefile dlls/npptools enable_npptools
22231 wine_fn_config_makefile dlls/nsi enable_nsi
22232 wine_fn_config_makefile dlls/nsi/tests enable_tests
22233 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22234 wine_fn_config_makefile dlls/ntdll enable_ntdll
22235 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22236 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22237 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22238 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22239 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22240 wine_fn_config_makefile dlls/ntprint enable_ntprint
22241 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22242 wine_fn_config_makefile dlls/objsel enable_objsel
22243 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22244 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22245 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22246 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22247 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22248 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22249 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22250 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22251 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22252 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22253 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22254 wine_fn_config_makefile dlls/ole32 enable_ole32
22255 wine_fn_config_makefile dlls/ole32/tests enable_tests
22256 wine_fn_config_makefile dlls/oleacc enable_oleacc
22257 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22258 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22259 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22260 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22261 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22262 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22263 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22264 wine_fn_config_makefile dlls/oledlg enable_oledlg
22265 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22266 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22267 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22268 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22269 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22270 wine_fn_config_makefile dlls/opcservices enable_opcservices
22271 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22272 wine_fn_config_makefile dlls/openal32 enable_openal32
22273 wine_fn_config_makefile dlls/opencl enable_opencl
22274 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22275 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22276 wine_fn_config_makefile dlls/packager enable_packager
22277 wine_fn_config_makefile dlls/packager/tests enable_tests
22278 wine_fn_config_makefile dlls/pdh enable_pdh
22279 wine_fn_config_makefile dlls/pdh/tests enable_tests
22280 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22281 wine_fn_config_makefile dlls/pidgen enable_pidgen
22282 wine_fn_config_makefile dlls/powrprof enable_powrprof
22283 wine_fn_config_makefile dlls/printui enable_printui
22284 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22285 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22286 wine_fn_config_makefile dlls/propsys enable_propsys
22287 wine_fn_config_makefile dlls/propsys/tests enable_tests
22288 wine_fn_config_makefile dlls/psapi enable_psapi
22289 wine_fn_config_makefile dlls/psapi/tests enable_tests
22290 wine_fn_config_makefile dlls/pstorec enable_pstorec
22291 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22292 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22293 wine_fn_config_makefile dlls/qasf enable_qasf
22294 wine_fn_config_makefile dlls/qasf/tests enable_tests
22295 wine_fn_config_makefile dlls/qcap enable_qcap
22296 wine_fn_config_makefile dlls/qcap/tests enable_tests
22297 wine_fn_config_makefile dlls/qdvd enable_qdvd
22298 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22299 wine_fn_config_makefile dlls/qedit enable_qedit
22300 wine_fn_config_makefile dlls/qedit/tests enable_tests
22301 wine_fn_config_makefile dlls/qmgr enable_qmgr
22302 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22303 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22304 wine_fn_config_makefile dlls/quartz enable_quartz
22305 wine_fn_config_makefile dlls/quartz/tests enable_tests
22306 wine_fn_config_makefile dlls/query enable_query
22307 wine_fn_config_makefile dlls/qwave enable_qwave
22308 wine_fn_config_makefile dlls/qwave/tests enable_tests
22309 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22310 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22311 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22312 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22313 wine_fn_config_makefile dlls/regapi enable_regapi
22314 wine_fn_config_makefile dlls/resutils enable_resutils
22315 wine_fn_config_makefile dlls/riched20 enable_riched20
22316 wine_fn_config_makefile dlls/riched20/tests enable_tests
22317 wine_fn_config_makefile dlls/riched32 enable_riched32
22318 wine_fn_config_makefile dlls/riched32/tests enable_tests
22319 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22320 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22321 wine_fn_config_makefile dlls/rsabase enable_rsabase
22322 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22323 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22324 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22325 wine_fn_config_makefile dlls/rtutils enable_rtutils
22326 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22327 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22328 wine_fn_config_makefile dlls/samlib enable_samlib
22329 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22330 wine_fn_config_makefile dlls/sapi enable_sapi
22331 wine_fn_config_makefile dlls/sapi/tests enable_tests
22332 wine_fn_config_makefile dlls/sas enable_sas
22333 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22334 wine_fn_config_makefile dlls/sccbase enable_sccbase
22335 wine_fn_config_makefile dlls/schannel enable_schannel
22336 wine_fn_config_makefile dlls/schannel/tests enable_tests
22337 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22338 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22339 wine_fn_config_makefile dlls/scrobj enable_scrobj
22340 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22341 wine_fn_config_makefile dlls/scrrun enable_scrrun
22342 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22343 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22344 wine_fn_config_makefile dlls/sechost enable_sechost
22345 wine_fn_config_makefile dlls/secur32 enable_secur32
22346 wine_fn_config_makefile dlls/secur32/tests enable_tests
22347 wine_fn_config_makefile dlls/security enable_security
22348 wine_fn_config_makefile dlls/sensapi enable_sensapi
22349 wine_fn_config_makefile dlls/serialui enable_serialui
22350 wine_fn_config_makefile dlls/serialui/tests enable_tests
22351 wine_fn_config_makefile dlls/setupapi enable_setupapi
22352 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22353 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22354 wine_fn_config_makefile dlls/sfc enable_sfc
22355 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22356 wine_fn_config_makefile dlls/shcore enable_shcore
22357 wine_fn_config_makefile dlls/shcore/tests enable_tests
22358 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22359 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22360 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22361 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22362 wine_fn_config_makefile dlls/shell32 enable_shell32
22363 wine_fn_config_makefile dlls/shell32/tests enable_tests
22364 wine_fn_config_makefile dlls/shfolder enable_shfolder
22365 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22366 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22367 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22368 wine_fn_config_makefile dlls/slc enable_slc
22369 wine_fn_config_makefile dlls/slc/tests enable_tests
22370 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22371 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22372 wine_fn_config_makefile dlls/softpub enable_softpub
22373 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22374 wine_fn_config_makefile dlls/spoolss enable_spoolss
22375 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22376 wine_fn_config_makefile dlls/sppc enable_sppc
22377 wine_fn_config_makefile dlls/srclient enable_srclient
22378 wine_fn_config_makefile dlls/srvcli enable_srvcli
22379 wine_fn_config_makefile dlls/sspicli enable_sspicli
22380 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22381 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22382 wine_fn_config_makefile dlls/sti enable_sti
22383 wine_fn_config_makefile dlls/sti/tests enable_tests
22384 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22385 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22386 wine_fn_config_makefile dlls/strmdll enable_strmdll
22387 wine_fn_config_makefile dlls/svrapi enable_svrapi
22388 wine_fn_config_makefile dlls/sxs enable_sxs
22389 wine_fn_config_makefile dlls/sxs/tests enable_tests
22390 wine_fn_config_makefile dlls/system.drv16 enable_win16
22391 wine_fn_config_makefile dlls/t2embed enable_t2embed
22392 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22393 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22394 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22395 wine_fn_config_makefile dlls/taskschd enable_taskschd
22396 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22397 wine_fn_config_makefile dlls/tbs enable_tbs
22398 wine_fn_config_makefile dlls/tdh enable_tdh
22399 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22400 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22401 wine_fn_config_makefile dlls/traffic enable_traffic
22402 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22403 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22404 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22405 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22406 wine_fn_config_makefile dlls/tzres enable_tzres
22407 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22408 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22409 wine_fn_config_makefile dlls/uianimation enable_uianimation
22410 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22411 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22412 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22413 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22414 wine_fn_config_makefile dlls/unicows enable_unicows
22415 wine_fn_config_makefile dlls/updspapi enable_updspapi
22416 wine_fn_config_makefile dlls/url enable_url
22417 wine_fn_config_makefile dlls/urlmon enable_urlmon
22418 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22419 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22420 wine_fn_config_makefile dlls/user.exe16 enable_win16
22421 wine_fn_config_makefile dlls/user32 enable_user32
22422 wine_fn_config_makefile dlls/user32/tests enable_tests
22423 wine_fn_config_makefile dlls/userenv enable_userenv
22424 wine_fn_config_makefile dlls/userenv/tests enable_tests
22425 wine_fn_config_makefile dlls/usp10 enable_usp10
22426 wine_fn_config_makefile dlls/usp10/tests enable_tests
22427 wine_fn_config_makefile dlls/utildll enable_utildll
22428 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22429 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22430 wine_fn_config_makefile dlls/vbscript enable_vbscript
22431 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22432 wine_fn_config_makefile dlls/vcomp enable_vcomp
22433 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22434 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22435 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22436 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22437 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22438 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22439 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22440 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22441 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22442 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22443 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22444 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22445 wine_fn_config_makefile dlls/version enable_version
22446 wine_fn_config_makefile dlls/version/tests enable_tests
22447 wine_fn_config_makefile dlls/vga enable_vga
22448 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22449 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22450 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22451 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22452 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22453 wine_fn_config_makefile dlls/vssapi enable_vssapi
22454 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22455 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22456 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22457 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22458 wine_fn_config_makefile dlls/w32skrnl enable_win16
22459 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22460 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22461 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22462 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22463 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22464 wine_fn_config_makefile dlls/wdscore enable_wdscore
22465 wine_fn_config_makefile dlls/webservices enable_webservices
22466 wine_fn_config_makefile dlls/webservices/tests enable_tests
22467 wine_fn_config_makefile dlls/websocket enable_websocket
22468 wine_fn_config_makefile dlls/wer enable_wer
22469 wine_fn_config_makefile dlls/wer/tests enable_tests
22470 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22471 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22472 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22473 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22474 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22475 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22476 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22477 wine_fn_config_makefile dlls/win32u enable_win32u
22478 wine_fn_config_makefile dlls/win32u/tests enable_tests
22479 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22480 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22481 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22482 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22483 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22484 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22485 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22486 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22487 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22488 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22489 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22490 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22491 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22492 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22493 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22494 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22495 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22496 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22497 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22498 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22499 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22500 wine_fn_config_makefile dlls/wined3d enable_wined3d
22501 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22502 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22503 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22504 wine_fn_config_makefile dlls/winemapi enable_winemapi
22505 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22506 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22507 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22508 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22509 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22510 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22511 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22512 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22513 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22514 wine_fn_config_makefile dlls/wing32 enable_wing32
22515 wine_fn_config_makefile dlls/winhttp enable_winhttp
22516 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22517 wine_fn_config_makefile dlls/wininet enable_wininet
22518 wine_fn_config_makefile dlls/wininet/tests enable_tests
22519 wine_fn_config_makefile dlls/winmm enable_winmm
22520 wine_fn_config_makefile dlls/winmm/tests enable_tests
22521 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22522 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22523 wine_fn_config_makefile dlls/winscard enable_winscard
22524 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22525 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22526 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22527 wine_fn_config_makefile dlls/winsta enable_winsta
22528 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22529 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22530 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22531 wine_fn_config_makefile dlls/wintrust enable_wintrust
22532 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22533 wine_fn_config_makefile dlls/winusb enable_winusb
22534 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22535 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22536 wine_fn_config_makefile dlls/wlanui enable_wlanui
22537 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22538 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22539 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
22540 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
22541 wine_fn_config_makefile dlls/wmasf enable_wmasf
22542 wine_fn_config_makefile dlls/wmi enable_wmi
22543 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22544 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22545 wine_fn_config_makefile dlls/wmp enable_wmp
22546 wine_fn_config_makefile dlls/wmp/tests enable_tests
22547 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22548 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22549 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22550 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22551 wine_fn_config_makefile dlls/wow32 enable_win16
22552 wine_fn_config_makefile dlls/wow64 enable_wow64
22553 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22554 wine_fn_config_makefile dlls/wow64win enable_wow64win
22555 wine_fn_config_makefile dlls/wpc enable_wpc
22556 wine_fn_config_makefile dlls/wpc/tests enable_tests
22557 wine_fn_config_makefile dlls/wpcap enable_wpcap
22558 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22559 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22560 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22561 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22562 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22563 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22564 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22565 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22566 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22567 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22568 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22569 wine_fn_config_makefile dlls/wuapi enable_wuapi
22570 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22571 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22572 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22573 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22574 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22575 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22576 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22577 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22578 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22579 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22580 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22581 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22582 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22583 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22584 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22585 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22586 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22587 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22588 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22589 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22590 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22591 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22592 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22593 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22594 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22595 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22596 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22597 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22598 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22599 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22600 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22601 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22602 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22603 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22604 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22605 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22606 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22607 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22608 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22609 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22610 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22611 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22612 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22613 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22614 wine_fn_config_makefile dlls/xmllite enable_xmllite
22615 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22616 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22617 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22618 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22619 wine_fn_config_makefile fonts enable_fonts
22620 wine_fn_config_makefile include enable_include
22621 wine_fn_config_makefile libs/adsiid enable_adsiid
22622 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22623 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22624 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22625 wine_fn_config_makefile libs/dxguid enable_dxguid
22626 wine_fn_config_makefile libs/faudio enable_faudio
22627 wine_fn_config_makefile libs/gsm enable_gsm
22628 wine_fn_config_makefile libs/jpeg enable_jpeg
22629 wine_fn_config_makefile libs/jxr enable_jxr
22630 wine_fn_config_makefile libs/lcms2 enable_lcms2
22631 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22632 wine_fn_config_makefile libs/mpg123 enable_mpg123
22633 wine_fn_config_makefile libs/png enable_png
22634 wine_fn_config_makefile libs/strmbase enable_strmbase
22635 wine_fn_config_makefile libs/strmiids enable_strmiids
22636 wine_fn_config_makefile libs/tiff enable_tiff
22637 wine_fn_config_makefile libs/uuid enable_uuid
22638 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22639 wine_fn_config_makefile libs/wine enable_wine
22640 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22641 wine_fn_config_makefile libs/xml2 enable_xml2
22642 wine_fn_config_makefile libs/xslt enable_xslt
22643 wine_fn_config_makefile libs/zlib enable_zlib
22644 wine_fn_config_makefile loader enable_loader
22645 wine_fn_config_makefile nls enable_nls
22646 wine_fn_config_makefile po enable_po
22647 wine_fn_config_makefile programs/arp enable_arp
22648 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22649 wine_fn_config_makefile programs/attrib enable_attrib
22650 wine_fn_config_makefile programs/cabarc enable_cabarc
22651 wine_fn_config_makefile programs/cacls enable_cacls
22652 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22653 wine_fn_config_makefile programs/clock enable_clock
22654 wine_fn_config_makefile programs/cmd enable_cmd
22655 wine_fn_config_makefile programs/cmd/tests enable_tests
22656 wine_fn_config_makefile programs/conhost enable_conhost
22657 wine_fn_config_makefile programs/conhost/tests enable_tests
22658 wine_fn_config_makefile programs/control enable_control
22659 wine_fn_config_makefile programs/cscript enable_cscript
22660 wine_fn_config_makefile programs/dism enable_dism
22661 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22662 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22663 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22664 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22665 wine_fn_config_makefile programs/eject enable_eject
22666 wine_fn_config_makefile programs/expand enable_expand
22667 wine_fn_config_makefile programs/explorer enable_explorer
22668 wine_fn_config_makefile programs/extrac32 enable_extrac32
22669 wine_fn_config_makefile programs/fc enable_fc
22670 wine_fn_config_makefile programs/find enable_find
22671 wine_fn_config_makefile programs/find/tests enable_tests
22672 wine_fn_config_makefile programs/findstr enable_findstr
22673 wine_fn_config_makefile programs/fsutil enable_fsutil
22674 wine_fn_config_makefile programs/fsutil/tests enable_tests
22675 wine_fn_config_makefile programs/hh enable_hh
22676 wine_fn_config_makefile programs/hostname enable_hostname
22677 wine_fn_config_makefile programs/icacls enable_icacls
22678 wine_fn_config_makefile programs/icinfo enable_icinfo
22679 wine_fn_config_makefile programs/iexplore enable_iexplore
22680 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22681 wine_fn_config_makefile programs/lodctr enable_lodctr
22682 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22683 wine_fn_config_makefile programs/mshta enable_mshta
22684 wine_fn_config_makefile programs/msidb enable_msidb
22685 wine_fn_config_makefile programs/msiexec enable_msiexec
22686 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22687 wine_fn_config_makefile programs/net enable_net
22688 wine_fn_config_makefile programs/netsh enable_netsh
22689 wine_fn_config_makefile programs/netstat enable_netstat
22690 wine_fn_config_makefile programs/ngen enable_ngen
22691 wine_fn_config_makefile programs/notepad enable_notepad
22692 wine_fn_config_makefile programs/oleview enable_oleview
22693 wine_fn_config_makefile programs/ping enable_ping
22694 wine_fn_config_makefile programs/plugplay enable_plugplay
22695 wine_fn_config_makefile programs/powershell enable_powershell
22696 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22697 wine_fn_config_makefile programs/progman enable_progman
22698 wine_fn_config_makefile programs/reg enable_reg
22699 wine_fn_config_makefile programs/reg/tests enable_tests
22700 wine_fn_config_makefile programs/regasm enable_regasm
22701 wine_fn_config_makefile programs/regedit enable_regedit
22702 wine_fn_config_makefile programs/regedit/tests enable_tests
22703 wine_fn_config_makefile programs/regini enable_regini
22704 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22705 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22706 wine_fn_config_makefile programs/robocopy enable_robocopy
22707 wine_fn_config_makefile programs/rpcss enable_rpcss
22708 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22709 wine_fn_config_makefile programs/rundll32 enable_rundll32
22710 wine_fn_config_makefile programs/sc enable_sc
22711 wine_fn_config_makefile programs/schtasks enable_schtasks
22712 wine_fn_config_makefile programs/schtasks/tests enable_tests
22713 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22714 wine_fn_config_makefile programs/secedit enable_secedit
22715 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22716 wine_fn_config_makefile programs/services enable_services
22717 wine_fn_config_makefile programs/services/tests enable_tests
22718 wine_fn_config_makefile programs/shutdown enable_shutdown
22719 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22720 wine_fn_config_makefile programs/start enable_start
22721 wine_fn_config_makefile programs/subst enable_subst
22722 wine_fn_config_makefile programs/svchost enable_svchost
22723 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22724 wine_fn_config_makefile programs/taskkill enable_taskkill
22725 wine_fn_config_makefile programs/tasklist enable_tasklist
22726 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22727 wine_fn_config_makefile programs/termsv enable_termsv
22728 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22729 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22730 wine_fn_config_makefile programs/view enable_view
22731 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22732 wine_fn_config_makefile programs/where enable_where
22733 wine_fn_config_makefile programs/whoami enable_whoami
22734 wine_fn_config_makefile programs/wineboot enable_wineboot
22735 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22736 wine_fn_config_makefile programs/winecfg enable_winecfg
22737 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22738 wine_fn_config_makefile programs/winedbg enable_winedbg
22739 wine_fn_config_makefile programs/winedevice enable_winedevice
22740 wine_fn_config_makefile programs/winefile enable_winefile
22741 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22742 wine_fn_config_makefile programs/winemine enable_winemine
22743 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22744 wine_fn_config_makefile programs/winepath enable_winepath
22745 wine_fn_config_makefile programs/winetest enable_winetest
22746 wine_fn_config_makefile programs/winevdm enable_win16
22747 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22748 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22749 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22750 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22751 wine_fn_config_makefile programs/winver enable_winver
22752 wine_fn_config_makefile programs/wmic enable_wmic
22753 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22754 wine_fn_config_makefile programs/wordpad enable_wordpad
22755 wine_fn_config_makefile programs/write enable_write
22756 wine_fn_config_makefile programs/wscript enable_wscript
22757 wine_fn_config_makefile programs/wscript/tests enable_tests
22758 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22759 wine_fn_config_makefile programs/wusa enable_wusa
22760 wine_fn_config_makefile programs/xcopy enable_xcopy
22761 wine_fn_config_makefile programs/xcopy/tests enable_tests
22762 wine_fn_config_makefile server enable_server
22763 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22764 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22765 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22766 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22767 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22768 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22769 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22770 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22771 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22774 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22775 wine_fn_append_file CONFIGURE_TARGETS "tags"
22776 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22777 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22778 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22779 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22780 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22781 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22783 if test "x$enable_tools" != xno
22784 then
22785 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22786 ac_config_commands="$ac_config_commands tools/makedep"
22790 ac_config_commands="$ac_config_commands Makefile"
22794 SHELL=/bin/sh
22797 wine_fn_append_rule "all: wine
22798 @echo \"Wine build complete.\"
22799 .INIT: Makefile
22800 .MAKEFILEDEPS:
22801 all: Makefile
22802 Makefile: config.status \$(MAKEDEP)
22803 @./config.status Makefile
22804 depend: \$(MAKEDEP)
22805 \$(MAKEDEP)$makedep_flags"
22808 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22809 @./config.status --recheck
22810 include/config.h: include/stamp-h
22811 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22812 @./config.status include/config.h include/stamp-h"
22814 if test "x$enable_maintainer_mode" = xyes
22815 then
22816 wine_fn_append_rule "configure: configure.ac aclocal.m4
22817 autoconf --warnings=all
22818 include/config.h.in: include/stamp-h.in
22819 include/stamp-h.in: configure.ac aclocal.m4
22820 autoheader --warnings=all
22821 @echo timestamp > \$@"
22824 if test "x$enable_tools" != xno
22825 then
22826 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22827 @./config.status tools/makedep
22828 Makefile: tools/makedep$ac_exeext"
22829 else
22830 wine_fn_append_rule "\$(MAKEDEP):
22831 @echo \"You need to run make in $toolsdir first\" && false"
22835 if test -n "$with_wine64"
22836 then
22837 case "$with_wine64" in
22838 /*) reldir="" ;;
22839 *) reldir="../" ;;
22840 esac
22841 rm -f fonts server 2>/dev/null
22842 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22843 loader/wine64 loader/wine64-preloader:
22844 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22845 $with_wine64/loader/wine:
22846 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22847 $with_wine64/loader/wine-preloader:
22848 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22849 clean::
22850 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22851 else
22852 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22853 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22854 fonts \
22855 loader/wine.inf \
22856 nls \
22857 programs/msidb/msidb \
22858 programs/msiexec/msiexec \
22859 programs/notepad/notepad \
22860 programs/regedit/regedit \
22861 programs/regsvr32/regsvr32 \
22862 programs/wineboot/wineboot \
22863 programs/winecfg/winecfg \
22864 programs/wineconsole/wineconsole \
22865 programs/winedbg/winedbg \
22866 programs/winefile/winefile \
22867 programs/winemine/winemine \
22868 programs/winepath/winepath \
22869 server/wineserver"
22871 case $host_os in
22872 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22873 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22874 esac
22878 wine_fn_append_rule "distclean:: clean
22879 rm -rf autom4te.cache
22880 maintainer-clean::
22881 rm -f configure include/config.h.in"
22884 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22885 @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)
22886 programs/winetest/build.rc: dummy
22887 @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)
22888 programs/winetest/build.nfo:
22889 @-\$(CC) -v 2>\$@
22890 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
22891 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22892 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22895 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22897 wine_fn_append_rule "TAGS etags:
22898 rm -f TAGS
22899 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22900 tags ctags:
22901 rm -f tags
22902 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22903 dummy:
22904 .PHONY: depend dummy install-manpages"
22906 printf "%s\n" " done" >&6
22907 cat >confcache <<\_ACEOF
22908 # This file is a shell script that caches the results of configure
22909 # tests run on this system so they can be shared between configure
22910 # scripts and configure runs, see configure's option --config-cache.
22911 # It is not useful on other systems. If it contains results you don't
22912 # want to keep, you may remove or edit it.
22914 # config.status only pays attention to the cache file if you give it
22915 # the --recheck option to rerun configure.
22917 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22918 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22919 # following values.
22921 _ACEOF
22923 # The following way of writing the cache mishandles newlines in values,
22924 # but we know of no workaround that is simple, portable, and efficient.
22925 # So, we kill variables containing newlines.
22926 # Ultrix sh set writes to stderr and can't be redirected directly,
22927 # and sets the high bit in the cache file unless we assign to the vars.
22929 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22930 eval ac_val=\$$ac_var
22931 case $ac_val in #(
22932 *${as_nl}*)
22933 case $ac_var in #(
22934 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22935 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22936 esac
22937 case $ac_var in #(
22938 _ | IFS | as_nl) ;; #(
22939 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22940 *) { eval $ac_var=; unset $ac_var;} ;;
22941 esac ;;
22942 esac
22943 done
22945 (set) 2>&1 |
22946 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22947 *${as_nl}ac_space=\ *)
22948 # `set' does not quote correctly, so add quotes: double-quote
22949 # substitution turns \\\\ into \\, and sed turns \\ into \.
22950 sed -n \
22951 "s/'/'\\\\''/g;
22952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22953 ;; #(
22955 # `set' quotes correctly as required by POSIX, so do not add quotes.
22956 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22958 esac |
22959 sort
22961 sed '
22962 /^ac_cv_env_/b end
22963 t clear
22964 :clear
22965 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22966 t end
22967 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22968 :end' >>confcache
22969 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22970 if test -w "$cache_file"; then
22971 if test "x$cache_file" != "x/dev/null"; then
22972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22973 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22974 if test ! -f "$cache_file" || test -h "$cache_file"; then
22975 cat confcache >"$cache_file"
22976 else
22977 case $cache_file in #(
22978 */* | ?:*)
22979 mv -f confcache "$cache_file"$$ &&
22980 mv -f "$cache_file"$$ "$cache_file" ;; #(
22982 mv -f confcache "$cache_file" ;;
22983 esac
22986 else
22987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22988 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22991 rm -f confcache
22993 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22994 # Let make expand exec_prefix.
22995 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22997 DEFS=-DHAVE_CONFIG_H
22999 ac_libobjs=
23000 ac_ltlibobjs=
23002 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23003 # 1. Remove the extension, and $U if already installed.
23004 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23005 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23006 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23007 # will be set to the directory where LIBOBJS objects are built.
23008 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23009 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23010 done
23011 LIBOBJS=$ac_libobjs
23013 LTLIBOBJS=$ac_ltlibobjs
23017 : "${CONFIG_STATUS=./config.status}"
23018 ac_write_fail=0
23019 ac_clean_files_save=$ac_clean_files
23020 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23022 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23023 as_write_fail=0
23024 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23025 #! $SHELL
23026 # Generated by $as_me.
23027 # Run this file to recreate the current configuration.
23028 # Compiler output produced by configure, useful for debugging
23029 # configure, is in config.log if it exists.
23031 debug=false
23032 ac_cs_recheck=false
23033 ac_cs_silent=false
23035 SHELL=\${CONFIG_SHELL-$SHELL}
23036 export SHELL
23037 _ASEOF
23038 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23039 ## -------------------- ##
23040 ## M4sh Initialization. ##
23041 ## -------------------- ##
23043 # Be more Bourne compatible
23044 DUALCASE=1; export DUALCASE # for MKS sh
23045 as_nop=:
23046 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23047 then :
23048 emulate sh
23049 NULLCMD=:
23050 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23051 # is contrary to our usage. Disable this feature.
23052 alias -g '${1+"$@"}'='"$@"'
23053 setopt NO_GLOB_SUBST
23054 else $as_nop
23055 case `(set -o) 2>/dev/null` in #(
23056 *posix*) :
23057 set -o posix ;; #(
23058 *) :
23060 esac
23065 # Reset variables that may have inherited troublesome values from
23066 # the environment.
23068 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23069 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23070 # side effect of setting IFS to empty, thus disabling word splitting.)
23071 # Quoting is to prevent editors from complaining about space-tab.
23072 as_nl='
23074 export as_nl
23075 IFS=" "" $as_nl"
23077 PS1='$ '
23078 PS2='> '
23079 PS4='+ '
23081 # Ensure predictable behavior from utilities with locale-dependent output.
23082 LC_ALL=C
23083 export LC_ALL
23084 LANGUAGE=C
23085 export LANGUAGE
23087 # We cannot yet rely on "unset" to work, but we need these variables
23088 # to be unset--not just set to an empty or harmless value--now, to
23089 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23090 # also avoids known problems related to "unset" and subshell syntax
23091 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23092 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23093 do eval test \${$as_var+y} \
23094 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23095 done
23097 # Ensure that fds 0, 1, and 2 are open.
23098 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23099 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23100 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23102 # The user is always right.
23103 if ${PATH_SEPARATOR+false} :; then
23104 PATH_SEPARATOR=:
23105 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23106 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23107 PATH_SEPARATOR=';'
23112 # Find who we are. Look in the path if we contain no directory separator.
23113 as_myself=
23114 case $0 in #((
23115 *[\\/]* ) as_myself=$0 ;;
23116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23117 for as_dir in $PATH
23119 IFS=$as_save_IFS
23120 case $as_dir in #(((
23121 '') as_dir=./ ;;
23122 */) ;;
23123 *) as_dir=$as_dir/ ;;
23124 esac
23125 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23126 done
23127 IFS=$as_save_IFS
23130 esac
23131 # We did not find ourselves, most probably we were run as `sh COMMAND'
23132 # in which case we are not to be found in the path.
23133 if test "x$as_myself" = x; then
23134 as_myself=$0
23136 if test ! -f "$as_myself"; then
23137 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23138 exit 1
23143 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23144 # ----------------------------------------
23145 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23146 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23147 # script with STATUS, using 1 if that was 0.
23148 as_fn_error ()
23150 as_status=$1; test $as_status -eq 0 && as_status=1
23151 if test "$4"; then
23152 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23155 printf "%s\n" "$as_me: error: $2" >&2
23156 as_fn_exit $as_status
23157 } # as_fn_error
23161 # as_fn_set_status STATUS
23162 # -----------------------
23163 # Set $? to STATUS, without forking.
23164 as_fn_set_status ()
23166 return $1
23167 } # as_fn_set_status
23169 # as_fn_exit STATUS
23170 # -----------------
23171 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23172 as_fn_exit ()
23174 set +e
23175 as_fn_set_status $1
23176 exit $1
23177 } # as_fn_exit
23179 # as_fn_unset VAR
23180 # ---------------
23181 # Portably unset VAR.
23182 as_fn_unset ()
23184 { eval $1=; unset $1;}
23186 as_unset=as_fn_unset
23188 # as_fn_append VAR VALUE
23189 # ----------------------
23190 # Append the text in VALUE to the end of the definition contained in VAR. Take
23191 # advantage of any shell optimizations that allow amortized linear growth over
23192 # repeated appends, instead of the typical quadratic growth present in naive
23193 # implementations.
23194 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23195 then :
23196 eval 'as_fn_append ()
23198 eval $1+=\$2
23200 else $as_nop
23201 as_fn_append ()
23203 eval $1=\$$1\$2
23205 fi # as_fn_append
23207 # as_fn_arith ARG...
23208 # ------------------
23209 # Perform arithmetic evaluation on the ARGs, and store the result in the
23210 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23211 # must be portable across $(()) and expr.
23212 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23213 then :
23214 eval 'as_fn_arith ()
23216 as_val=$(( $* ))
23218 else $as_nop
23219 as_fn_arith ()
23221 as_val=`expr "$@" || test $? -eq 1`
23223 fi # as_fn_arith
23226 if expr a : '\(a\)' >/dev/null 2>&1 &&
23227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23228 as_expr=expr
23229 else
23230 as_expr=false
23233 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23234 as_basename=basename
23235 else
23236 as_basename=false
23239 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23240 as_dirname=dirname
23241 else
23242 as_dirname=false
23245 as_me=`$as_basename -- "$0" ||
23246 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23247 X"$0" : 'X\(//\)$' \| \
23248 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23249 printf "%s\n" X/"$0" |
23250 sed '/^.*\/\([^/][^/]*\)\/*$/{
23251 s//\1/
23254 /^X\/\(\/\/\)$/{
23255 s//\1/
23258 /^X\/\(\/\).*/{
23259 s//\1/
23262 s/.*/./; q'`
23264 # Avoid depending upon Character Ranges.
23265 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23266 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23267 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23268 as_cr_digits='0123456789'
23269 as_cr_alnum=$as_cr_Letters$as_cr_digits
23272 # Determine whether it's possible to make 'echo' print without a newline.
23273 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23274 # for compatibility with existing Makefiles.
23275 ECHO_C= ECHO_N= ECHO_T=
23276 case `echo -n x` in #(((((
23277 -n*)
23278 case `echo 'xy\c'` in
23279 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23280 xy) ECHO_C='\c';;
23281 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23282 ECHO_T=' ';;
23283 esac;;
23285 ECHO_N='-n';;
23286 esac
23288 # For backward compatibility with old third-party macros, we provide
23289 # the shell variables $as_echo and $as_echo_n. New code should use
23290 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23291 as_echo='printf %s\n'
23292 as_echo_n='printf %s'
23294 rm -f conf$$ conf$$.exe conf$$.file
23295 if test -d conf$$.dir; then
23296 rm -f conf$$.dir/conf$$.file
23297 else
23298 rm -f conf$$.dir
23299 mkdir conf$$.dir 2>/dev/null
23301 if (echo >conf$$.file) 2>/dev/null; then
23302 if ln -s conf$$.file conf$$ 2>/dev/null; then
23303 as_ln_s='ln -s'
23304 # ... but there are two gotchas:
23305 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23306 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23307 # In both cases, we have to default to `cp -pR'.
23308 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23309 as_ln_s='cp -pR'
23310 elif ln conf$$.file conf$$ 2>/dev/null; then
23311 as_ln_s=ln
23312 else
23313 as_ln_s='cp -pR'
23315 else
23316 as_ln_s='cp -pR'
23318 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23319 rmdir conf$$.dir 2>/dev/null
23322 # as_fn_mkdir_p
23323 # -------------
23324 # Create "$as_dir" as a directory, including parents if necessary.
23325 as_fn_mkdir_p ()
23328 case $as_dir in #(
23329 -*) as_dir=./$as_dir;;
23330 esac
23331 test -d "$as_dir" || eval $as_mkdir_p || {
23332 as_dirs=
23333 while :; do
23334 case $as_dir in #(
23335 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23336 *) as_qdir=$as_dir;;
23337 esac
23338 as_dirs="'$as_qdir' $as_dirs"
23339 as_dir=`$as_dirname -- "$as_dir" ||
23340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23341 X"$as_dir" : 'X\(//\)[^/]' \| \
23342 X"$as_dir" : 'X\(//\)$' \| \
23343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23344 printf "%s\n" X"$as_dir" |
23345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23346 s//\1/
23349 /^X\(\/\/\)[^/].*/{
23350 s//\1/
23353 /^X\(\/\/\)$/{
23354 s//\1/
23357 /^X\(\/\).*/{
23358 s//\1/
23361 s/.*/./; q'`
23362 test -d "$as_dir" && break
23363 done
23364 test -z "$as_dirs" || eval "mkdir $as_dirs"
23365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23368 } # as_fn_mkdir_p
23369 if mkdir -p . 2>/dev/null; then
23370 as_mkdir_p='mkdir -p "$as_dir"'
23371 else
23372 test -d ./-p && rmdir ./-p
23373 as_mkdir_p=false
23377 # as_fn_executable_p FILE
23378 # -----------------------
23379 # Test if FILE is an executable regular file.
23380 as_fn_executable_p ()
23382 test -f "$1" && test -x "$1"
23383 } # as_fn_executable_p
23384 as_test_x='test -x'
23385 as_executable_p=as_fn_executable_p
23387 # Sed expression to map a string onto a valid CPP name.
23388 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23390 # Sed expression to map a string onto a valid variable name.
23391 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23394 exec 6>&1
23395 ## ----------------------------------- ##
23396 ## Main body of $CONFIG_STATUS script. ##
23397 ## ----------------------------------- ##
23398 _ASEOF
23399 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23402 # Save the log message, to keep $0 and so on meaningful, and to
23403 # report actual input values of CONFIG_FILES etc. instead of their
23404 # values after options handling.
23405 ac_log="
23406 This file was extended by Wine $as_me 7.2, which was
23407 generated by GNU Autoconf 2.71. Invocation command line was
23409 CONFIG_FILES = $CONFIG_FILES
23410 CONFIG_HEADERS = $CONFIG_HEADERS
23411 CONFIG_LINKS = $CONFIG_LINKS
23412 CONFIG_COMMANDS = $CONFIG_COMMANDS
23413 $ $0 $@
23415 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23418 _ACEOF
23421 case $ac_config_headers in *"
23422 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23423 esac
23426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23427 # Files that config.status was made for.
23428 config_headers="$ac_config_headers"
23429 config_links="$ac_config_links"
23430 config_commands="$ac_config_commands"
23432 _ACEOF
23434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23435 ac_cs_usage="\
23436 \`$as_me' instantiates files and other configuration actions
23437 from templates according to the current configuration. Unless the files
23438 and actions are specified as TAGs, all are instantiated by default.
23440 Usage: $0 [OPTION]... [TAG]...
23442 -h, --help print this help, then exit
23443 -V, --version print version number and configuration settings, then exit
23444 --config print configuration, then exit
23445 -q, --quiet, --silent
23446 do not print progress messages
23447 -d, --debug don't remove temporary files
23448 --recheck update $as_me by reconfiguring in the same conditions
23449 --header=FILE[:TEMPLATE]
23450 instantiate the configuration header FILE
23452 Configuration headers:
23453 $config_headers
23455 Configuration links:
23456 $config_links
23458 Configuration commands:
23459 $config_commands
23461 Report bugs to <wine-devel@winehq.org>.
23462 Wine home page: <https://www.winehq.org>."
23464 _ACEOF
23465 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23466 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23468 ac_cs_config='$ac_cs_config_escaped'
23469 ac_cs_version="\\
23470 Wine config.status 7.2
23471 configured by $0, generated by GNU Autoconf 2.71,
23472 with options \\"\$ac_cs_config\\"
23474 Copyright (C) 2021 Free Software Foundation, Inc.
23475 This config.status script is free software; the Free Software Foundation
23476 gives unlimited permission to copy, distribute and modify it."
23478 ac_pwd='$ac_pwd'
23479 srcdir='$srcdir'
23480 test -n "\$AWK" || AWK=awk
23481 _ACEOF
23483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23484 # The default lists apply if the user does not specify any file.
23485 ac_need_defaults=:
23486 while test $# != 0
23488 case $1 in
23489 --*=?*)
23490 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23491 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23492 ac_shift=:
23494 --*=)
23495 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23496 ac_optarg=
23497 ac_shift=:
23500 ac_option=$1
23501 ac_optarg=$2
23502 ac_shift=shift
23504 esac
23506 case $ac_option in
23507 # Handling of the options.
23508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23509 ac_cs_recheck=: ;;
23510 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23511 printf "%s\n" "$ac_cs_version"; exit ;;
23512 --config | --confi | --conf | --con | --co | --c )
23513 printf "%s\n" "$ac_cs_config"; exit ;;
23514 --debug | --debu | --deb | --de | --d | -d )
23515 debug=: ;;
23516 --header | --heade | --head | --hea )
23517 $ac_shift
23518 case $ac_optarg in
23519 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23520 esac
23521 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23522 ac_need_defaults=false;;
23523 --he | --h)
23524 # Conflict between --help and --header
23525 as_fn_error $? "ambiguous option: \`$1'
23526 Try \`$0 --help' for more information.";;
23527 --help | --hel | -h )
23528 printf "%s\n" "$ac_cs_usage"; exit ;;
23529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23530 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23531 ac_cs_silent=: ;;
23533 # This is an error.
23534 -*) as_fn_error $? "unrecognized option: \`$1'
23535 Try \`$0 --help' for more information." ;;
23537 *) as_fn_append ac_config_targets " $1"
23538 ac_need_defaults=false ;;
23540 esac
23541 shift
23542 done
23544 ac_configure_extra_args=
23546 if $ac_cs_silent; then
23547 exec 6>/dev/null
23548 ac_configure_extra_args="$ac_configure_extra_args --silent"
23551 _ACEOF
23552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23553 if \$ac_cs_recheck; then
23554 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23555 shift
23556 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23557 CONFIG_SHELL='$SHELL'
23558 export CONFIG_SHELL
23559 exec "\$@"
23562 _ACEOF
23563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23564 exec 5>>config.log
23566 echo
23567 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23568 ## Running $as_me. ##
23569 _ASBOX
23570 printf "%s\n" "$ac_log"
23571 } >&5
23573 _ACEOF
23574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23576 # INIT-COMMANDS
23578 wine_fn_output_makedep ()
23580 as_dir=tools; as_fn_mkdir_p
23581 $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
23583 wine_fn_output_makefile ()
23585 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23586 # This Makefile understands the following targets:
23588 # all (default): build wine
23589 # clean: remove all intermediate files
23590 # distclean: also remove all files created by configure
23591 # test: run tests
23592 # testclean: clean test results to force running all tests again
23593 # install-lib: install libraries needed to run applications
23594 # install-dev: install development environment
23595 # install: install everything
23596 # uninstall: uninstall everything
23597 # ctags: create a tags file for vim and others.
23598 # etags: create a TAGS file for Emacs.
23600 SHELL = $SHELL
23601 PATH_SEPARATOR = $PATH_SEPARATOR
23602 PACKAGE_NAME = $PACKAGE_NAME
23603 PACKAGE_TARNAME = $PACKAGE_TARNAME
23604 PACKAGE_VERSION = $PACKAGE_VERSION
23605 PACKAGE_STRING = $PACKAGE_STRING
23606 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23607 PACKAGE_URL = $PACKAGE_URL
23608 exec_prefix = $exec_prefix
23609 prefix = $prefix
23610 program_transform_name = $program_transform_name
23611 bindir = $bindir
23612 sbindir = $sbindir
23613 libexecdir = $libexecdir
23614 datarootdir = $datarootdir
23615 datadir = $datadir
23616 sysconfdir = $sysconfdir
23617 sharedstatedir = $sharedstatedir
23618 localstatedir = $localstatedir
23619 runstatedir = $runstatedir
23620 includedir = $includedir
23621 oldincludedir = $oldincludedir
23622 docdir = $docdir
23623 infodir = $infodir
23624 htmldir = $htmldir
23625 dvidir = $dvidir
23626 pdfdir = $pdfdir
23627 psdir = $psdir
23628 libdir = $libdir
23629 localedir = $localedir
23630 mandir = $mandir
23631 DEFS = $DEFS
23632 ECHO_C = $ECHO_C
23633 ECHO_N = $ECHO_N
23634 ECHO_T = $ECHO_T
23635 LIBS = $LIBS
23636 build_alias = $build_alias
23637 host_alias = $host_alias
23638 target_alias = $target_alias
23639 system_dllpath = $system_dllpath
23640 build = $build
23641 build_cpu = $build_cpu
23642 build_vendor = $build_vendor
23643 build_os = $build_os
23644 host = $host
23645 host_cpu = $host_cpu
23646 host_vendor = $host_vendor
23647 host_os = $host_os
23648 dlldir = $dlldir
23649 fontdir = $fontdir
23650 nlsdir = $nlsdir
23651 srcdir = $srcdir
23652 SET_MAKE = $SET_MAKE
23653 CC = $CC
23654 CFLAGS = $CFLAGS
23655 LDFLAGS = $LDFLAGS
23656 CPPFLAGS = $CPPFLAGS
23657 ac_ct_CC = $ac_ct_CC
23658 EXEEXT = $EXEEXT
23659 OBJEXT = $OBJEXT
23660 CXX = $CXX
23661 CXXFLAGS = $CXXFLAGS
23662 ac_ct_CXX = $ac_ct_CXX
23663 CPPBIN = $CPPBIN
23664 LD = $LD
23665 TARGETFLAGS = $TARGETFLAGS
23666 toolsext = $toolsext
23667 toolsdir = $toolsdir
23668 MAKEDEP = $MAKEDEP
23669 RUNTESTFLAGS = $RUNTESTFLAGS
23670 SED_CMD = $SED_CMD
23671 FLEX = $FLEX
23672 BISON = $BISON
23673 AR = $AR
23674 ac_ct_AR = $ac_ct_AR
23675 STRIP = $STRIP
23676 RANLIB = $RANLIB
23677 LN_S = $LN_S
23678 GREP = $GREP
23679 EGREP = $EGREP
23680 LDCONFIG = $LDCONFIG
23681 MSGFMT = $MSGFMT
23682 PKG_CONFIG = $PKG_CONFIG
23683 FONTFORGE = $FONTFORGE
23684 RSVG = $RSVG
23685 CONVERT = $CONVERT
23686 ICOTOOL = $ICOTOOL
23687 I386_LIBS = $I386_LIBS
23688 OPENGL_LIBS = $OPENGL_LIBS
23689 DLLFLAGS = $DLLFLAGS
23690 LDDLLFLAGS = $LDDLLFLAGS
23691 LDEXECFLAGS = $LDEXECFLAGS
23692 EXTRACFLAGS = $EXTRACFLAGS
23693 UNIXDLLFLAGS = $UNIXDLLFLAGS
23694 UNIXLDFLAGS = $UNIXLDFLAGS
23695 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23696 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23697 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23698 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23699 LDD = $LDD
23700 OTOOL = $OTOOL
23701 READELF = $READELF
23702 SUBDIRS = $SUBDIRS
23703 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23704 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23705 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23706 DLLTOOL = $DLLTOOL
23707 OBJC = $OBJC
23708 OBJCFLAGS = $OBJCFLAGS
23709 ac_ct_OBJC = $ac_ct_OBJC
23710 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23711 IOKIT_LIBS = $IOKIT_LIBS
23712 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23713 CORESERVICES_LIBS = $CORESERVICES_LIBS
23714 APPKIT_LIBS = $APPKIT_LIBS
23715 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23716 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23717 SECURITY_LIBS = $SECURITY_LIBS
23718 COREAUDIO_LIBS = $COREAUDIO_LIBS
23719 OPENAL_LIBS = $OPENAL_LIBS
23720 OPENCL_LIBS = $OPENCL_LIBS
23721 CARBON_LIBS = $CARBON_LIBS
23722 METAL_LIBS = $METAL_LIBS
23723 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23724 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23725 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23726 PRELINK = $PRELINK
23727 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23728 CROSSTARGET = $CROSSTARGET
23729 CROSSCC = $CROSSCC
23730 CROSSCFLAGS = $CROSSCFLAGS
23731 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23732 CROSSLDFLAGS = $CROSSLDFLAGS
23733 DELAYLOADFLAG = $DELAYLOADFLAG
23734 CROSSDEBUG = $CROSSDEBUG
23735 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23736 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23737 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23738 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23739 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23740 GSM_PE_LIBS = $GSM_PE_LIBS
23741 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23742 JPEG_PE_LIBS = $JPEG_PE_LIBS
23743 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23744 JXR_PE_LIBS = $JXR_PE_LIBS
23745 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23746 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23747 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23748 MPG123_PE_LIBS = $MPG123_PE_LIBS
23749 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23750 PNG_PE_LIBS = $PNG_PE_LIBS
23751 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23752 TIFF_PE_LIBS = $TIFF_PE_LIBS
23753 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23754 XML2_PE_LIBS = $XML2_PE_LIBS
23755 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23756 XSLT_PE_LIBS = $XSLT_PE_LIBS
23757 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23758 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23759 PTHREAD_LIBS = $PTHREAD_LIBS
23760 XMKMF = $XMKMF
23761 CPP = $CPP
23762 X_CFLAGS = $X_CFLAGS
23763 X_PRE_LIBS = $X_PRE_LIBS
23764 X_LIBS = $X_LIBS
23765 X_EXTRA_LIBS = $X_EXTRA_LIBS
23766 PCAP_LIBS = $PCAP_LIBS
23767 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23768 INOTIFY_LIBS = $INOTIFY_LIBS
23769 DBUS_CFLAGS = $DBUS_CFLAGS
23770 DBUS_LIBS = $DBUS_LIBS
23771 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23772 GNUTLS_LIBS = $GNUTLS_LIBS
23773 SANE_CFLAGS = $SANE_CFLAGS
23774 SANE_LIBS = $SANE_LIBS
23775 USB_CFLAGS = $USB_CFLAGS
23776 USB_LIBS = $USB_LIBS
23777 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23778 GPHOTO2_LIBS = $GPHOTO2_LIBS
23779 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23780 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23781 RESOLV_LIBS = $RESOLV_LIBS
23782 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23783 FREETYPE_LIBS = $FREETYPE_LIBS
23784 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23785 PULSE_CFLAGS = $PULSE_CFLAGS
23786 PULSE_LIBS = $PULSE_LIBS
23787 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23788 GSTREAMER_LIBS = $GSTREAMER_LIBS
23789 ALSA_LIBS = $ALSA_LIBS
23790 OSS4_CFLAGS = $OSS4_CFLAGS
23791 OSS4_LIBS = $OSS4_LIBS
23792 UDEV_CFLAGS = $UDEV_CFLAGS
23793 UDEV_LIBS = $UDEV_LIBS
23794 UNWIND_CFLAGS = $UNWIND_CFLAGS
23795 UNWIND_LIBS = $UNWIND_LIBS
23796 SDL2_CFLAGS = $SDL2_CFLAGS
23797 SDL2_LIBS = $SDL2_LIBS
23798 CAPI20_CFLAGS = $CAPI20_CFLAGS
23799 CAPI20_LIBS = $CAPI20_LIBS
23800 CUPS_CFLAGS = $CUPS_CFLAGS
23801 CUPS_LIBS = $CUPS_LIBS
23802 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23803 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23804 KRB5_CFLAGS = $KRB5_CFLAGS
23805 KRB5_LIBS = $KRB5_LIBS
23806 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23807 GSSAPI_LIBS = $GSSAPI_LIBS
23808 PROCSTAT_LIBS = $PROCSTAT_LIBS
23809 NETAPI_CFLAGS = $NETAPI_CFLAGS
23810 NETAPI_LIBS = $NETAPI_LIBS
23811 VKD3D_CFLAGS = $VKD3D_CFLAGS
23812 VKD3D_LIBS = $VKD3D_LIBS
23813 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23814 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23815 MSVCRTFLAGS = $MSVCRTFLAGS
23816 RT_LIBS = $RT_LIBS
23817 LDAP_CFLAGS = $LDAP_CFLAGS
23818 LDAP_LIBS = $LDAP_LIBS
23819 TAGSFLAGS = $TAGSFLAGS
23820 LIBOBJS = $LIBOBJS
23821 LTLIBOBJS = $LTLIBOBJS
23822 $SET_MAKE
23823 $wine_rules
23824 _WINE_EOF
23825 as_fn_error $? "could not create Makefile" "$LINENO" 5
23828 _ACEOF
23830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23832 # Handling of arguments.
23833 for ac_config_target in $ac_config_targets
23835 case $ac_config_target in
23836 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23837 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23838 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23839 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23840 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23841 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23843 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23844 esac
23845 done
23848 # If the user did not use the arguments to specify the items to instantiate,
23849 # then the envvar interface is used. Set only those that are not.
23850 # We use the long form for the default assignment because of an extremely
23851 # bizarre bug on SunOS 4.1.3.
23852 if $ac_need_defaults; then
23853 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23854 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23855 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23858 # Have a temporary directory for convenience. Make it in the build tree
23859 # simply because there is no reason against having it here, and in addition,
23860 # creating and moving files from /tmp can sometimes cause problems.
23861 # Hook for its removal unless debugging.
23862 # Note that there is a small window in which the directory will not be cleaned:
23863 # after its creation but before its name has been assigned to `$tmp'.
23864 $debug ||
23866 tmp= ac_tmp=
23867 trap 'exit_status=$?
23868 : "${ac_tmp:=$tmp}"
23869 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23871 trap 'as_fn_exit 1' 1 2 13 15
23873 # Create a (secure) tmp directory for tmp files.
23876 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23877 test -d "$tmp"
23878 } ||
23880 tmp=./conf$$-$RANDOM
23881 (umask 077 && mkdir "$tmp")
23882 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23883 ac_tmp=$tmp
23885 # Set up the scripts for CONFIG_HEADERS section.
23886 # No need to generate them if there are no CONFIG_HEADERS.
23887 # This happens for instance with `./config.status Makefile'.
23888 if test -n "$CONFIG_HEADERS"; then
23889 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23890 BEGIN {
23891 _ACEOF
23893 # Transform confdefs.h into an awk script `defines.awk', embedded as
23894 # here-document in config.status, that substitutes the proper values into
23895 # config.h.in to produce config.h.
23897 # Create a delimiter string that does not exist in confdefs.h, to ease
23898 # handling of long lines.
23899 ac_delim='%!_!# '
23900 for ac_last_try in false false :; do
23901 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23902 if test -z "$ac_tt"; then
23903 break
23904 elif $ac_last_try; then
23905 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23906 else
23907 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23909 done
23911 # For the awk script, D is an array of macro values keyed by name,
23912 # likewise P contains macro parameters if any. Preserve backslash
23913 # newline sequences.
23915 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23916 sed -n '
23917 s/.\{148\}/&'"$ac_delim"'/g
23918 t rset
23919 :rset
23920 s/^[ ]*#[ ]*define[ ][ ]*/ /
23921 t def
23923 :def
23924 s/\\$//
23925 t bsnl
23926 s/["\\]/\\&/g
23927 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23928 D["\1"]=" \3"/p
23929 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23931 :bsnl
23932 s/["\\]/\\&/g
23933 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23934 D["\1"]=" \3\\\\\\n"\\/p
23935 t cont
23936 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23937 t cont
23939 :cont
23941 s/.\{148\}/&'"$ac_delim"'/g
23942 t clear
23943 :clear
23944 s/\\$//
23945 t bsnlc
23946 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23948 :bsnlc
23949 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23950 b cont
23951 ' <confdefs.h | sed '
23952 s/'"$ac_delim"'/"\\\
23953 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23956 for (key in D) D_is_set[key] = 1
23957 FS = "\a"
23959 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23960 line = \$ 0
23961 split(line, arg, " ")
23962 if (arg[1] == "#") {
23963 defundef = arg[2]
23964 mac1 = arg[3]
23965 } else {
23966 defundef = substr(arg[1], 2)
23967 mac1 = arg[2]
23969 split(mac1, mac2, "(") #)
23970 macro = mac2[1]
23971 prefix = substr(line, 1, index(line, defundef) - 1)
23972 if (D_is_set[macro]) {
23973 # Preserve the white space surrounding the "#".
23974 print prefix "define", macro P[macro] D[macro]
23975 next
23976 } else {
23977 # Replace #undef with comments. This is necessary, for example,
23978 # in the case of _POSIX_SOURCE, which is predefined and required
23979 # on some systems where configure will not decide to define it.
23980 if (defundef == "undef") {
23981 print "/*", prefix defundef, macro, "*/"
23982 next
23986 { print }
23987 _ACAWK
23988 _ACEOF
23989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23990 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23991 fi # test -n "$CONFIG_HEADERS"
23994 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23995 shift
23996 for ac_tag
23998 case $ac_tag in
23999 :[FHLC]) ac_mode=$ac_tag; continue;;
24000 esac
24001 case $ac_mode$ac_tag in
24002 :[FHL]*:*);;
24003 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24004 :[FH]-) ac_tag=-:-;;
24005 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24006 esac
24007 ac_save_IFS=$IFS
24008 IFS=:
24009 set x $ac_tag
24010 IFS=$ac_save_IFS
24011 shift
24012 ac_file=$1
24013 shift
24015 case $ac_mode in
24016 :L) ac_source=$1;;
24017 :[FH])
24018 ac_file_inputs=
24019 for ac_f
24021 case $ac_f in
24022 -) ac_f="$ac_tmp/stdin";;
24023 *) # Look for the file first in the build tree, then in the source tree
24024 # (if the path is not absolute). The absolute path cannot be DOS-style,
24025 # because $ac_f cannot contain `:'.
24026 test -f "$ac_f" ||
24027 case $ac_f in
24028 [\\/$]*) false;;
24029 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24030 esac ||
24031 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24032 esac
24033 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24034 as_fn_append ac_file_inputs " '$ac_f'"
24035 done
24037 # Let's still pretend it is `configure' which instantiates (i.e., don't
24038 # use $as_me), people would be surprised to read:
24039 # /* config.h. Generated by config.status. */
24040 configure_input='Generated from '`
24041 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24042 `' by configure.'
24043 if test x"$ac_file" != x-; then
24044 configure_input="$ac_file. $configure_input"
24045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24046 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24048 # Neutralize special characters interpreted by sed in replacement strings.
24049 case $configure_input in #(
24050 *\&* | *\|* | *\\* )
24051 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24052 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24053 *) ac_sed_conf_input=$configure_input;;
24054 esac
24056 case $ac_tag in
24057 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24059 esac
24061 esac
24063 ac_dir=`$as_dirname -- "$ac_file" ||
24064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24065 X"$ac_file" : 'X\(//\)[^/]' \| \
24066 X"$ac_file" : 'X\(//\)$' \| \
24067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24068 printf "%s\n" X"$ac_file" |
24069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24070 s//\1/
24073 /^X\(\/\/\)[^/].*/{
24074 s//\1/
24077 /^X\(\/\/\)$/{
24078 s//\1/
24081 /^X\(\/\).*/{
24082 s//\1/
24085 s/.*/./; q'`
24086 as_dir="$ac_dir"; as_fn_mkdir_p
24087 ac_builddir=.
24089 case "$ac_dir" in
24090 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24092 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24093 # A ".." for each directory in $ac_dir_suffix.
24094 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24095 case $ac_top_builddir_sub in
24096 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24097 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24098 esac ;;
24099 esac
24100 ac_abs_top_builddir=$ac_pwd
24101 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24102 # for backward compatibility:
24103 ac_top_builddir=$ac_top_build_prefix
24105 case $srcdir in
24106 .) # We are building in place.
24107 ac_srcdir=.
24108 ac_top_srcdir=$ac_top_builddir_sub
24109 ac_abs_top_srcdir=$ac_pwd ;;
24110 [\\/]* | ?:[\\/]* ) # Absolute name.
24111 ac_srcdir=$srcdir$ac_dir_suffix;
24112 ac_top_srcdir=$srcdir
24113 ac_abs_top_srcdir=$srcdir ;;
24114 *) # Relative name.
24115 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24116 ac_top_srcdir=$ac_top_build_prefix$srcdir
24117 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24118 esac
24119 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24122 case $ac_mode in
24126 # CONFIG_HEADER
24128 if test x"$ac_file" != x-; then
24130 printf "%s\n" "/* $configure_input */" >&1 \
24131 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24132 } >"$ac_tmp/config.h" \
24133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24134 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24136 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24137 else
24138 rm -f "$ac_file"
24139 mv "$ac_tmp/config.h" "$ac_file" \
24140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24142 else
24143 printf "%s\n" "/* $configure_input */" >&1 \
24144 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24145 || as_fn_error $? "could not create -" "$LINENO" 5
24150 # CONFIG_LINK
24153 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24155 else
24156 # Prefer the file from the source tree if names are identical.
24157 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24158 ac_source=$srcdir/$ac_source
24161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24162 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24164 if test ! -r "$ac_source"; then
24165 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24167 rm -f "$ac_file"
24169 # Try a relative symlink, then a hard link, then a copy.
24170 case $ac_source in
24171 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24172 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24173 esac
24174 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24175 ln "$ac_source" "$ac_file" 2>/dev/null ||
24176 cp -p "$ac_source" "$ac_file" ||
24177 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24180 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24181 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24183 esac
24186 case $ac_file$ac_mode in
24187 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24188 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24189 "Makefile":C) wine_fn_output_makefile Makefile ;;
24191 esac
24192 done # for ac_tag
24195 as_fn_exit 0
24196 _ACEOF
24197 ac_clean_files=$ac_clean_files_save
24199 test $ac_write_fail = 0 ||
24200 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24203 # configure is writing to config.log, and then calls config.status.
24204 # config.status does its own redirection, appending to config.log.
24205 # Unfortunately, on DOS this fails, as config.log is still kept open
24206 # by configure, so config.status won't be able to write to it; its
24207 # output is simply discarded. So we exec the FD to /dev/null,
24208 # effectively closing config.log, so it can be properly (re)opened and
24209 # appended to by config.status. When coming back to configure, we
24210 # need to make the FD available again.
24211 if test "$no_create" != yes; then
24212 ac_cs_success=:
24213 ac_config_status_args=
24214 test "$silent" = yes &&
24215 ac_config_status_args="$ac_config_status_args --quiet"
24216 exec 5>/dev/null
24217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24218 exec 5>>config.log
24219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24220 # would make configure fail if this is the last instruction.
24221 $ac_cs_success || as_fn_exit 1
24223 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24225 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24229 if test "$no_create" = "yes"
24230 then
24231 exit 0
24234 ac_save_IFS="$IFS"
24235 if test "x$wine_notices" != x; then
24236 echo >&6
24237 IFS="|"
24238 for msg in $wine_notices; do
24239 IFS="$ac_save_IFS"
24240 if ${msg:+false} :
24241 then :
24243 else $as_nop
24244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24245 printf "%s\n" "$as_me: $msg" >&6;}
24247 done
24249 IFS="|"
24250 for msg in $wine_warnings; do
24251 IFS="$ac_save_IFS"
24252 if ${msg:+false} :
24253 then :
24255 else $as_nop
24256 echo >&2
24257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24258 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24260 done
24261 IFS="$ac_save_IFS"
24263 printf "%s\n" "
24264 $as_me: Finished. Do '${ac_make}' to compile Wine.
24265 " >&6