dbghelp: Fix memory leak on error path in dwarf2_read_range (cppcheck).
[wine.git] / configure
blob548a07d01bba4e5a6a15a7d2d6c829449b6f4c5a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='7.1'
615 PACKAGE_STRING='Wine 7.1'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 EXCESS_PRECISION_CFLAGS
739 CROSSDEBUG
740 DELAYLOADFLAG
741 CROSSLDFLAGS
742 EXTRACROSSCFLAGS
743 CROSSCFLAGS
744 CROSSCC
745 CROSSTARGET
746 LIBWINE_DEPENDS
747 PRELINK
748 WINELOADER_DEPENDS
749 LIBWINE_LDFLAGS
750 LIBWINE_SHAREDLIB
751 METAL_LIBS
752 CARBON_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 SED_CMD
804 RUNTESTFLAGS
805 MAKEDEP
806 toolsdir
807 toolsext
808 TARGETFLAGS
810 CPPBIN
811 ac_ct_CXX
812 CXXFLAGS
814 OBJEXT
815 EXEEXT
816 ac_ct_CC
817 CPPFLAGS
818 LDFLAGS
819 CFLAGS
821 SET_MAKE
822 srcdir
823 nlsdir
824 fontdir
825 dlldir
826 host_os
827 host_vendor
828 host_cpu
829 host
830 build_os
831 build_vendor
832 build_cpu
833 build
834 system_dllpath
835 target_alias
836 host_alias
837 build_alias
838 LIBS
839 ECHO_T
840 ECHO_N
841 ECHO_C
842 DEFS
843 mandir
844 localedir
845 libdir
846 psdir
847 pdfdir
848 dvidir
849 htmldir
850 infodir
851 docdir
852 oldincludedir
853 includedir
854 runstatedir
855 localstatedir
856 sharedstatedir
857 sysconfdir
858 datadir
859 datarootdir
860 libexecdir
861 sbindir
862 bindir
863 program_transform_name
864 prefix
865 exec_prefix
866 PACKAGE_URL
867 PACKAGE_BUGREPORT
868 PACKAGE_STRING
869 PACKAGE_VERSION
870 PACKAGE_TARNAME
871 PACKAGE_NAME
872 PATH_SEPARATOR
873 SHELL'
874 ac_subst_files=''
875 ac_user_opts='
876 enable_option_checking
877 enable_win16
878 enable_win64
879 enable_tests
880 enable_build_id
881 enable_maintainer_mode
882 enable_silent_rules
883 enable_werror
884 with_alsa
885 with_capi
886 with_coreaudio
887 with_cups
888 with_dbus
889 with_float_abi
890 with_fontconfig
891 with_freetype
892 with_gettext
893 with_gettextpo
894 with_gphoto
895 with_gnutls
896 with_gssapi
897 with_gstreamer
898 with_inotify
899 with_krb5
900 with_ldap
901 with_mingw
902 with_netapi
903 with_openal
904 with_opencl
905 with_opengl
906 with_osmesa
907 with_oss
908 with_pcap
909 with_pthread
910 with_pulse
911 with_sane
912 with_sdl
913 with_udev
914 with_unwind
915 with_usb
916 with_v4l2
917 with_vkd3d
918 with_vulkan
919 with_xcomposite
920 with_xcursor
921 with_xfixes
922 with_xinerama
923 with_xinput
924 with_xinput2
925 with_xrandr
926 with_xrender
927 with_xshape
928 with_xshm
929 with_xxf86vm
930 with_system_dllpath
931 with_wine_tools
932 with_wine64
933 enable_largefile
934 with_x
935 enable_acledit
936 enable_aclui
937 enable_activeds_tlb
938 enable_activeds
939 enable_actxprxy
940 enable_adsldp
941 enable_adsldpc
942 enable_advapi32
943 enable_advpack
944 enable_amsi
945 enable_amstream
946 enable_api_ms_win_appmodel_identity_l1_1_0
947 enable_api_ms_win_appmodel_runtime_l1_1_0
948 enable_api_ms_win_appmodel_runtime_l1_1_1
949 enable_api_ms_win_appmodel_runtime_l1_1_2
950 enable_api_ms_win_core_apiquery_l1_1_0
951 enable_api_ms_win_core_appcompat_l1_1_1
952 enable_api_ms_win_core_appinit_l1_1_0
953 enable_api_ms_win_core_atoms_l1_1_0
954 enable_api_ms_win_core_bem_l1_1_0
955 enable_api_ms_win_core_com_l1_1_0
956 enable_api_ms_win_core_com_l1_1_1
957 enable_api_ms_win_core_com_private_l1_1_0
958 enable_api_ms_win_core_comm_l1_1_0
959 enable_api_ms_win_core_console_l1_1_0
960 enable_api_ms_win_core_console_l1_2_0
961 enable_api_ms_win_core_console_l2_1_0
962 enable_api_ms_win_core_console_l3_2_0
963 enable_api_ms_win_core_crt_l1_1_0
964 enable_api_ms_win_core_crt_l2_1_0
965 enable_api_ms_win_core_datetime_l1_1_0
966 enable_api_ms_win_core_datetime_l1_1_1
967 enable_api_ms_win_core_debug_l1_1_0
968 enable_api_ms_win_core_debug_l1_1_1
969 enable_api_ms_win_core_delayload_l1_1_0
970 enable_api_ms_win_core_delayload_l1_1_1
971 enable_api_ms_win_core_errorhandling_l1_1_0
972 enable_api_ms_win_core_errorhandling_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_2
974 enable_api_ms_win_core_errorhandling_l1_1_3
975 enable_api_ms_win_core_featurestaging_l1_1_0
976 enable_api_ms_win_core_fibers_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_1
978 enable_api_ms_win_core_file_ansi_l2_1_0
979 enable_api_ms_win_core_file_fromapp_l1_1_0
980 enable_api_ms_win_core_file_l1_1_0
981 enable_api_ms_win_core_file_l1_2_0
982 enable_api_ms_win_core_file_l1_2_1
983 enable_api_ms_win_core_file_l1_2_2
984 enable_api_ms_win_core_file_l2_1_0
985 enable_api_ms_win_core_file_l2_1_1
986 enable_api_ms_win_core_file_l2_1_2
987 enable_api_ms_win_core_handle_l1_1_0
988 enable_api_ms_win_core_heap_l1_1_0
989 enable_api_ms_win_core_heap_l1_2_0
990 enable_api_ms_win_core_heap_l2_1_0
991 enable_api_ms_win_core_heap_obsolete_l1_1_0
992 enable_api_ms_win_core_interlocked_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_2_0
994 enable_api_ms_win_core_io_l1_1_0
995 enable_api_ms_win_core_io_l1_1_1
996 enable_api_ms_win_core_job_l1_1_0
997 enable_api_ms_win_core_job_l2_1_0
998 enable_api_ms_win_core_kernel32_legacy_l1_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1002 enable_api_ms_win_core_kernel32_private_l1_1_1
1003 enable_api_ms_win_core_largeinteger_l1_1_0
1004 enable_api_ms_win_core_libraryloader_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_1
1006 enable_api_ms_win_core_libraryloader_l1_2_0
1007 enable_api_ms_win_core_libraryloader_l1_2_1
1008 enable_api_ms_win_core_libraryloader_l1_2_2
1009 enable_api_ms_win_core_libraryloader_l2_1_0
1010 enable_api_ms_win_core_localization_l1_1_0
1011 enable_api_ms_win_core_localization_l1_2_0
1012 enable_api_ms_win_core_localization_l1_2_1
1013 enable_api_ms_win_core_localization_l1_2_2
1014 enable_api_ms_win_core_localization_l2_1_0
1015 enable_api_ms_win_core_localization_obsolete_l1_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_2_0
1017 enable_api_ms_win_core_localization_obsolete_l1_3_0
1018 enable_api_ms_win_core_localization_private_l1_1_0
1019 enable_api_ms_win_core_localregistry_l1_1_0
1020 enable_api_ms_win_core_memory_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_1
1022 enable_api_ms_win_core_memory_l1_1_2
1023 enable_api_ms_win_core_memory_l1_1_3
1024 enable_api_ms_win_core_memory_l1_1_4
1025 enable_api_ms_win_core_misc_l1_1_0
1026 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1027 enable_api_ms_win_core_namedpipe_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_2_0
1029 enable_api_ms_win_core_namespace_l1_1_0
1030 enable_api_ms_win_core_normalization_l1_1_0
1031 enable_api_ms_win_core_path_l1_1_0
1032 enable_api_ms_win_core_privateprofile_l1_1_1
1033 enable_api_ms_win_core_processenvironment_l1_1_0
1034 enable_api_ms_win_core_processenvironment_l1_2_0
1035 enable_api_ms_win_core_processthreads_l1_1_0
1036 enable_api_ms_win_core_processthreads_l1_1_1
1037 enable_api_ms_win_core_processthreads_l1_1_2
1038 enable_api_ms_win_core_processthreads_l1_1_3
1039 enable_api_ms_win_core_processtopology_l1_1_0
1040 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1041 enable_api_ms_win_core_profile_l1_1_0
1042 enable_api_ms_win_core_psapi_ansi_l1_1_0
1043 enable_api_ms_win_core_psapi_l1_1_0
1044 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1045 enable_api_ms_win_core_psm_appnotify_l1_1_0
1046 enable_api_ms_win_core_quirks_l1_1_0
1047 enable_api_ms_win_core_realtime_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_1
1049 enable_api_ms_win_core_registry_l1_1_0
1050 enable_api_ms_win_core_registry_l2_1_0
1051 enable_api_ms_win_core_registry_l2_2_0
1052 enable_api_ms_win_core_registryuserspecific_l1_1_0
1053 enable_api_ms_win_core_rtlsupport_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_2_0
1055 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1056 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1058 enable_api_ms_win_core_shutdown_l1_1_0
1059 enable_api_ms_win_core_sidebyside_l1_1_0
1060 enable_api_ms_win_core_string_l1_1_0
1061 enable_api_ms_win_core_string_l2_1_0
1062 enable_api_ms_win_core_string_obsolete_l1_1_0
1063 enable_api_ms_win_core_stringansi_l1_1_0
1064 enable_api_ms_win_core_stringloader_l1_1_1
1065 enable_api_ms_win_core_synch_ansi_l1_1_0
1066 enable_api_ms_win_core_synch_l1_1_0
1067 enable_api_ms_win_core_synch_l1_2_0
1068 enable_api_ms_win_core_synch_l1_2_1
1069 enable_api_ms_win_core_sysinfo_l1_1_0
1070 enable_api_ms_win_core_sysinfo_l1_2_0
1071 enable_api_ms_win_core_sysinfo_l1_2_1
1072 enable_api_ms_win_core_systemtopology_l1_1_0
1073 enable_api_ms_win_core_threadpool_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_2_0
1075 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1076 enable_api_ms_win_core_threadpool_private_l1_1_0
1077 enable_api_ms_win_core_timezone_l1_1_0
1078 enable_api_ms_win_core_toolhelp_l1_1_0
1079 enable_api_ms_win_core_url_l1_1_0
1080 enable_api_ms_win_core_util_l1_1_0
1081 enable_api_ms_win_core_version_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_1
1083 enable_api_ms_win_core_version_private_l1_1_0
1084 enable_api_ms_win_core_versionansi_l1_1_0
1085 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_1
1087 enable_api_ms_win_core_winrt_error_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_1
1089 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1090 enable_api_ms_win_core_winrt_l1_1_0
1091 enable_api_ms_win_core_winrt_registration_l1_1_0
1092 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_1
1095 enable_api_ms_win_core_wow64_l1_1_0
1096 enable_api_ms_win_core_wow64_l1_1_1
1097 enable_api_ms_win_core_xstate_l1_1_0
1098 enable_api_ms_win_core_xstate_l2_1_0
1099 enable_api_ms_win_crt_conio_l1_1_0
1100 enable_api_ms_win_crt_convert_l1_1_0
1101 enable_api_ms_win_crt_environment_l1_1_0
1102 enable_api_ms_win_crt_filesystem_l1_1_0
1103 enable_api_ms_win_crt_heap_l1_1_0
1104 enable_api_ms_win_crt_locale_l1_1_0
1105 enable_api_ms_win_crt_math_l1_1_0
1106 enable_api_ms_win_crt_multibyte_l1_1_0
1107 enable_api_ms_win_crt_private_l1_1_0
1108 enable_api_ms_win_crt_process_l1_1_0
1109 enable_api_ms_win_crt_runtime_l1_1_0
1110 enable_api_ms_win_crt_stdio_l1_1_0
1111 enable_api_ms_win_crt_string_l1_1_0
1112 enable_api_ms_win_crt_time_l1_1_0
1113 enable_api_ms_win_crt_utility_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_1
1116 enable_api_ms_win_devices_query_l1_1_1
1117 enable_api_ms_win_downlevel_advapi32_l1_1_0
1118 enable_api_ms_win_downlevel_advapi32_l2_1_0
1119 enable_api_ms_win_downlevel_kernel32_l2_1_0
1120 enable_api_ms_win_downlevel_normaliz_l1_1_0
1121 enable_api_ms_win_downlevel_ole32_l1_1_0
1122 enable_api_ms_win_downlevel_shell32_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1125 enable_api_ms_win_downlevel_user32_l1_1_0
1126 enable_api_ms_win_downlevel_version_l1_1_0
1127 enable_api_ms_win_dx_d3dkmt_l1_1_0
1128 enable_api_ms_win_eventing_classicprovider_l1_1_0
1129 enable_api_ms_win_eventing_consumer_l1_1_0
1130 enable_api_ms_win_eventing_controller_l1_1_0
1131 enable_api_ms_win_eventing_legacy_l1_1_0
1132 enable_api_ms_win_eventing_provider_l1_1_0
1133 enable_api_ms_win_eventlog_legacy_l1_1_0
1134 enable_api_ms_win_gaming_tcui_l1_1_0
1135 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1136 enable_api_ms_win_mm_joystick_l1_1_0
1137 enable_api_ms_win_mm_misc_l1_1_1
1138 enable_api_ms_win_mm_mme_l1_1_0
1139 enable_api_ms_win_mm_time_l1_1_0
1140 enable_api_ms_win_ntuser_dc_access_l1_1_0
1141 enable_api_ms_win_ntuser_rectangle_l1_1_0
1142 enable_api_ms_win_ntuser_sysparams_l1_1_0
1143 enable_api_ms_win_perf_legacy_l1_1_0
1144 enable_api_ms_win_power_base_l1_1_0
1145 enable_api_ms_win_power_setting_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1149 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1153 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1154 enable_api_ms_win_security_audit_l1_1_1
1155 enable_api_ms_win_security_base_l1_1_0
1156 enable_api_ms_win_security_base_l1_2_0
1157 enable_api_ms_win_security_base_private_l1_1_1
1158 enable_api_ms_win_security_credentials_l1_1_0
1159 enable_api_ms_win_security_cryptoapi_l1_1_0
1160 enable_api_ms_win_security_grouppolicy_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_1
1163 enable_api_ms_win_security_lsalookup_l2_1_0
1164 enable_api_ms_win_security_lsalookup_l2_1_1
1165 enable_api_ms_win_security_lsapolicy_l1_1_0
1166 enable_api_ms_win_security_provider_l1_1_0
1167 enable_api_ms_win_security_sddl_l1_1_0
1168 enable_api_ms_win_security_systemfunctions_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_1
1171 enable_api_ms_win_service_management_l1_1_0
1172 enable_api_ms_win_service_management_l2_1_0
1173 enable_api_ms_win_service_private_l1_1_1
1174 enable_api_ms_win_service_winsvc_l1_1_0
1175 enable_api_ms_win_service_winsvc_l1_2_0
1176 enable_api_ms_win_shcore_obsolete_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_1
1179 enable_api_ms_win_shcore_stream_l1_1_0
1180 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1181 enable_api_ms_win_shcore_thread_l1_1_0
1182 enable_api_ms_win_shell_shellcom_l1_1_0
1183 enable_api_ms_win_shell_shellfolders_l1_1_0
1184 enable_apphelp
1185 enable_appwiz_cpl
1186 enable_atl
1187 enable_atl100
1188 enable_atl110
1189 enable_atl80
1190 enable_atl90
1191 enable_atlthunk
1192 enable_atmlib
1193 enable_authz
1194 enable_avicap32
1195 enable_avifil32
1196 enable_avrt
1197 enable_bcrypt
1198 enable_bluetoothapis
1199 enable_browseui
1200 enable_bthprops_cpl
1201 enable_cabinet
1202 enable_capi2032
1203 enable_cards
1204 enable_cdosys
1205 enable_cfgmgr32
1206 enable_clusapi
1207 enable_cng_sys
1208 enable_combase
1209 enable_comcat
1210 enable_comctl32
1211 enable_comdlg32
1212 enable_compstui
1213 enable_comsvcs
1214 enable_concrt140
1215 enable_connect
1216 enable_credui
1217 enable_crtdll
1218 enable_crypt32
1219 enable_cryptdlg
1220 enable_cryptdll
1221 enable_cryptext
1222 enable_cryptnet
1223 enable_cryptsp
1224 enable_cryptui
1225 enable_ctapi32
1226 enable_ctl3d32
1227 enable_d2d1
1228 enable_d3d10
1229 enable_d3d10_1
1230 enable_d3d10core
1231 enable_d3d11
1232 enable_d3d12
1233 enable_d3d8
1234 enable_d3d8thk
1235 enable_d3d9
1236 enable_d3dcompiler_33
1237 enable_d3dcompiler_34
1238 enable_d3dcompiler_35
1239 enable_d3dcompiler_36
1240 enable_d3dcompiler_37
1241 enable_d3dcompiler_38
1242 enable_d3dcompiler_39
1243 enable_d3dcompiler_40
1244 enable_d3dcompiler_41
1245 enable_d3dcompiler_42
1246 enable_d3dcompiler_43
1247 enable_d3dcompiler_46
1248 enable_d3dcompiler_47
1249 enable_d3dim
1250 enable_d3dim700
1251 enable_d3drm
1252 enable_d3dx10_33
1253 enable_d3dx10_34
1254 enable_d3dx10_35
1255 enable_d3dx10_36
1256 enable_d3dx10_37
1257 enable_d3dx10_38
1258 enable_d3dx10_39
1259 enable_d3dx10_40
1260 enable_d3dx10_41
1261 enable_d3dx10_42
1262 enable_d3dx10_43
1263 enable_d3dx11_42
1264 enable_d3dx11_43
1265 enable_d3dx9_24
1266 enable_d3dx9_25
1267 enable_d3dx9_26
1268 enable_d3dx9_27
1269 enable_d3dx9_28
1270 enable_d3dx9_29
1271 enable_d3dx9_30
1272 enable_d3dx9_31
1273 enable_d3dx9_32
1274 enable_d3dx9_33
1275 enable_d3dx9_34
1276 enable_d3dx9_35
1277 enable_d3dx9_36
1278 enable_d3dx9_37
1279 enable_d3dx9_38
1280 enable_d3dx9_39
1281 enable_d3dx9_40
1282 enable_d3dx9_41
1283 enable_d3dx9_42
1284 enable_d3dx9_43
1285 enable_d3dxof
1286 enable_davclnt
1287 enable_dbgeng
1288 enable_dbghelp
1289 enable_dciman32
1290 enable_dcomp
1291 enable_ddraw
1292 enable_ddrawex
1293 enable_devenum
1294 enable_dhcpcsvc
1295 enable_dhcpcsvc6
1296 enable_dhtmled_ocx
1297 enable_diasymreader
1298 enable_difxapi
1299 enable_dinput
1300 enable_dinput8
1301 enable_directmanipulation
1302 enable_dispex
1303 enable_dmband
1304 enable_dmcompos
1305 enable_dmime
1306 enable_dmloader
1307 enable_dmscript
1308 enable_dmstyle
1309 enable_dmsynth
1310 enable_dmusic
1311 enable_dmusic32
1312 enable_dnsapi
1313 enable_dplay
1314 enable_dplayx
1315 enable_dpnaddr
1316 enable_dpnet
1317 enable_dpnhpast
1318 enable_dpnhupnp
1319 enable_dpnlobby
1320 enable_dpvoice
1321 enable_dpwsockx
1322 enable_drmclien
1323 enable_dsdmo
1324 enable_dsound
1325 enable_dsquery
1326 enable_dssenh
1327 enable_dsuiext
1328 enable_dswave
1329 enable_dwmapi
1330 enable_dwrite
1331 enable_dx8vb
1332 enable_dxdiagn
1333 enable_dxgi
1334 enable_dxtrans
1335 enable_dxva2
1336 enable_esent
1337 enable_evr
1338 enable_explorerframe
1339 enable_ext_ms_win_authz_context_l1_1_0
1340 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1341 enable_ext_ms_win_dwmapi_ext_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_0
1343 enable_ext_ms_win_gdi_dc_create_l1_1_1
1344 enable_ext_ms_win_gdi_dc_l1_2_0
1345 enable_ext_ms_win_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_0
1347 enable_ext_ms_win_gdi_draw_l1_1_1
1348 enable_ext_ms_win_gdi_font_l1_1_0
1349 enable_ext_ms_win_gdi_font_l1_1_1
1350 enable_ext_ms_win_gdi_render_l1_1_0
1351 enable_ext_ms_win_kernel32_package_current_l1_1_0
1352 enable_ext_ms_win_kernel32_package_l1_1_1
1353 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1354 enable_ext_ms_win_ntuser_draw_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_1_0
1356 enable_ext_ms_win_ntuser_gui_l1_3_0
1357 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1358 enable_ext_ms_win_ntuser_message_l1_1_0
1359 enable_ext_ms_win_ntuser_message_l1_1_1
1360 enable_ext_ms_win_ntuser_misc_l1_1_0
1361 enable_ext_ms_win_ntuser_misc_l1_2_0
1362 enable_ext_ms_win_ntuser_misc_l1_5_1
1363 enable_ext_ms_win_ntuser_mouse_l1_1_0
1364 enable_ext_ms_win_ntuser_private_l1_1_1
1365 enable_ext_ms_win_ntuser_private_l1_3_1
1366 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_0
1369 enable_ext_ms_win_ntuser_window_l1_1_1
1370 enable_ext_ms_win_ntuser_window_l1_1_4
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1372 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1373 enable_ext_ms_win_oleacc_l1_1_0
1374 enable_ext_ms_win_ras_rasapi32_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1382 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1384 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1385 enable_ext_ms_win_security_credui_l1_1_0
1386 enable_ext_ms_win_security_cryptui_l1_1_0
1387 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1388 enable_ext_ms_win_shell_comdlg32_l1_1_0
1389 enable_ext_ms_win_shell_shell32_l1_2_0
1390 enable_ext_ms_win_uxtheme_themes_l1_1_0
1391 enable_faultrep
1392 enable_feclient
1393 enable_fltlib
1394 enable_fltmgr_sys
1395 enable_fntcache
1396 enable_fontsub
1397 enable_fusion
1398 enable_fwpuclnt
1399 enable_gameux
1400 enable_gamingtcui
1401 enable_gdi32
1402 enable_gdiplus
1403 enable_glu32
1404 enable_gphoto2_ds
1405 enable_gpkcsp
1406 enable_hal
1407 enable_hhctrl_ocx
1408 enable_hid
1409 enable_hidclass_sys
1410 enable_hidparse_sys
1411 enable_hlink
1412 enable_hnetcfg
1413 enable_http_sys
1414 enable_httpapi
1415 enable_iccvid
1416 enable_icmp
1417 enable_ieframe
1418 enable_ieproxy
1419 enable_imaadp32_acm
1420 enable_imagehlp
1421 enable_imm32
1422 enable_inetcomm
1423 enable_inetcpl_cpl
1424 enable_inetmib1
1425 enable_infosoft
1426 enable_initpki
1427 enable_inkobj
1428 enable_inseng
1429 enable_iphlpapi
1430 enable_iprop
1431 enable_irprops_cpl
1432 enable_itircl
1433 enable_itss
1434 enable_joy_cpl
1435 enable_jscript
1436 enable_jsproxy
1437 enable_kerberos
1438 enable_kernel32
1439 enable_kernelbase
1440 enable_ksecdd_sys
1441 enable_ksproxy_ax
1442 enable_ksuser
1443 enable_ktmw32
1444 enable_l3codeca_acm
1445 enable_light_msstyles
1446 enable_loadperf
1447 enable_localspl
1448 enable_localui
1449 enable_lz32
1450 enable_mapi32
1451 enable_mapistub
1452 enable_mciavi32
1453 enable_mcicda
1454 enable_mciqtz32
1455 enable_mciseq
1456 enable_mciwave
1457 enable_mf
1458 enable_mf3216
1459 enable_mferror
1460 enable_mfmediaengine
1461 enable_mfplat
1462 enable_mfplay
1463 enable_mfreadwrite
1464 enable_mgmtapi
1465 enable_midimap
1466 enable_mlang
1467 enable_mmcndmgr
1468 enable_mmdevapi
1469 enable_mountmgr_sys
1470 enable_mp3dmod
1471 enable_mpr
1472 enable_mprapi
1473 enable_msacm32_drv
1474 enable_msacm32
1475 enable_msado15
1476 enable_msadp32_acm
1477 enable_msasn1
1478 enable_mscat32
1479 enable_mscms
1480 enable_mscoree
1481 enable_mscorwks
1482 enable_msctf
1483 enable_msctfmonitor
1484 enable_msctfp
1485 enable_msdaps
1486 enable_msdasql
1487 enable_msdelta
1488 enable_msdmo
1489 enable_msdrm
1490 enable_msftedit
1491 enable_msg711_acm
1492 enable_msgsm32_acm
1493 enable_mshtml_tlb
1494 enable_mshtml
1495 enable_msi
1496 enable_msident
1497 enable_msimg32
1498 enable_msimsg
1499 enable_msimtf
1500 enable_msisip
1501 enable_msisys_ocx
1502 enable_msls31
1503 enable_msnet32
1504 enable_mspatcha
1505 enable_msports
1506 enable_msrle32
1507 enable_msscript_ocx
1508 enable_mssign32
1509 enable_mssip32
1510 enable_mstask
1511 enable_msv1_0
1512 enable_msvcirt
1513 enable_msvcm80
1514 enable_msvcm90
1515 enable_msvcp100
1516 enable_msvcp110
1517 enable_msvcp120
1518 enable_msvcp120_app
1519 enable_msvcp140
1520 enable_msvcp140_1
1521 enable_msvcp140_atomic_wait
1522 enable_msvcp60
1523 enable_msvcp70
1524 enable_msvcp71
1525 enable_msvcp80
1526 enable_msvcp90
1527 enable_msvcp_win
1528 enable_msvcr100
1529 enable_msvcr110
1530 enable_msvcr120
1531 enable_msvcr120_app
1532 enable_msvcr70
1533 enable_msvcr71
1534 enable_msvcr80
1535 enable_msvcr90
1536 enable_msvcrt
1537 enable_msvcrt20
1538 enable_msvcrt40
1539 enable_msvcrtd
1540 enable_msvfw32
1541 enable_msvidc32
1542 enable_mswsock
1543 enable_msxml
1544 enable_msxml2
1545 enable_msxml3
1546 enable_msxml4
1547 enable_msxml6
1548 enable_mtxdm
1549 enable_ncrypt
1550 enable_nddeapi
1551 enable_ndis_sys
1552 enable_netapi32
1553 enable_netcfgx
1554 enable_netio_sys
1555 enable_netprofm
1556 enable_netutils
1557 enable_newdev
1558 enable_ninput
1559 enable_normaliz
1560 enable_npmshtml
1561 enable_npptools
1562 enable_nsi
1563 enable_nsiproxy_sys
1564 enable_ntdll
1565 enable_ntdsapi
1566 enable_ntoskrnl_exe
1567 enable_ntprint
1568 enable_objsel
1569 enable_odbc32
1570 enable_odbcbcp
1571 enable_odbccp32
1572 enable_odbccu32
1573 enable_ole32
1574 enable_oleacc
1575 enable_oleaut32
1576 enable_olecli32
1577 enable_oledb32
1578 enable_oledlg
1579 enable_olepro32
1580 enable_olesvr32
1581 enable_olethk32
1582 enable_opcservices
1583 enable_openal32
1584 enable_opencl
1585 enable_opengl32
1586 enable_packager
1587 enable_pdh
1588 enable_photometadatahandler
1589 enable_pidgen
1590 enable_powrprof
1591 enable_printui
1592 enable_prntvpt
1593 enable_propsys
1594 enable_psapi
1595 enable_pstorec
1596 enable_pwrshplugin
1597 enable_qasf
1598 enable_qcap
1599 enable_qdvd
1600 enable_qedit
1601 enable_qmgr
1602 enable_qmgrprxy
1603 enable_quartz
1604 enable_query
1605 enable_qwave
1606 enable_rasapi32
1607 enable_rasdlg
1608 enable_regapi
1609 enable_resutils
1610 enable_riched20
1611 enable_riched32
1612 enable_rpcrt4
1613 enable_rsabase
1614 enable_rsaenh
1615 enable_rstrtmgr
1616 enable_rtutils
1617 enable_rtworkq
1618 enable_samlib
1619 enable_sane_ds
1620 enable_sapi
1621 enable_sas
1622 enable_scarddlg
1623 enable_sccbase
1624 enable_schannel
1625 enable_schedsvc
1626 enable_scrobj
1627 enable_scrrun
1628 enable_scsiport_sys
1629 enable_sechost
1630 enable_secur32
1631 enable_security
1632 enable_sensapi
1633 enable_serialui
1634 enable_setupapi
1635 enable_sfc
1636 enable_sfc_os
1637 enable_shcore
1638 enable_shdoclc
1639 enable_shdocvw
1640 enable_shell32
1641 enable_shfolder
1642 enable_shlwapi
1643 enable_slbcsp
1644 enable_slc
1645 enable_snmpapi
1646 enable_softpub
1647 enable_spoolss
1648 enable_sppc
1649 enable_srclient
1650 enable_srvcli
1651 enable_sspicli
1652 enable_stdole2_tlb
1653 enable_stdole32_tlb
1654 enable_sti
1655 enable_strmdll
1656 enable_svrapi
1657 enable_sxs
1658 enable_t2embed
1659 enable_tapi32
1660 enable_taskschd
1661 enable_tbs
1662 enable_tdh
1663 enable_tdi_sys
1664 enable_traffic
1665 enable_twain_32
1666 enable_tzres
1667 enable_ucrtbase
1668 enable_uianimation
1669 enable_uiautomationcore
1670 enable_uiribbon
1671 enable_unicows
1672 enable_updspapi
1673 enable_url
1674 enable_urlmon
1675 enable_usbd_sys
1676 enable_user32
1677 enable_userenv
1678 enable_usp10
1679 enable_utildll
1680 enable_uxtheme
1681 enable_vbscript
1682 enable_vcomp
1683 enable_vcomp100
1684 enable_vcomp110
1685 enable_vcomp120
1686 enable_vcomp140
1687 enable_vcomp90
1688 enable_vcruntime140
1689 enable_vcruntime140_1
1690 enable_vdmdbg
1691 enable_version
1692 enable_vga
1693 enable_virtdisk
1694 enable_vssapi
1695 enable_vulkan_1
1696 enable_wbemdisp
1697 enable_wbemprox
1698 enable_wdscore
1699 enable_webservices
1700 enable_websocket
1701 enable_wer
1702 enable_wevtapi
1703 enable_wevtsvc
1704 enable_wiaservc
1705 enable_wimgapi
1706 enable_win32u
1707 enable_windows_devices_enumeration
1708 enable_windows_gaming_input
1709 enable_windows_globalization
1710 enable_windows_media_devices
1711 enable_windows_media_speech
1712 enable_windowscodecs
1713 enable_windowscodecsext
1714 enable_winealsa_drv
1715 enable_wineandroid_drv
1716 enable_winebus_sys
1717 enable_winecoreaudio_drv
1718 enable_winecrt0
1719 enable_wined3d
1720 enable_winegstreamer
1721 enable_winehid_sys
1722 enable_winemac_drv
1723 enable_winemapi
1724 enable_wineoss_drv
1725 enable_wineps_drv
1726 enable_winepulse_drv
1727 enable_wineusb_sys
1728 enable_winevulkan
1729 enable_winex11_drv
1730 enable_winexinput_sys
1731 enable_wing32
1732 enable_winhttp
1733 enable_wininet
1734 enable_winmm
1735 enable_winnls32
1736 enable_winscard
1737 enable_winspool_drv
1738 enable_winsta
1739 enable_wintab32
1740 enable_wintrust
1741 enable_winusb
1742 enable_wlanapi
1743 enable_wlanui
1744 enable_wldap32
1745 enable_wmadmod
1746 enable_wmasf
1747 enable_wmi
1748 enable_wmiutils
1749 enable_wmp
1750 enable_wmphoto
1751 enable_wmvcore
1752 enable_wnaspi32
1753 enable_wow64
1754 enable_wow64cpu
1755 enable_wow64win
1756 enable_wpc
1757 enable_wpcap
1758 enable_ws2_32
1759 enable_wsdapi
1760 enable_wshom_ocx
1761 enable_wsnmp32
1762 enable_wsock32
1763 enable_wtsapi32
1764 enable_wuapi
1765 enable_wuaueng
1766 enable_x3daudio1_0
1767 enable_x3daudio1_1
1768 enable_x3daudio1_2
1769 enable_x3daudio1_3
1770 enable_x3daudio1_4
1771 enable_x3daudio1_5
1772 enable_x3daudio1_6
1773 enable_x3daudio1_7
1774 enable_xactengine2_0
1775 enable_xactengine2_4
1776 enable_xactengine2_7
1777 enable_xactengine2_9
1778 enable_xactengine3_0
1779 enable_xactengine3_1
1780 enable_xactengine3_2
1781 enable_xactengine3_3
1782 enable_xactengine3_4
1783 enable_xactengine3_5
1784 enable_xactengine3_6
1785 enable_xactengine3_7
1786 enable_xapofx1_1
1787 enable_xapofx1_2
1788 enable_xapofx1_3
1789 enable_xapofx1_4
1790 enable_xapofx1_5
1791 enable_xaudio2_0
1792 enable_xaudio2_1
1793 enable_xaudio2_2
1794 enable_xaudio2_3
1795 enable_xaudio2_4
1796 enable_xaudio2_5
1797 enable_xaudio2_6
1798 enable_xaudio2_7
1799 enable_xaudio2_8
1800 enable_xaudio2_9
1801 enable_xinput1_1
1802 enable_xinput1_2
1803 enable_xinput1_3
1804 enable_xinput1_4
1805 enable_xinput9_1_0
1806 enable_xmllite
1807 enable_xolehlp
1808 enable_xpsprint
1809 enable_xpssvcs
1810 enable_fonts
1811 enable_include
1812 enable_adsiid
1813 enable_dmoguids
1814 enable_dxerr8
1815 enable_dxerr9
1816 enable_dxguid
1817 enable_faudio
1818 enable_gsm
1819 enable_jpeg
1820 enable_jxr
1821 enable_lcms2
1822 enable_mfuuid
1823 enable_mpg123
1824 enable_png
1825 enable_strmbase
1826 enable_strmiids
1827 enable_tiff
1828 enable_uuid
1829 enable_wbemuuid
1830 enable_wine
1831 enable_wmcodecdspuuid
1832 enable_xml2
1833 enable_xslt
1834 enable_zlib
1835 enable_loader
1836 enable_nls
1837 enable_po
1838 enable_arp
1839 enable_aspnet_regiis
1840 enable_attrib
1841 enable_cabarc
1842 enable_cacls
1843 enable_chcp_com
1844 enable_clock
1845 enable_cmd
1846 enable_conhost
1847 enable_control
1848 enable_cscript
1849 enable_dism
1850 enable_dplaysvr
1851 enable_dpnsvr
1852 enable_dpvsetup
1853 enable_dxdiag
1854 enable_eject
1855 enable_expand
1856 enable_explorer
1857 enable_extrac32
1858 enable_fc
1859 enable_find
1860 enable_findstr
1861 enable_fsutil
1862 enable_hh
1863 enable_hostname
1864 enable_icacls
1865 enable_icinfo
1866 enable_iexplore
1867 enable_ipconfig
1868 enable_lodctr
1869 enable_mofcomp
1870 enable_mshta
1871 enable_msidb
1872 enable_msiexec
1873 enable_msinfo32
1874 enable_net
1875 enable_netsh
1876 enable_netstat
1877 enable_ngen
1878 enable_notepad
1879 enable_oleview
1880 enable_ping
1881 enable_plugplay
1882 enable_powershell
1883 enable_presentationfontcache
1884 enable_progman
1885 enable_reg
1886 enable_regasm
1887 enable_regedit
1888 enable_regini
1889 enable_regsvcs
1890 enable_regsvr32
1891 enable_robocopy
1892 enable_rpcss
1893 enable_rundll32
1894 enable_sc
1895 enable_schtasks
1896 enable_sdbinst
1897 enable_secedit
1898 enable_servicemodelreg
1899 enable_services
1900 enable_shutdown
1901 enable_spoolsv
1902 enable_start
1903 enable_subst
1904 enable_svchost
1905 enable_systeminfo
1906 enable_taskkill
1907 enable_tasklist
1908 enable_taskmgr
1909 enable_termsv
1910 enable_uninstaller
1911 enable_unlodctr
1912 enable_view
1913 enable_wevtutil
1914 enable_where
1915 enable_whoami
1916 enable_wineboot
1917 enable_winebrowser
1918 enable_winecfg
1919 enable_wineconsole
1920 enable_winedbg
1921 enable_winedevice
1922 enable_winefile
1923 enable_winemenubuilder
1924 enable_winemine
1925 enable_winemsibuilder
1926 enable_winepath
1927 enable_winetest
1928 enable_winhlp32
1929 enable_winmgmt
1930 enable_winver
1931 enable_wmic
1932 enable_wmplayer
1933 enable_wordpad
1934 enable_write
1935 enable_wscript
1936 enable_wuauserv
1937 enable_wusa
1938 enable_xcopy
1939 enable_server
1940 enable_tools
1941 enable_sfnt2fon
1942 enable_widl
1943 enable_winebuild
1944 enable_winedump
1945 enable_winegcc
1946 enable_winemaker
1947 enable_wmc
1948 enable_wrc
1950 ac_precious_vars='build_alias
1951 host_alias
1952 target_alias
1954 CFLAGS
1955 LDFLAGS
1956 LIBS
1957 CPPFLAGS
1959 CXXFLAGS
1961 OBJC
1962 OBJCFLAGS
1963 FAUDIO_PE_CFLAGS
1964 FAUDIO_PE_LIBS
1965 GSM_PE_CFLAGS
1966 GSM_PE_LIBS
1967 JPEG_PE_CFLAGS
1968 JPEG_PE_LIBS
1969 JXR_PE_CFLAGS
1970 JXR_PE_LIBS
1971 LCMS2_PE_CFLAGS
1972 LCMS2_PE_LIBS
1973 MPG123_PE_CFLAGS
1974 MPG123_PE_LIBS
1975 PNG_PE_CFLAGS
1976 PNG_PE_LIBS
1977 TIFF_PE_CFLAGS
1978 TIFF_PE_LIBS
1979 XML2_PE_CFLAGS
1980 XML2_PE_LIBS
1981 XSLT_PE_CFLAGS
1982 XSLT_PE_LIBS
1983 ZLIB_PE_CFLAGS
1984 ZLIB_PE_LIBS
1985 XMKMF
1987 INOTIFY_CFLAGS
1988 INOTIFY_LIBS
1989 DBUS_CFLAGS
1990 DBUS_LIBS
1991 GNUTLS_CFLAGS
1992 GNUTLS_LIBS
1993 SANE_CFLAGS
1994 SANE_LIBS
1995 USB_CFLAGS
1996 USB_LIBS
1997 GPHOTO2_CFLAGS
1998 GPHOTO2_LIBS
1999 GPHOTO2_PORT_CFLAGS
2000 GPHOTO2_PORT_LIBS
2001 FREETYPE_CFLAGS
2002 FREETYPE_LIBS
2003 PULSE_CFLAGS
2004 PULSE_LIBS
2005 GSTREAMER_CFLAGS
2006 GSTREAMER_LIBS
2007 UDEV_CFLAGS
2008 UDEV_LIBS
2009 UNWIND_CFLAGS
2010 UNWIND_LIBS
2011 SDL2_CFLAGS
2012 SDL2_LIBS
2013 CAPI20_CFLAGS
2014 CAPI20_LIBS
2015 CUPS_CFLAGS
2016 CUPS_LIBS
2017 FONTCONFIG_CFLAGS
2018 FONTCONFIG_LIBS
2019 KRB5_CFLAGS
2020 KRB5_LIBS
2021 GSSAPI_CFLAGS
2022 GSSAPI_LIBS
2023 NETAPI_CFLAGS
2024 NETAPI_LIBS
2025 VKD3D_CFLAGS
2026 VKD3D_LIBS
2027 VKD3D_SHADER_CFLAGS
2028 VKD3D_SHADER_LIBS
2029 LDAP_CFLAGS
2030 LDAP_LIBS'
2033 # Initialize some variables set by options.
2034 ac_init_help=
2035 ac_init_version=false
2036 ac_unrecognized_opts=
2037 ac_unrecognized_sep=
2038 # The variables have the same names as the options, with
2039 # dashes changed to underlines.
2040 cache_file=/dev/null
2041 exec_prefix=NONE
2042 no_create=
2043 no_recursion=
2044 prefix=NONE
2045 program_prefix=NONE
2046 program_suffix=NONE
2047 program_transform_name=s,x,x,
2048 silent=
2049 site=
2050 srcdir=
2051 verbose=
2052 x_includes=NONE
2053 x_libraries=NONE
2055 # Installation directory options.
2056 # These are left unexpanded so users can "make install exec_prefix=/foo"
2057 # and all the variables that are supposed to be based on exec_prefix
2058 # by default will actually change.
2059 # Use braces instead of parens because sh, perl, etc. also accept them.
2060 # (The list follows the same order as the GNU Coding Standards.)
2061 bindir='${exec_prefix}/bin'
2062 sbindir='${exec_prefix}/sbin'
2063 libexecdir='${exec_prefix}/libexec'
2064 datarootdir='${prefix}/share'
2065 datadir='${datarootdir}'
2066 sysconfdir='${prefix}/etc'
2067 sharedstatedir='${prefix}/com'
2068 localstatedir='${prefix}/var'
2069 runstatedir='${localstatedir}/run'
2070 includedir='${prefix}/include'
2071 oldincludedir='/usr/include'
2072 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2073 infodir='${datarootdir}/info'
2074 htmldir='${docdir}'
2075 dvidir='${docdir}'
2076 pdfdir='${docdir}'
2077 psdir='${docdir}'
2078 libdir='${exec_prefix}/lib'
2079 localedir='${datarootdir}/locale'
2080 mandir='${datarootdir}/man'
2082 ac_prev=
2083 ac_dashdash=
2084 for ac_option
2086 # If the previous option needs an argument, assign it.
2087 if test -n "$ac_prev"; then
2088 eval $ac_prev=\$ac_option
2089 ac_prev=
2090 continue
2093 case $ac_option in
2094 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2095 *=) ac_optarg= ;;
2096 *) ac_optarg=yes ;;
2097 esac
2099 case $ac_dashdash$ac_option in
2101 ac_dashdash=yes ;;
2103 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2104 ac_prev=bindir ;;
2105 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2106 bindir=$ac_optarg ;;
2108 -build | --build | --buil | --bui | --bu)
2109 ac_prev=build_alias ;;
2110 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2111 build_alias=$ac_optarg ;;
2113 -cache-file | --cache-file | --cache-fil | --cache-fi \
2114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2115 ac_prev=cache_file ;;
2116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2118 cache_file=$ac_optarg ;;
2120 --config-cache | -C)
2121 cache_file=config.cache ;;
2123 -datadir | --datadir | --datadi | --datad)
2124 ac_prev=datadir ;;
2125 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2126 datadir=$ac_optarg ;;
2128 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2129 | --dataroo | --dataro | --datar)
2130 ac_prev=datarootdir ;;
2131 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2132 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2133 datarootdir=$ac_optarg ;;
2135 -disable-* | --disable-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "enable_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval enable_$ac_useropt=no ;;
2151 -docdir | --docdir | --docdi | --doc | --do)
2152 ac_prev=docdir ;;
2153 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2154 docdir=$ac_optarg ;;
2156 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2157 ac_prev=dvidir ;;
2158 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2159 dvidir=$ac_optarg ;;
2161 -enable-* | --enable-*)
2162 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2165 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2166 ac_useropt_orig=$ac_useropt
2167 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2170 "enable_$ac_useropt"
2171 "*) ;;
2172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2173 ac_unrecognized_sep=', ';;
2174 esac
2175 eval enable_$ac_useropt=\$ac_optarg ;;
2177 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2178 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2179 | --exec | --exe | --ex)
2180 ac_prev=exec_prefix ;;
2181 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2182 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2183 | --exec=* | --exe=* | --ex=*)
2184 exec_prefix=$ac_optarg ;;
2186 -gas | --gas | --ga | --g)
2187 # Obsolete; use --with-gas.
2188 with_gas=yes ;;
2190 -help | --help | --hel | --he | -h)
2191 ac_init_help=long ;;
2192 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2193 ac_init_help=recursive ;;
2194 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2195 ac_init_help=short ;;
2197 -host | --host | --hos | --ho)
2198 ac_prev=host_alias ;;
2199 -host=* | --host=* | --hos=* | --ho=*)
2200 host_alias=$ac_optarg ;;
2202 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2203 ac_prev=htmldir ;;
2204 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2205 | --ht=*)
2206 htmldir=$ac_optarg ;;
2208 -includedir | --includedir | --includedi | --included | --include \
2209 | --includ | --inclu | --incl | --inc)
2210 ac_prev=includedir ;;
2211 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2212 | --includ=* | --inclu=* | --incl=* | --inc=*)
2213 includedir=$ac_optarg ;;
2215 -infodir | --infodir | --infodi | --infod | --info | --inf)
2216 ac_prev=infodir ;;
2217 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2218 infodir=$ac_optarg ;;
2220 -libdir | --libdir | --libdi | --libd)
2221 ac_prev=libdir ;;
2222 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2223 libdir=$ac_optarg ;;
2225 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2226 | --libexe | --libex | --libe)
2227 ac_prev=libexecdir ;;
2228 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2229 | --libexe=* | --libex=* | --libe=*)
2230 libexecdir=$ac_optarg ;;
2232 -localedir | --localedir | --localedi | --localed | --locale)
2233 ac_prev=localedir ;;
2234 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2235 localedir=$ac_optarg ;;
2237 -localstatedir | --localstatedir | --localstatedi | --localstated \
2238 | --localstate | --localstat | --localsta | --localst | --locals)
2239 ac_prev=localstatedir ;;
2240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2241 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2242 localstatedir=$ac_optarg ;;
2244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2245 ac_prev=mandir ;;
2246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2247 mandir=$ac_optarg ;;
2249 -nfp | --nfp | --nf)
2250 # Obsolete; use --without-fp.
2251 with_fp=no ;;
2253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2254 | --no-cr | --no-c | -n)
2255 no_create=yes ;;
2257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2259 no_recursion=yes ;;
2261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2263 | --oldin | --oldi | --old | --ol | --o)
2264 ac_prev=oldincludedir ;;
2265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2268 oldincludedir=$ac_optarg ;;
2270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2271 ac_prev=prefix ;;
2272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2273 prefix=$ac_optarg ;;
2275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2276 | --program-pre | --program-pr | --program-p)
2277 ac_prev=program_prefix ;;
2278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2280 program_prefix=$ac_optarg ;;
2282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2283 | --program-suf | --program-su | --program-s)
2284 ac_prev=program_suffix ;;
2285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2287 program_suffix=$ac_optarg ;;
2289 -program-transform-name | --program-transform-name \
2290 | --program-transform-nam | --program-transform-na \
2291 | --program-transform-n | --program-transform- \
2292 | --program-transform | --program-transfor \
2293 | --program-transfo | --program-transf \
2294 | --program-trans | --program-tran \
2295 | --progr-tra | --program-tr | --program-t)
2296 ac_prev=program_transform_name ;;
2297 -program-transform-name=* | --program-transform-name=* \
2298 | --program-transform-nam=* | --program-transform-na=* \
2299 | --program-transform-n=* | --program-transform-=* \
2300 | --program-transform=* | --program-transfor=* \
2301 | --program-transfo=* | --program-transf=* \
2302 | --program-trans=* | --program-tran=* \
2303 | --progr-tra=* | --program-tr=* | --program-t=*)
2304 program_transform_name=$ac_optarg ;;
2306 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2307 ac_prev=pdfdir ;;
2308 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2309 pdfdir=$ac_optarg ;;
2311 -psdir | --psdir | --psdi | --psd | --ps)
2312 ac_prev=psdir ;;
2313 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2314 psdir=$ac_optarg ;;
2316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2317 | -silent | --silent | --silen | --sile | --sil)
2318 silent=yes ;;
2320 -runstatedir | --runstatedir | --runstatedi | --runstated \
2321 | --runstate | --runstat | --runsta | --runst | --runs \
2322 | --run | --ru | --r)
2323 ac_prev=runstatedir ;;
2324 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2325 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2326 | --run=* | --ru=* | --r=*)
2327 runstatedir=$ac_optarg ;;
2329 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2330 ac_prev=sbindir ;;
2331 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2332 | --sbi=* | --sb=*)
2333 sbindir=$ac_optarg ;;
2335 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2336 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2337 | --sharedst | --shareds | --shared | --share | --shar \
2338 | --sha | --sh)
2339 ac_prev=sharedstatedir ;;
2340 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2341 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2342 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2343 | --sha=* | --sh=*)
2344 sharedstatedir=$ac_optarg ;;
2346 -site | --site | --sit)
2347 ac_prev=site ;;
2348 -site=* | --site=* | --sit=*)
2349 site=$ac_optarg ;;
2351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2352 ac_prev=srcdir ;;
2353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2354 srcdir=$ac_optarg ;;
2356 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2357 | --syscon | --sysco | --sysc | --sys | --sy)
2358 ac_prev=sysconfdir ;;
2359 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2360 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2361 sysconfdir=$ac_optarg ;;
2363 -target | --target | --targe | --targ | --tar | --ta | --t)
2364 ac_prev=target_alias ;;
2365 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2366 target_alias=$ac_optarg ;;
2368 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2369 verbose=yes ;;
2371 -version | --version | --versio | --versi | --vers | -V)
2372 ac_init_version=: ;;
2374 -with-* | --with-*)
2375 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2376 # Reject names that are not valid shell variable names.
2377 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2378 as_fn_error $? "invalid package name: \`$ac_useropt'"
2379 ac_useropt_orig=$ac_useropt
2380 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2381 case $ac_user_opts in
2383 "with_$ac_useropt"
2384 "*) ;;
2385 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2386 ac_unrecognized_sep=', ';;
2387 esac
2388 eval with_$ac_useropt=\$ac_optarg ;;
2390 -without-* | --without-*)
2391 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2392 # Reject names that are not valid shell variable names.
2393 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2394 as_fn_error $? "invalid package name: \`$ac_useropt'"
2395 ac_useropt_orig=$ac_useropt
2396 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2397 case $ac_user_opts in
2399 "with_$ac_useropt"
2400 "*) ;;
2401 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2402 ac_unrecognized_sep=', ';;
2403 esac
2404 eval with_$ac_useropt=no ;;
2406 --x)
2407 # Obsolete; use --with-x.
2408 with_x=yes ;;
2410 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2411 | --x-incl | --x-inc | --x-in | --x-i)
2412 ac_prev=x_includes ;;
2413 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2414 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2415 x_includes=$ac_optarg ;;
2417 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2418 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2419 ac_prev=x_libraries ;;
2420 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2421 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2422 x_libraries=$ac_optarg ;;
2424 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2425 Try \`$0 --help' for more information"
2428 *=*)
2429 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2430 # Reject names that are not valid shell variable names.
2431 case $ac_envvar in #(
2432 '' | [0-9]* | *[!_$as_cr_alnum]* )
2433 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2434 esac
2435 eval $ac_envvar=\$ac_optarg
2436 export $ac_envvar ;;
2439 # FIXME: should be removed in autoconf 3.0.
2440 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2441 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2442 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2443 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2446 esac
2447 done
2449 if test -n "$ac_prev"; then
2450 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2451 as_fn_error $? "missing argument to $ac_option"
2454 if test -n "$ac_unrecognized_opts"; then
2455 case $enable_option_checking in
2456 no) ;;
2457 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2458 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2459 esac
2462 # Check all directory arguments for consistency.
2463 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2464 datadir sysconfdir sharedstatedir localstatedir includedir \
2465 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2466 libdir localedir mandir runstatedir
2468 eval ac_val=\$$ac_var
2469 # Remove trailing slashes.
2470 case $ac_val in
2471 */ )
2472 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2473 eval $ac_var=\$ac_val;;
2474 esac
2475 # Be sure to have absolute directory names.
2476 case $ac_val in
2477 [\\/$]* | ?:[\\/]* ) continue;;
2478 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2479 esac
2480 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2481 done
2483 # There might be people who depend on the old broken behavior: `$host'
2484 # used to hold the argument of --host etc.
2485 # FIXME: To remove some day.
2486 build=$build_alias
2487 host=$host_alias
2488 target=$target_alias
2490 # FIXME: To remove some day.
2491 if test "x$host_alias" != x; then
2492 if test "x$build_alias" = x; then
2493 cross_compiling=maybe
2494 elif test "x$build_alias" != "x$host_alias"; then
2495 cross_compiling=yes
2499 ac_tool_prefix=
2500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2502 test "$silent" = yes && exec 6>/dev/null
2505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2506 ac_ls_di=`ls -di .` &&
2507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2508 as_fn_error $? "working directory cannot be determined"
2509 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2510 as_fn_error $? "pwd does not report name of working directory"
2513 # Find the source files, if location was not specified.
2514 if test -z "$srcdir"; then
2515 ac_srcdir_defaulted=yes
2516 # Try the directory containing this script, then the parent directory.
2517 ac_confdir=`$as_dirname -- "$as_myself" ||
2518 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2519 X"$as_myself" : 'X\(//\)[^/]' \| \
2520 X"$as_myself" : 'X\(//\)$' \| \
2521 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2522 printf "%s\n" X"$as_myself" |
2523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2524 s//\1/
2527 /^X\(\/\/\)[^/].*/{
2528 s//\1/
2531 /^X\(\/\/\)$/{
2532 s//\1/
2535 /^X\(\/\).*/{
2536 s//\1/
2539 s/.*/./; q'`
2540 srcdir=$ac_confdir
2541 if test ! -r "$srcdir/$ac_unique_file"; then
2542 srcdir=..
2544 else
2545 ac_srcdir_defaulted=no
2547 if test ! -r "$srcdir/$ac_unique_file"; then
2548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2549 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2552 ac_abs_confdir=`(
2553 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2554 pwd)`
2555 # When building in place, set srcdir=.
2556 if test "$ac_abs_confdir" = "$ac_pwd"; then
2557 srcdir=.
2559 # Remove unnecessary trailing slashes from srcdir.
2560 # Double slashes in file names in object file debugging info
2561 # mess up M-x gdb in Emacs.
2562 case $srcdir in
2563 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2564 esac
2565 for ac_var in $ac_precious_vars; do
2566 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2567 eval ac_env_${ac_var}_value=\$${ac_var}
2568 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2569 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2570 done
2573 # Report the --help message.
2575 if test "$ac_init_help" = "long"; then
2576 # Omit some internal or obsolete options to make the list less imposing.
2577 # This message is too long to be a string in the A/UX 3.1 sh.
2578 cat <<_ACEOF
2579 \`configure' configures Wine 7.1 to adapt to many kinds of systems.
2581 Usage: $0 [OPTION]... [VAR=VALUE]...
2583 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2584 VAR=VALUE. See below for descriptions of some of the useful variables.
2586 Defaults for the options are specified in brackets.
2588 Configuration:
2589 -h, --help display this help and exit
2590 --help=short display options specific to this package
2591 --help=recursive display the short help of all the included packages
2592 -V, --version display version information and exit
2593 -q, --quiet, --silent do not print \`checking ...' messages
2594 --cache-file=FILE cache test results in FILE [disabled]
2595 -C, --config-cache alias for \`--cache-file=config.cache'
2596 -n, --no-create do not create output files
2597 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2599 Installation directories:
2600 --prefix=PREFIX install architecture-independent files in PREFIX
2601 [$ac_default_prefix]
2602 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2603 [PREFIX]
2605 By default, \`make install' will install all the files in
2606 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2607 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2608 for instance \`--prefix=\$HOME'.
2610 For better control, use the options below.
2612 Fine tuning of the installation directories:
2613 --bindir=DIR user executables [EPREFIX/bin]
2614 --sbindir=DIR system admin executables [EPREFIX/sbin]
2615 --libexecdir=DIR program executables [EPREFIX/libexec]
2616 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2617 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2618 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2619 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2620 --libdir=DIR object code libraries [EPREFIX/lib]
2621 --includedir=DIR C header files [PREFIX/include]
2622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2625 --infodir=DIR info documentation [DATAROOTDIR/info]
2626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2627 --mandir=DIR man documentation [DATAROOTDIR/man]
2628 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2629 --htmldir=DIR html documentation [DOCDIR]
2630 --dvidir=DIR dvi documentation [DOCDIR]
2631 --pdfdir=DIR pdf documentation [DOCDIR]
2632 --psdir=DIR ps documentation [DOCDIR]
2633 _ACEOF
2635 cat <<\_ACEOF
2637 X features:
2638 --x-includes=DIR X include files are in DIR
2639 --x-libraries=DIR X library files are in DIR
2641 System types:
2642 --build=BUILD configure for building on BUILD [guessed]
2643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2644 _ACEOF
2647 if test -n "$ac_init_help"; then
2648 case $ac_init_help in
2649 short | recursive ) echo "Configuration of Wine 7.1:";;
2650 esac
2651 cat <<\_ACEOF
2653 Optional Features:
2654 --disable-option-checking ignore unrecognized --enable/--with options
2655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2657 --disable-win16 do not include Win16 support
2658 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2659 binaries)
2660 --disable-tests do not build the regression tests
2661 --enable-build-id include .buildid section in output objects
2662 --enable-maintainer-mode
2663 enable maintainer-specific build rules
2664 --enable-silent-rules use silent build rules (override: "make V=1")
2665 --enable-werror treat compilation warnings as errors
2666 --disable-largefile omit support for large files
2668 Optional Packages:
2669 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2670 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2671 --without-alsa do not use the Alsa sound support
2672 --without-capi do not use CAPI (ISDN support)
2673 --without-coreaudio do not use the CoreAudio sound support
2674 --without-cups do not use CUPS
2675 --without-dbus do not use DBus (dynamic device support)
2676 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2677 --without-fontconfig do not use fontconfig
2678 --without-freetype do not use the FreeType library
2679 --without-gettext do not use gettext
2680 --with-gettextpo use the GetTextPO library to rebuild po files
2681 --without-gphoto do not use gphoto (Digital Camera support)
2682 --without-gnutls do not use GnuTLS (schannel support)
2683 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2684 --without-gstreamer do not use GStreamer (codecs support)
2685 --without-inotify do not use inotify (filesystem change notifications)
2686 --without-krb5 do not use krb5 (Kerberos)
2687 --without-ldap do not use LDAP
2688 --without-mingw do not use the MinGW cross-compiler
2689 --without-netapi do not use the Samba NetAPI library
2690 --without-openal do not use OpenAL
2691 --without-opencl do not use OpenCL
2692 --without-opengl do not use OpenGL
2693 --without-osmesa do not use the OSMesa library
2694 --without-oss do not use the OSS sound support
2695 --without-pcap do not use the Packet Capture library
2696 --without-pthread do not use the pthread library
2697 --without-pulse do not use PulseAudio sound support
2698 --without-sane do not use SANE (scanner support)
2699 --without-sdl do not use SDL
2700 --without-udev do not use udev (plug and play support)
2701 --without-unwind do not use the libunwind library (exception
2702 handling)
2703 --without-usb do not use the libusb library
2704 --without-v4l2 do not use v4l2 (video capture)
2705 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2706 --without-vulkan do not use Vulkan
2707 --without-xcomposite do not use the Xcomposite extension
2708 --without-xcursor do not use the Xcursor extension
2709 --without-xfixes do not use Xfixes for clipboard change notifications
2710 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2711 --without-xinput do not use the Xinput extension
2712 --without-xinput2 do not use the Xinput 2 extension
2713 --without-xrandr do not use Xrandr (multi-monitor support)
2714 --without-xrender do not use the Xrender extension
2715 --without-xshape do not use the Xshape extension
2716 --without-xshm do not use XShm (shared memory extension)
2717 --without-xxf86vm do not use XFree video mode extension
2718 --with-system-dllpath=PATH
2719 load external PE dependencies from colon-separated
2720 path PATH
2721 --with-wine-tools=DIR use Wine tools from directory DIR
2722 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2723 --with-x use the X Window System
2725 Some influential environment variables:
2726 CC C compiler command
2727 CFLAGS C compiler flags
2728 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2729 nonstandard directory <lib dir>
2730 LIBS libraries to pass to the linker, e.g. -l<library>
2731 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2732 you have headers in a nonstandard directory <include dir>
2733 CXX C++ compiler command
2734 CXXFLAGS C++ compiler flags
2735 OBJC Objective C compiler command
2736 OBJCFLAGS Objective C compiler flags
2737 FAUDIO_PE_CFLAGS
2738 C compiler flags for the PE faudio, overriding the bundled
2739 version
2740 FAUDIO_PE_LIBS
2741 Linker flags for the PE faudio, overriding the bundled version
2742 GSM_PE_CFLAGS
2743 C compiler flags for the PE gsm, overriding the bundled version
2744 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2745 JPEG_PE_CFLAGS
2746 C compiler flags for the PE jpeg, overriding the bundled version
2747 JPEG_PE_LIBS
2748 Linker flags for the PE jpeg, overriding the bundled version
2749 JXR_PE_CFLAGS
2750 C compiler flags for the PE jxr, overriding the bundled version
2751 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2752 LCMS2_PE_CFLAGS
2753 C compiler flags for the PE lcms2, overriding the bundled
2754 version
2755 LCMS2_PE_LIBS
2756 Linker flags for the PE lcms2, overriding the bundled version
2757 MPG123_PE_CFLAGS
2758 C compiler flags for the PE mpg123, overriding the bundled
2759 version
2760 MPG123_PE_LIBS
2761 Linker flags for the PE mpg123, overriding the bundled version
2762 PNG_PE_CFLAGS
2763 C compiler flags for the PE png, overriding the bundled version
2764 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2765 TIFF_PE_CFLAGS
2766 C compiler flags for the PE tiff, overriding the bundled version
2767 TIFF_PE_LIBS
2768 Linker flags for the PE tiff, overriding the bundled version
2769 XML2_PE_CFLAGS
2770 C compiler flags for the PE xml2, overriding the bundled version
2771 XML2_PE_LIBS
2772 Linker flags for the PE xml2, overriding the bundled version
2773 XSLT_PE_CFLAGS
2774 C compiler flags for the PE xslt, overriding the bundled version
2775 XSLT_PE_LIBS
2776 Linker flags for the PE xslt, overriding the bundled version
2777 ZLIB_PE_CFLAGS
2778 C compiler flags for the PE zlib, overriding the bundled version
2779 ZLIB_PE_LIBS
2780 Linker flags for the PE zlib, overriding the bundled version
2781 XMKMF Path to xmkmf, Makefile generator for X Window System
2782 CPP C preprocessor
2783 INOTIFY_CFLAGS
2784 C compiler flags for libinotify, overriding pkg-config
2785 INOTIFY_LIBS
2786 Linker flags for libinotify, overriding pkg-config
2787 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2788 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2789 GNUTLS_CFLAGS
2790 C compiler flags for gnutls, overriding pkg-config
2791 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2792 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2793 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2794 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2795 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2796 GPHOTO2_CFLAGS
2797 C compiler flags for libgphoto2, overriding pkg-config
2798 GPHOTO2_LIBS
2799 Linker flags for libgphoto2, overriding pkg-config
2800 GPHOTO2_PORT_CFLAGS
2801 C compiler flags for libgphoto2_port, overriding pkg-config
2802 GPHOTO2_PORT_LIBS
2803 Linker flags for libgphoto2_port, overriding pkg-config
2804 FREETYPE_CFLAGS
2805 C compiler flags for freetype2, overriding pkg-config
2806 FREETYPE_LIBS
2807 Linker flags for freetype2, overriding pkg-config
2808 PULSE_CFLAGS
2809 C compiler flags for libpulse, overriding pkg-config
2810 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2811 GSTREAMER_CFLAGS
2812 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2813 gstreamer-audio-1.0, overriding pkg-config
2814 GSTREAMER_LIBS
2815 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2816 gstreamer-audio-1.0, overriding pkg-config
2817 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2818 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2819 UNWIND_CFLAGS
2820 C compiler flags for libunwind, overriding pkg-config
2821 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2822 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2823 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2824 CAPI20_CFLAGS
2825 C compiler flags for capi20, overriding pkg-config
2826 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2827 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2828 CUPS_LIBS Linker flags for cups, overriding pkg-config
2829 FONTCONFIG_CFLAGS
2830 C compiler flags for fontconfig, overriding pkg-config
2831 FONTCONFIG_LIBS
2832 Linker flags for fontconfig, overriding pkg-config
2833 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2834 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2835 GSSAPI_CFLAGS
2836 C compiler flags for krb5-gssapi, overriding pkg-config
2837 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2838 NETAPI_CFLAGS
2839 C compiler flags for netapi, overriding pkg-config
2840 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2841 VKD3D_CFLAGS
2842 C compiler flags for libvkd3d, overriding pkg-config
2843 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2844 VKD3D_SHADER_CFLAGS
2845 C compiler flags for libvkd3d-shader, overriding pkg-config
2846 VKD3D_SHADER_LIBS
2847 Linker flags for libvkd3d-shader, overriding pkg-config
2848 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2849 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2851 Use these variables to override the choices made by `configure' or to help
2852 it to find libraries and programs with nonstandard names/locations.
2854 Report bugs to <wine-devel@winehq.org>.
2855 Wine home page: <https://www.winehq.org>.
2856 _ACEOF
2857 ac_status=$?
2860 if test "$ac_init_help" = "recursive"; then
2861 # If there are subdirs, report their specific --help.
2862 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2863 test -d "$ac_dir" ||
2864 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2865 continue
2866 ac_builddir=.
2868 case "$ac_dir" in
2869 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2871 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2872 # A ".." for each directory in $ac_dir_suffix.
2873 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2874 case $ac_top_builddir_sub in
2875 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2876 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2877 esac ;;
2878 esac
2879 ac_abs_top_builddir=$ac_pwd
2880 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2881 # for backward compatibility:
2882 ac_top_builddir=$ac_top_build_prefix
2884 case $srcdir in
2885 .) # We are building in place.
2886 ac_srcdir=.
2887 ac_top_srcdir=$ac_top_builddir_sub
2888 ac_abs_top_srcdir=$ac_pwd ;;
2889 [\\/]* | ?:[\\/]* ) # Absolute name.
2890 ac_srcdir=$srcdir$ac_dir_suffix;
2891 ac_top_srcdir=$srcdir
2892 ac_abs_top_srcdir=$srcdir ;;
2893 *) # Relative name.
2894 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2895 ac_top_srcdir=$ac_top_build_prefix$srcdir
2896 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2897 esac
2898 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2900 cd "$ac_dir" || { ac_status=$?; continue; }
2901 # Check for configure.gnu first; this name is used for a wrapper for
2902 # Metaconfig's "Configure" on case-insensitive file systems.
2903 if test -f "$ac_srcdir/configure.gnu"; then
2904 echo &&
2905 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2906 elif test -f "$ac_srcdir/configure"; then
2907 echo &&
2908 $SHELL "$ac_srcdir/configure" --help=recursive
2909 else
2910 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2911 fi || ac_status=$?
2912 cd "$ac_pwd" || { ac_status=$?; break; }
2913 done
2916 test -n "$ac_init_help" && exit $ac_status
2917 if $ac_init_version; then
2918 cat <<\_ACEOF
2919 Wine configure 7.1
2920 generated by GNU Autoconf 2.71
2922 Copyright (C) 2021 Free Software Foundation, Inc.
2923 This configure script is free software; the Free Software Foundation
2924 gives unlimited permission to copy, distribute and modify it.
2925 _ACEOF
2926 exit
2929 ## ------------------------ ##
2930 ## Autoconf initialization. ##
2931 ## ------------------------ ##
2933 # ac_fn_c_try_compile LINENO
2934 # --------------------------
2935 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2936 ac_fn_c_try_compile ()
2938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2939 rm -f conftest.$ac_objext conftest.beam
2940 if { { ac_try="$ac_compile"
2941 case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 printf "%s\n" "$ac_try_echo"; } >&5
2947 (eval "$ac_compile") 2>conftest.err
2948 ac_status=$?
2949 if test -s conftest.err; then
2950 grep -v '^ *+' conftest.err >conftest.er1
2951 cat conftest.er1 >&5
2952 mv -f conftest.er1 conftest.err
2954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext
2959 then :
2960 ac_retval=0
2961 else $as_nop
2962 printf "%s\n" "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 ac_retval=1
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2970 } # ac_fn_c_try_compile
2972 # ac_fn_cxx_try_compile LINENO
2973 # ----------------------------
2974 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2975 ac_fn_cxx_try_compile ()
2977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2978 rm -f conftest.$ac_objext conftest.beam
2979 if { { ac_try="$ac_compile"
2980 case "(($ac_try" in
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2983 esac
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 printf "%s\n" "$ac_try_echo"; } >&5
2986 (eval "$ac_compile") 2>conftest.err
2987 ac_status=$?
2988 if test -s conftest.err; then
2989 grep -v '^ *+' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2991 mv -f conftest.er1 conftest.err
2993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; } && {
2995 test -z "$ac_cxx_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext
2998 then :
2999 ac_retval=0
3000 else $as_nop
3001 printf "%s\n" "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_retval=1
3006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 as_fn_set_status $ac_retval
3009 } # ac_fn_cxx_try_compile
3011 # ac_fn_c_try_link LINENO
3012 # -----------------------
3013 # Try to link conftest.$ac_ext, and return whether this succeeded.
3014 ac_fn_c_try_link ()
3016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3017 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3018 if { { ac_try="$ac_link"
3019 case "(($ac_try" in
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3022 esac
3023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3024 printf "%s\n" "$ac_try_echo"; } >&5
3025 (eval "$ac_link") 2>conftest.err
3026 ac_status=$?
3027 if test -s conftest.err; then
3028 grep -v '^ *+' conftest.err >conftest.er1
3029 cat conftest.er1 >&5
3030 mv -f conftest.er1 conftest.err
3032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; } && {
3034 test -z "$ac_c_werror_flag" ||
3035 test ! -s conftest.err
3036 } && test -s conftest$ac_exeext && {
3037 test "$cross_compiling" = yes ||
3038 test -x conftest$ac_exeext
3040 then :
3041 ac_retval=0
3042 else $as_nop
3043 printf "%s\n" "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 ac_retval=1
3048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3050 # interfere with the next link command; also delete a directory that is
3051 # left behind by Apple's compiler. We do this before executing the actions.
3052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3054 as_fn_set_status $ac_retval
3056 } # ac_fn_c_try_link
3058 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3059 # -------------------------------------------------------
3060 # Tests whether HEADER exists and can be compiled using the include files in
3061 # INCLUDES, setting the cache variable VAR accordingly.
3062 ac_fn_c_check_header_compile ()
3064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 printf %s "checking for $2... " >&6; }
3067 if eval test \${$3+y}
3068 then :
3069 printf %s "(cached) " >&6
3070 else $as_nop
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3074 #include <$2>
3075 _ACEOF
3076 if ac_fn_c_try_compile "$LINENO"
3077 then :
3078 eval "$3=yes"
3079 else $as_nop
3080 eval "$3=no"
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 eval ac_res=\$$3
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_header_compile
3091 # ac_fn_objc_try_compile LINENO
3092 # -----------------------------
3093 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3094 ac_fn_objc_try_compile ()
3096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3097 rm -f conftest.$ac_objext conftest.beam
3098 if { { ac_try="$ac_compile"
3099 case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 printf "%s\n" "$ac_try_echo"; } >&5
3105 (eval "$ac_compile") 2>conftest.err
3106 ac_status=$?
3107 if test -s conftest.err; then
3108 grep -v '^ *+' conftest.err >conftest.er1
3109 cat conftest.er1 >&5
3110 mv -f conftest.er1 conftest.err
3112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; } && {
3114 test -z "$ac_objc_werror_flag" ||
3115 test ! -s conftest.err
3116 } && test -s conftest.$ac_objext
3117 then :
3118 ac_retval=0
3119 else $as_nop
3120 printf "%s\n" "$as_me: failed program was:" >&5
3121 sed 's/^/| /' conftest.$ac_ext >&5
3123 ac_retval=1
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 as_fn_set_status $ac_retval
3128 } # ac_fn_objc_try_compile
3130 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3131 # ----------------------------------------------------------
3132 # Tests whether HEADER exists and can be compiled using the include files in
3133 # INCLUDES, setting the cache variable VAR accordingly.
3134 ac_fn_objc_check_header_compile ()
3136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3138 printf %s "checking for $2... " >&6; }
3139 if eval test \${$3+y}
3140 then :
3141 printf %s "(cached) " >&6
3142 else $as_nop
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3146 #include <$2>
3147 _ACEOF
3148 if ac_fn_objc_try_compile "$LINENO"
3149 then :
3150 eval "$3=yes"
3151 else $as_nop
3152 eval "$3=no"
3154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3156 eval ac_res=\$$3
3157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3158 printf "%s\n" "$ac_res" >&6; }
3159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3161 } # ac_fn_objc_check_header_compile
3163 # ac_fn_c_check_func LINENO FUNC VAR
3164 # ----------------------------------
3165 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3166 ac_fn_c_check_func ()
3168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3170 printf %s "checking for $2... " >&6; }
3171 if eval test \${$3+y}
3172 then :
3173 printf %s "(cached) " >&6
3174 else $as_nop
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3177 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3179 #define $2 innocuous_$2
3181 /* System header to define __stub macros and hopefully few prototypes,
3182 which can conflict with char $2 (); below. */
3184 #include <limits.h>
3185 #undef $2
3187 /* Override any GCC internal prototype to avoid an error.
3188 Use char because int might match the return type of a GCC
3189 builtin and then its argument prototype would still apply. */
3190 #ifdef __cplusplus
3191 extern "C"
3192 #endif
3193 char $2 ();
3194 /* The GNU C library defines this for functions which it implements
3195 to always fail with ENOSYS. Some functions are actually named
3196 something starting with __ and the normal name is an alias. */
3197 #if defined __stub_$2 || defined __stub___$2
3198 choke me
3199 #endif
3202 main (void)
3204 return $2 ();
3206 return 0;
3208 _ACEOF
3209 if ac_fn_c_try_link "$LINENO"
3210 then :
3211 eval "$3=yes"
3212 else $as_nop
3213 eval "$3=no"
3215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3216 conftest$ac_exeext conftest.$ac_ext
3218 eval ac_res=\$$3
3219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 printf "%s\n" "$ac_res" >&6; }
3221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3223 } # ac_fn_c_check_func
3225 # ac_fn_c_try_cpp LINENO
3226 # ----------------------
3227 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3228 ac_fn_c_try_cpp ()
3230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3231 if { { ac_try="$ac_cpp conftest.$ac_ext"
3232 case "(($ac_try" in
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3235 esac
3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 printf "%s\n" "$ac_try_echo"; } >&5
3238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3239 ac_status=$?
3240 if test -s conftest.err; then
3241 grep -v '^ *+' conftest.err >conftest.er1
3242 cat conftest.er1 >&5
3243 mv -f conftest.er1 conftest.err
3245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3246 test $ac_status = 0; } > conftest.i && {
3247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3250 then :
3251 ac_retval=0
3252 else $as_nop
3253 printf "%s\n" "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3256 ac_retval=1
3258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3259 as_fn_set_status $ac_retval
3261 } # ac_fn_c_try_cpp
3263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3264 # ----------------------------------------------------
3265 # Tries to find if the field MEMBER exists in type AGGR, after including
3266 # INCLUDES, setting cache variable VAR accordingly.
3267 ac_fn_c_check_member ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3271 printf %s "checking for $2.$3... " >&6; }
3272 if eval test \${$4+y}
3273 then :
3274 printf %s "(cached) " >&6
3275 else $as_nop
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3280 main (void)
3282 static $2 ac_aggr;
3283 if (ac_aggr.$3)
3284 return 0;
3286 return 0;
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"
3290 then :
3291 eval "$4=yes"
3292 else $as_nop
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 main (void)
3299 static $2 ac_aggr;
3300 if (sizeof ac_aggr.$3)
3301 return 0;
3303 return 0;
3305 _ACEOF
3306 if ac_fn_c_try_compile "$LINENO"
3307 then :
3308 eval "$4=yes"
3309 else $as_nop
3310 eval "$4=no"
3312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3316 eval ac_res=\$$4
3317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3318 printf "%s\n" "$ac_res" >&6; }
3319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3321 } # ac_fn_c_check_member
3323 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3324 # -------------------------------------------
3325 # Tests whether TYPE exists after having included INCLUDES, setting cache
3326 # variable VAR accordingly.
3327 ac_fn_c_check_type ()
3329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3331 printf %s "checking for $2... " >&6; }
3332 if eval test \${$3+y}
3333 then :
3334 printf %s "(cached) " >&6
3335 else $as_nop
3336 eval "$3=no"
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3341 main (void)
3343 if (sizeof ($2))
3344 return 0;
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"
3350 then :
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3355 main (void)
3357 if (sizeof (($2)))
3358 return 0;
3360 return 0;
3362 _ACEOF
3363 if ac_fn_c_try_compile "$LINENO"
3364 then :
3366 else $as_nop
3367 eval "$3=yes"
3369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3373 eval ac_res=\$$3
3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3375 printf "%s\n" "$ac_res" >&6; }
3376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3378 } # ac_fn_c_check_type
3379 ac_configure_args_raw=
3380 for ac_arg
3382 case $ac_arg in
3383 *\'*)
3384 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3385 esac
3386 as_fn_append ac_configure_args_raw " '$ac_arg'"
3387 done
3389 case $ac_configure_args_raw in
3390 *$as_nl*)
3391 ac_safe_unquote= ;;
3393 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3394 ac_unsafe_a="$ac_unsafe_z#~"
3395 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3396 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3397 esac
3399 cat >config.log <<_ACEOF
3400 This file contains any messages produced by compilers while
3401 running configure, to aid debugging if configure makes a mistake.
3403 It was created by Wine $as_me 7.1, which was
3404 generated by GNU Autoconf 2.71. Invocation command line was
3406 $ $0$ac_configure_args_raw
3408 _ACEOF
3409 exec 5>>config.log
3411 cat <<_ASUNAME
3412 ## --------- ##
3413 ## Platform. ##
3414 ## --------- ##
3416 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3417 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3418 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3419 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3420 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3422 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3423 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3425 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3426 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3427 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3428 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3429 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3430 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3431 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3433 _ASUNAME
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3438 IFS=$as_save_IFS
3439 case $as_dir in #(((
3440 '') as_dir=./ ;;
3441 */) ;;
3442 *) as_dir=$as_dir/ ;;
3443 esac
3444 printf "%s\n" "PATH: $as_dir"
3445 done
3446 IFS=$as_save_IFS
3448 } >&5
3450 cat >&5 <<_ACEOF
3453 ## ----------- ##
3454 ## Core tests. ##
3455 ## ----------- ##
3457 _ACEOF
3460 # Keep a trace of the command line.
3461 # Strip out --no-create and --no-recursion so they do not pile up.
3462 # Strip out --silent because we don't want to record it for future runs.
3463 # Also quote any args containing shell meta-characters.
3464 # Make two passes to allow for proper duplicate-argument suppression.
3465 ac_configure_args=
3466 ac_configure_args0=
3467 ac_configure_args1=
3468 ac_must_keep_next=false
3469 for ac_pass in 1 2
3471 for ac_arg
3473 case $ac_arg in
3474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3476 | -silent | --silent | --silen | --sile | --sil)
3477 continue ;;
3478 *\'*)
3479 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 esac
3481 case $ac_pass in
3482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3484 as_fn_append ac_configure_args1 " '$ac_arg'"
3485 if test $ac_must_keep_next = true; then
3486 ac_must_keep_next=false # Got value, back to normal.
3487 else
3488 case $ac_arg in
3489 *=* | --config-cache | -C | -disable-* | --disable-* \
3490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3492 | -with-* | --with-* | -without-* | --without-* | --x)
3493 case "$ac_configure_args0 " in
3494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3495 esac
3497 -* ) ac_must_keep_next=true ;;
3498 esac
3500 as_fn_append ac_configure_args " '$ac_arg'"
3502 esac
3503 done
3504 done
3505 { ac_configure_args0=; unset ac_configure_args0;}
3506 { ac_configure_args1=; unset ac_configure_args1;}
3508 # When interrupted or exit'd, cleanup temporary files, and complete
3509 # config.log. We remove comments because anyway the quotes in there
3510 # would cause problems or look ugly.
3511 # WARNING: Use '\'' to represent an apostrophe within the trap.
3512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3513 trap 'exit_status=$?
3514 # Sanitize IFS.
3515 IFS=" "" $as_nl"
3516 # Save into config.log some information that might help in debugging.
3518 echo
3520 printf "%s\n" "## ---------------- ##
3521 ## Cache variables. ##
3522 ## ---------------- ##"
3523 echo
3524 # The following way of writing the cache mishandles newlines in values,
3526 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3527 eval ac_val=\$$ac_var
3528 case $ac_val in #(
3529 *${as_nl}*)
3530 case $ac_var in #(
3531 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3532 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3533 esac
3534 case $ac_var in #(
3535 _ | IFS | as_nl) ;; #(
3536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3537 *) { eval $ac_var=; unset $ac_var;} ;;
3538 esac ;;
3539 esac
3540 done
3541 (set) 2>&1 |
3542 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3543 *${as_nl}ac_space=\ *)
3544 sed -n \
3545 "s/'\''/'\''\\\\'\'''\''/g;
3546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3547 ;; #(
3549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3551 esac |
3552 sort
3554 echo
3556 printf "%s\n" "## ----------------- ##
3557 ## Output variables. ##
3558 ## ----------------- ##"
3559 echo
3560 for ac_var in $ac_subst_vars
3562 eval ac_val=\$$ac_var
3563 case $ac_val in
3564 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3565 esac
3566 printf "%s\n" "$ac_var='\''$ac_val'\''"
3567 done | sort
3568 echo
3570 if test -n "$ac_subst_files"; then
3571 printf "%s\n" "## ------------------- ##
3572 ## File substitutions. ##
3573 ## ------------------- ##"
3574 echo
3575 for ac_var in $ac_subst_files
3577 eval ac_val=\$$ac_var
3578 case $ac_val in
3579 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3580 esac
3581 printf "%s\n" "$ac_var='\''$ac_val'\''"
3582 done | sort
3583 echo
3586 if test -s confdefs.h; then
3587 printf "%s\n" "## ----------- ##
3588 ## confdefs.h. ##
3589 ## ----------- ##"
3590 echo
3591 cat confdefs.h
3592 echo
3594 test "$ac_signal" != 0 &&
3595 printf "%s\n" "$as_me: caught signal $ac_signal"
3596 printf "%s\n" "$as_me: exit $exit_status"
3597 } >&5
3598 rm -f core *.core core.conftest.* &&
3599 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3600 exit $exit_status
3602 for ac_signal in 1 2 13 15; do
3603 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3604 done
3605 ac_signal=0
3607 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3608 rm -f -r conftest* confdefs.h
3610 printf "%s\n" "/* confdefs.h */" > confdefs.h
3612 # Predefined preprocessor variables.
3614 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3616 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3618 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3624 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3627 # Let the site file select an alternate cache file if it wants to.
3628 # Prefer an explicitly selected file to automatically selected ones.
3629 if test -n "$CONFIG_SITE"; then
3630 ac_site_files="$CONFIG_SITE"
3631 elif test "x$prefix" != xNONE; then
3632 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3633 else
3634 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3637 for ac_site_file in $ac_site_files
3639 case $ac_site_file in #(
3640 */*) :
3641 ;; #(
3642 *) :
3643 ac_site_file=./$ac_site_file ;;
3644 esac
3645 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3647 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3648 sed 's/^/| /' "$ac_site_file" >&5
3649 . "$ac_site_file" \
3650 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error $? "failed to load site script $ac_site_file
3653 See \`config.log' for more details" "$LINENO" 5; }
3655 done
3657 if test -r "$cache_file"; then
3658 # Some versions of bash will fail to source /dev/null (special files
3659 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3660 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3662 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3663 case $cache_file in
3664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3665 *) . "./$cache_file";;
3666 esac
3668 else
3669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3670 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3671 >$cache_file
3674 # Test code for whether the C compiler supports C89 (global declarations)
3675 ac_c_conftest_c89_globals='
3676 /* Does the compiler advertise C89 conformance?
3677 Do not test the value of __STDC__, because some compilers set it to 0
3678 while being otherwise adequately conformant. */
3679 #if !defined __STDC__
3680 # error "Compiler does not advertise C89 conformance"
3681 #endif
3683 #include <stddef.h>
3684 #include <stdarg.h>
3685 struct stat;
3686 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3687 struct buf { int x; };
3688 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3689 static char *e (p, i)
3690 char **p;
3691 int i;
3693 return p[i];
3695 static char *f (char * (*g) (char **, int), char **p, ...)
3697 char *s;
3698 va_list v;
3699 va_start (v,p);
3700 s = g (p, va_arg (v,int));
3701 va_end (v);
3702 return s;
3705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3706 function prototypes and stuff, but not \xHH hex character constants.
3707 These do not provoke an error unfortunately, instead are silently treated
3708 as an "x". The following induces an error, until -std is added to get
3709 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3710 array size at least. It is necessary to write \x00 == 0 to get something
3711 that is true only with -std. */
3712 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3714 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3715 inside strings and character constants. */
3716 #define FOO(x) '\''x'\''
3717 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3719 int test (int i, double x);
3720 struct s1 {int (*f) (int a);};
3721 struct s2 {int (*f) (double a);};
3722 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3723 int, int);'
3725 # Test code for whether the C compiler supports C89 (body of main).
3726 ac_c_conftest_c89_main='
3727 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3730 # Test code for whether the C compiler supports C99 (global declarations)
3731 ac_c_conftest_c99_globals='
3732 // Does the compiler advertise C99 conformance?
3733 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3734 # error "Compiler does not advertise C99 conformance"
3735 #endif
3737 #include <stdbool.h>
3738 extern int puts (const char *);
3739 extern int printf (const char *, ...);
3740 extern int dprintf (int, const char *, ...);
3741 extern void *malloc (size_t);
3743 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3744 // dprintf is used instead of fprintf to avoid needing to declare
3745 // FILE and stderr.
3746 #define debug(...) dprintf (2, __VA_ARGS__)
3747 #define showlist(...) puts (#__VA_ARGS__)
3748 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3749 static void
3750 test_varargs_macros (void)
3752 int x = 1234;
3753 int y = 5678;
3754 debug ("Flag");
3755 debug ("X = %d\n", x);
3756 showlist (The first, second, and third items.);
3757 report (x>y, "x is %d but y is %d", x, y);
3760 // Check long long types.
3761 #define BIG64 18446744073709551615ull
3762 #define BIG32 4294967295ul
3763 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3764 #if !BIG_OK
3765 #error "your preprocessor is broken"
3766 #endif
3767 #if BIG_OK
3768 #else
3769 #error "your preprocessor is broken"
3770 #endif
3771 static long long int bignum = -9223372036854775807LL;
3772 static unsigned long long int ubignum = BIG64;
3774 struct incomplete_array
3776 int datasize;
3777 double data[];
3780 struct named_init {
3781 int number;
3782 const wchar_t *name;
3783 double average;
3786 typedef const char *ccp;
3788 static inline int
3789 test_restrict (ccp restrict text)
3791 // See if C++-style comments work.
3792 // Iterate through items via the restricted pointer.
3793 // Also check for declarations in for loops.
3794 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3795 continue;
3796 return 0;
3799 // Check varargs and va_copy.
3800 static bool
3801 test_varargs (const char *format, ...)
3803 va_list args;
3804 va_start (args, format);
3805 va_list args_copy;
3806 va_copy (args_copy, args);
3808 const char *str = "";
3809 int number = 0;
3810 float fnumber = 0;
3812 while (*format)
3814 switch (*format++)
3816 case '\''s'\'': // string
3817 str = va_arg (args_copy, const char *);
3818 break;
3819 case '\''d'\'': // int
3820 number = va_arg (args_copy, int);
3821 break;
3822 case '\''f'\'': // float
3823 fnumber = va_arg (args_copy, double);
3824 break;
3825 default:
3826 break;
3829 va_end (args_copy);
3830 va_end (args);
3832 return *str && number && fnumber;
3836 # Test code for whether the C compiler supports C99 (body of main).
3837 ac_c_conftest_c99_main='
3838 // Check bool.
3839 _Bool success = false;
3840 success |= (argc != 0);
3842 // Check restrict.
3843 if (test_restrict ("String literal") == 0)
3844 success = true;
3845 char *restrict newvar = "Another string";
3847 // Check varargs.
3848 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3849 test_varargs_macros ();
3851 // Check flexible array members.
3852 struct incomplete_array *ia =
3853 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3854 ia->datasize = 10;
3855 for (int i = 0; i < ia->datasize; ++i)
3856 ia->data[i] = i * 1.234;
3858 // Check named initializers.
3859 struct named_init ni = {
3860 .number = 34,
3861 .name = L"Test wide string",
3862 .average = 543.34343,
3865 ni.number = 58;
3867 int dynamic_array[ni.number];
3868 dynamic_array[0] = argv[0][0];
3869 dynamic_array[ni.number - 1] = 543;
3871 // work around unused variable warnings
3872 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3873 || dynamic_array[ni.number - 1] != 543);
3876 # Test code for whether the C compiler supports C11 (global declarations)
3877 ac_c_conftest_c11_globals='
3878 // Does the compiler advertise C11 conformance?
3879 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3880 # error "Compiler does not advertise C11 conformance"
3881 #endif
3883 // Check _Alignas.
3884 char _Alignas (double) aligned_as_double;
3885 char _Alignas (0) no_special_alignment;
3886 extern char aligned_as_int;
3887 char _Alignas (0) _Alignas (int) aligned_as_int;
3889 // Check _Alignof.
3890 enum
3892 int_alignment = _Alignof (int),
3893 int_array_alignment = _Alignof (int[100]),
3894 char_alignment = _Alignof (char)
3896 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3898 // Check _Noreturn.
3899 int _Noreturn does_not_return (void) { for (;;) continue; }
3901 // Check _Static_assert.
3902 struct test_static_assert
3904 int x;
3905 _Static_assert (sizeof (int) <= sizeof (long int),
3906 "_Static_assert does not work in struct");
3907 long int y;
3910 // Check UTF-8 literals.
3911 #define u8 syntax error!
3912 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3914 // Check duplicate typedefs.
3915 typedef long *long_ptr;
3916 typedef long int *long_ptr;
3917 typedef long_ptr long_ptr;
3919 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3920 struct anonymous
3922 union {
3923 struct { int i; int j; };
3924 struct { int k; long int l; } w;
3926 int m;
3927 } v1;
3930 # Test code for whether the C compiler supports C11 (body of main).
3931 ac_c_conftest_c11_main='
3932 _Static_assert ((offsetof (struct anonymous, i)
3933 == offsetof (struct anonymous, w.k)),
3934 "Anonymous union alignment botch");
3935 v1.i = 2;
3936 v1.w.k = 5;
3937 ok |= v1.i != 5;
3940 # Test code for whether the C compiler supports C11 (complete).
3941 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3942 ${ac_c_conftest_c99_globals}
3943 ${ac_c_conftest_c11_globals}
3946 main (int argc, char **argv)
3948 int ok = 0;
3949 ${ac_c_conftest_c89_main}
3950 ${ac_c_conftest_c99_main}
3951 ${ac_c_conftest_c11_main}
3952 return ok;
3956 # Test code for whether the C compiler supports C99 (complete).
3957 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3958 ${ac_c_conftest_c99_globals}
3961 main (int argc, char **argv)
3963 int ok = 0;
3964 ${ac_c_conftest_c89_main}
3965 ${ac_c_conftest_c99_main}
3966 return ok;
3970 # Test code for whether the C compiler supports C89 (complete).
3971 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3974 main (int argc, char **argv)
3976 int ok = 0;
3977 ${ac_c_conftest_c89_main}
3978 return ok;
3982 # Test code for whether the C++ compiler supports C++98 (global declarations)
3983 ac_cxx_conftest_cxx98_globals='
3984 // Does the compiler advertise C++98 conformance?
3985 #if !defined __cplusplus || __cplusplus < 199711L
3986 # error "Compiler does not advertise C++98 conformance"
3987 #endif
3989 // These inclusions are to reject old compilers that
3990 // lack the unsuffixed header files.
3991 #include <cstdlib>
3992 #include <exception>
3994 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3995 extern void assert (int);
3996 namespace std {
3997 extern int strcmp (const char *, const char *);
4000 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4001 using std::exception;
4002 using std::strcmp;
4004 namespace {
4006 void test_exception_syntax()
4008 try {
4009 throw "test";
4010 } catch (const char *s) {
4011 // Extra parentheses suppress a warning when building autoconf itself,
4012 // due to lint rules shared with more typical C programs.
4013 assert (!(strcmp) (s, "test"));
4017 template <typename T> struct test_template
4019 T const val;
4020 explicit test_template(T t) : val(t) {}
4021 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4024 } // anonymous namespace
4027 # Test code for whether the C++ compiler supports C++98 (body of main)
4028 ac_cxx_conftest_cxx98_main='
4029 assert (argc);
4030 assert (! argv[0]);
4032 test_exception_syntax ();
4033 test_template<double> tt (2.0);
4034 assert (tt.add (4) == 6.0);
4035 assert (true && !false);
4039 # Test code for whether the C++ compiler supports C++11 (global declarations)
4040 ac_cxx_conftest_cxx11_globals='
4041 // Does the compiler advertise C++ 2011 conformance?
4042 #if !defined __cplusplus || __cplusplus < 201103L
4043 # error "Compiler does not advertise C++11 conformance"
4044 #endif
4046 namespace cxx11test
4048 constexpr int get_val() { return 20; }
4050 struct testinit
4052 int i;
4053 double d;
4056 class delegate
4058 public:
4059 delegate(int n) : n(n) {}
4060 delegate(): delegate(2354) {}
4062 virtual int getval() { return this->n; };
4063 protected:
4064 int n;
4067 class overridden : public delegate
4069 public:
4070 overridden(int n): delegate(n) {}
4071 virtual int getval() override final { return this->n * 2; }
4074 class nocopy
4076 public:
4077 nocopy(int i): i(i) {}
4078 nocopy() = default;
4079 nocopy(const nocopy&) = delete;
4080 nocopy & operator=(const nocopy&) = delete;
4081 private:
4082 int i;
4085 // for testing lambda expressions
4086 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4088 return f(v);
4091 // for testing variadic templates and trailing return types
4092 template <typename V> auto sum(V first) -> V
4094 return first;
4096 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4098 return first + sum(rest...);
4103 # Test code for whether the C++ compiler supports C++11 (body of main)
4104 ac_cxx_conftest_cxx11_main='
4106 // Test auto and decltype
4107 auto a1 = 6538;
4108 auto a2 = 48573953.4;
4109 auto a3 = "String literal";
4111 int total = 0;
4112 for (auto i = a3; *i; ++i) { total += *i; }
4114 decltype(a2) a4 = 34895.034;
4117 // Test constexpr
4118 short sa[cxx11test::get_val()] = { 0 };
4121 // Test initializer lists
4122 cxx11test::testinit il = { 4323, 435234.23544 };
4125 // Test range-based for
4126 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4127 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4128 for (auto &x : array) { x += 23; }
4131 // Test lambda expressions
4132 using cxx11test::eval;
4133 assert (eval ([](int x) { return x*2; }, 21) == 42);
4134 double d = 2.0;
4135 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4136 assert (d == 5.0);
4137 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4138 assert (d == 5.0);
4141 // Test use of variadic templates
4142 using cxx11test::sum;
4143 auto a = sum(1);
4144 auto b = sum(1, 2);
4145 auto c = sum(1.0, 2.0, 3.0);
4148 // Test constructor delegation
4149 cxx11test::delegate d1;
4150 cxx11test::delegate d2();
4151 cxx11test::delegate d3(45);
4154 // Test override and final
4155 cxx11test::overridden o1(55464);
4158 // Test nullptr
4159 char *c = nullptr;
4162 // Test template brackets
4163 test_template<::test_template<int>> v(test_template<int>(12));
4166 // Unicode literals
4167 char const *utf8 = u8"UTF-8 string \u2500";
4168 char16_t const *utf16 = u"UTF-8 string \u2500";
4169 char32_t const *utf32 = U"UTF-32 string \u2500";
4173 # Test code for whether the C compiler supports C++11 (complete).
4174 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4175 ${ac_cxx_conftest_cxx11_globals}
4178 main (int argc, char **argv)
4180 int ok = 0;
4181 ${ac_cxx_conftest_cxx98_main}
4182 ${ac_cxx_conftest_cxx11_main}
4183 return ok;
4187 # Test code for whether the C compiler supports C++98 (complete).
4188 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4190 main (int argc, char **argv)
4192 int ok = 0;
4193 ${ac_cxx_conftest_cxx98_main}
4194 return ok;
4198 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4199 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4200 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4201 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4202 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4203 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4204 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4205 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4206 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4208 # Auxiliary files required by this configure script.
4209 ac_aux_files="config.guess config.sub"
4211 # Locations in which to look for auxiliary files.
4212 ac_aux_dir_candidates="${srcdir}/tools"
4214 # Search for a directory containing all of the required auxiliary files,
4215 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4216 # If we don't find one directory that contains all the files we need,
4217 # we report the set of missing files from the *first* directory in
4218 # $ac_aux_dir_candidates and give up.
4219 ac_missing_aux_files=""
4220 ac_first_candidate=:
4221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4223 as_found=false
4224 for as_dir in $ac_aux_dir_candidates
4226 IFS=$as_save_IFS
4227 case $as_dir in #(((
4228 '') as_dir=./ ;;
4229 */) ;;
4230 *) as_dir=$as_dir/ ;;
4231 esac
4232 as_found=:
4234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4235 ac_aux_dir_found=yes
4236 ac_install_sh=
4237 for ac_aux in $ac_aux_files
4239 # As a special case, if "install-sh" is required, that requirement
4240 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4241 # and $ac_install_sh is set appropriately for whichever one is found.
4242 if test x"$ac_aux" = x"install-sh"
4243 then
4244 if test -f "${as_dir}install-sh"; then
4245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4246 ac_install_sh="${as_dir}install-sh -c"
4247 elif test -f "${as_dir}install.sh"; then
4248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4249 ac_install_sh="${as_dir}install.sh -c"
4250 elif test -f "${as_dir}shtool"; then
4251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4252 ac_install_sh="${as_dir}shtool install -c"
4253 else
4254 ac_aux_dir_found=no
4255 if $ac_first_candidate; then
4256 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4257 else
4258 break
4261 else
4262 if test -f "${as_dir}${ac_aux}"; then
4263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4264 else
4265 ac_aux_dir_found=no
4266 if $ac_first_candidate; then
4267 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4268 else
4269 break
4273 done
4274 if test "$ac_aux_dir_found" = yes; then
4275 ac_aux_dir="$as_dir"
4276 break
4278 ac_first_candidate=false
4280 as_found=false
4281 done
4282 IFS=$as_save_IFS
4283 if $as_found
4284 then :
4286 else $as_nop
4287 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4291 # These three variables are undocumented and unsupported,
4292 # and are intended to be withdrawn in a future Autoconf release.
4293 # They can cause serious problems if a builder's source tree is in a directory
4294 # whose full name contains unusual characters.
4295 if test -f "${ac_aux_dir}config.guess"; then
4296 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4298 if test -f "${ac_aux_dir}config.sub"; then
4299 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4301 if test -f "$ac_aux_dir/configure"; then
4302 ac_configure="$SHELL ${ac_aux_dir}configure"
4305 # Check that the precious variables saved in the cache have kept the same
4306 # value.
4307 ac_cache_corrupted=false
4308 for ac_var in $ac_precious_vars; do
4309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4310 eval ac_new_set=\$ac_env_${ac_var}_set
4311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4312 eval ac_new_val=\$ac_env_${ac_var}_value
4313 case $ac_old_set,$ac_new_set in
4314 set,)
4315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4316 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4317 ac_cache_corrupted=: ;;
4318 ,set)
4319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4320 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4321 ac_cache_corrupted=: ;;
4322 ,);;
4324 if test "x$ac_old_val" != "x$ac_new_val"; then
4325 # differences in whitespace do not lead to failure.
4326 ac_old_val_w=`echo x $ac_old_val`
4327 ac_new_val_w=`echo x $ac_new_val`
4328 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4330 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4331 ac_cache_corrupted=:
4332 else
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4334 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4335 eval $ac_var=\$ac_old_val
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4338 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4340 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4341 fi;;
4342 esac
4343 # Pass precious variables to config.status.
4344 if test "$ac_new_set" = set; then
4345 case $ac_new_val in
4346 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4347 *) ac_arg=$ac_var=$ac_new_val ;;
4348 esac
4349 case " $ac_configure_args " in
4350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4351 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4352 esac
4354 done
4355 if $ac_cache_corrupted; then
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4359 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4360 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4361 and start over" "$LINENO" 5
4363 ## -------------------- ##
4364 ## Main body of script. ##
4365 ## -------------------- ##
4367 ac_ext=c
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4375 ac_config_headers="$ac_config_headers include/config.h"
4379 libwine_version="1.0"
4382 # Check whether --enable-win16 was given.
4383 if test ${enable_win16+y}
4384 then :
4385 enableval=$enable_win16;
4388 # Check whether --enable-win64 was given.
4389 if test ${enable_win64+y}
4390 then :
4391 enableval=$enable_win64;
4394 # Check whether --enable-tests was given.
4395 if test ${enable_tests+y}
4396 then :
4397 enableval=$enable_tests;
4400 # Check whether --enable-build-id was given.
4401 if test ${enable_build_id+y}
4402 then :
4403 enableval=$enable_build_id;
4406 # Check whether --enable-maintainer-mode was given.
4407 if test ${enable_maintainer_mode+y}
4408 then :
4409 enableval=$enable_maintainer_mode;
4412 # Check whether --enable-silent-rules was given.
4413 if test ${enable_silent_rules+y}
4414 then :
4415 enableval=$enable_silent_rules;
4418 # Check whether --enable-werror was given.
4419 if test ${enable_werror+y}
4420 then :
4421 enableval=$enable_werror;
4426 # Check whether --with-alsa was given.
4427 if test ${with_alsa+y}
4428 then :
4429 withval=$with_alsa;
4433 # Check whether --with-capi was given.
4434 if test ${with_capi+y}
4435 then :
4436 withval=$with_capi;
4440 # Check whether --with-coreaudio was given.
4441 if test ${with_coreaudio+y}
4442 then :
4443 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4447 # Check whether --with-cups was given.
4448 if test ${with_cups+y}
4449 then :
4450 withval=$with_cups;
4454 # Check whether --with-dbus was given.
4455 if test ${with_dbus+y}
4456 then :
4457 withval=$with_dbus;
4461 # Check whether --with-float-abi was given.
4462 if test ${with_float_abi+y}
4463 then :
4464 withval=$with_float_abi;
4468 # Check whether --with-fontconfig was given.
4469 if test ${with_fontconfig+y}
4470 then :
4471 withval=$with_fontconfig;
4475 # Check whether --with-freetype was given.
4476 if test ${with_freetype+y}
4477 then :
4478 withval=$with_freetype;
4482 # Check whether --with-gettext was given.
4483 if test ${with_gettext+y}
4484 then :
4485 withval=$with_gettext;
4489 # Check whether --with-gettextpo was given.
4490 if test ${with_gettextpo+y}
4491 then :
4492 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4496 # Check whether --with-gphoto was given.
4497 if test ${with_gphoto+y}
4498 then :
4499 withval=$with_gphoto;
4503 # Check whether --with-gnutls was given.
4504 if test ${with_gnutls+y}
4505 then :
4506 withval=$with_gnutls;
4510 # Check whether --with-gssapi was given.
4511 if test ${with_gssapi+y}
4512 then :
4513 withval=$with_gssapi;
4517 # Check whether --with-gstreamer was given.
4518 if test ${with_gstreamer+y}
4519 then :
4520 withval=$with_gstreamer;
4524 # Check whether --with-inotify was given.
4525 if test ${with_inotify+y}
4526 then :
4527 withval=$with_inotify;
4531 # Check whether --with-krb5 was given.
4532 if test ${with_krb5+y}
4533 then :
4534 withval=$with_krb5;
4538 # Check whether --with-ldap was given.
4539 if test ${with_ldap+y}
4540 then :
4541 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4545 # Check whether --with-mingw was given.
4546 if test ${with_mingw+y}
4547 then :
4548 withval=$with_mingw;
4552 # Check whether --with-netapi was given.
4553 if test ${with_netapi+y}
4554 then :
4555 withval=$with_netapi;
4559 # Check whether --with-openal was given.
4560 if test ${with_openal+y}
4561 then :
4562 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4566 # Check whether --with-opencl was given.
4567 if test ${with_opencl+y}
4568 then :
4569 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4573 # Check whether --with-opengl was given.
4574 if test ${with_opengl+y}
4575 then :
4576 withval=$with_opengl;
4580 # Check whether --with-osmesa was given.
4581 if test ${with_osmesa+y}
4582 then :
4583 withval=$with_osmesa;
4587 # Check whether --with-oss was given.
4588 if test ${with_oss+y}
4589 then :
4590 withval=$with_oss;
4594 # Check whether --with-pcap was given.
4595 if test ${with_pcap+y}
4596 then :
4597 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4601 # Check whether --with-pthread was given.
4602 if test ${with_pthread+y}
4603 then :
4604 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4608 # Check whether --with-pulse was given.
4609 if test ${with_pulse+y}
4610 then :
4611 withval=$with_pulse;
4615 # Check whether --with-sane was given.
4616 if test ${with_sane+y}
4617 then :
4618 withval=$with_sane;
4622 # Check whether --with-sdl was given.
4623 if test ${with_sdl+y}
4624 then :
4625 withval=$with_sdl;
4629 # Check whether --with-udev was given.
4630 if test ${with_udev+y}
4631 then :
4632 withval=$with_udev;
4636 # Check whether --with-unwind was given.
4637 if test ${with_unwind+y}
4638 then :
4639 withval=$with_unwind;
4643 # Check whether --with-usb was given.
4644 if test ${with_usb+y}
4645 then :
4646 withval=$with_usb;
4650 # Check whether --with-v4l2 was given.
4651 if test ${with_v4l2+y}
4652 then :
4653 withval=$with_v4l2;
4657 # Check whether --with-vkd3d was given.
4658 if test ${with_vkd3d+y}
4659 then :
4660 withval=$with_vkd3d;
4664 # Check whether --with-vulkan was given.
4665 if test ${with_vulkan+y}
4666 then :
4667 withval=$with_vulkan;
4671 # Check whether --with-xcomposite was given.
4672 if test ${with_xcomposite+y}
4673 then :
4674 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4678 # Check whether --with-xcursor was given.
4679 if test ${with_xcursor+y}
4680 then :
4681 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4685 # Check whether --with-xfixes was given.
4686 if test ${with_xfixes+y}
4687 then :
4688 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4692 # Check whether --with-xinerama was given.
4693 if test ${with_xinerama+y}
4694 then :
4695 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4699 # Check whether --with-xinput was given.
4700 if test ${with_xinput+y}
4701 then :
4702 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4706 # Check whether --with-xinput2 was given.
4707 if test ${with_xinput2+y}
4708 then :
4709 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4713 # Check whether --with-xrandr was given.
4714 if test ${with_xrandr+y}
4715 then :
4716 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4720 # Check whether --with-xrender was given.
4721 if test ${with_xrender+y}
4722 then :
4723 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4727 # Check whether --with-xshape was given.
4728 if test ${with_xshape+y}
4729 then :
4730 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4734 # Check whether --with-xshm was given.
4735 if test ${with_xshm+y}
4736 then :
4737 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4741 # Check whether --with-xxf86vm was given.
4742 if test ${with_xxf86vm+y}
4743 then :
4744 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
4749 # Check whether --with-system-dllpath was given.
4750 if test ${with_system_dllpath+y}
4751 then :
4752 withval=$with_system_dllpath; system_dllpath=$withval
4757 # Check whether --with-wine-tools was given.
4758 if test ${with_wine_tools+y}
4759 then :
4760 withval=$with_wine_tools;
4764 # Check whether --with-wine64 was given.
4765 if test ${with_wine64+y}
4766 then :
4767 withval=$with_wine64;
4774 # Make sure we can run config.sub.
4775 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4776 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4779 printf %s "checking build system type... " >&6; }
4780 if test ${ac_cv_build+y}
4781 then :
4782 printf %s "(cached) " >&6
4783 else $as_nop
4784 ac_build_alias=$build_alias
4785 test "x$ac_build_alias" = x &&
4786 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4787 test "x$ac_build_alias" = x &&
4788 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4789 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4790 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4794 printf "%s\n" "$ac_cv_build" >&6; }
4795 case $ac_cv_build in
4796 *-*-*) ;;
4797 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4798 esac
4799 build=$ac_cv_build
4800 ac_save_IFS=$IFS; IFS='-'
4801 set x $ac_cv_build
4802 shift
4803 build_cpu=$1
4804 build_vendor=$2
4805 shift; shift
4806 # Remember, the first character of IFS is used to create $*,
4807 # except with old shells:
4808 build_os=$*
4809 IFS=$ac_save_IFS
4810 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4814 printf %s "checking host system type... " >&6; }
4815 if test ${ac_cv_host+y}
4816 then :
4817 printf %s "(cached) " >&6
4818 else $as_nop
4819 if test "x$host_alias" = x; then
4820 ac_cv_host=$ac_cv_build
4821 else
4822 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4823 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4828 printf "%s\n" "$ac_cv_host" >&6; }
4829 case $ac_cv_host in
4830 *-*-*) ;;
4831 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4832 esac
4833 host=$ac_cv_host
4834 ac_save_IFS=$IFS; IFS='-'
4835 set x $ac_cv_host
4836 shift
4837 host_cpu=$1
4838 host_vendor=$2
4839 shift; shift
4840 # Remember, the first character of IFS is used to create $*,
4841 # except with old shells:
4842 host_os=$*
4843 IFS=$ac_save_IFS
4844 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4848 dlldir=\${libdir}/wine
4850 fontdir=\${datadir}/wine/fonts
4852 nlsdir=\${datadir}/wine/nls
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4858 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4859 set x ${MAKE-make}
4860 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4861 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4862 then :
4863 printf %s "(cached) " >&6
4864 else $as_nop
4865 cat >conftest.make <<\_ACEOF
4866 SHELL = /bin/sh
4867 all:
4868 @echo '@@@%%%=$(MAKE)=@@@%%%'
4869 _ACEOF
4870 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4871 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4872 *@@@%%%=?*=@@@%%%*)
4873 eval ac_cv_prog_make_${ac_make}_set=yes;;
4875 eval ac_cv_prog_make_${ac_make}_set=no;;
4876 esac
4877 rm -f conftest.make
4879 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 printf "%s\n" "yes" >&6; }
4882 SET_MAKE=
4883 else
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 printf "%s\n" "no" >&6; }
4886 SET_MAKE="MAKE=${MAKE-make}"
4898 ac_ext=c
4899 ac_cpp='$CPP $CPPFLAGS'
4900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4903 if test -n "$ac_tool_prefix"; then
4904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4905 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 printf %s "checking for $ac_word... " >&6; }
4908 if test ${ac_cv_prog_CC+y}
4909 then :
4910 printf %s "(cached) " >&6
4911 else $as_nop
4912 if test -n "$CC"; then
4913 ac_cv_prog_CC="$CC" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 case $as_dir in #(((
4920 '') as_dir=./ ;;
4921 */) ;;
4922 *) as_dir=$as_dir/ ;;
4923 esac
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4926 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4928 break 2
4930 done
4931 done
4932 IFS=$as_save_IFS
4936 CC=$ac_cv_prog_CC
4937 if test -n "$CC"; then
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4939 printf "%s\n" "$CC" >&6; }
4940 else
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 printf "%s\n" "no" >&6; }
4947 if test -z "$ac_cv_prog_CC"; then
4948 ac_ct_CC=$CC
4949 # Extract the first word of "gcc", so it can be a program name with args.
4950 set dummy gcc; ac_word=$2
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 printf %s "checking for $ac_word... " >&6; }
4953 if test ${ac_cv_prog_ac_ct_CC+y}
4954 then :
4955 printf %s "(cached) " >&6
4956 else $as_nop
4957 if test -n "$ac_ct_CC"; then
4958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4959 else
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 for as_dir in $PATH
4963 IFS=$as_save_IFS
4964 case $as_dir in #(((
4965 '') as_dir=./ ;;
4966 */) ;;
4967 *) as_dir=$as_dir/ ;;
4968 esac
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_ac_ct_CC="gcc"
4972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4973 break 2
4975 done
4976 done
4977 IFS=$as_save_IFS
4981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4982 if test -n "$ac_ct_CC"; then
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4984 printf "%s\n" "$ac_ct_CC" >&6; }
4985 else
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 printf "%s\n" "no" >&6; }
4990 if test "x$ac_ct_CC" = x; then
4991 CC=""
4992 else
4993 case $cross_compiling:$ac_tool_warned in
4994 yes:)
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned=yes ;;
4998 esac
4999 CC=$ac_ct_CC
5001 else
5002 CC="$ac_cv_prog_CC"
5005 if test -z "$CC"; then
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}cc; ac_word=$2
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 printf %s "checking for $ac_word... " >&6; }
5011 if test ${ac_cv_prog_CC+y}
5012 then :
5013 printf %s "(cached) " >&6
5014 else $as_nop
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC="$CC" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 case $as_dir in #(((
5023 '') as_dir=./ ;;
5024 */) ;;
5025 *) as_dir=$as_dir/ ;;
5026 esac
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_CC="${ac_tool_prefix}cc"
5030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 CC=$ac_cv_prog_CC
5040 if test -n "$CC"; then
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5042 printf "%s\n" "$CC" >&6; }
5043 else
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 printf "%s\n" "no" >&6; }
5051 if test -z "$CC"; then
5052 # Extract the first word of "cc", so it can be a program name with args.
5053 set dummy cc; ac_word=$2
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 printf %s "checking for $ac_word... " >&6; }
5056 if test ${ac_cv_prog_CC+y}
5057 then :
5058 printf %s "(cached) " >&6
5059 else $as_nop
5060 if test -n "$CC"; then
5061 ac_cv_prog_CC="$CC" # Let the user override the test.
5062 else
5063 ac_prog_rejected=no
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 case $as_dir in #(((
5069 '') as_dir=./ ;;
5070 */) ;;
5071 *) as_dir=$as_dir/ ;;
5072 esac
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5075 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5076 ac_prog_rejected=yes
5077 continue
5079 ac_cv_prog_CC="cc"
5080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5081 break 2
5083 done
5084 done
5085 IFS=$as_save_IFS
5087 if test $ac_prog_rejected = yes; then
5088 # We found a bogon in the path, so make sure we never use it.
5089 set dummy $ac_cv_prog_CC
5090 shift
5091 if test $# != 0; then
5092 # We chose a different compiler from the bogus one.
5093 # However, it has the same basename, so the bogon will be chosen
5094 # first if we set CC to just the basename; use the full file name.
5095 shift
5096 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5101 CC=$ac_cv_prog_CC
5102 if test -n "$CC"; then
5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5104 printf "%s\n" "$CC" >&6; }
5105 else
5106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 printf "%s\n" "no" >&6; }
5112 if test -z "$CC"; then
5113 if test -n "$ac_tool_prefix"; then
5114 for ac_prog in cl.exe
5116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5117 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 printf %s "checking for $ac_word... " >&6; }
5120 if test ${ac_cv_prog_CC+y}
5121 then :
5122 printf %s "(cached) " >&6
5123 else $as_nop
5124 if test -n "$CC"; then
5125 ac_cv_prog_CC="$CC" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 case $as_dir in #(((
5132 '') as_dir=./ ;;
5133 */) ;;
5134 *) as_dir=$as_dir/ ;;
5135 esac
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5140 break 2
5142 done
5143 done
5144 IFS=$as_save_IFS
5148 CC=$ac_cv_prog_CC
5149 if test -n "$CC"; then
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5151 printf "%s\n" "$CC" >&6; }
5152 else
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 printf "%s\n" "no" >&6; }
5158 test -n "$CC" && break
5159 done
5161 if test -z "$CC"; then
5162 ac_ct_CC=$CC
5163 for ac_prog in cl.exe
5165 # Extract the first word of "$ac_prog", so it can be a program name with args.
5166 set dummy $ac_prog; ac_word=$2
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 printf %s "checking for $ac_word... " >&6; }
5169 if test ${ac_cv_prog_ac_ct_CC+y}
5170 then :
5171 printf %s "(cached) " >&6
5172 else $as_nop
5173 if test -n "$ac_ct_CC"; then
5174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 case $as_dir in #(((
5181 '') as_dir=./ ;;
5182 */) ;;
5183 *) as_dir=$as_dir/ ;;
5184 esac
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_ac_ct_CC="$ac_prog"
5188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5198 if test -n "$ac_ct_CC"; then
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5200 printf "%s\n" "$ac_ct_CC" >&6; }
5201 else
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 printf "%s\n" "no" >&6; }
5207 test -n "$ac_ct_CC" && break
5208 done
5210 if test "x$ac_ct_CC" = x; then
5211 CC=""
5212 else
5213 case $cross_compiling:$ac_tool_warned in
5214 yes:)
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217 ac_tool_warned=yes ;;
5218 esac
5219 CC=$ac_ct_CC
5224 if test -z "$CC"; then
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5227 set dummy ${ac_tool_prefix}clang; ac_word=$2
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 printf %s "checking for $ac_word... " >&6; }
5230 if test ${ac_cv_prog_CC+y}
5231 then :
5232 printf %s "(cached) " >&6
5233 else $as_nop
5234 if test -n "$CC"; then
5235 ac_cv_prog_CC="$CC" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 case $as_dir in #(((
5242 '') as_dir=./ ;;
5243 */) ;;
5244 *) as_dir=$as_dir/ ;;
5245 esac
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_CC="${ac_tool_prefix}clang"
5249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 CC=$ac_cv_prog_CC
5259 if test -n "$CC"; then
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5261 printf "%s\n" "$CC" >&6; }
5262 else
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 printf "%s\n" "no" >&6; }
5269 if test -z "$ac_cv_prog_CC"; then
5270 ac_ct_CC=$CC
5271 # Extract the first word of "clang", so it can be a program name with args.
5272 set dummy clang; ac_word=$2
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 printf %s "checking for $ac_word... " >&6; }
5275 if test ${ac_cv_prog_ac_ct_CC+y}
5276 then :
5277 printf %s "(cached) " >&6
5278 else $as_nop
5279 if test -n "$ac_ct_CC"; then
5280 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5285 IFS=$as_save_IFS
5286 case $as_dir in #(((
5287 '') as_dir=./ ;;
5288 */) ;;
5289 *) as_dir=$as_dir/ ;;
5290 esac
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_ac_ct_CC="clang"
5294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5299 IFS=$as_save_IFS
5303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5304 if test -n "$ac_ct_CC"; then
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5306 printf "%s\n" "$ac_ct_CC" >&6; }
5307 else
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 printf "%s\n" "no" >&6; }
5312 if test "x$ac_ct_CC" = x; then
5313 CC=""
5314 else
5315 case $cross_compiling:$ac_tool_warned in
5316 yes:)
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319 ac_tool_warned=yes ;;
5320 esac
5321 CC=$ac_ct_CC
5323 else
5324 CC="$ac_cv_prog_CC"
5330 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5332 as_fn_error $? "no acceptable C compiler found in \$PATH
5333 See \`config.log' for more details" "$LINENO" 5; }
5335 # Provide some information about the compiler.
5336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5337 set X $ac_compile
5338 ac_compiler=$2
5339 for ac_option in --version -v -V -qversion -version; do
5340 { { ac_try="$ac_compiler $ac_option >&5"
5341 case "(($ac_try" in
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5344 esac
5345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5346 printf "%s\n" "$ac_try_echo"; } >&5
5347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5348 ac_status=$?
5349 if test -s conftest.err; then
5350 sed '10a\
5351 ... rest of stderr output deleted ...
5352 10q' conftest.err >conftest.er1
5353 cat conftest.er1 >&5
5355 rm -f conftest.er1 conftest.err
5356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5357 test $ac_status = 0; }
5358 done
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5364 main (void)
5368 return 0;
5370 _ACEOF
5371 ac_clean_files_save=$ac_clean_files
5372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5373 # Try to create an executable without -o first, disregard a.out.
5374 # It will help us diagnose broken compilers, and finding out an intuition
5375 # of exeext.
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5377 printf %s "checking whether the C compiler works... " >&6; }
5378 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5380 # The possible output files:
5381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5383 ac_rmfiles=
5384 for ac_file in $ac_files
5386 case $ac_file in
5387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5389 esac
5390 done
5391 rm -f $ac_rmfiles
5393 if { { ac_try="$ac_link_default"
5394 case "(($ac_try" in
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5397 esac
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 printf "%s\n" "$ac_try_echo"; } >&5
5400 (eval "$ac_link_default") 2>&5
5401 ac_status=$?
5402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403 test $ac_status = 0; }
5404 then :
5405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5408 # so that the user can short-circuit this test for compilers unknown to
5409 # Autoconf.
5410 for ac_file in $ac_files ''
5412 test -f "$ac_file" || continue
5413 case $ac_file in
5414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5416 [ab].out )
5417 # We found the default executable, but exeext='' is most
5418 # certainly right.
5419 break;;
5420 *.* )
5421 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5422 then :; else
5423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5425 # We set ac_cv_exeext here because the later test for it is not
5426 # safe: cross compilers may not add the suffix if given an `-o'
5427 # argument, so we may need to know it at that point already.
5428 # Even if this section looks crufty: it has the advantage of
5429 # actually working.
5430 break;;
5432 break;;
5433 esac
5434 done
5435 test "$ac_cv_exeext" = no && ac_cv_exeext=
5437 else $as_nop
5438 ac_file=''
5440 if test -z "$ac_file"
5441 then :
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 printf "%s\n" "no" >&6; }
5444 printf "%s\n" "$as_me: failed program was:" >&5
5445 sed 's/^/| /' conftest.$ac_ext >&5
5447 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5448 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5449 as_fn_error 77 "C compiler cannot create executables
5450 See \`config.log' for more details" "$LINENO" 5; }
5451 else $as_nop
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5453 printf "%s\n" "yes" >&6; }
5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5456 printf %s "checking for C compiler default output file name... " >&6; }
5457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5458 printf "%s\n" "$ac_file" >&6; }
5459 ac_exeext=$ac_cv_exeext
5461 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5462 ac_clean_files=$ac_clean_files_save
5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5464 printf %s "checking for suffix of executables... " >&6; }
5465 if { { ac_try="$ac_link"
5466 case "(($ac_try" in
5467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5469 esac
5470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5471 printf "%s\n" "$ac_try_echo"; } >&5
5472 (eval "$ac_link") 2>&5
5473 ac_status=$?
5474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5475 test $ac_status = 0; }
5476 then :
5477 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5478 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5479 # work properly (i.e., refer to `conftest.exe'), while it won't with
5480 # `rm'.
5481 for ac_file in conftest.exe conftest conftest.*; do
5482 test -f "$ac_file" || continue
5483 case $ac_file in
5484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5485 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5486 break;;
5487 * ) break;;
5488 esac
5489 done
5490 else $as_nop
5491 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5492 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5493 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5494 See \`config.log' for more details" "$LINENO" 5; }
5496 rm -f conftest conftest$ac_cv_exeext
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5498 printf "%s\n" "$ac_cv_exeext" >&6; }
5500 rm -f conftest.$ac_ext
5501 EXEEXT=$ac_cv_exeext
5502 ac_exeext=$EXEEXT
5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5505 #include <stdio.h>
5507 main (void)
5509 FILE *f = fopen ("conftest.out", "w");
5510 return ferror (f) || fclose (f) != 0;
5513 return 0;
5515 _ACEOF
5516 ac_clean_files="$ac_clean_files conftest.out"
5517 # Check that the compiler produces executables we can run. If not, either
5518 # the compiler is broken, or we cross compile.
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5520 printf %s "checking whether we are cross compiling... " >&6; }
5521 if test "$cross_compiling" != yes; then
5522 { { ac_try="$ac_link"
5523 case "(($ac_try" in
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5526 esac
5527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5528 printf "%s\n" "$ac_try_echo"; } >&5
5529 (eval "$ac_link") 2>&5
5530 ac_status=$?
5531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5532 test $ac_status = 0; }
5533 if { ac_try='./conftest$ac_cv_exeext'
5534 { { case "(($ac_try" in
5535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5537 esac
5538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5539 printf "%s\n" "$ac_try_echo"; } >&5
5540 (eval "$ac_try") 2>&5
5541 ac_status=$?
5542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5543 test $ac_status = 0; }; }; then
5544 cross_compiling=no
5545 else
5546 if test "$cross_compiling" = maybe; then
5547 cross_compiling=yes
5548 else
5549 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5550 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5551 as_fn_error 77 "cannot run C compiled programs.
5552 If you meant to cross compile, use \`--host'.
5553 See \`config.log' for more details" "$LINENO" 5; }
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5558 printf "%s\n" "$cross_compiling" >&6; }
5560 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5561 ac_clean_files=$ac_clean_files_save
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5563 printf %s "checking for suffix of object files... " >&6; }
5564 if test ${ac_cv_objext+y}
5565 then :
5566 printf %s "(cached) " >&6
5567 else $as_nop
5568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5572 main (void)
5576 return 0;
5578 _ACEOF
5579 rm -f conftest.o conftest.obj
5580 if { { ac_try="$ac_compile"
5581 case "(($ac_try" in
5582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5583 *) ac_try_echo=$ac_try;;
5584 esac
5585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5586 printf "%s\n" "$ac_try_echo"; } >&5
5587 (eval "$ac_compile") 2>&5
5588 ac_status=$?
5589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5590 test $ac_status = 0; }
5591 then :
5592 for ac_file in conftest.o conftest.obj conftest.*; do
5593 test -f "$ac_file" || continue;
5594 case $ac_file in
5595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5596 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5597 break;;
5598 esac
5599 done
5600 else $as_nop
5601 printf "%s\n" "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.$ac_ext >&5
5604 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5605 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5606 as_fn_error $? "cannot compute suffix of object files: cannot compile
5607 See \`config.log' for more details" "$LINENO" 5; }
5609 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5612 printf "%s\n" "$ac_cv_objext" >&6; }
5613 OBJEXT=$ac_cv_objext
5614 ac_objext=$OBJEXT
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5616 printf %s "checking whether the compiler supports GNU C... " >&6; }
5617 if test ${ac_cv_c_compiler_gnu+y}
5618 then :
5619 printf %s "(cached) " >&6
5620 else $as_nop
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5625 main (void)
5627 #ifndef __GNUC__
5628 choke me
5629 #endif
5632 return 0;
5634 _ACEOF
5635 if ac_fn_c_try_compile "$LINENO"
5636 then :
5637 ac_compiler_gnu=yes
5638 else $as_nop
5639 ac_compiler_gnu=no
5641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5642 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5646 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5649 if test $ac_compiler_gnu = yes; then
5650 GCC=yes
5651 else
5652 GCC=
5654 ac_test_CFLAGS=${CFLAGS+y}
5655 ac_save_CFLAGS=$CFLAGS
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5657 printf %s "checking whether $CC accepts -g... " >&6; }
5658 if test ${ac_cv_prog_cc_g+y}
5659 then :
5660 printf %s "(cached) " >&6
5661 else $as_nop
5662 ac_save_c_werror_flag=$ac_c_werror_flag
5663 ac_c_werror_flag=yes
5664 ac_cv_prog_cc_g=no
5665 CFLAGS="-g"
5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5670 main (void)
5674 return 0;
5676 _ACEOF
5677 if ac_fn_c_try_compile "$LINENO"
5678 then :
5679 ac_cv_prog_cc_g=yes
5680 else $as_nop
5681 CFLAGS=""
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5686 main (void)
5690 return 0;
5692 _ACEOF
5693 if ac_fn_c_try_compile "$LINENO"
5694 then :
5696 else $as_nop
5697 ac_c_werror_flag=$ac_save_c_werror_flag
5698 CFLAGS="-g"
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5703 main (void)
5707 return 0;
5709 _ACEOF
5710 if ac_fn_c_try_compile "$LINENO"
5711 then :
5712 ac_cv_prog_cc_g=yes
5714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5719 ac_c_werror_flag=$ac_save_c_werror_flag
5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5722 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5723 if test $ac_test_CFLAGS; then
5724 CFLAGS=$ac_save_CFLAGS
5725 elif test $ac_cv_prog_cc_g = yes; then
5726 if test "$GCC" = yes; then
5727 CFLAGS="-g -O2"
5728 else
5729 CFLAGS="-g"
5731 else
5732 if test "$GCC" = yes; then
5733 CFLAGS="-O2"
5734 else
5735 CFLAGS=
5738 ac_prog_cc_stdc=no
5739 if test x$ac_prog_cc_stdc = xno
5740 then :
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5742 printf %s "checking for $CC option to enable C11 features... " >&6; }
5743 if test ${ac_cv_prog_cc_c11+y}
5744 then :
5745 printf %s "(cached) " >&6
5746 else $as_nop
5747 ac_cv_prog_cc_c11=no
5748 ac_save_CC=$CC
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 $ac_c_conftest_c11_program
5752 _ACEOF
5753 for ac_arg in '' -std=gnu11
5755 CC="$ac_save_CC $ac_arg"
5756 if ac_fn_c_try_compile "$LINENO"
5757 then :
5758 ac_cv_prog_cc_c11=$ac_arg
5760 rm -f core conftest.err conftest.$ac_objext conftest.beam
5761 test "x$ac_cv_prog_cc_c11" != "xno" && break
5762 done
5763 rm -f conftest.$ac_ext
5764 CC=$ac_save_CC
5767 if test "x$ac_cv_prog_cc_c11" = xno
5768 then :
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5770 printf "%s\n" "unsupported" >&6; }
5771 else $as_nop
5772 if test "x$ac_cv_prog_cc_c11" = x
5773 then :
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5775 printf "%s\n" "none needed" >&6; }
5776 else $as_nop
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5778 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5779 CC="$CC $ac_cv_prog_cc_c11"
5781 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5782 ac_prog_cc_stdc=c11
5785 if test x$ac_prog_cc_stdc = xno
5786 then :
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5788 printf %s "checking for $CC option to enable C99 features... " >&6; }
5789 if test ${ac_cv_prog_cc_c99+y}
5790 then :
5791 printf %s "(cached) " >&6
5792 else $as_nop
5793 ac_cv_prog_cc_c99=no
5794 ac_save_CC=$CC
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5797 $ac_c_conftest_c99_program
5798 _ACEOF
5799 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5801 CC="$ac_save_CC $ac_arg"
5802 if ac_fn_c_try_compile "$LINENO"
5803 then :
5804 ac_cv_prog_cc_c99=$ac_arg
5806 rm -f core conftest.err conftest.$ac_objext conftest.beam
5807 test "x$ac_cv_prog_cc_c99" != "xno" && break
5808 done
5809 rm -f conftest.$ac_ext
5810 CC=$ac_save_CC
5813 if test "x$ac_cv_prog_cc_c99" = xno
5814 then :
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5816 printf "%s\n" "unsupported" >&6; }
5817 else $as_nop
5818 if test "x$ac_cv_prog_cc_c99" = x
5819 then :
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5821 printf "%s\n" "none needed" >&6; }
5822 else $as_nop
5823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5824 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5825 CC="$CC $ac_cv_prog_cc_c99"
5827 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5828 ac_prog_cc_stdc=c99
5831 if test x$ac_prog_cc_stdc = xno
5832 then :
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5834 printf %s "checking for $CC option to enable C89 features... " >&6; }
5835 if test ${ac_cv_prog_cc_c89+y}
5836 then :
5837 printf %s "(cached) " >&6
5838 else $as_nop
5839 ac_cv_prog_cc_c89=no
5840 ac_save_CC=$CC
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5843 $ac_c_conftest_c89_program
5844 _ACEOF
5845 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5847 CC="$ac_save_CC $ac_arg"
5848 if ac_fn_c_try_compile "$LINENO"
5849 then :
5850 ac_cv_prog_cc_c89=$ac_arg
5852 rm -f core conftest.err conftest.$ac_objext conftest.beam
5853 test "x$ac_cv_prog_cc_c89" != "xno" && break
5854 done
5855 rm -f conftest.$ac_ext
5856 CC=$ac_save_CC
5859 if test "x$ac_cv_prog_cc_c89" = xno
5860 then :
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5862 printf "%s\n" "unsupported" >&6; }
5863 else $as_nop
5864 if test "x$ac_cv_prog_cc_c89" = x
5865 then :
5866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5867 printf "%s\n" "none needed" >&6; }
5868 else $as_nop
5869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5870 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5871 CC="$CC $ac_cv_prog_cc_c89"
5873 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5874 ac_prog_cc_stdc=c89
5878 ac_ext=c
5879 ac_cpp='$CPP $CPPFLAGS'
5880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5890 ac_ext=cpp
5891 ac_cpp='$CXXCPP $CPPFLAGS'
5892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5895 if test -z "$CXX"; then
5896 if test -n "$CCC"; then
5897 CXX=$CCC
5898 else
5899 if test -n "$ac_tool_prefix"; then
5900 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 printf %s "checking for $ac_word... " >&6; }
5906 if test ${ac_cv_prog_CXX+y}
5907 then :
5908 printf %s "(cached) " >&6
5909 else $as_nop
5910 if test -n "$CXX"; then
5911 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5916 IFS=$as_save_IFS
5917 case $as_dir in #(((
5918 '') as_dir=./ ;;
5919 */) ;;
5920 *) as_dir=$as_dir/ ;;
5921 esac
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 CXX=$ac_cv_prog_CXX
5935 if test -n "$CXX"; then
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5937 printf "%s\n" "$CXX" >&6; }
5938 else
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 printf "%s\n" "no" >&6; }
5944 test -n "$CXX" && break
5945 done
5947 if test -z "$CXX"; then
5948 ac_ct_CXX=$CXX
5949 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5951 # Extract the first word of "$ac_prog", so it can be a program name with args.
5952 set dummy $ac_prog; ac_word=$2
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 printf %s "checking for $ac_word... " >&6; }
5955 if test ${ac_cv_prog_ac_ct_CXX+y}
5956 then :
5957 printf %s "(cached) " >&6
5958 else $as_nop
5959 if test -n "$ac_ct_CXX"; then
5960 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 case $as_dir in #(((
5967 '') as_dir=./ ;;
5968 */) ;;
5969 *) as_dir=$as_dir/ ;;
5970 esac
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_ac_ct_CXX="$ac_prog"
5974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5984 if test -n "$ac_ct_CXX"; then
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5986 printf "%s\n" "$ac_ct_CXX" >&6; }
5987 else
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 printf "%s\n" "no" >&6; }
5993 test -n "$ac_ct_CXX" && break
5994 done
5996 if test "x$ac_ct_CXX" = x; then
5997 CXX="g++"
5998 else
5999 case $cross_compiling:$ac_tool_warned in
6000 yes:)
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned=yes ;;
6004 esac
6005 CXX=$ac_ct_CXX
6011 # Provide some information about the compiler.
6012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6013 set X $ac_compile
6014 ac_compiler=$2
6015 for ac_option in --version -v -V -qversion; do
6016 { { ac_try="$ac_compiler $ac_option >&5"
6017 case "(($ac_try" in
6018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6019 *) ac_try_echo=$ac_try;;
6020 esac
6021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6022 printf "%s\n" "$ac_try_echo"; } >&5
6023 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6024 ac_status=$?
6025 if test -s conftest.err; then
6026 sed '10a\
6027 ... rest of stderr output deleted ...
6028 10q' conftest.err >conftest.er1
6029 cat conftest.er1 >&5
6031 rm -f conftest.er1 conftest.err
6032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6033 test $ac_status = 0; }
6034 done
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6037 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6038 if test ${ac_cv_cxx_compiler_gnu+y}
6039 then :
6040 printf %s "(cached) " >&6
6041 else $as_nop
6042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6046 main (void)
6048 #ifndef __GNUC__
6049 choke me
6050 #endif
6053 return 0;
6055 _ACEOF
6056 if ac_fn_cxx_try_compile "$LINENO"
6057 then :
6058 ac_compiler_gnu=yes
6059 else $as_nop
6060 ac_compiler_gnu=no
6062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6063 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6067 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6070 if test $ac_compiler_gnu = yes; then
6071 GXX=yes
6072 else
6073 GXX=
6075 ac_test_CXXFLAGS=${CXXFLAGS+y}
6076 ac_save_CXXFLAGS=$CXXFLAGS
6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6078 printf %s "checking whether $CXX accepts -g... " >&6; }
6079 if test ${ac_cv_prog_cxx_g+y}
6080 then :
6081 printf %s "(cached) " >&6
6082 else $as_nop
6083 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6084 ac_cxx_werror_flag=yes
6085 ac_cv_prog_cxx_g=no
6086 CXXFLAGS="-g"
6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6091 main (void)
6095 return 0;
6097 _ACEOF
6098 if ac_fn_cxx_try_compile "$LINENO"
6099 then :
6100 ac_cv_prog_cxx_g=yes
6101 else $as_nop
6102 CXXFLAGS=""
6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6107 main (void)
6111 return 0;
6113 _ACEOF
6114 if ac_fn_cxx_try_compile "$LINENO"
6115 then :
6117 else $as_nop
6118 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6119 CXXFLAGS="-g"
6120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6124 main (void)
6128 return 0;
6130 _ACEOF
6131 if ac_fn_cxx_try_compile "$LINENO"
6132 then :
6133 ac_cv_prog_cxx_g=yes
6135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6140 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6143 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6144 if test $ac_test_CXXFLAGS; then
6145 CXXFLAGS=$ac_save_CXXFLAGS
6146 elif test $ac_cv_prog_cxx_g = yes; then
6147 if test "$GXX" = yes; then
6148 CXXFLAGS="-g -O2"
6149 else
6150 CXXFLAGS="-g"
6152 else
6153 if test "$GXX" = yes; then
6154 CXXFLAGS="-O2"
6155 else
6156 CXXFLAGS=
6159 ac_prog_cxx_stdcxx=no
6160 if test x$ac_prog_cxx_stdcxx = xno
6161 then :
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6163 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6164 if test ${ac_cv_prog_cxx_11+y}
6165 then :
6166 printf %s "(cached) " >&6
6167 else $as_nop
6168 ac_cv_prog_cxx_11=no
6169 ac_save_CXX=$CXX
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 $ac_cxx_conftest_cxx11_program
6173 _ACEOF
6174 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6176 CXX="$ac_save_CXX $ac_arg"
6177 if ac_fn_cxx_try_compile "$LINENO"
6178 then :
6179 ac_cv_prog_cxx_cxx11=$ac_arg
6181 rm -f core conftest.err conftest.$ac_objext conftest.beam
6182 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6183 done
6184 rm -f conftest.$ac_ext
6185 CXX=$ac_save_CXX
6188 if test "x$ac_cv_prog_cxx_cxx11" = xno
6189 then :
6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6191 printf "%s\n" "unsupported" >&6; }
6192 else $as_nop
6193 if test "x$ac_cv_prog_cxx_cxx11" = x
6194 then :
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6196 printf "%s\n" "none needed" >&6; }
6197 else $as_nop
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6199 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6200 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6202 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6203 ac_prog_cxx_stdcxx=cxx11
6206 if test x$ac_prog_cxx_stdcxx = xno
6207 then :
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6209 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6210 if test ${ac_cv_prog_cxx_98+y}
6211 then :
6212 printf %s "(cached) " >&6
6213 else $as_nop
6214 ac_cv_prog_cxx_98=no
6215 ac_save_CXX=$CXX
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 $ac_cxx_conftest_cxx98_program
6219 _ACEOF
6220 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6222 CXX="$ac_save_CXX $ac_arg"
6223 if ac_fn_cxx_try_compile "$LINENO"
6224 then :
6225 ac_cv_prog_cxx_cxx98=$ac_arg
6227 rm -f core conftest.err conftest.$ac_objext conftest.beam
6228 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6229 done
6230 rm -f conftest.$ac_ext
6231 CXX=$ac_save_CXX
6234 if test "x$ac_cv_prog_cxx_cxx98" = xno
6235 then :
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6237 printf "%s\n" "unsupported" >&6; }
6238 else $as_nop
6239 if test "x$ac_cv_prog_cxx_cxx98" = x
6240 then :
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6242 printf "%s\n" "none needed" >&6; }
6243 else $as_nop
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6245 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6246 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6248 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6249 ac_prog_cxx_stdcxx=cxx98
6253 ac_ext=c
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6259 if test -n "$ac_tool_prefix"; then
6260 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6261 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 printf %s "checking for $ac_word... " >&6; }
6264 if test ${ac_cv_prog_CPPBIN+y}
6265 then :
6266 printf %s "(cached) " >&6
6267 else $as_nop
6268 if test -n "$CPPBIN"; then
6269 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6270 else
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH
6274 IFS=$as_save_IFS
6275 case $as_dir in #(((
6276 '') as_dir=./ ;;
6277 */) ;;
6278 *) as_dir=$as_dir/ ;;
6279 esac
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6282 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6284 break 2
6286 done
6287 done
6288 IFS=$as_save_IFS
6292 CPPBIN=$ac_cv_prog_CPPBIN
6293 if test -n "$CPPBIN"; then
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6295 printf "%s\n" "$CPPBIN" >&6; }
6296 else
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298 printf "%s\n" "no" >&6; }
6303 if test -z "$ac_cv_prog_CPPBIN"; then
6304 ac_ct_CPPBIN=$CPPBIN
6305 # Extract the first word of "cpp", so it can be a program name with args.
6306 set dummy cpp; ac_word=$2
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 printf %s "checking for $ac_word... " >&6; }
6309 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6310 then :
6311 printf %s "(cached) " >&6
6312 else $as_nop
6313 if test -n "$ac_ct_CPPBIN"; then
6314 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6315 else
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 case $as_dir in #(((
6321 '') as_dir=./ ;;
6322 */) ;;
6323 *) as_dir=$as_dir/ ;;
6324 esac
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6327 ac_cv_prog_ac_ct_CPPBIN="cpp"
6328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6329 break 2
6331 done
6332 done
6333 IFS=$as_save_IFS
6337 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6338 if test -n "$ac_ct_CPPBIN"; then
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6340 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6341 else
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 printf "%s\n" "no" >&6; }
6346 if test "x$ac_ct_CPPBIN" = x; then
6347 CPPBIN="cpp"
6348 else
6349 case $cross_compiling:$ac_tool_warned in
6350 yes:)
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6354 esac
6355 CPPBIN=$ac_ct_CPPBIN
6357 else
6358 CPPBIN="$ac_cv_prog_CPPBIN"
6362 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6364 if test -n "$ac_tool_prefix"; then
6365 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6366 set dummy ${ac_tool_prefix}ld; ac_word=$2
6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 printf %s "checking for $ac_word... " >&6; }
6369 if test ${ac_cv_prog_LD+y}
6370 then :
6371 printf %s "(cached) " >&6
6372 else $as_nop
6373 if test -n "$LD"; then
6374 ac_cv_prog_LD="$LD" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6379 IFS=$as_save_IFS
6380 case $as_dir in #(((
6381 '') as_dir=./ ;;
6382 */) ;;
6383 *) as_dir=$as_dir/ ;;
6384 esac
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_LD="${ac_tool_prefix}ld"
6388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6389 break 2
6391 done
6392 done
6393 IFS=$as_save_IFS
6397 LD=$ac_cv_prog_LD
6398 if test -n "$LD"; then
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6400 printf "%s\n" "$LD" >&6; }
6401 else
6402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 printf "%s\n" "no" >&6; }
6408 if test -z "$ac_cv_prog_LD"; then
6409 ac_ct_LD=$LD
6410 # Extract the first word of "ld", so it can be a program name with args.
6411 set dummy ld; ac_word=$2
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6413 printf %s "checking for $ac_word... " >&6; }
6414 if test ${ac_cv_prog_ac_ct_LD+y}
6415 then :
6416 printf %s "(cached) " >&6
6417 else $as_nop
6418 if test -n "$ac_ct_LD"; then
6419 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6420 else
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 for as_dir in $PATH
6424 IFS=$as_save_IFS
6425 case $as_dir in #(((
6426 '') as_dir=./ ;;
6427 */) ;;
6428 *) as_dir=$as_dir/ ;;
6429 esac
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6432 ac_cv_prog_ac_ct_LD="ld"
6433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6434 break 2
6436 done
6437 done
6438 IFS=$as_save_IFS
6442 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6443 if test -n "$ac_ct_LD"; then
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6445 printf "%s\n" "$ac_ct_LD" >&6; }
6446 else
6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 printf "%s\n" "no" >&6; }
6451 if test "x$ac_ct_LD" = x; then
6452 LD=""
6453 else
6454 case $cross_compiling:$ac_tool_warned in
6455 yes:)
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6457 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6458 ac_tool_warned=yes ;;
6459 esac
6460 LD=$ac_ct_LD
6462 else
6463 LD="$ac_cv_prog_LD"
6467 case $host in
6468 *-darwin*)
6469 with_fontconfig=${with_fontconfig:-no}
6471 *-mingw32*|*-cygwin*)
6472 enable_win16=${enable_win16:-no}
6473 with_mingw=${with_mingw:-no}
6475 esac
6478 case $host in
6479 x86_64*|amd64*)
6480 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6481 then
6482 CC="$CC -m32"
6483 CXX="$CXX -m32"
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6486 printf %s "checking whether $CC works... " >&6; }
6487 if test ${wine_cv_cc_m32+y}
6488 then :
6489 printf %s "(cached) " >&6
6490 else $as_nop
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6495 main (void)
6499 return 0;
6501 _ACEOF
6502 if ac_fn_c_try_link "$LINENO"
6503 then :
6504 wine_cv_cc_m32=yes
6505 else $as_nop
6506 wine_cv_cc_m32=no
6508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6509 conftest$ac_exeext conftest.$ac_ext
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6512 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6513 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
6514 host_cpu="i386"
6515 notice_platform="32-bit "
6516 TARGETFLAGS="$TARGETFLAGS -m32"
6517 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6518 export PKG_CONFIG_PATH
6519 enable_win16=${enable_win16:-yes}
6520 with_unwind=${with_unwind:-no}
6521 else
6522 if test "x${GCC}" = "xyes"
6523 then
6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6525 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6526 if test ${wine_cv_builtin_ms_va_list+y}
6527 then :
6528 printf %s "(cached) " >&6
6529 else $as_nop
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <stdarg.h>
6534 main (void)
6536 void func(__builtin_ms_va_list *args);
6538 return 0;
6540 _ACEOF
6541 if ac_fn_c_try_compile "$LINENO"
6542 then :
6543 wine_cv_builtin_ms_va_list=yes
6544 else $as_nop
6545 wine_cv_builtin_ms_va_list=no
6547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6550 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6551 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
6553 CC="$CC -m64"
6554 CXX="$CXX -m64"
6555 host_cpu="x86_64"
6556 notice_platform="64-bit "
6557 TARGETFLAGS="$TARGETFLAGS -m64"
6558 enable_wow64=${enable_wow64:-yes}
6559 enable_wow64win=${enable_wow64win:-yes}
6560 enable_wow64cpu=${enable_wow64cpu:-yes}
6563 arm*)
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6565 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6566 if test ${wine_cv_thumb2+y}
6567 then :
6568 printf %s "(cached) " >&6
6569 else $as_nop
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6574 main (void)
6576 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6578 return 0;
6580 _ACEOF
6581 if ac_fn_c_try_link "$LINENO"
6582 then :
6583 wine_cv_thumb2=yes
6584 else $as_nop
6585 wine_cv_thumb2=no
6587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6588 conftest$ac_exeext conftest.$ac_ext
6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6591 printf "%s\n" "$wine_cv_thumb2" >&6; }
6592 if test x"$wine_cv_thumb2" = xyes
6593 then
6594 CFLAGS="$CFLAGS -mthumb"
6595 TARGETFLAGS="$TARGETFLAGS -mthumb"
6596 else
6597 CFLAGS="$CFLAGS -marm"
6598 TARGETFLAGS="$TARGETFLAGS -marm"
6600 case $with_float_abi in
6601 soft|softfp|hard)
6602 float_abi=$with_float_abi ;;
6604 case $host_os in
6605 *eabihf)
6606 float_abi=hard ;;
6608 float_abi=softfp
6609 saved_CFLAGS=$CFLAGS
6610 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6612 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6613 if test ${wine_cv_float_abi+y}
6614 then :
6615 printf %s "(cached) " >&6
6616 else $as_nop
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6621 main (void)
6623 asm("vmrs r2,fpscr");
6625 return 0;
6627 _ACEOF
6628 if ac_fn_c_try_link "$LINENO"
6629 then :
6630 wine_cv_float_abi=yes
6631 else $as_nop
6632 wine_cv_float_abi=no
6634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6635 conftest$ac_exeext conftest.$ac_ext
6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6638 printf "%s\n" "$wine_cv_float_abi" >&6; }
6639 if test $wine_cv_float_abi = no
6640 then
6641 float_abi=soft
6642 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6644 CFLAGS=$saved_CFLAGS
6645 esac
6647 esac
6648 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6649 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6651 aarch64*)
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6653 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6654 if test ${wine_cv_builtin_ms_va_list+y}
6655 then :
6656 printf %s "(cached) " >&6
6657 else $as_nop
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <stdarg.h>
6662 main (void)
6664 void func(__builtin_ms_va_list *args);
6666 return 0;
6668 _ACEOF
6669 if ac_fn_c_try_compile "$LINENO"
6670 then :
6671 wine_cv_builtin_ms_va_list=yes
6672 else $as_nop
6673 wine_cv_builtin_ms_va_list=no
6675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6678 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6679 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6680 enable_wow64=${enable_wow64:-yes}
6681 enable_wow64win=${enable_wow64win:-yes}
6683 i[3456789]86*)
6684 enable_win16=${enable_win16:-yes}
6685 with_unwind=${with_unwind:-no}
6687 esac
6689 enable_win16=${enable_win16:-no}
6690 enable_win64=${enable_win64:-no}
6691 enable_wow64=${enable_wow64:-no}
6692 enable_wow64win=${enable_wow64win:-no}
6693 enable_wow64cpu=${enable_wow64cpu:-no}
6695 enable_winetest=${enable_winetest:-$enable_tests}
6697 if test "x$enable_win64" = "xyes"
6698 then
6699 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6700 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6703 case $build_os in
6704 cygwin*|mingw32*) toolsext=".exe"
6706 *) toolsext=""
6708 esac
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6711 printf %s "checking for the directory containing the Wine tools... " >&6; }
6712 if test ${wine_cv_toolsdir+y}
6713 then :
6714 printf %s "(cached) " >&6
6715 else $as_nop
6716 wine_cv_toolsdir="$with_wine_tools"
6717 if test -z "$with_wine_tools"; then
6718 if test "$cross_compiling" = "yes"; then
6719 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6720 elif test -n "$with_wine64"; then
6721 wine_cv_toolsdir="$with_wine64"
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6726 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6727 if test -z "$wine_cv_toolsdir"; then
6728 wine_makedep=tools/makedep$toolsext
6729 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6730 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6731 enable_tools=${enable_tools:-no}
6732 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6733 else
6734 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6736 toolsdir=$wine_cv_toolsdir
6738 MAKEDEP=$wine_makedep
6740 RUNTESTFLAGS="-q -P wine"
6742 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'"
6745 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6746 then
6747 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6750 for ac_prog in flex
6752 # Extract the first word of "$ac_prog", so it can be a program name with args.
6753 set dummy $ac_prog; ac_word=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s "checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_FLEX+y}
6757 then :
6758 printf %s "(cached) " >&6
6759 else $as_nop
6760 if test -n "$FLEX"; then
6761 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 case $as_dir in #(((
6768 '') as_dir=./ ;;
6769 */) ;;
6770 *) as_dir=$as_dir/ ;;
6771 esac
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_FLEX="$ac_prog"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 FLEX=$ac_cv_prog_FLEX
6785 if test -n "$FLEX"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6787 printf "%s\n" "$FLEX" >&6; }
6788 else
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6794 test -n "$FLEX" && break
6795 done
6796 test -n "$FLEX" || FLEX="none"
6798 if test "$FLEX" = "none"
6799 then
6800 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6803 printf %s "checking whether flex is recent enough... " >&6; }
6804 if test ${wine_cv_recent_flex+y}
6805 then :
6806 printf %s "(cached) " >&6
6807 else $as_nop
6808 cat >conftest.l <<EOF
6809 %top{
6810 #include "prediluvian.h"
6814 if $FLEX -t conftest.l >/dev/null 2>&5
6815 then
6816 wine_cv_recent_flex=yes
6817 else
6818 wine_cv_recent_flex=no
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6822 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6823 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
6825 for ac_prog in bison
6827 # Extract the first word of "$ac_prog", so it can be a program name with args.
6828 set dummy $ac_prog; ac_word=$2
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 printf %s "checking for $ac_word... " >&6; }
6831 if test ${ac_cv_prog_BISON+y}
6832 then :
6833 printf %s "(cached) " >&6
6834 else $as_nop
6835 if test -n "$BISON"; then
6836 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6841 IFS=$as_save_IFS
6842 case $as_dir in #(((
6843 '') as_dir=./ ;;
6844 */) ;;
6845 *) as_dir=$as_dir/ ;;
6846 esac
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_BISON="$ac_prog"
6850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 BISON=$ac_cv_prog_BISON
6860 if test -n "$BISON"; then
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6862 printf "%s\n" "$BISON" >&6; }
6863 else
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 printf "%s\n" "no" >&6; }
6869 test -n "$BISON" && break
6870 done
6871 test -n "$BISON" || BISON="none"
6873 if test "$BISON" = "none"
6874 then
6875 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6878 printf %s "checking whether bison is recent enough... " >&6; }
6879 if test ${wine_cv_recent_bison+y}
6880 then :
6881 printf %s "(cached) " >&6
6882 else $as_nop
6883 cat >conftest.y <<EOF
6884 %define parse.error verbose
6886 empty: ;
6888 if $BISON conftest.y >/dev/null 2>&5
6889 then
6890 wine_cv_recent_bison=yes
6891 else
6892 wine_cv_recent_bison=no
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6896 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6897 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
6899 if test -n "$ac_tool_prefix"; then
6900 for ac_prog in ar gar
6902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 printf %s "checking for $ac_word... " >&6; }
6906 if test ${ac_cv_prog_AR+y}
6907 then :
6908 printf %s "(cached) " >&6
6909 else $as_nop
6910 if test -n "$AR"; then
6911 ac_cv_prog_AR="$AR" # Let the user override the test.
6912 else
6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 for as_dir in $PATH
6916 IFS=$as_save_IFS
6917 case $as_dir in #(((
6918 '') as_dir=./ ;;
6919 */) ;;
6920 *) as_dir=$as_dir/ ;;
6921 esac
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6926 break 2
6928 done
6929 done
6930 IFS=$as_save_IFS
6934 AR=$ac_cv_prog_AR
6935 if test -n "$AR"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6937 printf "%s\n" "$AR" >&6; }
6938 else
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 printf "%s\n" "no" >&6; }
6944 test -n "$AR" && break
6945 done
6947 if test -z "$AR"; then
6948 ac_ct_AR=$AR
6949 for ac_prog in ar gar
6951 # Extract the first word of "$ac_prog", so it can be a program name with args.
6952 set dummy $ac_prog; ac_word=$2
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 printf %s "checking for $ac_word... " >&6; }
6955 if test ${ac_cv_prog_ac_ct_AR+y}
6956 then :
6957 printf %s "(cached) " >&6
6958 else $as_nop
6959 if test -n "$ac_ct_AR"; then
6960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6961 else
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 for as_dir in $PATH
6965 IFS=$as_save_IFS
6966 case $as_dir in #(((
6967 '') as_dir=./ ;;
6968 */) ;;
6969 *) as_dir=$as_dir/ ;;
6970 esac
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_ac_ct_AR="$ac_prog"
6974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6975 break 2
6977 done
6978 done
6979 IFS=$as_save_IFS
6983 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6984 if test -n "$ac_ct_AR"; then
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6986 printf "%s\n" "$ac_ct_AR" >&6; }
6987 else
6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 printf "%s\n" "no" >&6; }
6993 test -n "$ac_ct_AR" && break
6994 done
6996 if test "x$ac_ct_AR" = x; then
6997 AR="ar"
6998 else
6999 case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005 AR=$ac_ct_AR
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}strip; ac_word=$2
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 printf %s "checking for $ac_word... " >&6; }
7014 if test ${ac_cv_prog_STRIP+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else $as_nop
7018 if test -n "$STRIP"; then
7019 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7020 else
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 for as_dir in $PATH
7024 IFS=$as_save_IFS
7025 case $as_dir in #(((
7026 '') as_dir=./ ;;
7027 */) ;;
7028 *) as_dir=$as_dir/ ;;
7029 esac
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7034 break 2
7036 done
7037 done
7038 IFS=$as_save_IFS
7042 STRIP=$ac_cv_prog_STRIP
7043 if test -n "$STRIP"; then
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7045 printf "%s\n" "$STRIP" >&6; }
7046 else
7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 printf "%s\n" "no" >&6; }
7053 if test -z "$ac_cv_prog_STRIP"; then
7054 ac_ct_STRIP=$STRIP
7055 # Extract the first word of "strip", so it can be a program name with args.
7056 set dummy strip; ac_word=$2
7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 printf %s "checking for $ac_word... " >&6; }
7059 if test ${ac_cv_prog_ac_ct_STRIP+y}
7060 then :
7061 printf %s "(cached) " >&6
7062 else $as_nop
7063 if test -n "$ac_ct_STRIP"; then
7064 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7065 else
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 for as_dir in $PATH
7069 IFS=$as_save_IFS
7070 case $as_dir in #(((
7071 '') as_dir=./ ;;
7072 */) ;;
7073 *) as_dir=$as_dir/ ;;
7074 esac
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_ac_ct_STRIP="strip"
7078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7079 break 2
7081 done
7082 done
7083 IFS=$as_save_IFS
7087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7088 if test -n "$ac_ct_STRIP"; then
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7090 printf "%s\n" "$ac_ct_STRIP" >&6; }
7091 else
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 printf "%s\n" "no" >&6; }
7096 if test "x$ac_ct_STRIP" = x; then
7097 STRIP="strip"
7098 else
7099 case $cross_compiling:$ac_tool_warned in
7100 yes:)
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned=yes ;;
7104 esac
7105 STRIP=$ac_ct_STRIP
7107 else
7108 STRIP="$ac_cv_prog_STRIP"
7111 if test -n "$ac_tool_prefix"; then
7112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 printf %s "checking for $ac_word... " >&6; }
7116 if test ${ac_cv_prog_RANLIB+y}
7117 then :
7118 printf %s "(cached) " >&6
7119 else $as_nop
7120 if test -n "$RANLIB"; then
7121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7126 IFS=$as_save_IFS
7127 case $as_dir in #(((
7128 '') as_dir=./ ;;
7129 */) ;;
7130 *) as_dir=$as_dir/ ;;
7131 esac
7132 for ac_exec_ext in '' $ac_executable_extensions; do
7133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7136 break 2
7138 done
7139 done
7140 IFS=$as_save_IFS
7144 RANLIB=$ac_cv_prog_RANLIB
7145 if test -n "$RANLIB"; then
7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7147 printf "%s\n" "$RANLIB" >&6; }
7148 else
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 printf "%s\n" "no" >&6; }
7155 if test -z "$ac_cv_prog_RANLIB"; then
7156 ac_ct_RANLIB=$RANLIB
7157 # Extract the first word of "ranlib", so it can be a program name with args.
7158 set dummy ranlib; ac_word=$2
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 printf %s "checking for $ac_word... " >&6; }
7161 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7162 then :
7163 printf %s "(cached) " >&6
7164 else $as_nop
7165 if test -n "$ac_ct_RANLIB"; then
7166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7167 else
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 for as_dir in $PATH
7171 IFS=$as_save_IFS
7172 case $as_dir in #(((
7173 '') as_dir=./ ;;
7174 */) ;;
7175 *) as_dir=$as_dir/ ;;
7176 esac
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_ac_ct_RANLIB="ranlib"
7180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7181 break 2
7183 done
7184 done
7185 IFS=$as_save_IFS
7189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7190 if test -n "$ac_ct_RANLIB"; then
7191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7192 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7193 else
7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 printf "%s\n" "no" >&6; }
7198 if test "x$ac_ct_RANLIB" = x; then
7199 RANLIB=":"
7200 else
7201 case $cross_compiling:$ac_tool_warned in
7202 yes:)
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7206 esac
7207 RANLIB=$ac_ct_RANLIB
7209 else
7210 RANLIB="$ac_cv_prog_RANLIB"
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7214 printf %s "checking whether ln -s works... " >&6; }
7215 LN_S=$as_ln_s
7216 if test "$LN_S" = "ln -s"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7218 printf "%s\n" "yes" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7221 printf "%s\n" "no, using $LN_S" >&6; }
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7225 printf %s "checking for grep that handles long lines and -e... " >&6; }
7226 if test ${ac_cv_path_GREP+y}
7227 then :
7228 printf %s "(cached) " >&6
7229 else $as_nop
7230 if test -z "$GREP"; then
7231 ac_path_GREP_found=false
7232 # Loop through the user's path and test for each of PROGNAME-LIST
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7236 IFS=$as_save_IFS
7237 case $as_dir in #(((
7238 '') as_dir=./ ;;
7239 */) ;;
7240 *) as_dir=$as_dir/ ;;
7241 esac
7242 for ac_prog in grep ggrep
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7246 as_fn_executable_p "$ac_path_GREP" || continue
7247 # Check for GNU ac_path_GREP and select it if it is found.
7248 # Check for GNU $ac_path_GREP
7249 case `"$ac_path_GREP" --version 2>&1` in
7250 *GNU*)
7251 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7253 ac_count=0
7254 printf %s 0123456789 >"conftest.in"
7255 while :
7257 cat "conftest.in" "conftest.in" >"conftest.tmp"
7258 mv "conftest.tmp" "conftest.in"
7259 cp "conftest.in" "conftest.nl"
7260 printf "%s\n" 'GREP' >> "conftest.nl"
7261 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7263 as_fn_arith $ac_count + 1 && ac_count=$as_val
7264 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7265 # Best one so far, save it but keep looking for a better one
7266 ac_cv_path_GREP="$ac_path_GREP"
7267 ac_path_GREP_max=$ac_count
7269 # 10*(2^10) chars as input seems more than enough
7270 test $ac_count -gt 10 && break
7271 done
7272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7273 esac
7275 $ac_path_GREP_found && break 3
7276 done
7277 done
7278 done
7279 IFS=$as_save_IFS
7280 if test -z "$ac_cv_path_GREP"; then
7281 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7283 else
7284 ac_cv_path_GREP=$GREP
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7289 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7290 GREP="$ac_cv_path_GREP"
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7294 printf %s "checking for egrep... " >&6; }
7295 if test ${ac_cv_path_EGREP+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7300 then ac_cv_path_EGREP="$GREP -E"
7301 else
7302 if test -z "$EGREP"; then
7303 ac_path_EGREP_found=false
7304 # Loop through the user's path and test for each of PROGNAME-LIST
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7308 IFS=$as_save_IFS
7309 case $as_dir in #(((
7310 '') as_dir=./ ;;
7311 */) ;;
7312 *) as_dir=$as_dir/ ;;
7313 esac
7314 for ac_prog in egrep
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7318 as_fn_executable_p "$ac_path_EGREP" || continue
7319 # Check for GNU ac_path_EGREP and select it if it is found.
7320 # Check for GNU $ac_path_EGREP
7321 case `"$ac_path_EGREP" --version 2>&1` in
7322 *GNU*)
7323 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7325 ac_count=0
7326 printf %s 0123456789 >"conftest.in"
7327 while :
7329 cat "conftest.in" "conftest.in" >"conftest.tmp"
7330 mv "conftest.tmp" "conftest.in"
7331 cp "conftest.in" "conftest.nl"
7332 printf "%s\n" 'EGREP' >> "conftest.nl"
7333 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7335 as_fn_arith $ac_count + 1 && ac_count=$as_val
7336 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7337 # Best one so far, save it but keep looking for a better one
7338 ac_cv_path_EGREP="$ac_path_EGREP"
7339 ac_path_EGREP_max=$ac_count
7341 # 10*(2^10) chars as input seems more than enough
7342 test $ac_count -gt 10 && break
7343 done
7344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7345 esac
7347 $ac_path_EGREP_found && break 3
7348 done
7349 done
7350 done
7351 IFS=$as_save_IFS
7352 if test -z "$ac_cv_path_EGREP"; then
7353 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7355 else
7356 ac_cv_path_EGREP=$EGREP
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7362 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7363 EGREP="$ac_cv_path_EGREP"
7366 # Extract the first word of "ldconfig", so it can be a program name with args.
7367 set dummy ldconfig; ac_word=$2
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 printf %s "checking for $ac_word... " >&6; }
7370 if test ${ac_cv_path_LDCONFIG+y}
7371 then :
7372 printf %s "(cached) " >&6
7373 else $as_nop
7374 case $LDCONFIG in
7375 [\\/]* | ?:[\\/]*)
7376 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 for as_dir in /sbin /usr/sbin $PATH
7382 IFS=$as_save_IFS
7383 case $as_dir in #(((
7384 '') as_dir=./ ;;
7385 */) ;;
7386 *) as_dir=$as_dir/ ;;
7387 esac
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7390 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7398 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7400 esac
7402 LDCONFIG=$ac_cv_path_LDCONFIG
7403 if test -n "$LDCONFIG"; then
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7405 printf "%s\n" "$LDCONFIG" >&6; }
7406 else
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 printf "%s\n" "no" >&6; }
7412 for ac_prog in msgfmt
7414 # Extract the first word of "$ac_prog", so it can be a program name with args.
7415 set dummy $ac_prog; ac_word=$2
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 printf %s "checking for $ac_word... " >&6; }
7418 if test ${ac_cv_prog_MSGFMT+y}
7419 then :
7420 printf %s "(cached) " >&6
7421 else $as_nop
7422 if test -n "$MSGFMT"; then
7423 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 case $as_dir in #(((
7430 '') as_dir=./ ;;
7431 */) ;;
7432 *) as_dir=$as_dir/ ;;
7433 esac
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7436 ac_cv_prog_MSGFMT="$ac_prog"
7437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7438 break 2
7440 done
7441 done
7442 IFS=$as_save_IFS
7446 MSGFMT=$ac_cv_prog_MSGFMT
7447 if test -n "$MSGFMT"; then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7449 printf "%s\n" "$MSGFMT" >&6; }
7450 else
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 printf "%s\n" "no" >&6; }
7456 test -n "$MSGFMT" && break
7457 done
7458 test -n "$MSGFMT" || MSGFMT="false"
7460 if test ${ac_tool_prefix+y}
7461 then :
7462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7463 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 printf %s "checking for $ac_word... " >&6; }
7466 if test ${ac_cv_prog_PKG_CONFIG+y}
7467 then :
7468 printf %s "(cached) " >&6
7469 else $as_nop
7470 if test -n "$PKG_CONFIG"; then
7471 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7476 IFS=$as_save_IFS
7477 case $as_dir in #(((
7478 '') as_dir=./ ;;
7479 */) ;;
7480 *) as_dir=$as_dir/ ;;
7481 esac
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7495 if test -n "$PKG_CONFIG"; then
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7497 printf "%s\n" "$PKG_CONFIG" >&6; }
7498 else
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 printf "%s\n" "no" >&6; }
7505 if ${ac_cv_prog_PKG_CONFIG:+false} :
7506 then :
7507 if test "x$cross_compiling" = xyes
7508 then :
7510 else $as_nop
7511 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7512 # Extract the first word of "pkg-config", so it can be a program name with args.
7513 set dummy pkg-config; ac_word=$2
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 printf %s "checking for $ac_word... " >&6; }
7516 if test ${ac_cv_prog_PKG_CONFIG+y}
7517 then :
7518 printf %s "(cached) " >&6
7519 else $as_nop
7520 if test -n "$PKG_CONFIG"; then
7521 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7526 IFS=$as_save_IFS
7527 case $as_dir in #(((
7528 '') as_dir=./ ;;
7529 */) ;;
7530 *) as_dir=$as_dir/ ;;
7531 esac
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_PKG_CONFIG="pkg-config"
7535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7536 break 2
7538 done
7539 done
7540 IFS=$as_save_IFS
7544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7545 if test -n "$PKG_CONFIG"; then
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7547 printf "%s\n" "$PKG_CONFIG" >&6; }
7548 else
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 printf "%s\n" "no" >&6; }
7555 else $as_nop
7556 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7559 if test "x$enable_maintainer_mode" != "xyes"
7560 then
7561 FONTFORGE=""
7562 RSVG=""
7563 CONVERT=""
7564 ICOTOOL=""
7565 else
7566 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7567 for ac_prog in fontforge
7569 # Extract the first word of "$ac_prog", so it can be a program name with args.
7570 set dummy $ac_prog; ac_word=$2
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572 printf %s "checking for $ac_word... " >&6; }
7573 if test ${ac_cv_prog_FONTFORGE+y}
7574 then :
7575 printf %s "(cached) " >&6
7576 else $as_nop
7577 if test -n "$FONTFORGE"; then
7578 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7583 IFS=$as_save_IFS
7584 case $as_dir in #(((
7585 '') as_dir=./ ;;
7586 */) ;;
7587 *) as_dir=$as_dir/ ;;
7588 esac
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_FONTFORGE="$ac_prog"
7592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7593 break 2
7595 done
7596 done
7597 IFS=$as_save_IFS
7601 FONTFORGE=$ac_cv_prog_FONTFORGE
7602 if test -n "$FONTFORGE"; then
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7604 printf "%s\n" "$FONTFORGE" >&6; }
7605 else
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7607 printf "%s\n" "no" >&6; }
7611 test -n "$FONTFORGE" && break
7612 done
7613 test -n "$FONTFORGE" || FONTFORGE="false"
7615 for ac_prog in rsvg-convert rsvg
7617 # Extract the first word of "$ac_prog", so it can be a program name with args.
7618 set dummy $ac_prog; ac_word=$2
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 printf %s "checking for $ac_word... " >&6; }
7621 if test ${ac_cv_prog_RSVG+y}
7622 then :
7623 printf %s "(cached) " >&6
7624 else $as_nop
7625 if test -n "$RSVG"; then
7626 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631 IFS=$as_save_IFS
7632 case $as_dir in #(((
7633 '') as_dir=./ ;;
7634 */) ;;
7635 *) as_dir=$as_dir/ ;;
7636 esac
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_RSVG="$ac_prog"
7640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 RSVG=$ac_cv_prog_RSVG
7650 if test -n "$RSVG"; then
7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7652 printf "%s\n" "$RSVG" >&6; }
7653 else
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 printf "%s\n" "no" >&6; }
7659 test -n "$RSVG" && break
7660 done
7661 test -n "$RSVG" || RSVG="false"
7663 for ac_prog in convert
7665 # Extract the first word of "$ac_prog", so it can be a program name with args.
7666 set dummy $ac_prog; ac_word=$2
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 printf %s "checking for $ac_word... " >&6; }
7669 if test ${ac_cv_prog_CONVERT+y}
7670 then :
7671 printf %s "(cached) " >&6
7672 else $as_nop
7673 if test -n "$CONVERT"; then
7674 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 case $as_dir in #(((
7681 '') as_dir=./ ;;
7682 */) ;;
7683 *) as_dir=$as_dir/ ;;
7684 esac
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7687 ac_cv_prog_CONVERT="$ac_prog"
7688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7689 break 2
7691 done
7692 done
7693 IFS=$as_save_IFS
7697 CONVERT=$ac_cv_prog_CONVERT
7698 if test -n "$CONVERT"; then
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7700 printf "%s\n" "$CONVERT" >&6; }
7701 else
7702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 printf "%s\n" "no" >&6; }
7707 test -n "$CONVERT" && break
7708 done
7709 test -n "$CONVERT" || CONVERT="false"
7711 for ac_prog in icotool
7713 # Extract the first word of "$ac_prog", so it can be a program name with args.
7714 set dummy $ac_prog; ac_word=$2
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 printf %s "checking for $ac_word... " >&6; }
7717 if test ${ac_cv_prog_ICOTOOL+y}
7718 then :
7719 printf %s "(cached) " >&6
7720 else $as_nop
7721 if test -n "$ICOTOOL"; then
7722 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7727 IFS=$as_save_IFS
7728 case $as_dir in #(((
7729 '') as_dir=./ ;;
7730 */) ;;
7731 *) as_dir=$as_dir/ ;;
7732 esac
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7735 ac_cv_prog_ICOTOOL="$ac_prog"
7736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 ICOTOOL=$ac_cv_prog_ICOTOOL
7746 if test -n "$ICOTOOL"; then
7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7748 printf "%s\n" "$ICOTOOL" >&6; }
7749 else
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 printf "%s\n" "no" >&6; }
7755 test -n "$ICOTOOL" && break
7756 done
7757 test -n "$ICOTOOL" || ICOTOOL="false"
7759 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7760 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7762 if test "$CONVERT" = false
7763 then
7764 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7765 else
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7767 printf %s "checking for recent enough imagemagick... " >&6; }
7768 convert_version=`convert --version | head -n1`
7769 if test "x$convert_version" != "x"
7770 then
7771 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7772 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7773 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7774 then
7775 CONVERT=false
7778 if test "$CONVERT" = false
7779 then
7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7781 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7782 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7783 else
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7785 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7789 if test "$ICOTOOL" = false
7790 then
7791 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7792 else
7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7794 printf %s "checking for recent enough icotool... " >&6; }
7795 icotool_version=`icotool --version | head -n1`
7796 if test "x$icotool_version" != "x"
7797 then
7798 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7799 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7800 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7801 then
7802 ICOTOOL=false
7803 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7806 if test "$ICOTOOL" = false
7807 then
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7809 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7810 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7811 else
7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7813 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7817 with_gettext=yes
7818 with_gettextpo=yes
7820 enable_werror=yes
7823 test "x$with_gettext" != xno || MSGFMT=false
7824 if test "$MSGFMT" != "false"
7825 then
7826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7827 printf %s "checking whether msgfmt supports contexts... " >&6; }
7828 if test ${wine_cv_msgfmt_contexts+y}
7829 then :
7830 printf %s "(cached) " >&6
7831 else $as_nop
7832 cat >conftest.po <<EOF
7833 # comment
7834 msgctxt "ctxt"
7835 msgid "id"
7836 msgstr "str"
7838 if $MSGFMT -o /dev/null conftest.po 2>&5
7839 then
7840 wine_cv_msgfmt_contexts=yes
7841 else
7842 wine_cv_msgfmt_contexts=no
7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7846 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7847 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7849 if test "$MSGFMT" = false
7850 then :
7851 case "x$with_gettext" in
7852 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7853 xno) ;;
7854 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7855 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7856 esac
7857 enable_po=${enable_po:-no}
7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7862 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7863 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7864 then :
7865 printf %s "(cached) " >&6
7866 else $as_nop
7867 ac_check_lib_save_LIBS=$LIBS
7868 LIBS="-li386 $LIBS"
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7872 /* Override any GCC internal prototype to avoid an error.
7873 Use char because int might match the return type of a GCC
7874 builtin and then its argument prototype would still apply. */
7875 char i386_set_ldt ();
7877 main (void)
7879 return i386_set_ldt ();
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_link "$LINENO"
7885 then :
7886 ac_cv_lib_i386_i386_set_ldt=yes
7887 else $as_nop
7888 ac_cv_lib_i386_i386_set_ldt=no
7890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7891 conftest$ac_exeext conftest.$ac_ext
7892 LIBS=$ac_check_lib_save_LIBS
7894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7895 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7896 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7897 then :
7898 I386_LIBS="-li386"
7903 OPENGL_LIBS=""
7907 # Check whether --enable-largefile was given.
7908 if test ${enable_largefile+y}
7909 then :
7910 enableval=$enable_largefile;
7913 if test "$enable_largefile" != no; then
7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7916 printf %s "checking for special C compiler options needed for large files... " >&6; }
7917 if test ${ac_cv_sys_largefile_CC+y}
7918 then :
7919 printf %s "(cached) " >&6
7920 else $as_nop
7921 ac_cv_sys_largefile_CC=no
7922 if test "$GCC" != yes; then
7923 ac_save_CC=$CC
7924 while :; do
7925 # IRIX 6.2 and later do not support large files by default,
7926 # so use the C compiler's -n32 option if that helps.
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 #include <sys/types.h>
7930 /* Check that off_t can represent 2**63 - 1 correctly.
7931 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7932 since some C++ compilers masquerading as C compilers
7933 incorrectly reject 9223372036854775807. */
7934 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7936 && LARGE_OFF_T % 2147483647 == 1)
7937 ? 1 : -1];
7939 main (void)
7943 return 0;
7945 _ACEOF
7946 if ac_fn_c_try_compile "$LINENO"
7947 then :
7948 break
7950 rm -f core conftest.err conftest.$ac_objext conftest.beam
7951 CC="$CC -n32"
7952 if ac_fn_c_try_compile "$LINENO"
7953 then :
7954 ac_cv_sys_largefile_CC=' -n32'; break
7956 rm -f core conftest.err conftest.$ac_objext conftest.beam
7957 break
7958 done
7959 CC=$ac_save_CC
7960 rm -f conftest.$ac_ext
7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7964 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7965 if test "$ac_cv_sys_largefile_CC" != no; then
7966 CC=$CC$ac_cv_sys_largefile_CC
7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7970 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7971 if test ${ac_cv_sys_file_offset_bits+y}
7972 then :
7973 printf %s "(cached) " >&6
7974 else $as_nop
7975 while :; do
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 #include <sys/types.h>
7979 /* Check that off_t can represent 2**63 - 1 correctly.
7980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7981 since some C++ compilers masquerading as C compilers
7982 incorrectly reject 9223372036854775807. */
7983 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7985 && LARGE_OFF_T % 2147483647 == 1)
7986 ? 1 : -1];
7988 main (void)
7992 return 0;
7994 _ACEOF
7995 if ac_fn_c_try_compile "$LINENO"
7996 then :
7997 ac_cv_sys_file_offset_bits=no; break
7999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8002 #define _FILE_OFFSET_BITS 64
8003 #include <sys/types.h>
8004 /* Check that off_t can represent 2**63 - 1 correctly.
8005 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8006 since some C++ compilers masquerading as C compilers
8007 incorrectly reject 9223372036854775807. */
8008 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8009 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8010 && LARGE_OFF_T % 2147483647 == 1)
8011 ? 1 : -1];
8013 main (void)
8017 return 0;
8019 _ACEOF
8020 if ac_fn_c_try_compile "$LINENO"
8021 then :
8022 ac_cv_sys_file_offset_bits=64; break
8024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8025 ac_cv_sys_file_offset_bits=unknown
8026 break
8027 done
8029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8030 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8031 case $ac_cv_sys_file_offset_bits in #(
8032 no | unknown) ;;
8034 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8036 esac
8037 rm -rf conftest*
8038 if test $ac_cv_sys_file_offset_bits = unknown; then
8039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8040 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8041 if test ${ac_cv_sys_large_files+y}
8042 then :
8043 printf %s "(cached) " >&6
8044 else $as_nop
8045 while :; do
8046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8047 /* end confdefs.h. */
8048 #include <sys/types.h>
8049 /* Check that off_t can represent 2**63 - 1 correctly.
8050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8051 since some C++ compilers masquerading as C compilers
8052 incorrectly reject 9223372036854775807. */
8053 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8055 && LARGE_OFF_T % 2147483647 == 1)
8056 ? 1 : -1];
8058 main (void)
8062 return 0;
8064 _ACEOF
8065 if ac_fn_c_try_compile "$LINENO"
8066 then :
8067 ac_cv_sys_large_files=no; break
8069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8072 #define _LARGE_FILES 1
8073 #include <sys/types.h>
8074 /* Check that off_t can represent 2**63 - 1 correctly.
8075 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8076 since some C++ compilers masquerading as C compilers
8077 incorrectly reject 9223372036854775807. */
8078 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8079 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8080 && LARGE_OFF_T % 2147483647 == 1)
8081 ? 1 : -1];
8083 main (void)
8087 return 0;
8089 _ACEOF
8090 if ac_fn_c_try_compile "$LINENO"
8091 then :
8092 ac_cv_sys_large_files=1; break
8094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8095 ac_cv_sys_large_files=unknown
8096 break
8097 done
8099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8100 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8101 case $ac_cv_sys_large_files in #(
8102 no | unknown) ;;
8104 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8106 esac
8107 rm -rf conftest*
8112 ac_header= ac_cache=
8113 for ac_item in $ac_header_c_list
8115 if test $ac_cache; then
8116 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8117 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8118 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8120 ac_header= ac_cache=
8121 elif test $ac_header; then
8122 ac_cache=$ac_item
8123 else
8124 ac_header=$ac_item
8126 done
8135 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8136 then :
8138 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_AL_al_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_CL_cl_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_EGL_egl_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_Security_Security_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_arpa_inet_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_asm_types_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_asm_user_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_elf_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_float_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_gettext_po_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_ieeefp_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_libproc_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_link_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_linux_filter_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_linux_input_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_linux_major_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_linux_param_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_linux_serial_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_linux_types_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_lwp_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_mach_mach_h" = xyes
8365 then :
8366 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_machine_cpu_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_mntent_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8388 if test "x$ac_cv_header_netdb_h" = xyes
8389 then :
8390 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_netinet_in_h" = xyes
8395 then :
8396 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8400 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8406 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8412 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8413 then :
8414 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8418 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8424 if test "x$ac_cv_header_port_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8430 if test "x$ac_cv_header_pthread_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8435 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8436 if test "x$ac_cv_header_pwd_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8442 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8448 if test "x$ac_cv_header_sched_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8454 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8459 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8460 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8461 then :
8462 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8465 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8466 if test "x$ac_cv_header_scsi_sg_h" = xyes
8467 then :
8468 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8471 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8472 if test "x$ac_cv_header_stdint_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8478 if test "x$ac_cv_header_sys_attr_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8484 if test "x$ac_cv_header_sys_auxv_h" = xyes
8485 then :
8486 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8489 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8490 if test "x$ac_cv_header_sys_cdio_h" = xyes
8491 then :
8492 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8496 if test "x$ac_cv_header_sys_epoll_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8501 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8502 if test "x$ac_cv_header_sys_event_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8508 if test "x$ac_cv_header_sys_filio_h" = xyes
8509 then :
8510 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8514 if test "x$ac_cv_header_sys_ipc_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8520 if test "x$ac_cv_header_sys_link_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8526 if test "x$ac_cv_header_sys_modem_h" = xyes
8527 then :
8528 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8532 if test "x$ac_cv_header_sys_mtio_h" = xyes
8533 then :
8534 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8537 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8538 if test "x$ac_cv_header_sys_param_h" = xyes
8539 then :
8540 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8543 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8544 if test "x$ac_cv_header_sys_prctl_h" = xyes
8545 then :
8546 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8550 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8556 if test "x$ac_cv_header_sys_queue_h" = xyes
8557 then :
8558 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8562 if test "x$ac_cv_header_sys_random_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8568 if test "x$ac_cv_header_sys_resource_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8574 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8575 then :
8576 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8580 if test "x$ac_cv_header_sys_shm_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8586 if test "x$ac_cv_header_sys_signal_h" = xyes
8587 then :
8588 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8592 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8598 if test "x$ac_cv_header_sys_sockio_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8604 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8605 then :
8606 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8610 if test "x$ac_cv_header_sys_strtio_h" = xyes
8611 then :
8612 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8615 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8616 if test "x$ac_cv_header_sys_syscall_h" = xyes
8617 then :
8618 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8621 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8622 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8628 if test "x$ac_cv_header_sys_times_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8634 if test "x$ac_cv_header_sys_uio_h" = xyes
8635 then :
8636 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8640 if test "x$ac_cv_header_sys_user_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8646 if test "x$ac_cv_header_sys_utsname_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8652 if test "x$ac_cv_header_sys_vnode_h" = xyes
8653 then :
8654 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8658 if test "x$ac_cv_header_syscall_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8664 if test "x$ac_cv_header_utime_h" = xyes
8665 then :
8666 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8670 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8676 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8682 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8683 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8684 then :
8686 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8690 if test $ac_cv_header_sys_mkdev_h = no; then
8691 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8692 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8693 then :
8695 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8701 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8702 if test ${ac_cv_header_stat_broken+y}
8703 then :
8704 printf %s "(cached) " >&6
8705 else $as_nop
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 #include <sys/types.h>
8709 #include <sys/stat.h>
8711 #if defined S_ISBLK && defined S_IFDIR
8712 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8713 #endif
8715 #if defined S_ISBLK && defined S_IFCHR
8716 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8717 #endif
8719 #if defined S_ISLNK && defined S_IFREG
8720 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8721 #endif
8723 #if defined S_ISSOCK && defined S_IFREG
8724 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8725 #endif
8727 _ACEOF
8728 if ac_fn_c_try_compile "$LINENO"
8729 then :
8730 ac_cv_header_stat_broken=no
8731 else $as_nop
8732 ac_cv_header_stat_broken=yes
8734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8737 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8738 if test $ac_cv_header_stat_broken = yes; then
8740 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8747 #ifdef HAVE_SYS_PARAM_H
8748 # include <sys/param.h>
8749 #endif
8751 if test "x$ac_cv_header_sys_conf_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8757 #ifdef HAVE_SYS_PARAM_H
8758 # include <sys/param.h>
8759 #endif
8761 if test "x$ac_cv_header_sys_mount_h" = xyes
8762 then :
8763 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8766 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8767 #ifdef HAVE_SYS_PARAM_H
8768 # include <sys/param.h>
8769 #endif
8771 if test "x$ac_cv_header_sys_statfs_h" = xyes
8772 then :
8773 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8776 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8777 #ifdef HAVE_SYS_PARAM_H
8778 # include <sys/param.h>
8779 #endif
8781 if test "x$ac_cv_header_sys_user_h" = xyes
8782 then :
8783 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8786 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8787 #ifdef HAVE_SYS_PARAM_H
8788 # include <sys/param.h>
8789 #endif
8791 if test "x$ac_cv_header_sys_vfs_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8798 saved_sysctl_h_CFLAGS=$CFLAGS
8799 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8800 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8801 #ifdef HAVE_SYS_PARAM_H
8802 # include <sys/param.h>
8803 #endif
8805 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8806 then :
8807 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8811 CFLAGS=$saved_sysctl_h_CFLAGS
8813 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8817 #endif
8818 #ifdef HAVE_NET_ROUTE_H
8819 # include <net/route.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8826 #endif
8827 #ifdef HAVE_NET_IF_H
8828 # include <net/if.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8832 #endif
8834 if test "x$ac_cv_header_netinet_ip_h" = xyes
8835 then :
8836 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8839 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8840 #include <sys/socket.h>
8841 #ifdef HAVE_SYS_SOCKETVAR_H
8842 # include <sys/socketvar.h>
8843 #endif
8844 #ifdef HAVE_NET_ROUTE_H
8845 # include <net/route.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8852 #endif
8853 #ifdef HAVE_NET_IF_H
8854 # include <net/if.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8858 #endif
8860 if test "x$ac_cv_header_net_if_h" = xyes
8861 then :
8862 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8866 #include <sys/socket.h>
8867 #ifdef HAVE_SYS_SOCKETVAR_H
8868 # include <sys/socketvar.h>
8869 #endif
8870 #ifdef HAVE_NET_ROUTE_H
8871 # include <net/route.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NET_IF_H
8880 # include <net/if.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_H
8883 # include <netinet/ip.h>
8884 #endif
8886 if test "x$ac_cv_header_net_if_arp_h" = xyes
8887 then :
8888 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8891 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8892 #include <sys/socket.h>
8893 #ifdef HAVE_SYS_SOCKETVAR_H
8894 # include <sys/socketvar.h>
8895 #endif
8896 #ifdef HAVE_NET_ROUTE_H
8897 # include <net/route.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_H
8900 # include <netinet/in.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IN_SYSTM_H
8903 # include <netinet/in_systm.h>
8904 #endif
8905 #ifdef HAVE_NET_IF_H
8906 # include <net/if.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_H
8909 # include <netinet/ip.h>
8910 #endif
8912 if test "x$ac_cv_header_net_if_dl_h" = xyes
8913 then :
8914 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_SYS_SOCKETVAR_H
8920 # include <sys/socketvar.h>
8921 #endif
8922 #ifdef HAVE_NET_ROUTE_H
8923 # include <net/route.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_H
8926 # include <netinet/in.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_SYSTM_H
8929 # include <netinet/in_systm.h>
8930 #endif
8931 #ifdef HAVE_NET_IF_H
8932 # include <net/if.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_H
8935 # include <netinet/ip.h>
8936 #endif
8938 if test "x$ac_cv_header_net_if_types_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_SYS_SOCKETVAR_H
8946 # include <sys/socketvar.h>
8947 #endif
8948 #ifdef HAVE_NET_ROUTE_H
8949 # include <net/route.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IN_H
8952 # include <netinet/in.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IN_SYSTM_H
8955 # include <netinet/in_systm.h>
8956 #endif
8957 #ifdef HAVE_NET_IF_H
8958 # include <net/if.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IP_H
8961 # include <netinet/ip.h>
8962 #endif
8964 if test "x$ac_cv_header_net_route_h" = xyes
8965 then :
8966 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8969 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8970 #include <sys/socket.h>
8971 #ifdef HAVE_SYS_SOCKETVAR_H
8972 # include <sys/socketvar.h>
8973 #endif
8974 #ifdef HAVE_NET_ROUTE_H
8975 # include <net/route.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IN_H
8978 # include <netinet/in.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IN_SYSTM_H
8981 # include <netinet/in_systm.h>
8982 #endif
8983 #ifdef HAVE_NET_IF_H
8984 # include <net/if.h>
8985 #endif
8986 #ifdef HAVE_NETINET_IP_H
8987 # include <netinet/ip.h>
8988 #endif
8990 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8996 #include <sys/socket.h>
8997 #ifdef HAVE_SYS_SOCKETVAR_H
8998 # include <sys/socketvar.h>
8999 #endif
9000 #ifdef HAVE_NET_ROUTE_H
9001 # include <net/route.h>
9002 #endif
9003 #ifdef HAVE_NETINET_IN_H
9004 # include <netinet/in.h>
9005 #endif
9006 #ifdef HAVE_NETINET_IN_SYSTM_H
9007 # include <netinet/in_systm.h>
9008 #endif
9009 #ifdef HAVE_NET_IF_H
9010 # include <net/if.h>
9011 #endif
9012 #ifdef HAVE_NETINET_IP_H
9013 # include <netinet/ip.h>
9014 #endif
9016 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_SYS_SOCKETVAR_H
9024 # include <sys/socketvar.h>
9025 #endif
9026 #ifdef HAVE_NET_ROUTE_H
9027 # include <net/route.h>
9028 #endif
9029 #ifdef HAVE_NETINET_IN_H
9030 # include <netinet/in.h>
9031 #endif
9032 #ifdef HAVE_NETINET_IN_SYSTM_H
9033 # include <netinet/in_systm.h>
9034 #endif
9035 #ifdef HAVE_NET_IF_H
9036 # include <net/if.h>
9037 #endif
9038 #ifdef HAVE_NETINET_IP_H
9039 # include <netinet/ip.h>
9040 #endif
9042 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9043 then :
9044 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9048 #include <sys/socket.h>
9049 #ifdef HAVE_SYS_SOCKETVAR_H
9050 # include <sys/socketvar.h>
9051 #endif
9052 #ifdef HAVE_NET_ROUTE_H
9053 # include <net/route.h>
9054 #endif
9055 #ifdef HAVE_NETINET_IN_H
9056 # include <netinet/in.h>
9057 #endif
9058 #ifdef HAVE_NETINET_IN_SYSTM_H
9059 # include <netinet/in_systm.h>
9060 #endif
9061 #ifdef HAVE_NET_IF_H
9062 # include <net/if.h>
9063 #endif
9064 #ifdef HAVE_NETINET_IP_H
9065 # include <netinet/ip.h>
9066 #endif
9068 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9069 then :
9070 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9074 #include <sys/socket.h>
9075 #ifdef HAVE_SYS_SOCKETVAR_H
9076 # include <sys/socketvar.h>
9077 #endif
9078 #ifdef HAVE_NET_ROUTE_H
9079 # include <net/route.h>
9080 #endif
9081 #ifdef HAVE_NETINET_IN_H
9082 # include <netinet/in.h>
9083 #endif
9084 #ifdef HAVE_NETINET_IN_SYSTM_H
9085 # include <netinet/in_systm.h>
9086 #endif
9087 #ifdef HAVE_NET_IF_H
9088 # include <net/if.h>
9089 #endif
9090 #ifdef HAVE_NETINET_IP_H
9091 # include <netinet/ip.h>
9092 #endif
9094 if test "x$ac_cv_header_netinet_udp_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9100 #include <sys/socket.h>
9101 #ifdef HAVE_SYS_SOCKETVAR_H
9102 # include <sys/socketvar.h>
9103 #endif
9104 #ifdef HAVE_NET_ROUTE_H
9105 # include <net/route.h>
9106 #endif
9107 #ifdef HAVE_NETINET_IN_H
9108 # include <netinet/in.h>
9109 #endif
9110 #ifdef HAVE_NETINET_IN_SYSTM_H
9111 # include <netinet/in_systm.h>
9112 #endif
9113 #ifdef HAVE_NET_IF_H
9114 # include <net/if.h>
9115 #endif
9116 #ifdef HAVE_NETINET_IP_H
9117 # include <netinet/ip.h>
9118 #endif
9120 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9121 then :
9122 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9125 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9126 #include <sys/socket.h>
9127 #ifdef HAVE_SYS_SOCKETVAR_H
9128 # include <sys/socketvar.h>
9129 #endif
9130 #ifdef HAVE_NET_ROUTE_H
9131 # include <net/route.h>
9132 #endif
9133 #ifdef HAVE_NETINET_IN_H
9134 # include <netinet/in.h>
9135 #endif
9136 #ifdef HAVE_NETINET_IN_SYSTM_H
9137 # include <netinet/in_systm.h>
9138 #endif
9139 #ifdef HAVE_NET_IF_H
9140 # include <net/if.h>
9141 #endif
9142 #ifdef HAVE_NETINET_IP_H
9143 # include <netinet/ip.h>
9144 #endif
9146 if test "x$ac_cv_header_sys_un_h" = xyes
9147 then :
9148 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9153 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9154 #include <sys/socket.h>
9155 #ifdef HAVE_SYS_SOCKETVAR_H
9156 # include <sys/socketvar.h>
9157 #endif
9158 #ifdef HAVE_NETINET_IN_H
9159 # include <netinet/in.h>
9160 #endif
9161 #ifdef HAVE_NETINET_IN_SYSTM_H
9162 # include <netinet/in_systm.h>
9163 #endif
9164 #ifdef HAVE_NETINET_IP_H
9165 # include <netinet/ip.h>
9166 #endif
9167 #ifdef HAVE_NETINET_IP_VAR_H
9168 # include <netinet/ip_var.h>
9169 #endif
9170 #ifdef HAVE_NETINET_IP_ICMP_H
9171 # include <netinet/ip_icmp.h>
9172 #endif
9173 #ifdef HAVE_NETINET_UDP_H
9174 # include <netinet/udp.h>
9175 #endif
9176 #ifdef HAVE_NETINET_TCP_H
9177 # include <netinet/tcp.h>
9178 #endif
9180 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9181 then :
9182 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9185 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9186 #include <sys/socket.h>
9187 #ifdef HAVE_SYS_SOCKETVAR_H
9188 # include <sys/socketvar.h>
9189 #endif
9190 #ifdef HAVE_NETINET_IN_H
9191 # include <netinet/in.h>
9192 #endif
9193 #ifdef HAVE_NETINET_IN_SYSTM_H
9194 # include <netinet/in_systm.h>
9195 #endif
9196 #ifdef HAVE_NETINET_IP_H
9197 # include <netinet/ip.h>
9198 #endif
9199 #ifdef HAVE_NETINET_IP_VAR_H
9200 # include <netinet/ip_var.h>
9201 #endif
9202 #ifdef HAVE_NETINET_IP_ICMP_H
9203 # include <netinet/ip_icmp.h>
9204 #endif
9205 #ifdef HAVE_NETINET_UDP_H
9206 # include <netinet/udp.h>
9207 #endif
9208 #ifdef HAVE_NETINET_TCP_H
9209 # include <netinet/tcp.h>
9210 #endif
9212 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9213 then :
9214 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9217 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9218 #include <sys/socket.h>
9219 #ifdef HAVE_SYS_SOCKETVAR_H
9220 # include <sys/socketvar.h>
9221 #endif
9222 #ifdef HAVE_NETINET_IN_H
9223 # include <netinet/in.h>
9224 #endif
9225 #ifdef HAVE_NETINET_IN_SYSTM_H
9226 # include <netinet/in_systm.h>
9227 #endif
9228 #ifdef HAVE_NETINET_IP_H
9229 # include <netinet/ip.h>
9230 #endif
9231 #ifdef HAVE_NETINET_IP_VAR_H
9232 # include <netinet/ip_var.h>
9233 #endif
9234 #ifdef HAVE_NETINET_IP_ICMP_H
9235 # include <netinet/ip_icmp.h>
9236 #endif
9237 #ifdef HAVE_NETINET_UDP_H
9238 # include <netinet/udp.h>
9239 #endif
9240 #ifdef HAVE_NETINET_TCP_H
9241 # include <netinet/tcp.h>
9242 #endif
9244 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9245 then :
9246 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9251 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9252 #include <sys/socket.h>
9253 #ifdef HAVE_ASM_TYPES_H
9254 # include <asm/types.h>
9255 #endif
9256 #ifdef HAVE_LINUX_TYPES_H
9257 # include <linux/types.h>
9258 #endif
9260 if test "x$ac_cv_header_linux_ipx_h" = xyes
9261 then :
9262 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9265 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9266 #include <sys/socket.h>
9267 #ifdef HAVE_ASM_TYPES_H
9268 # include <asm/types.h>
9269 #endif
9270 #ifdef HAVE_LINUX_TYPES_H
9271 # include <linux/types.h>
9272 #endif
9274 if test "x$ac_cv_header_linux_irda_h" = xyes
9275 then :
9276 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9279 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9280 #include <sys/socket.h>
9281 #ifdef HAVE_ASM_TYPES_H
9282 # include <asm/types.h>
9283 #endif
9284 #ifdef HAVE_LINUX_TYPES_H
9285 # include <linux/types.h>
9286 #endif
9288 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9289 then :
9290 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9295 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9296 #include <sys/socket.h>
9297 #ifdef HAVE_NETINET_IN_H
9298 # include <netinet/in.h>
9299 #endif
9300 #ifdef HAVE_ARPA_NAMESER_H
9301 # include <arpa/nameser.h>
9302 #endif
9304 if test "x$ac_cv_header_resolv_h" = xyes
9305 then :
9306 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9311 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9313 if test "x$ac_cv_header_ifaddrs_h" = xyes
9314 then :
9315 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9320 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9322 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9323 then :
9324 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9329 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9330 #ifdef HAVE_SYS_UCONTEXT_H
9331 #include <sys/ucontext.h>
9332 #endif
9334 if test "x$ac_cv_header_sys_thr_h" = xyes
9335 then :
9336 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9341 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9342 #include <pthread.h>
9343 #endif
9345 if test "x$ac_cv_header_pthread_np_h" = xyes
9346 then :
9347 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9352 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9353 #include <sys/types.h>
9354 #ifdef HAVE_ASM_TYPES_H
9355 #include <asm/types.h>
9356 #endif
9358 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9359 then :
9360 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9365 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9366 #include <sys/param.h>
9367 #endif
9368 #include <sys/socket.h>
9369 #ifdef HAVE_SYS_QUEUE_H
9370 #include <sys/queue.h>
9371 #endif
9373 if test "x$ac_cv_header_libprocstat_h" = xyes
9374 then :
9375 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9381 DLLFLAGS=""
9383 LDDLLFLAGS=""
9385 LDEXECFLAGS=""
9387 EXTRACFLAGS=""
9389 UNIXDLLFLAGS="-fPIC"
9391 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9393 TOP_INSTALL_LIB=""
9395 TOP_INSTALL_DEV=""
9397 WINELOADER_LDFLAGS=""
9399 WINEPRELOADER_LDFLAGS=""
9401 LIBEXT="so"
9402 # Extract the first word of "ldd", so it can be a program name with args.
9403 set dummy ldd; ac_word=$2
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9405 printf %s "checking for $ac_word... " >&6; }
9406 if test ${ac_cv_path_LDD+y}
9407 then :
9408 printf %s "(cached) " >&6
9409 else $as_nop
9410 case $LDD in
9411 [\\/]* | ?:[\\/]*)
9412 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9416 as_dummy="/sbin:/usr/sbin:$PATH"
9417 for as_dir in $as_dummy
9419 IFS=$as_save_IFS
9420 case $as_dir in #(((
9421 '') as_dir=./ ;;
9422 */) ;;
9423 *) as_dir=$as_dir/ ;;
9424 esac
9425 for ac_exec_ext in '' $ac_executable_extensions; do
9426 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9427 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9429 break 2
9431 done
9432 done
9433 IFS=$as_save_IFS
9435 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9437 esac
9439 LDD=$ac_cv_path_LDD
9440 if test -n "$LDD"; then
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9442 printf "%s\n" "$LDD" >&6; }
9443 else
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9445 printf "%s\n" "no" >&6; }
9449 if test -n "$ac_tool_prefix"; then
9450 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9451 set dummy ${ac_tool_prefix}otool; ac_word=$2
9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9453 printf %s "checking for $ac_word... " >&6; }
9454 if test ${ac_cv_prog_OTOOL+y}
9455 then :
9456 printf %s "(cached) " >&6
9457 else $as_nop
9458 if test -n "$OTOOL"; then
9459 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9460 else
9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9462 for as_dir in $PATH
9464 IFS=$as_save_IFS
9465 case $as_dir in #(((
9466 '') as_dir=./ ;;
9467 */) ;;
9468 *) as_dir=$as_dir/ ;;
9469 esac
9470 for ac_exec_ext in '' $ac_executable_extensions; do
9471 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9472 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9474 break 2
9476 done
9477 done
9478 IFS=$as_save_IFS
9482 OTOOL=$ac_cv_prog_OTOOL
9483 if test -n "$OTOOL"; then
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9485 printf "%s\n" "$OTOOL" >&6; }
9486 else
9487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 printf "%s\n" "no" >&6; }
9493 if test -z "$ac_cv_prog_OTOOL"; then
9494 ac_ct_OTOOL=$OTOOL
9495 # Extract the first word of "otool", so it can be a program name with args.
9496 set dummy otool; ac_word=$2
9497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9498 printf %s "checking for $ac_word... " >&6; }
9499 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9500 then :
9501 printf %s "(cached) " >&6
9502 else $as_nop
9503 if test -n "$ac_ct_OTOOL"; then
9504 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9505 else
9506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9507 for as_dir in $PATH
9509 IFS=$as_save_IFS
9510 case $as_dir in #(((
9511 '') as_dir=./ ;;
9512 */) ;;
9513 *) as_dir=$as_dir/ ;;
9514 esac
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9517 ac_cv_prog_ac_ct_OTOOL="otool"
9518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9519 break 2
9521 done
9522 done
9523 IFS=$as_save_IFS
9527 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9528 if test -n "$ac_ct_OTOOL"; then
9529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9530 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9531 else
9532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9533 printf "%s\n" "no" >&6; }
9536 if test "x$ac_ct_OTOOL" = x; then
9537 OTOOL="otool"
9538 else
9539 case $cross_compiling:$ac_tool_warned in
9540 yes:)
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9542 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9543 ac_tool_warned=yes ;;
9544 esac
9545 OTOOL=$ac_ct_OTOOL
9547 else
9548 OTOOL="$ac_cv_prog_OTOOL"
9551 if test -n "$ac_tool_prefix"; then
9552 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9553 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9555 printf %s "checking for $ac_word... " >&6; }
9556 if test ${ac_cv_prog_READELF+y}
9557 then :
9558 printf %s "(cached) " >&6
9559 else $as_nop
9560 if test -n "$READELF"; then
9561 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9562 else
9563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9564 for as_dir in $PATH
9566 IFS=$as_save_IFS
9567 case $as_dir in #(((
9568 '') as_dir=./ ;;
9569 */) ;;
9570 *) as_dir=$as_dir/ ;;
9571 esac
9572 for ac_exec_ext in '' $ac_executable_extensions; do
9573 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9574 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9576 break 2
9578 done
9579 done
9580 IFS=$as_save_IFS
9584 READELF=$ac_cv_prog_READELF
9585 if test -n "$READELF"; then
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9587 printf "%s\n" "$READELF" >&6; }
9588 else
9589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9590 printf "%s\n" "no" >&6; }
9595 if test -z "$ac_cv_prog_READELF"; then
9596 ac_ct_READELF=$READELF
9597 # Extract the first word of "readelf", so it can be a program name with args.
9598 set dummy readelf; ac_word=$2
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9600 printf %s "checking for $ac_word... " >&6; }
9601 if test ${ac_cv_prog_ac_ct_READELF+y}
9602 then :
9603 printf %s "(cached) " >&6
9604 else $as_nop
9605 if test -n "$ac_ct_READELF"; then
9606 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9607 else
9608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9609 for as_dir in $PATH
9611 IFS=$as_save_IFS
9612 case $as_dir in #(((
9613 '') as_dir=./ ;;
9614 */) ;;
9615 *) as_dir=$as_dir/ ;;
9616 esac
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9619 ac_cv_prog_ac_ct_READELF="readelf"
9620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9621 break 2
9623 done
9624 done
9625 IFS=$as_save_IFS
9629 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9630 if test -n "$ac_ct_READELF"; then
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9632 printf "%s\n" "$ac_ct_READELF" >&6; }
9633 else
9634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 printf "%s\n" "no" >&6; }
9638 if test "x$ac_ct_READELF" = x; then
9639 READELF="true"
9640 else
9641 case $cross_compiling:$ac_tool_warned in
9642 yes:)
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9644 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9645 ac_tool_warned=yes ;;
9646 esac
9647 READELF=$ac_ct_READELF
9649 else
9650 READELF="$ac_cv_prog_READELF"
9653 wine_rules="all:"
9654 SUBDIRS=""
9656 DISABLED_SUBDIRS=""
9658 CONFIGURE_TARGETS=""
9661 wine_fn_append_file ()
9663 as_fn_append $1 " \\$as_nl $2"
9666 wine_fn_append_rule ()
9668 as_fn_append wine_rules "$as_nl$1"
9671 wine_fn_config_makefile ()
9673 wine_fn_append_file SUBDIRS $1
9674 if eval test \"x\$"$2"\" = x"no"
9675 then :
9676 wine_fn_append_file DISABLED_SUBDIRS $1
9680 wine_fn_config_symlink ()
9682 ac_links=$@
9683 wine_fn_append_rule \
9684 "$ac_links:
9685 @./config.status \$@"
9686 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9689 wine_binary="wine"
9690 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9691 WINELOADER_PROGRAMS="$wine_binary"
9693 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9695 case $host_os in
9696 cygwin*|mingw32*)
9697 if test -n "$ac_tool_prefix"; then
9698 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9699 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9701 printf %s "checking for $ac_word... " >&6; }
9702 if test ${ac_cv_prog_DLLTOOL+y}
9703 then :
9704 printf %s "(cached) " >&6
9705 else $as_nop
9706 if test -n "$DLLTOOL"; then
9707 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9708 else
9709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9710 for as_dir in $PATH
9712 IFS=$as_save_IFS
9713 case $as_dir in #(((
9714 '') as_dir=./ ;;
9715 */) ;;
9716 *) as_dir=$as_dir/ ;;
9717 esac
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9720 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9722 break 2
9724 done
9725 done
9726 IFS=$as_save_IFS
9730 DLLTOOL=$ac_cv_prog_DLLTOOL
9731 if test -n "$DLLTOOL"; then
9732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9733 printf "%s\n" "$DLLTOOL" >&6; }
9734 else
9735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9736 printf "%s\n" "no" >&6; }
9741 if test -z "$ac_cv_prog_DLLTOOL"; then
9742 ac_ct_DLLTOOL=$DLLTOOL
9743 # Extract the first word of "dlltool", so it can be a program name with args.
9744 set dummy dlltool; ac_word=$2
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9746 printf %s "checking for $ac_word... " >&6; }
9747 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9748 then :
9749 printf %s "(cached) " >&6
9750 else $as_nop
9751 if test -n "$ac_ct_DLLTOOL"; then
9752 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9753 else
9754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9755 for as_dir in $PATH
9757 IFS=$as_save_IFS
9758 case $as_dir in #(((
9759 '') as_dir=./ ;;
9760 */) ;;
9761 *) as_dir=$as_dir/ ;;
9762 esac
9763 for ac_exec_ext in '' $ac_executable_extensions; do
9764 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9765 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9767 break 2
9769 done
9770 done
9771 IFS=$as_save_IFS
9775 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9776 if test -n "$ac_ct_DLLTOOL"; then
9777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9778 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9779 else
9780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9781 printf "%s\n" "no" >&6; }
9784 if test "x$ac_ct_DLLTOOL" = x; then
9785 DLLTOOL="false"
9786 else
9787 case $cross_compiling:$ac_tool_warned in
9788 yes:)
9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9790 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9791 ac_tool_warned=yes ;;
9792 esac
9793 DLLTOOL=$ac_ct_DLLTOOL
9795 else
9796 DLLTOOL="$ac_cv_prog_DLLTOOL"
9799 LIBEXT="dll"
9800 EXTRACFLAGS="-D__WINE_PE_BUILD"
9801 case $host_cpu in
9802 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9803 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9804 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9805 then :
9806 printf %s "(cached) " >&6
9807 else $as_nop
9808 ac_wine_try_cflags_saved=$CFLAGS
9809 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9812 int main(int argc, char **argv) { return 0; }
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"
9815 then :
9816 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9817 else $as_nop
9818 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9821 conftest$ac_exeext conftest.$ac_ext
9822 CFLAGS=$ac_wine_try_cflags_saved
9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9825 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9826 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9827 then :
9828 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9829 fi ;;
9830 esac
9831 enable_loader=${enable_loader:-no}
9832 enable_server=${enable_server:-no}
9833 with_x=${with_x:-no}
9834 with_pthread=${with_pthread:-no}
9837 darwin*|macosx*)
9838 ac_ext=m
9839 ac_cpp='$OBJCPP $CPPFLAGS'
9840 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9841 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9842 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9844 ac_ext=m
9845 ac_cpp='$OBJCPP $CPPFLAGS'
9846 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9847 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9848 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9849 if test -n "$ac_tool_prefix"; then
9850 for ac_prog in gcc objcc objc cc CC clang
9852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9855 printf %s "checking for $ac_word... " >&6; }
9856 if test ${ac_cv_prog_OBJC+y}
9857 then :
9858 printf %s "(cached) " >&6
9859 else $as_nop
9860 if test -n "$OBJC"; then
9861 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9862 else
9863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 for as_dir in $PATH
9866 IFS=$as_save_IFS
9867 case $as_dir in #(((
9868 '') as_dir=./ ;;
9869 */) ;;
9870 *) as_dir=$as_dir/ ;;
9871 esac
9872 for ac_exec_ext in '' $ac_executable_extensions; do
9873 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9874 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9875 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9876 break 2
9878 done
9879 done
9880 IFS=$as_save_IFS
9884 OBJC=$ac_cv_prog_OBJC
9885 if test -n "$OBJC"; then
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9887 printf "%s\n" "$OBJC" >&6; }
9888 else
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 printf "%s\n" "no" >&6; }
9894 test -n "$OBJC" && break
9895 done
9897 if test -z "$OBJC"; then
9898 ac_ct_OBJC=$OBJC
9899 for ac_prog in gcc objcc objc cc CC clang
9901 # Extract the first word of "$ac_prog", so it can be a program name with args.
9902 set dummy $ac_prog; ac_word=$2
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9904 printf %s "checking for $ac_word... " >&6; }
9905 if test ${ac_cv_prog_ac_ct_OBJC+y}
9906 then :
9907 printf %s "(cached) " >&6
9908 else $as_nop
9909 if test -n "$ac_ct_OBJC"; then
9910 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9911 else
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 for as_dir in $PATH
9915 IFS=$as_save_IFS
9916 case $as_dir in #(((
9917 '') as_dir=./ ;;
9918 */) ;;
9919 *) as_dir=$as_dir/ ;;
9920 esac
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9925 break 2
9927 done
9928 done
9929 IFS=$as_save_IFS
9933 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9934 if test -n "$ac_ct_OBJC"; then
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9936 printf "%s\n" "$ac_ct_OBJC" >&6; }
9937 else
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 printf "%s\n" "no" >&6; }
9943 test -n "$ac_ct_OBJC" && break
9944 done
9946 if test "x$ac_ct_OBJC" = x; then
9947 OBJC="gcc"
9948 else
9949 case $cross_compiling:$ac_tool_warned in
9950 yes:)
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9953 ac_tool_warned=yes ;;
9954 esac
9955 OBJC=$ac_ct_OBJC
9959 # Provide some information about the compiler.
9960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9961 set X $ac_compile
9962 ac_compiler=$2
9963 for ac_option in --version -v -V -qversion; do
9964 { { ac_try="$ac_compiler $ac_option >&5"
9965 case "(($ac_try" in
9966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9967 *) ac_try_echo=$ac_try;;
9968 esac
9969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9970 printf "%s\n" "$ac_try_echo"; } >&5
9971 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9972 ac_status=$?
9973 if test -s conftest.err; then
9974 sed '10a\
9975 ... rest of stderr output deleted ...
9976 10q' conftest.err >conftest.er1
9977 cat conftest.er1 >&5
9979 rm -f conftest.er1 conftest.err
9980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981 test $ac_status = 0; }
9982 done
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9985 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9986 if test ${ac_cv_objc_compiler_gnu+y}
9987 then :
9988 printf %s "(cached) " >&6
9989 else $as_nop
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9994 main (void)
9996 #ifndef __GNUC__
9997 choke me
9998 #endif
10001 return 0;
10003 _ACEOF
10004 if ac_fn_objc_try_compile "$LINENO"
10005 then :
10006 ac_compiler_gnu=yes
10007 else $as_nop
10008 ac_compiler_gnu=no
10010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10011 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10015 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10016 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10018 if test $ac_compiler_gnu = yes; then
10019 GOBJC=yes
10020 else
10021 GOBJC=
10023 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10024 ac_save_OBJCFLAGS=$OBJCFLAGS
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10026 printf %s "checking whether $OBJC accepts -g... " >&6; }
10027 if test ${ac_cv_prog_objc_g+y}
10028 then :
10029 printf %s "(cached) " >&6
10030 else $as_nop
10031 ac_save_objc_werror_flag=$ac_objc_werror_flag
10032 ac_objc_werror_flag=yes
10033 ac_cv_prog_objc_g=no
10034 OBJCFLAGS="-g"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10039 main (void)
10043 return 0;
10045 _ACEOF
10046 if ac_fn_objc_try_compile "$LINENO"
10047 then :
10048 ac_cv_prog_objc_g=yes
10049 else $as_nop
10050 OBJCFLAGS=""
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10055 main (void)
10059 return 0;
10061 _ACEOF
10062 if ac_fn_objc_try_compile "$LINENO"
10063 then :
10065 else $as_nop
10066 ac_objc_werror_flag=$ac_save_objc_werror_flag
10067 OBJCFLAGS="-g"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10072 main (void)
10076 return 0;
10078 _ACEOF
10079 if ac_fn_objc_try_compile "$LINENO"
10080 then :
10081 ac_cv_prog_objc_g=yes
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10088 ac_objc_werror_flag=$ac_save_objc_werror_flag
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10091 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10092 if test $ac_test_OBJCFLAGS; then
10093 OBJCFLAGS=$ac_save_OBJCFLAGS
10094 elif test $ac_cv_prog_objc_g = yes; then
10095 if test "$GOBJC" = yes; then
10096 OBJCFLAGS="-g -O2"
10097 else
10098 OBJCFLAGS="-g"
10100 else
10101 if test "$GOBJC" = yes; then
10102 OBJCFLAGS="-O2"
10103 else
10104 OBJCFLAGS=
10107 ac_ext=m
10108 ac_cpp='$OBJCPP $CPPFLAGS'
10109 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10110 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10111 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10114 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10115 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10116 then :
10117 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10121 ac_ext=c
10122 ac_cpp='$CPP $CPPFLAGS'
10123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10127 LIBEXT="dylib"
10128 DLLFLAGS="$DLLFLAGS -fPIC"
10129 LDDLLFLAGS="-fPIC"
10130 COREFOUNDATION_LIBS="-framework CoreFoundation"
10132 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10134 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10136 CORESERVICES_LIBS="-framework CoreServices"
10138 APPKIT_LIBS="-framework AppKit"
10140 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10143 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10145 wine_can_build_preloader=yes
10146 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10148 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10149 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 ac_cv_cflags__Wl__no_new_main__e__main=yes
10162 else $as_nop
10163 ac_cv_cflags__Wl__no_new_main__e__main=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10171 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10172 then :
10173 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10175 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10176 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10177 then :
10178 printf %s "(cached) " >&6
10179 else $as_nop
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int main(int argc, char **argv) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"
10187 then :
10188 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10189 else $as_nop
10190 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10197 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10198 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10199 then :
10200 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10201 else $as_nop
10202 wine_can_build_preloader=no
10204 else $as_nop
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10206 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10207 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10208 then :
10209 printf %s "(cached) " >&6
10210 else $as_nop
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int main(int argc, char **argv) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"
10218 then :
10219 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10220 else $as_nop
10221 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10228 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10229 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10230 then :
10231 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10232 else $as_nop
10233 wine_can_build_preloader=no
10236 if test "$wine_can_build_preloader" = "yes"
10237 then
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10239 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10240 if test ${ac_cv_cflags__Wl__no_pie+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 CFLAGS="$CFLAGS -Wl,-no_pie"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"
10251 then :
10252 ac_cv_cflags__Wl__no_pie=yes
10253 else $as_nop
10254 ac_cv_cflags__Wl__no_pie=no
10256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10261 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10262 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10263 then :
10264 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10266 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10267 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10268 else
10269 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10272 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10273 then
10274 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10277 if test "$ac_cv_header_Security_Security_h" = "yes"
10278 then
10279 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10282 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10283 then
10284 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10286 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10288 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10289 then
10290 OPENAL_LIBS="-framework OpenAL"
10293 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10295 ac_cv_lib_openal=yes
10297 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10298 then
10299 OPENCL_LIBS="-framework OpenCL"
10301 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10303 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10304 then
10305 ac_save_LIBS="$LIBS"
10306 LIBS="$LIBS $IOKIT_LIBS"
10307 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10308 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10309 then :
10310 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10314 LIBS="$ac_save_LIBS"
10317 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10318 then
10319 CARBON_LIBS="-framework Carbon"
10322 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10323 then
10324 METAL_LIBS="-framework Metal"
10328 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10329 then
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10331 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10332 ac_ext=m
10333 ac_cpp='$OBJCPP $CPPFLAGS'
10334 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10335 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10336 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 #include <Metal/Metal.h>
10342 main (void)
10344 id<MTLDevice> device; device.registryID;
10346 return 0;
10348 _ACEOF
10349 if ac_fn_objc_try_compile "$LINENO"
10350 then :
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10352 printf "%s\n" "yes" >&6; }
10354 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10356 else $as_nop
10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10358 printf "%s\n" "no" >&6; }
10360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10361 ac_ext=c
10362 ac_cpp='$CPP $CPPFLAGS'
10363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10369 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10370 then
10371 ac_save_LIBS="$LIBS"
10372 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10373 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10374 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10375 then :
10376 enable_winemac_drv=${enable_winemac_drv:-yes}
10379 LIBS="$ac_save_LIBS"
10382 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10383 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10385 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10387 WINELOADER_DEPENDS="wine_info.plist"
10389 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10392 linux-android*)
10394 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10396 DLLFLAGS="$DLLFLAGS -fPIC"
10397 LDDLLFLAGS="-fPIC"
10398 LDEXECFLAGS="-Wl,-pie"
10399 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10401 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10402 if test ${ac_cv_cflags__Wl__z_defs+y}
10403 then :
10404 printf %s "(cached) " >&6
10405 else $as_nop
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 CFLAGS="$CFLAGS -Wl,-z,defs"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int main(int argc, char **argv) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"
10413 then :
10414 ac_cv_cflags__Wl__z_defs=yes
10415 else $as_nop
10416 ac_cv_cflags__Wl__z_defs=no
10418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10419 conftest$ac_exeext conftest.$ac_ext
10420 CFLAGS=$ac_wine_try_cflags_saved
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10423 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10424 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10425 then :
10426 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10429 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10430 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10431 then :
10432 printf %s "(cached) " >&6
10433 else $as_nop
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int main(int argc, char **argv) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"
10441 then :
10442 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10443 else $as_nop
10444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10451 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10452 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10453 then :
10454 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10456 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10459 printf %s "checking for -lEGL... " >&6; }
10460 if test ${ac_cv_lib_soname_EGL+y}
10461 then :
10462 printf %s "(cached) " >&6
10463 else $as_nop
10464 ac_check_soname_save_LIBS=$LIBS
10465 LIBS="-lEGL $LIBS"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10472 char eglGetProcAddress ();
10474 main (void)
10476 return eglGetProcAddress ();
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"
10482 then :
10483 case "$LIBEXT" in
10484 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10485 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10486 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10487 if ${ac_cv_lib_soname_EGL:+false} :
10488 then :
10489 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10490 fi ;;
10491 esac
10492 else $as_nop
10493 ac_cv_lib_soname_EGL=
10495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_soname_save_LIBS
10499 if ${ac_cv_lib_soname_EGL:+false} :
10500 then :
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10502 printf "%s\n" "not found" >&6; }
10504 else $as_nop
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10506 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10508 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10513 printf %s "checking for -lGLESv2... " >&6; }
10514 if test ${ac_cv_lib_soname_GLESv2+y}
10515 then :
10516 printf %s "(cached) " >&6
10517 else $as_nop
10518 ac_check_soname_save_LIBS=$LIBS
10519 LIBS="-lGLESv2 $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 char glFlush ();
10528 main (void)
10530 return glFlush ();
10532 return 0;
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"
10536 then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10540 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_GLESv2:+false} :
10542 then :
10543 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10544 fi ;;
10545 esac
10546 else $as_nop
10547 ac_cv_lib_soname_GLESv2=
10549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_GLESv2:+false} :
10554 then :
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10556 printf "%s\n" "not found" >&6; }
10558 else $as_nop
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10560 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10562 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10567 if test "x$exec_prefix" = xNONE
10568 then
10569 case $host_cpu in
10570 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10571 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10572 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10573 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10574 esac
10580 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10583 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10585 case $host_cpu in
10586 *i[3456789]86*)
10587 DLLFLAGS="$DLLFLAGS -fno-PIC"
10588 LDDLLFLAGS="-fno-PIC"
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10590 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10591 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10592 then :
10593 printf %s "(cached) " >&6
10594 else $as_nop
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 int main(int argc, char **argv) { return 0; }
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"
10602 then :
10603 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10604 else $as_nop
10605 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10612 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10613 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10614 then :
10615 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10619 DLLFLAGS="$DLLFLAGS -fPIC"
10620 LDDLLFLAGS="-fPIC" ;;
10621 esac
10622 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10624 echo '{ global: *; };' >conftest.map
10625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10626 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10627 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10628 then :
10629 printf %s "(cached) " >&6
10630 else $as_nop
10631 ac_wine_try_cflags_saved=$CFLAGS
10632 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 int main(int argc, char **argv) { return 0; }
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"
10638 then :
10639 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10640 else $as_nop
10641 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10644 conftest$ac_exeext conftest.$ac_ext
10645 CFLAGS=$ac_wine_try_cflags_saved
10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10648 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10649 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10650 then :
10651 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10653 rm -f conftest.map
10655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10656 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10657 if test ${ac_cv_cflags__Wl__z_defs+y}
10658 then :
10659 printf %s "(cached) " >&6
10660 else $as_nop
10661 ac_wine_try_cflags_saved=$CFLAGS
10662 CFLAGS="$CFLAGS -Wl,-z,defs"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10665 int main(int argc, char **argv) { return 0; }
10666 _ACEOF
10667 if ac_fn_c_try_link "$LINENO"
10668 then :
10669 ac_cv_cflags__Wl__z_defs=yes
10670 else $as_nop
10671 ac_cv_cflags__Wl__z_defs=no
10673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10674 conftest$ac_exeext conftest.$ac_ext
10675 CFLAGS=$ac_wine_try_cflags_saved
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10678 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10679 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10680 then :
10681 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10684 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10685 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10686 then :
10687 printf %s "(cached) " >&6
10688 else $as_nop
10689 ac_wine_try_cflags_saved=$CFLAGS
10690 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10693 int main(int argc, char **argv) { return 0; }
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"
10696 then :
10697 ac_cv_cflags__Wl___export_dynamic=yes
10698 else $as_nop
10699 ac_cv_cflags__Wl___export_dynamic=no
10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10702 conftest$ac_exeext conftest.$ac_ext
10703 CFLAGS=$ac_wine_try_cflags_saved
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10706 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10707 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10708 then :
10709 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10711 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10713 case $host_cpu in
10714 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10716 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10717 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10718 then :
10719 printf %s "(cached) " >&6
10720 else $as_nop
10721 ac_wine_try_cflags_saved=$CFLAGS
10722 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 int main(int argc, char **argv) { return 0; }
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"
10728 then :
10729 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10730 else $as_nop
10731 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10734 conftest$ac_exeext conftest.$ac_ext
10735 CFLAGS=$ac_wine_try_cflags_saved
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10738 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10739 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10740 then :
10741 case $host_os in
10742 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10743 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10744 esac
10745 else $as_nop
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10747 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10748 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10749 then :
10750 printf %s "(cached) " >&6
10751 else $as_nop
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 int main(int argc, char **argv) { return 0; }
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"
10759 then :
10760 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10761 else $as_nop
10762 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10765 conftest$ac_exeext conftest.$ac_ext
10766 CFLAGS=$ac_wine_try_cflags_saved
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10769 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10770 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10771 then :
10772 case $host_os in
10773 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10774 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10775 esac
10777 # Extract the first word of "prelink", so it can be a program name with args.
10778 set dummy prelink; ac_word=$2
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10780 printf %s "checking for $ac_word... " >&6; }
10781 if test ${ac_cv_path_PRELINK+y}
10782 then :
10783 printf %s "(cached) " >&6
10784 else $as_nop
10785 case $PRELINK in
10786 [\\/]* | ?:[\\/]*)
10787 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10791 for as_dir in /sbin /usr/sbin $PATH
10793 IFS=$as_save_IFS
10794 case $as_dir in #(((
10795 '') as_dir=./ ;;
10796 */) ;;
10797 *) as_dir=$as_dir/ ;;
10798 esac
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10801 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10803 break 2
10805 done
10806 done
10807 IFS=$as_save_IFS
10809 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10811 esac
10813 PRELINK=$ac_cv_path_PRELINK
10814 if test -n "$PRELINK"; then
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10816 printf "%s\n" "$PRELINK" >&6; }
10817 else
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10819 printf "%s\n" "no" >&6; }
10823 if test "x$PRELINK" = xfalse
10824 then
10825 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10829 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10830 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10831 then :
10832 printf %s "(cached) " >&6
10833 else $as_nop
10834 ac_wine_try_cflags_saved=$CFLAGS
10835 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10838 int main(int argc, char **argv) { return 0; }
10839 _ACEOF
10840 if ac_fn_c_try_link "$LINENO"
10841 then :
10842 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10843 else $as_nop
10844 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10847 conftest$ac_exeext conftest.$ac_ext
10848 CFLAGS=$ac_wine_try_cflags_saved
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10851 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10852 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10853 then :
10854 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10857 esac
10858 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10860 LIBWINE_DEPENDS="wine.map"
10862 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10864 esac
10866 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10867 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10868 enable_winemac_drv=${enable_winemac_drv:-no}
10871 if test "x$with_mingw" != xno
10872 then
10873 case "x$with_mingw" in
10874 x|xyes) case "$host_cpu" in
10875 aarch64*)
10876 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10877 arm*)
10878 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10879 i[3456789]86*)
10880 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
10881 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10882 mingw32-gcc clang" ;;
10883 x86_64)
10884 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
10885 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10887 ac_prefix_list="" ;;
10888 esac
10889 for ac_prog in $ac_prefix_list
10891 # Extract the first word of "$ac_prog", so it can be a program name with args.
10892 set dummy $ac_prog; ac_word=$2
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10894 printf %s "checking for $ac_word... " >&6; }
10895 if test ${ac_cv_prog_CROSSCC+y}
10896 then :
10897 printf %s "(cached) " >&6
10898 else $as_nop
10899 if test -n "$CROSSCC"; then
10900 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10901 else
10902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10903 for as_dir in $PATH
10905 IFS=$as_save_IFS
10906 case $as_dir in #(((
10907 '') as_dir=./ ;;
10908 */) ;;
10909 *) as_dir=$as_dir/ ;;
10910 esac
10911 for ac_exec_ext in '' $ac_executable_extensions; do
10912 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10913 ac_cv_prog_CROSSCC="$ac_prog"
10914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10915 break 2
10917 done
10918 done
10919 IFS=$as_save_IFS
10923 CROSSCC=$ac_cv_prog_CROSSCC
10924 if test -n "$CROSSCC"; then
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10926 printf "%s\n" "$CROSSCC" >&6; }
10927 else
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10929 printf "%s\n" "no" >&6; }
10933 test -n "$CROSSCC" && break
10934 done
10935 test -n "$CROSSCC" || CROSSCC="false"
10937 *) CROSSCC=$with_mingw ;;
10938 esac
10939 if test "$CROSSCC" != "false"
10940 then
10941 ac_save_CC="$CC"
10942 saved_CFLAGS=$CFLAGS
10943 saved_LDFLAGS=$LDFLAGS
10944 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10946 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10950 CC="$CROSSCC"
10951 CFLAGS=$CROSSCFLAGS
10952 LDFLAGS=$CROSSLDFLAGS
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10954 printf %s "checking whether $CROSSCC works... " >&6; }
10955 if test ${wine_cv_crosscc+y}
10956 then :
10957 printf %s "(cached) " >&6
10958 else $as_nop
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10963 main (void)
10967 return 0;
10969 _ACEOF
10970 if ac_fn_c_try_compile "$LINENO"
10971 then :
10972 wine_cv_crosscc=yes
10973 else $as_nop
10974 wine_cv_crosscc=no
10976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10979 printf "%s\n" "$wine_cv_crosscc" >&6; }
10980 if test $wine_cv_crosscc = yes
10981 then
10982 set x $CROSSCC
10983 shift
10984 while test $# -ge 1
10986 case "$1" in
10987 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10988 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10989 esac
10990 shift
10991 done
10993 llvm_target=$CROSSTARGET
10994 llvm_cflags="-fuse-ld=lld"
10995 if test -z "$llvm_target"
10996 then
10997 case $host_cpu in
10998 *i[3456789]86*) llvm_target=i686-windows ;;
10999 *) llvm_target=$host_cpu-windows ;;
11000 esac
11002 case $llvm_target in
11003 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11004 esac
11005 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11007 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11008 if eval test \${$as_ac_var+y}
11009 then :
11010 printf %s "(cached) " >&6
11011 else $as_nop
11012 ac_wine_try_cflags_saved=$CFLAGS
11013 ac_wine_try_cflags_saved_cc=$CC
11014 ac_wine_try_cflags_saved_exeext=$ac_exeext
11015 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11016 CC="$CROSSCC"
11017 ac_exeext=".exe"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11020 int __cdecl mainCRTStartup(void) { return 0; }
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"
11023 then :
11024 eval "$as_ac_var=yes"
11025 else $as_nop
11026 eval "$as_ac_var=no"
11028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11029 conftest$ac_exeext conftest.$ac_ext
11030 CFLAGS=$ac_wine_try_cflags_saved
11031 CC=$ac_wine_try_cflags_saved_cc
11032 ac_exeext=$ac_wine_try_cflags_saved_exeext
11034 eval ac_res=\$$as_ac_var
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11036 printf "%s\n" "$ac_res" >&6; }
11037 if eval test \"x\$"$as_ac_var"\" = x"yes"
11038 then :
11039 CROSSTARGET=$llvm_target
11040 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11041 DELAYLOADFLAG="-Wl,-delayload,"
11043 CFLAGS="$CFLAGS $llvm_cflags"
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11047 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11048 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11049 then :
11050 printf %s "(cached) " >&6
11051 else $as_nop
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_cc=$CC
11054 ac_wine_try_cflags_saved_exeext=$ac_exeext
11055 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11056 CC="$CROSSCC"
11057 ac_exeext=".exe"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11060 int __cdecl mainCRTStartup(void) { return 0; }
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"
11063 then :
11064 ac_cv_crosscflags__fno_strict_aliasing=yes
11065 else $as_nop
11066 ac_cv_crosscflags__fno_strict_aliasing=no
11068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11069 conftest$ac_exeext conftest.$ac_ext
11070 CFLAGS=$ac_wine_try_cflags_saved
11071 CC=$ac_wine_try_cflags_saved_cc
11072 ac_exeext=$ac_wine_try_cflags_saved_exeext
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11075 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11076 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11077 then :
11078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11081 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11082 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11083 then :
11084 printf %s "(cached) " >&6
11085 else $as_nop
11086 ac_wine_try_cflags_saved=$CFLAGS
11087 ac_wine_try_cflags_saved_cc=$CC
11088 ac_wine_try_cflags_saved_exeext=$ac_exeext
11089 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11090 CC="$CROSSCC"
11091 ac_exeext=".exe"
11092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093 /* end confdefs.h. */
11094 int __cdecl mainCRTStartup(void) { return 0; }
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"
11097 then :
11098 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11099 else $as_nop
11100 ac_cv_crosscflags__Werror_unknown_warning_option=no
11102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11103 conftest$ac_exeext conftest.$ac_ext
11104 CFLAGS=$ac_wine_try_cflags_saved
11105 CC=$ac_wine_try_cflags_saved_cc
11106 ac_exeext=$ac_wine_try_cflags_saved_exeext
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11109 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11110 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11111 then :
11112 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11115 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11116 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11117 then :
11118 printf %s "(cached) " >&6
11119 else $as_nop
11120 ac_wine_try_cflags_saved=$CFLAGS
11121 ac_wine_try_cflags_saved_cc=$CC
11122 ac_wine_try_cflags_saved_exeext=$ac_exeext
11123 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11124 CC="$CROSSCC"
11125 ac_exeext=".exe"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11128 int __cdecl mainCRTStartup(void) { return 0; }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"
11131 then :
11132 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11133 else $as_nop
11134 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11137 conftest$ac_exeext conftest.$ac_ext
11138 CFLAGS=$ac_wine_try_cflags_saved
11139 CC=$ac_wine_try_cflags_saved_cc
11140 ac_exeext=$ac_wine_try_cflags_saved_exeext
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11143 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11144 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11145 then :
11146 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11149 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11150 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11151 then :
11152 printf %s "(cached) " >&6
11153 else $as_nop
11154 ac_wine_try_cflags_saved=$CFLAGS
11155 ac_wine_try_cflags_saved_cc=$CC
11156 ac_wine_try_cflags_saved_exeext=$ac_exeext
11157 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11158 CC="$CROSSCC"
11159 ac_exeext=".exe"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11162 int __cdecl mainCRTStartup(void) { return 0; }
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"
11165 then :
11166 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11167 else $as_nop
11168 ac_cv_crosscflags__Wdeclaration_after_statement=no
11170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11171 conftest$ac_exeext conftest.$ac_ext
11172 CFLAGS=$ac_wine_try_cflags_saved
11173 CC=$ac_wine_try_cflags_saved_cc
11174 ac_exeext=$ac_wine_try_cflags_saved_exeext
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11177 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11178 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11179 then :
11180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11183 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11184 if test ${ac_cv_crosscflags__Wempty_body+y}
11185 then :
11186 printf %s "(cached) " >&6
11187 else $as_nop
11188 ac_wine_try_cflags_saved=$CFLAGS
11189 ac_wine_try_cflags_saved_cc=$CC
11190 ac_wine_try_cflags_saved_exeext=$ac_exeext
11191 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11192 CC="$CROSSCC"
11193 ac_exeext=".exe"
11194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11196 int __cdecl mainCRTStartup(void) { return 0; }
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"
11199 then :
11200 ac_cv_crosscflags__Wempty_body=yes
11201 else $as_nop
11202 ac_cv_crosscflags__Wempty_body=no
11204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11205 conftest$ac_exeext conftest.$ac_ext
11206 CFLAGS=$ac_wine_try_cflags_saved
11207 CC=$ac_wine_try_cflags_saved_cc
11208 ac_exeext=$ac_wine_try_cflags_saved_exeext
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11211 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11212 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11213 then :
11214 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11217 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11218 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11219 then :
11220 printf %s "(cached) " >&6
11221 else $as_nop
11222 ac_wine_try_cflags_saved=$CFLAGS
11223 ac_wine_try_cflags_saved_cc=$CC
11224 ac_wine_try_cflags_saved_exeext=$ac_exeext
11225 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11226 CC="$CROSSCC"
11227 ac_exeext=".exe"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11230 int __cdecl mainCRTStartup(void) { return 0; }
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"
11233 then :
11234 ac_cv_crosscflags__Wignored_qualifiers=yes
11235 else $as_nop
11236 ac_cv_crosscflags__Wignored_qualifiers=no
11238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11239 conftest$ac_exeext conftest.$ac_ext
11240 CFLAGS=$ac_wine_try_cflags_saved
11241 CC=$ac_wine_try_cflags_saved_cc
11242 ac_exeext=$ac_wine_try_cflags_saved_exeext
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11245 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11246 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11247 then :
11248 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11251 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11252 if test ${ac_cv_crosscflags__Winit_self+y}
11253 then :
11254 printf %s "(cached) " >&6
11255 else $as_nop
11256 ac_wine_try_cflags_saved=$CFLAGS
11257 ac_wine_try_cflags_saved_cc=$CC
11258 ac_wine_try_cflags_saved_exeext=$ac_exeext
11259 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11260 CC="$CROSSCC"
11261 ac_exeext=".exe"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11264 int __cdecl mainCRTStartup(void) { return 0; }
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"
11267 then :
11268 ac_cv_crosscflags__Winit_self=yes
11269 else $as_nop
11270 ac_cv_crosscflags__Winit_self=no
11272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11273 conftest$ac_exeext conftest.$ac_ext
11274 CFLAGS=$ac_wine_try_cflags_saved
11275 CC=$ac_wine_try_cflags_saved_cc
11276 ac_exeext=$ac_wine_try_cflags_saved_exeext
11278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11279 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11280 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11281 then :
11282 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11285 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11286 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11287 then :
11288 printf %s "(cached) " >&6
11289 else $as_nop
11290 ac_wine_try_cflags_saved=$CFLAGS
11291 ac_wine_try_cflags_saved_cc=$CC
11292 ac_wine_try_cflags_saved_exeext=$ac_exeext
11293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11294 CC="$CROSSCC"
11295 ac_exeext=".exe"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11298 int __cdecl mainCRTStartup(void) { return 0; }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"
11301 then :
11302 ac_cv_crosscflags__Wpacked_not_aligned=yes
11303 else $as_nop
11304 ac_cv_crosscflags__Wpacked_not_aligned=no
11306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11307 conftest$ac_exeext conftest.$ac_ext
11308 CFLAGS=$ac_wine_try_cflags_saved
11309 CC=$ac_wine_try_cflags_saved_cc
11310 ac_exeext=$ac_wine_try_cflags_saved_exeext
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11313 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11314 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11315 then :
11316 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11319 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11320 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11321 then :
11322 printf %s "(cached) " >&6
11323 else $as_nop
11324 ac_wine_try_cflags_saved=$CFLAGS
11325 ac_wine_try_cflags_saved_cc=$CC
11326 ac_wine_try_cflags_saved_exeext=$ac_exeext
11327 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11328 CC="$CROSSCC"
11329 ac_exeext=".exe"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11332 int __cdecl mainCRTStartup(void) { return 0; }
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"
11335 then :
11336 ac_cv_crosscflags__Wpragma_pack=yes
11337 else $as_nop
11338 ac_cv_crosscflags__Wpragma_pack=no
11340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11341 conftest$ac_exeext conftest.$ac_ext
11342 CFLAGS=$ac_wine_try_cflags_saved
11343 CC=$ac_wine_try_cflags_saved_cc
11344 ac_exeext=$ac_wine_try_cflags_saved_exeext
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11347 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11348 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11349 then :
11350 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11353 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11354 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11355 then :
11356 printf %s "(cached) " >&6
11357 else $as_nop
11358 ac_wine_try_cflags_saved=$CFLAGS
11359 ac_wine_try_cflags_saved_cc=$CC
11360 ac_wine_try_cflags_saved_exeext=$ac_exeext
11361 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11362 CC="$CROSSCC"
11363 ac_exeext=".exe"
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11366 int __cdecl mainCRTStartup(void) { return 0; }
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"
11369 then :
11370 ac_cv_crosscflags__Wshift_overflow_2=yes
11371 else $as_nop
11372 ac_cv_crosscflags__Wshift_overflow_2=no
11374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11375 conftest$ac_exeext conftest.$ac_ext
11376 CFLAGS=$ac_wine_try_cflags_saved
11377 CC=$ac_wine_try_cflags_saved_cc
11378 ac_exeext=$ac_wine_try_cflags_saved_exeext
11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11381 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11382 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11383 then :
11384 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11387 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11388 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11389 then :
11390 printf %s "(cached) " >&6
11391 else $as_nop
11392 ac_wine_try_cflags_saved=$CFLAGS
11393 ac_wine_try_cflags_saved_cc=$CC
11394 ac_wine_try_cflags_saved_exeext=$ac_exeext
11395 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11396 CC="$CROSSCC"
11397 ac_exeext=".exe"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11400 int __cdecl mainCRTStartup(void) { return 0; }
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"
11403 then :
11404 ac_cv_crosscflags__Wstrict_prototypes=yes
11405 else $as_nop
11406 ac_cv_crosscflags__Wstrict_prototypes=no
11408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11409 conftest$ac_exeext conftest.$ac_ext
11410 CFLAGS=$ac_wine_try_cflags_saved
11411 CC=$ac_wine_try_cflags_saved_cc
11412 ac_exeext=$ac_wine_try_cflags_saved_exeext
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11415 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11416 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11417 then :
11418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11421 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11422 if test ${ac_cv_crosscflags__Wtype_limits+y}
11423 then :
11424 printf %s "(cached) " >&6
11425 else $as_nop
11426 ac_wine_try_cflags_saved=$CFLAGS
11427 ac_wine_try_cflags_saved_cc=$CC
11428 ac_wine_try_cflags_saved_exeext=$ac_exeext
11429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11430 CC="$CROSSCC"
11431 ac_exeext=".exe"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11434 int __cdecl mainCRTStartup(void) { return 0; }
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"
11437 then :
11438 ac_cv_crosscflags__Wtype_limits=yes
11439 else $as_nop
11440 ac_cv_crosscflags__Wtype_limits=no
11442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11443 conftest$ac_exeext conftest.$ac_ext
11444 CFLAGS=$ac_wine_try_cflags_saved
11445 CC=$ac_wine_try_cflags_saved_cc
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11449 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11450 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11451 then :
11452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11455 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11456 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11457 then :
11458 printf %s "(cached) " >&6
11459 else $as_nop
11460 ac_wine_try_cflags_saved=$CFLAGS
11461 ac_wine_try_cflags_saved_cc=$CC
11462 ac_wine_try_cflags_saved_exeext=$ac_exeext
11463 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11464 CC="$CROSSCC"
11465 ac_exeext=".exe"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"
11471 then :
11472 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11473 else $as_nop
11474 ac_cv_crosscflags__Wunused_but_set_parameter=no
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 CC=$ac_wine_try_cflags_saved_cc
11480 ac_exeext=$ac_wine_try_cflags_saved_exeext
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11483 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11484 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11485 then :
11486 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11489 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11490 if test ${ac_cv_crosscflags__Wvla+y}
11491 then :
11492 printf %s "(cached) " >&6
11493 else $as_nop
11494 ac_wine_try_cflags_saved=$CFLAGS
11495 ac_wine_try_cflags_saved_cc=$CC
11496 ac_wine_try_cflags_saved_exeext=$ac_exeext
11497 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11498 CC="$CROSSCC"
11499 ac_exeext=".exe"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 int __cdecl mainCRTStartup(void) { return 0; }
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"
11505 then :
11506 ac_cv_crosscflags__Wvla=yes
11507 else $as_nop
11508 ac_cv_crosscflags__Wvla=no
11510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11511 conftest$ac_exeext conftest.$ac_ext
11512 CFLAGS=$ac_wine_try_cflags_saved
11513 CC=$ac_wine_try_cflags_saved_cc
11514 ac_exeext=$ac_wine_try_cflags_saved_exeext
11516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11517 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11518 if test "x$ac_cv_crosscflags__Wvla" = xyes
11519 then :
11520 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11523 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11524 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11525 then :
11526 printf %s "(cached) " >&6
11527 else $as_nop
11528 ac_wine_try_cflags_saved=$CFLAGS
11529 ac_wine_try_cflags_saved_cc=$CC
11530 ac_wine_try_cflags_saved_exeext=$ac_exeext
11531 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11532 CC="$CROSSCC"
11533 ac_exeext=".exe"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11536 int __cdecl mainCRTStartup(void) { return 0; }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"
11539 then :
11540 ac_cv_crosscflags__Wwrite_strings=yes
11541 else $as_nop
11542 ac_cv_crosscflags__Wwrite_strings=no
11544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 conftest$ac_exeext conftest.$ac_ext
11546 CFLAGS=$ac_wine_try_cflags_saved
11547 CC=$ac_wine_try_cflags_saved_cc
11548 ac_exeext=$ac_wine_try_cflags_saved_exeext
11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11551 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11552 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11553 then :
11554 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11557 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11558 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11559 then :
11560 printf %s "(cached) " >&6
11561 else $as_nop
11562 ac_wine_try_cflags_saved=$CFLAGS
11563 ac_wine_try_cflags_saved_cc=$CC
11564 ac_wine_try_cflags_saved_exeext=$ac_exeext
11565 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11566 CC="$CROSSCC"
11567 ac_exeext=".exe"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11570 int __cdecl mainCRTStartup(void) { return 0; }
11571 _ACEOF
11572 if ac_fn_c_try_link "$LINENO"
11573 then :
11574 ac_cv_crosscflags__Wpointer_arith=yes
11575 else $as_nop
11576 ac_cv_crosscflags__Wpointer_arith=no
11578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11579 conftest$ac_exeext conftest.$ac_ext
11580 CFLAGS=$ac_wine_try_cflags_saved
11581 CC=$ac_wine_try_cflags_saved_cc
11582 ac_exeext=$ac_wine_try_cflags_saved_exeext
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11585 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11586 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11587 then :
11588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11591 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11592 if test ${ac_cv_crosscflags__Wlogical_op+y}
11593 then :
11594 printf %s "(cached) " >&6
11595 else $as_nop
11596 ac_wine_try_cflags_saved=$CFLAGS
11597 ac_wine_try_cflags_saved_cc=$CC
11598 ac_wine_try_cflags_saved_exeext=$ac_exeext
11599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11600 CC="$CROSSCC"
11601 ac_exeext=".exe"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11604 int __cdecl mainCRTStartup(void) { return 0; }
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"
11607 then :
11608 ac_cv_crosscflags__Wlogical_op=yes
11609 else $as_nop
11610 ac_cv_crosscflags__Wlogical_op=no
11612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11613 conftest$ac_exeext conftest.$ac_ext
11614 CFLAGS=$ac_wine_try_cflags_saved
11615 CC=$ac_wine_try_cflags_saved_cc
11616 ac_exeext=$ac_wine_try_cflags_saved_exeext
11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11619 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11620 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11621 then :
11622 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11625 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11626 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11627 then :
11628 printf %s "(cached) " >&6
11629 else $as_nop
11630 ac_wine_try_cflags_saved=$CFLAGS
11631 ac_wine_try_cflags_saved_cc=$CC
11632 ac_wine_try_cflags_saved_exeext=$ac_exeext
11633 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11634 CC="$CROSSCC"
11635 ac_exeext=".exe"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 int __cdecl mainCRTStartup(void) { return 0; }
11639 _ACEOF
11640 if ac_fn_c_try_link "$LINENO"
11641 then :
11642 ac_cv_crosscflags__Wabsolute_value=yes
11643 else $as_nop
11644 ac_cv_crosscflags__Wabsolute_value=no
11646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11647 conftest$ac_exeext conftest.$ac_ext
11648 CFLAGS=$ac_wine_try_cflags_saved
11649 CC=$ac_wine_try_cflags_saved_cc
11650 ac_exeext=$ac_wine_try_cflags_saved_exeext
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11653 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11654 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11655 then :
11656 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11659 case $host_cpu in
11660 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11661 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11662 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11663 then :
11664 printf %s "(cached) " >&6
11665 else $as_nop
11666 ac_wine_try_cflags_saved=$CFLAGS
11667 ac_wine_try_cflags_saved_cc=$CC
11668 ac_wine_try_cflags_saved_exeext=$ac_exeext
11669 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11670 CC="$CROSSCC"
11671 ac_exeext=".exe"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11674 int __cdecl mainCRTStartup(void) { return 0; }
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"
11677 then :
11678 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11679 else $as_nop
11680 ac_cv_crosscflags__fno_omit_frame_pointer=no
11682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11683 conftest$ac_exeext conftest.$ac_ext
11684 CFLAGS=$ac_wine_try_cflags_saved
11685 CC=$ac_wine_try_cflags_saved_cc
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11689 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11690 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11691 then :
11692 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11693 fi ;;
11694 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11695 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11696 if test ${ac_cv_crosscflags__Wno_format+y}
11697 then :
11698 printf %s "(cached) " >&6
11699 else $as_nop
11700 ac_wine_try_cflags_saved=$CFLAGS
11701 ac_wine_try_cflags_saved_cc=$CC
11702 ac_wine_try_cflags_saved_exeext=$ac_exeext
11703 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11704 CC="$CROSSCC"
11705 ac_exeext=".exe"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 int __cdecl mainCRTStartup(void) { return 0; }
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"
11711 then :
11712 ac_cv_crosscflags__Wno_format=yes
11713 else $as_nop
11714 ac_cv_crosscflags__Wno_format=no
11716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11719 CC=$ac_wine_try_cflags_saved_cc
11720 ac_exeext=$ac_wine_try_cflags_saved_exeext
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11723 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11724 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11725 then :
11726 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11729 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11730 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11731 then :
11732 printf %s "(cached) " >&6
11733 else $as_nop
11734 ac_wine_try_cflags_saved=$CFLAGS
11735 ac_wine_try_cflags_saved_cc=$CC
11736 ac_wine_try_cflags_saved_exeext=$ac_exeext
11737 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11738 CC="$CROSSCC"
11739 ac_exeext=".exe"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11742 int __cdecl mainCRTStartup(void) { return 0; }
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"
11745 then :
11746 ac_cv_crosscflags__Wformat_overflow=yes
11747 else $as_nop
11748 ac_cv_crosscflags__Wformat_overflow=no
11750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11751 conftest$ac_exeext conftest.$ac_ext
11752 CFLAGS=$ac_wine_try_cflags_saved
11753 CC=$ac_wine_try_cflags_saved_cc
11754 ac_exeext=$ac_wine_try_cflags_saved_exeext
11756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11757 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11758 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11759 then :
11760 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11763 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11764 if test ${ac_cv_crosscflags__Wnonnull+y}
11765 then :
11766 printf %s "(cached) " >&6
11767 else $as_nop
11768 ac_wine_try_cflags_saved=$CFLAGS
11769 ac_wine_try_cflags_saved_cc=$CC
11770 ac_wine_try_cflags_saved_exeext=$ac_exeext
11771 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11772 CC="$CROSSCC"
11773 ac_exeext=".exe"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11776 int __cdecl mainCRTStartup(void) { return 0; }
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"
11779 then :
11780 ac_cv_crosscflags__Wnonnull=yes
11781 else $as_nop
11782 ac_cv_crosscflags__Wnonnull=no
11784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11785 conftest$ac_exeext conftest.$ac_ext
11786 CFLAGS=$ac_wine_try_cflags_saved
11787 CC=$ac_wine_try_cflags_saved_cc
11788 ac_exeext=$ac_wine_try_cflags_saved_exeext
11790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11791 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11792 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11793 then :
11794 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11797 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11798 if test ${ac_cv_crosscflags__mcx16+y}
11799 then :
11800 printf %s "(cached) " >&6
11801 else $as_nop
11802 ac_wine_try_cflags_saved=$CFLAGS
11803 ac_wine_try_cflags_saved_cc=$CC
11804 ac_wine_try_cflags_saved_exeext=$ac_exeext
11805 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11806 CC="$CROSSCC"
11807 ac_exeext=".exe"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11810 int __cdecl mainCRTStartup(void) { return 0; }
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"
11813 then :
11814 ac_cv_crosscflags__mcx16=yes
11815 else $as_nop
11816 ac_cv_crosscflags__mcx16=no
11818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11819 conftest$ac_exeext conftest.$ac_ext
11820 CFLAGS=$ac_wine_try_cflags_saved
11821 CC=$ac_wine_try_cflags_saved_cc
11822 ac_exeext=$ac_wine_try_cflags_saved_exeext
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11825 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11826 if test "x$ac_cv_crosscflags__mcx16" = xyes
11827 then :
11828 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11829 fi ;;
11830 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11831 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11832 if test ${ac_cv_crosscflags__Wno_format+y}
11833 then :
11834 printf %s "(cached) " >&6
11835 else $as_nop
11836 ac_wine_try_cflags_saved=$CFLAGS
11837 ac_wine_try_cflags_saved_cc=$CC
11838 ac_wine_try_cflags_saved_exeext=$ac_exeext
11839 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11840 CC="$CROSSCC"
11841 ac_exeext=".exe"
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11844 int __cdecl mainCRTStartup(void) { return 0; }
11845 _ACEOF
11846 if ac_fn_c_try_link "$LINENO"
11847 then :
11848 ac_cv_crosscflags__Wno_format=yes
11849 else $as_nop
11850 ac_cv_crosscflags__Wno_format=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11853 conftest$ac_exeext conftest.$ac_ext
11854 CFLAGS=$ac_wine_try_cflags_saved
11855 CC=$ac_wine_try_cflags_saved_cc
11856 ac_exeext=$ac_wine_try_cflags_saved_exeext
11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11859 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11860 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11861 then :
11862 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11863 fi ;;
11864 esac
11867 if test -z "$CROSSDEBUG"
11868 then
11869 for ac_flag in $CROSSCFLAGS; do
11870 case $ac_flag in
11871 -gdwarf*) CROSSDEBUG=dwarf ;;
11872 -gcodeview) CROSSDEBUG=pdb ;;
11873 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11874 esac
11875 done
11878 ac_debug_format_seen=""
11879 for ac_flag in $CROSSCFLAGS; do
11880 case $ac_flag in
11881 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11882 esac
11883 done
11884 if test "x$ac_debug_format_seen" = x
11885 then
11886 case $CROSSDEBUG in
11887 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11888 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11889 if test ${ac_cv_crosscflags__gdwarf_4+y}
11890 then :
11891 printf %s "(cached) " >&6
11892 else $as_nop
11893 ac_wine_try_cflags_saved=$CFLAGS
11894 ac_wine_try_cflags_saved_cc=$CC
11895 ac_wine_try_cflags_saved_exeext=$ac_exeext
11896 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11897 CC="$CROSSCC"
11898 ac_exeext=".exe"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 int __cdecl mainCRTStartup(void) { return 0; }
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"
11904 then :
11905 ac_cv_crosscflags__gdwarf_4=yes
11906 else $as_nop
11907 ac_cv_crosscflags__gdwarf_4=no
11909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11910 conftest$ac_exeext conftest.$ac_ext
11911 CFLAGS=$ac_wine_try_cflags_saved
11912 CC=$ac_wine_try_cflags_saved_cc
11913 ac_exeext=$ac_wine_try_cflags_saved_exeext
11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11916 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11917 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11918 then :
11919 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11920 fi ;;
11921 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11922 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11923 if test ${ac_cv_crosscflags__gcodeview+y}
11924 then :
11925 printf %s "(cached) " >&6
11926 else $as_nop
11927 ac_wine_try_cflags_saved=$CFLAGS
11928 ac_wine_try_cflags_saved_cc=$CC
11929 ac_wine_try_cflags_saved_exeext=$ac_exeext
11930 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11931 CC="$CROSSCC"
11932 ac_exeext=".exe"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 int __cdecl mainCRTStartup(void) { return 0; }
11936 _ACEOF
11937 if ac_fn_c_try_link "$LINENO"
11938 then :
11939 ac_cv_crosscflags__gcodeview=yes
11940 else $as_nop
11941 ac_cv_crosscflags__gcodeview=no
11943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11944 conftest$ac_exeext conftest.$ac_ext
11945 CFLAGS=$ac_wine_try_cflags_saved
11946 CC=$ac_wine_try_cflags_saved_cc
11947 ac_exeext=$ac_wine_try_cflags_saved_exeext
11949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11950 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11951 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11952 then :
11953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11954 fi ;;
11955 esac
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11959 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11960 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11961 then :
11962 printf %s "(cached) " >&6
11963 else $as_nop
11964 ac_wine_try_cflags_saved=$CFLAGS
11965 ac_wine_try_cflags_saved_cc=$CC
11966 ac_wine_try_cflags_saved_exeext=$ac_exeext
11967 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11968 CC="$CROSSCC"
11969 ac_exeext=".exe"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11972 int __cdecl mainCRTStartup(void) { return 0; }
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"
11975 then :
11976 ac_cv_crosscflags__fexcess_precision_standard=yes
11977 else $as_nop
11978 ac_cv_crosscflags__fexcess_precision_standard=no
11980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11981 conftest$ac_exeext conftest.$ac_ext
11982 CFLAGS=$ac_wine_try_cflags_saved
11983 CC=$ac_wine_try_cflags_saved_cc
11984 ac_exeext=$ac_wine_try_cflags_saved_exeext
11986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11987 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11988 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11989 then :
11990 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11994 if test "x$enable_werror" = "xyes"
11995 then
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11997 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11998 if test ${ac_cv_crosscflags__Werror+y}
11999 then :
12000 printf %s "(cached) " >&6
12001 else $as_nop
12002 ac_wine_try_cflags_saved=$CFLAGS
12003 ac_wine_try_cflags_saved_cc=$CC
12004 ac_wine_try_cflags_saved_exeext=$ac_exeext
12005 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12006 CC="$CROSSCC"
12007 ac_exeext=".exe"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 int __cdecl mainCRTStartup(void) { return 0; }
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"
12013 then :
12014 ac_cv_crosscflags__Werror=yes
12015 else $as_nop
12016 ac_cv_crosscflags__Werror=no
12018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12019 conftest$ac_exeext conftest.$ac_ext
12020 CFLAGS=$ac_wine_try_cflags_saved
12021 CC=$ac_wine_try_cflags_saved_cc
12022 ac_exeext=$ac_wine_try_cflags_saved_exeext
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12025 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12026 if test "x$ac_cv_crosscflags__Werror" = xyes
12027 then :
12028 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12031 if test "x$enable_build_id" = "xyes"
12032 then
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12034 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12035 if test ${ac_cv_crosscflags__Wl___build_id+y}
12036 then :
12037 printf %s "(cached) " >&6
12038 else $as_nop
12039 ac_wine_try_cflags_saved=$CFLAGS
12040 ac_wine_try_cflags_saved_cc=$CC
12041 ac_wine_try_cflags_saved_exeext=$ac_exeext
12042 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12043 CC="$CROSSCC"
12044 ac_exeext=".exe"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 int __cdecl mainCRTStartup(void) { return 0; }
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"
12050 then :
12051 ac_cv_crosscflags__Wl___build_id=yes
12052 else $as_nop
12053 ac_cv_crosscflags__Wl___build_id=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12056 conftest$ac_exeext conftest.$ac_ext
12057 CFLAGS=$ac_wine_try_cflags_saved
12058 CC=$ac_wine_try_cflags_saved_cc
12059 ac_exeext=$ac_wine_try_cflags_saved_exeext
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12062 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12063 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12064 then :
12065 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12066 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12070 CFLAGS=$saved_CFLAGS
12071 LDFLAGS=$saved_LDFLAGS
12072 CC="$ac_save_CC"
12075 if test "x$CROSSTARGET" = "x"
12076 then :
12077 case "x$with_mingw" in
12078 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12079 xno) ;;
12080 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12081 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12082 esac
12087 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
12088 then
12089 case "$host_cpu" in
12090 i[3456789]86*)
12091 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
12093 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
12094 esac
12095 for ac_prog in $ac_prefix_list
12097 # Extract the first word of "$ac_prog", so it can be a program name with args.
12098 set dummy $ac_prog; ac_word=$2
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12100 printf %s "checking for $ac_word... " >&6; }
12101 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12102 then :
12103 printf %s "(cached) " >&6
12104 else $as_nop
12105 if test -n "$MINGW_PKG_CONFIG"; then
12106 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12107 else
12108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12109 for as_dir in $PATH
12111 IFS=$as_save_IFS
12112 case $as_dir in #(((
12113 '') as_dir=./ ;;
12114 */) ;;
12115 *) as_dir=$as_dir/ ;;
12116 esac
12117 for ac_exec_ext in '' $ac_executable_extensions; do
12118 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12119 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12121 break 2
12123 done
12124 done
12125 IFS=$as_save_IFS
12129 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12130 if test -n "$MINGW_PKG_CONFIG"; then
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12132 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12133 else
12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 printf "%s\n" "no" >&6; }
12139 test -n "$MINGW_PKG_CONFIG" && break
12140 done
12141 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12143 if ${FAUDIO_PE_CFLAGS:+false} :
12144 then :
12145 if test ${MINGW_PKG_CONFIG+y}
12146 then :
12147 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12150 if ${FAUDIO_PE_LIBS:+false} :
12151 then :
12152 if test ${MINGW_PKG_CONFIG+y}
12153 then :
12154 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12157 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12158 ac_save_CPPFLAGS=$CPPFLAGS
12159 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12161 printf %s "checking for MinGW FAudio.h... " >&6; }
12162 if test ${ac_cv_mingw_header_FAudio_h+y}
12163 then :
12164 printf %s "(cached) " >&6
12165 else $as_nop
12166 ac_wine_check_headers_saved_cc=$CC
12167 ac_wine_check_headers_saved_exeext=$ac_exeext
12168 CC="$CROSSCC"
12169 ac_exeext=".exe"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 #include <FAudio.h>
12175 main (void)
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_compile "$LINENO"
12183 then :
12184 ac_cv_mingw_header_FAudio_h=yes
12185 else $as_nop
12186 ac_cv_mingw_header_FAudio_h=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12189 CC=$ac_wine_check_headers_saved_cc
12190 ac_exeext=$ac_wine_check_headers_saved_exeext
12192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12193 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12194 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12195 then :
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12197 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12198 if test ${ac_cv_mingw_lib_FAudio+y}
12199 then :
12200 printf %s "(cached) " >&6
12201 else $as_nop
12202 ac_wine_check_headers_saved_cc=$CC
12203 ac_wine_check_headers_saved_exeext=$ac_exeext
12204 ac_wine_check_headers_saved_libs=$LIBS
12205 CC="$CROSSCC"
12206 ac_exeext=".exe"
12207 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 char FAudio_CommitOperationSet ();
12216 main (void)
12218 return FAudio_CommitOperationSet ();
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"
12224 then :
12225 ac_cv_mingw_lib_FAudio=yes
12226 else $as_nop
12227 ac_cv_mingw_lib_FAudio=no
12229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12230 conftest$ac_exeext conftest.$ac_ext
12231 CC=$ac_wine_check_headers_saved_cc
12232 ac_exeext=$ac_wine_check_headers_saved_exeext
12233 LIBS=$ac_wine_check_headers_saved_libs
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12236 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12237 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12238 then :
12240 else $as_nop
12241 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12243 else $as_nop
12244 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12246 CPPFLAGS=$ac_save_CPPFLAGS
12248 if test "x$FAUDIO_PE_LIBS" = "x"
12249 then
12250 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12253 if ${JPEG_PE_CFLAGS:+false} :
12254 then :
12255 if test ${MINGW_PKG_CONFIG+y}
12256 then :
12257 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12260 if ${JPEG_PE_LIBS:+false} :
12261 then :
12262 if test ${MINGW_PKG_CONFIG+y}
12263 then :
12264 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12268 ac_save_CPPFLAGS=$CPPFLAGS
12269 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12271 printf %s "checking for MinGW jpeglib.h... " >&6; }
12272 if test ${ac_cv_mingw_header_jpeglib_h+y}
12273 then :
12274 printf %s "(cached) " >&6
12275 else $as_nop
12276 ac_wine_check_headers_saved_cc=$CC
12277 ac_wine_check_headers_saved_exeext=$ac_exeext
12278 CC="$CROSSCC"
12279 ac_exeext=".exe"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #include <stddef.h>
12283 #include <stdio.h>
12284 #include <jpeglib.h>
12286 main (void)
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"
12294 then :
12295 ac_cv_mingw_header_jpeglib_h=yes
12296 else $as_nop
12297 ac_cv_mingw_header_jpeglib_h=no
12299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12304 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12305 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12306 then :
12307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12308 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12309 if test ${ac_cv_mingw_lib_jpeg+y}
12310 then :
12311 printf %s "(cached) " >&6
12312 else $as_nop
12313 ac_wine_check_headers_saved_cc=$CC
12314 ac_wine_check_headers_saved_exeext=$ac_exeext
12315 ac_wine_check_headers_saved_libs=$LIBS
12316 CC="$CROSSCC"
12317 ac_exeext=".exe"
12318 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 char jpeg_start_decompress ();
12327 main (void)
12329 return jpeg_start_decompress ();
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_link "$LINENO"
12335 then :
12336 ac_cv_mingw_lib_jpeg=yes
12337 else $as_nop
12338 ac_cv_mingw_lib_jpeg=no
12340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12341 conftest$ac_exeext conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12344 LIBS=$ac_wine_check_headers_saved_libs
12346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12347 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12348 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12349 then :
12351 else $as_nop
12352 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12354 else $as_nop
12355 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12359 if test "x$JPEG_PE_LIBS" = "x"
12360 then
12361 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12364 if ${LCMS2_PE_CFLAGS:+false} :
12365 then :
12366 if test ${MINGW_PKG_CONFIG+y}
12367 then :
12368 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12371 if ${LCMS2_PE_LIBS:+false} :
12372 then :
12373 if test ${MINGW_PKG_CONFIG+y}
12374 then :
12375 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12378 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12379 ac_save_CPPFLAGS=$CPPFLAGS
12380 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12382 printf %s "checking for MinGW lcms2.h... " >&6; }
12383 if test ${ac_cv_mingw_header_lcms2_h+y}
12384 then :
12385 printf %s "(cached) " >&6
12386 else $as_nop
12387 ac_wine_check_headers_saved_cc=$CC
12388 ac_wine_check_headers_saved_exeext=$ac_exeext
12389 CC="$CROSSCC"
12390 ac_exeext=".exe"
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12394 #include <lcms2.h>
12396 main (void)
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_compile "$LINENO"
12404 then :
12405 ac_cv_mingw_header_lcms2_h=yes
12406 else $as_nop
12407 ac_cv_mingw_header_lcms2_h=no
12409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12414 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12415 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12416 then :
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12418 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12419 if test ${ac_cv_mingw_lib_lcms2+y}
12420 then :
12421 printf %s "(cached) " >&6
12422 else $as_nop
12423 ac_wine_check_headers_saved_cc=$CC
12424 ac_wine_check_headers_saved_exeext=$ac_exeext
12425 ac_wine_check_headers_saved_libs=$LIBS
12426 CC="$CROSSCC"
12427 ac_exeext=".exe"
12428 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 char cmsOpenProfileFromFile ();
12437 main (void)
12439 return cmsOpenProfileFromFile ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"
12445 then :
12446 ac_cv_mingw_lib_lcms2=yes
12447 else $as_nop
12448 ac_cv_mingw_lib_lcms2=no
12450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12451 conftest$ac_exeext conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12454 LIBS=$ac_wine_check_headers_saved_libs
12456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12457 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12458 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12459 then :
12461 else $as_nop
12462 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12464 else $as_nop
12465 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12467 CPPFLAGS=$ac_save_CPPFLAGS
12469 if test "x$LCMS2_PE_LIBS" = "x"
12470 then
12471 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12474 if ${MPG123_PE_CFLAGS:+false} :
12475 then :
12476 if test ${MINGW_PKG_CONFIG+y}
12477 then :
12478 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12481 if ${MPG123_PE_LIBS:+false} :
12482 then :
12483 if test ${MINGW_PKG_CONFIG+y}
12484 then :
12485 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12488 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12489 ac_save_CPPFLAGS=$CPPFLAGS
12490 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12492 printf %s "checking for MinGW mpg123.h... " >&6; }
12493 if test ${ac_cv_mingw_header_mpg123_h+y}
12494 then :
12495 printf %s "(cached) " >&6
12496 else $as_nop
12497 ac_wine_check_headers_saved_cc=$CC
12498 ac_wine_check_headers_saved_exeext=$ac_exeext
12499 CC="$CROSSCC"
12500 ac_exeext=".exe"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 #include <mpg123.h>
12506 main (void)
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_compile "$LINENO"
12514 then :
12515 ac_cv_mingw_header_mpg123_h=yes
12516 else $as_nop
12517 ac_cv_mingw_header_mpg123_h=no
12519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12524 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12525 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12526 then :
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12528 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12529 if test ${ac_cv_mingw_lib_mpg123+y}
12530 then :
12531 printf %s "(cached) " >&6
12532 else $as_nop
12533 ac_wine_check_headers_saved_cc=$CC
12534 ac_wine_check_headers_saved_exeext=$ac_exeext
12535 ac_wine_check_headers_saved_libs=$LIBS
12536 CC="$CROSSCC"
12537 ac_exeext=".exe"
12538 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 char mpg123_feed ();
12547 main (void)
12549 return mpg123_feed ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"
12555 then :
12556 ac_cv_mingw_lib_mpg123=yes
12557 else $as_nop
12558 ac_cv_mingw_lib_mpg123=no
12560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12561 conftest$ac_exeext conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12564 LIBS=$ac_wine_check_headers_saved_libs
12566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12567 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12568 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12569 then :
12571 else $as_nop
12572 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12574 else $as_nop
12575 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12577 CPPFLAGS=$ac_save_CPPFLAGS
12579 if test "x$MPG123_PE_LIBS" = "x"
12580 then
12581 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12584 if ${PNG_PE_CFLAGS:+false} :
12585 then :
12586 if test ${MINGW_PKG_CONFIG+y}
12587 then :
12588 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12591 if ${PNG_PE_LIBS:+false} :
12592 then :
12593 if test ${MINGW_PKG_CONFIG+y}
12594 then :
12595 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12599 ac_save_CPPFLAGS=$CPPFLAGS
12600 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12602 printf %s "checking for MinGW png.h... " >&6; }
12603 if test ${ac_cv_mingw_header_png_h+y}
12604 then :
12605 printf %s "(cached) " >&6
12606 else $as_nop
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 CC="$CROSSCC"
12610 ac_exeext=".exe"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 #include <png.h>
12616 main (void)
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_compile "$LINENO"
12624 then :
12625 ac_cv_mingw_header_png_h=yes
12626 else $as_nop
12627 ac_cv_mingw_header_png_h=no
12629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12630 CC=$ac_wine_check_headers_saved_cc
12631 ac_exeext=$ac_wine_check_headers_saved_exeext
12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12634 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12635 if test "x$ac_cv_mingw_header_png_h" = xyes
12636 then :
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12638 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12639 if test ${ac_cv_mingw_lib_png+y}
12640 then :
12641 printf %s "(cached) " >&6
12642 else $as_nop
12643 ac_wine_check_headers_saved_cc=$CC
12644 ac_wine_check_headers_saved_exeext=$ac_exeext
12645 ac_wine_check_headers_saved_libs=$LIBS
12646 CC="$CROSSCC"
12647 ac_exeext=".exe"
12648 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 char png_create_read_struct ();
12657 main (void)
12659 return png_create_read_struct ();
12661 return 0;
12663 _ACEOF
12664 if ac_fn_c_try_link "$LINENO"
12665 then :
12666 ac_cv_mingw_lib_png=yes
12667 else $as_nop
12668 ac_cv_mingw_lib_png=no
12670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12671 conftest$ac_exeext conftest.$ac_ext
12672 CC=$ac_wine_check_headers_saved_cc
12673 ac_exeext=$ac_wine_check_headers_saved_exeext
12674 LIBS=$ac_wine_check_headers_saved_libs
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12677 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12678 if test "x$ac_cv_mingw_lib_png" = xyes
12679 then :
12681 else $as_nop
12682 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12684 else $as_nop
12685 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12687 CPPFLAGS=$ac_save_CPPFLAGS
12689 if test "x$PNG_PE_LIBS" = "x"
12690 then
12691 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12694 if ${TIFF_PE_CFLAGS:+false} :
12695 then :
12696 if test ${MINGW_PKG_CONFIG+y}
12697 then :
12698 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12701 if ${TIFF_PE_LIBS:+false} :
12702 then :
12703 if test ${MINGW_PKG_CONFIG+y}
12704 then :
12705 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12712 printf %s "checking for MinGW tiffio.h... " >&6; }
12713 if test ${ac_cv_mingw_header_tiffio_h+y}
12714 then :
12715 printf %s "(cached) " >&6
12716 else $as_nop
12717 ac_wine_check_headers_saved_cc=$CC
12718 ac_wine_check_headers_saved_exeext=$ac_exeext
12719 CC="$CROSSCC"
12720 ac_exeext=".exe"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 #include <tiffio.h>
12726 main (void)
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_compile "$LINENO"
12734 then :
12735 ac_cv_mingw_header_tiffio_h=yes
12736 else $as_nop
12737 ac_cv_mingw_header_tiffio_h=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12744 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12745 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12746 then :
12747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12748 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12749 if test ${ac_cv_mingw_lib_tiff+y}
12750 then :
12751 printf %s "(cached) " >&6
12752 else $as_nop
12753 ac_wine_check_headers_saved_cc=$CC
12754 ac_wine_check_headers_saved_exeext=$ac_exeext
12755 ac_wine_check_headers_saved_libs=$LIBS
12756 CC="$CROSSCC"
12757 ac_exeext=".exe"
12758 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12765 char TIFFClientOpen ();
12767 main (void)
12769 return TIFFClientOpen ();
12771 return 0;
12773 _ACEOF
12774 if ac_fn_c_try_link "$LINENO"
12775 then :
12776 ac_cv_mingw_lib_tiff=yes
12777 else $as_nop
12778 ac_cv_mingw_lib_tiff=no
12780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12781 conftest$ac_exeext conftest.$ac_ext
12782 CC=$ac_wine_check_headers_saved_cc
12783 ac_exeext=$ac_wine_check_headers_saved_exeext
12784 LIBS=$ac_wine_check_headers_saved_libs
12786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12787 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12788 if test "x$ac_cv_mingw_lib_tiff" = xyes
12789 then :
12791 else $as_nop
12792 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12794 else $as_nop
12795 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12797 CPPFLAGS=$ac_save_CPPFLAGS
12799 if test "x$TIFF_PE_LIBS" = "x"
12800 then
12801 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12804 if ${XML2_PE_CFLAGS:+false} :
12805 then :
12806 if test ${MINGW_PKG_CONFIG+y}
12807 then :
12808 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12811 if ${XML2_PE_LIBS:+false} :
12812 then :
12813 if test ${MINGW_PKG_CONFIG+y}
12814 then :
12815 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12818 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12819 ac_save_CPPFLAGS=$CPPFLAGS
12820 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12822 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12823 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12824 then :
12825 printf %s "(cached) " >&6
12826 else $as_nop
12827 ac_wine_check_headers_saved_cc=$CC
12828 ac_wine_check_headers_saved_exeext=$ac_exeext
12829 CC="$CROSSCC"
12830 ac_exeext=".exe"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 #include <libxml/parser.h>
12836 main (void)
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_compile "$LINENO"
12844 then :
12845 ac_cv_mingw_header_libxml_parser_h=yes
12846 else $as_nop
12847 ac_cv_mingw_header_libxml_parser_h=no
12849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12850 CC=$ac_wine_check_headers_saved_cc
12851 ac_exeext=$ac_wine_check_headers_saved_exeext
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12854 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12855 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12856 then :
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12860 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12861 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12862 then :
12863 printf %s "(cached) " >&6
12864 else $as_nop
12865 ac_wine_check_headers_saved_cc=$CC
12866 ac_wine_check_headers_saved_exeext=$ac_exeext
12867 CC="$CROSSCC"
12868 ac_exeext=".exe"
12869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 #include <libxml/xmlsave.h>
12874 main (void)
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_compile "$LINENO"
12882 then :
12883 ac_cv_mingw_header_libxml_xmlsave_h=yes
12884 else $as_nop
12885 ac_cv_mingw_header_libxml_xmlsave_h=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12888 CC=$ac_wine_check_headers_saved_cc
12889 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12892 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12893 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12894 then :
12897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12898 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12899 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12900 then :
12901 printf %s "(cached) " >&6
12902 else $as_nop
12903 ac_wine_check_headers_saved_cc=$CC
12904 ac_wine_check_headers_saved_exeext=$ac_exeext
12905 CC="$CROSSCC"
12906 ac_exeext=".exe"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 #include <libxml/SAX2.h>
12912 main (void)
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_compile "$LINENO"
12920 then :
12921 ac_cv_mingw_header_libxml_SAX2_h=yes
12922 else $as_nop
12923 ac_cv_mingw_header_libxml_SAX2_h=no
12925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12926 CC=$ac_wine_check_headers_saved_cc
12927 ac_exeext=$ac_wine_check_headers_saved_exeext
12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12930 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12931 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12932 then :
12935 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"
12936 then
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12938 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12939 if test ${ac_cv_mingw_lib_xml2+y}
12940 then :
12941 printf %s "(cached) " >&6
12942 else $as_nop
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 ac_wine_check_headers_saved_libs=$LIBS
12946 CC="$CROSSCC"
12947 ac_exeext=".exe"
12948 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 char xmlFirstElementChild ();
12957 main (void)
12959 return xmlFirstElementChild ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"
12965 then :
12966 ac_cv_mingw_lib_xml2=yes
12967 else $as_nop
12968 ac_cv_mingw_lib_xml2=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12971 conftest$ac_exeext conftest.$ac_ext
12972 CC=$ac_wine_check_headers_saved_cc
12973 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 LIBS=$ac_wine_check_headers_saved_libs
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12977 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12978 if test "x$ac_cv_mingw_lib_xml2" = xyes
12979 then :
12981 else $as_nop
12982 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12984 else
12985 XML2_PE_CFLAGS=""
12986 XML2_PE_LIBS=""
12988 CPPFLAGS=$ac_save_CPPFLAGS
12990 if test "x$XML2_PE_LIBS" = "x"
12991 then
12992 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12995 if ${XSLT_PE_CFLAGS:+false} :
12996 then :
12997 if test ${MINGW_PKG_CONFIG+y}
12998 then :
12999 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13002 if ${XSLT_PE_LIBS:+false} :
13003 then :
13004 if test ${MINGW_PKG_CONFIG+y}
13005 then :
13006 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13009 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13010 ac_save_CPPFLAGS=$CPPFLAGS
13011 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13013 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13014 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13015 then :
13016 printf %s "(cached) " >&6
13017 else $as_nop
13018 ac_wine_check_headers_saved_cc=$CC
13019 ac_wine_check_headers_saved_exeext=$ac_exeext
13020 CC="$CROSSCC"
13021 ac_exeext=".exe"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 #include <libxslt/pattern.h>
13027 main (void)
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_compile "$LINENO"
13035 then :
13036 ac_cv_mingw_header_libxslt_pattern_h=yes
13037 else $as_nop
13038 ac_cv_mingw_header_libxslt_pattern_h=no
13040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13041 CC=$ac_wine_check_headers_saved_cc
13042 ac_exeext=$ac_wine_check_headers_saved_exeext
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13045 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13046 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13047 then :
13050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13051 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13052 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13053 then :
13054 printf %s "(cached) " >&6
13055 else $as_nop
13056 ac_wine_check_headers_saved_cc=$CC
13057 ac_wine_check_headers_saved_exeext=$ac_exeext
13058 CC="$CROSSCC"
13059 ac_exeext=".exe"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 #include <libxslt/transform.h>
13065 main (void)
13069 return 0;
13071 _ACEOF
13072 if ac_fn_c_try_compile "$LINENO"
13073 then :
13074 ac_cv_mingw_header_libxslt_transform_h=yes
13075 else $as_nop
13076 ac_cv_mingw_header_libxslt_transform_h=no
13078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13083 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13084 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13085 then :
13088 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13089 then
13090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13091 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13092 if test ${ac_cv_mingw_lib_xslt+y}
13093 then :
13094 printf %s "(cached) " >&6
13095 else $as_nop
13096 ac_wine_check_headers_saved_cc=$CC
13097 ac_wine_check_headers_saved_exeext=$ac_exeext
13098 ac_wine_check_headers_saved_libs=$LIBS
13099 CC="$CROSSCC"
13100 ac_exeext=".exe"
13101 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13108 char xsltCompilePattern ();
13110 main (void)
13112 return xsltCompilePattern ();
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"
13118 then :
13119 ac_cv_mingw_lib_xslt=yes
13120 else $as_nop
13121 ac_cv_mingw_lib_xslt=no
13123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13124 conftest$ac_exeext conftest.$ac_ext
13125 CC=$ac_wine_check_headers_saved_cc
13126 ac_exeext=$ac_wine_check_headers_saved_exeext
13127 LIBS=$ac_wine_check_headers_saved_libs
13129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13130 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13131 if test "x$ac_cv_mingw_lib_xslt" = xyes
13132 then :
13134 else $as_nop
13135 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13137 else
13138 XSLT_PE_CFLAGS=""
13139 XSLT_PE_LIBS=""
13141 CPPFLAGS=$ac_save_CPPFLAGS
13143 if test "x$XSLT_PE_LIBS" = "x"
13144 then
13145 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13148 if ${ZLIB_PE_CFLAGS:+false} :
13149 then :
13150 if test ${MINGW_PKG_CONFIG+y}
13151 then :
13152 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13155 if ${ZLIB_PE_LIBS:+false} :
13156 then :
13157 if test ${MINGW_PKG_CONFIG+y}
13158 then :
13159 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13162 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13163 ac_save_CPPFLAGS=$CPPFLAGS
13164 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13166 printf %s "checking for MinGW zlib.h... " >&6; }
13167 if test ${ac_cv_mingw_header_zlib_h+y}
13168 then :
13169 printf %s "(cached) " >&6
13170 else $as_nop
13171 ac_wine_check_headers_saved_cc=$CC
13172 ac_wine_check_headers_saved_exeext=$ac_exeext
13173 CC="$CROSSCC"
13174 ac_exeext=".exe"
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13178 #include <zlib.h>
13180 main (void)
13184 return 0;
13186 _ACEOF
13187 if ac_fn_c_try_compile "$LINENO"
13188 then :
13189 ac_cv_mingw_header_zlib_h=yes
13190 else $as_nop
13191 ac_cv_mingw_header_zlib_h=no
13193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13194 CC=$ac_wine_check_headers_saved_cc
13195 ac_exeext=$ac_wine_check_headers_saved_exeext
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13198 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13199 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13200 then :
13201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13202 printf %s "checking for inflate in MinGW -lz... " >&6; }
13203 if test ${ac_cv_mingw_lib_z+y}
13204 then :
13205 printf %s "(cached) " >&6
13206 else $as_nop
13207 ac_wine_check_headers_saved_cc=$CC
13208 ac_wine_check_headers_saved_exeext=$ac_exeext
13209 ac_wine_check_headers_saved_libs=$LIBS
13210 CC="$CROSSCC"
13211 ac_exeext=".exe"
13212 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 char inflate ();
13221 main (void)
13223 return inflate ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"
13229 then :
13230 ac_cv_mingw_lib_z=yes
13231 else $as_nop
13232 ac_cv_mingw_lib_z=no
13234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13235 conftest$ac_exeext conftest.$ac_ext
13236 CC=$ac_wine_check_headers_saved_cc
13237 ac_exeext=$ac_wine_check_headers_saved_exeext
13238 LIBS=$ac_wine_check_headers_saved_libs
13240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13241 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13242 if test "x$ac_cv_mingw_lib_z" = xyes
13243 then :
13245 else $as_nop
13246 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13248 else $as_nop
13249 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13251 CPPFLAGS=$ac_save_CPPFLAGS
13253 if test "x$ZLIB_PE_LIBS" = "x"
13254 then
13255 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13259 if ${FAUDIO_PE_LIBS:+false} :
13260 then :
13261 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13262 if ${FAUDIO_PE_CFLAGS:+false} :
13263 then :
13264 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13265 else $as_nop
13266 enable_faudio=no
13268 else $as_nop
13269 enable_faudio=no
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13274 if ${GSM_PE_LIBS:+false} :
13275 then :
13276 GSM_PE_LIBS=gsm
13277 if ${GSM_PE_CFLAGS:+false} :
13278 then :
13279 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13280 else $as_nop
13281 enable_gsm=no
13283 else $as_nop
13284 enable_gsm=no
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13289 if ${JPEG_PE_LIBS:+false} :
13290 then :
13291 JPEG_PE_LIBS=jpeg
13292 if ${JPEG_PE_CFLAGS:+false} :
13293 then :
13294 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13295 else $as_nop
13296 enable_jpeg=no
13298 else $as_nop
13299 enable_jpeg=no
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13304 if ${JXR_PE_LIBS:+false} :
13305 then :
13306 JXR_PE_LIBS=jxr
13307 if ${JXR_PE_CFLAGS:+false} :
13308 then :
13309 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13310 else $as_nop
13311 enable_jxr=no
13313 else $as_nop
13314 enable_jxr=no
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13319 if ${LCMS2_PE_LIBS:+false} :
13320 then :
13321 LCMS2_PE_LIBS=lcms2
13322 if ${LCMS2_PE_CFLAGS:+false} :
13323 then :
13324 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13325 else $as_nop
13326 enable_lcms2=no
13328 else $as_nop
13329 enable_lcms2=no
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13334 if ${MPG123_PE_LIBS:+false} :
13335 then :
13336 MPG123_PE_LIBS=mpg123
13337 if ${MPG123_PE_CFLAGS:+false} :
13338 then :
13339 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13340 else $as_nop
13341 enable_mpg123=no
13343 else $as_nop
13344 enable_mpg123=no
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13349 if ${PNG_PE_LIBS:+false} :
13350 then :
13351 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13352 if ${PNG_PE_CFLAGS:+false} :
13353 then :
13354 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13355 else $as_nop
13356 enable_png=no
13358 else $as_nop
13359 enable_png=no
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13364 if ${TIFF_PE_LIBS:+false} :
13365 then :
13366 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13367 if ${TIFF_PE_CFLAGS:+false} :
13368 then :
13369 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13370 else $as_nop
13371 enable_tiff=no
13373 else $as_nop
13374 enable_tiff=no
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13379 if ${XML2_PE_LIBS:+false} :
13380 then :
13381 XML2_PE_LIBS=xml2
13382 if ${XML2_PE_CFLAGS:+false} :
13383 then :
13384 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13385 else $as_nop
13386 enable_xml2=no
13388 else $as_nop
13389 enable_xml2=no
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13394 if ${XSLT_PE_LIBS:+false} :
13395 then :
13396 XSLT_PE_LIBS=xslt
13397 if ${XSLT_PE_CFLAGS:+false} :
13398 then :
13399 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13400 else $as_nop
13401 enable_xslt=no
13403 else $as_nop
13404 enable_xslt=no
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13409 if ${ZLIB_PE_LIBS:+false} :
13410 then :
13411 ZLIB_PE_LIBS=z
13412 if ${ZLIB_PE_CFLAGS:+false} :
13413 then :
13414 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13415 else $as_nop
13416 enable_zlib=no
13418 else $as_nop
13419 enable_zlib=no
13421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13426 if test "$ac_cv_header_pthread_h" = "yes"
13427 then
13428 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13429 if test "x$ac_cv_func_pthread_create" = xyes
13430 then :
13432 else $as_nop
13433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13434 printf %s "checking for pthread_create in -lpthread... " >&6; }
13435 if test ${ac_cv_lib_pthread_pthread_create+y}
13436 then :
13437 printf %s "(cached) " >&6
13438 else $as_nop
13439 ac_check_lib_save_LIBS=$LIBS
13440 LIBS="-lpthread $LIBS"
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13447 char pthread_create ();
13449 main (void)
13451 return pthread_create ();
13453 return 0;
13455 _ACEOF
13456 if ac_fn_c_try_link "$LINENO"
13457 then :
13458 ac_cv_lib_pthread_pthread_create=yes
13459 else $as_nop
13460 ac_cv_lib_pthread_pthread_create=no
13462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_lib_save_LIBS
13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13467 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13468 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13469 then :
13470 PTHREAD_LIBS="-lpthread"
13477 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13478 then :
13479 case "x$with_pthread" in
13480 xno) ;;
13481 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13482 Wine cannot support threads without libpthread.
13483 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13484 esac
13489 ac_ext=c
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13495 printf %s "checking how to run the C preprocessor... " >&6; }
13496 # On Suns, sometimes $CPP names a directory.
13497 if test -n "$CPP" && test -d "$CPP"; then
13498 CPP=
13500 if test -z "$CPP"; then
13501 if test ${ac_cv_prog_CPP+y}
13502 then :
13503 printf %s "(cached) " >&6
13504 else $as_nop
13505 # Double quotes because $CC needs to be expanded
13506 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13508 ac_preproc_ok=false
13509 for ac_c_preproc_warn_flag in '' yes
13511 # Use a header file that comes with gcc, so configuring glibc
13512 # with a fresh cross-compiler works.
13513 # On the NeXT, cc -E runs the code through the compiler's parser,
13514 # not just through cpp. "Syntax error" is here to catch this case.
13515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 #include <limits.h>
13518 Syntax error
13519 _ACEOF
13520 if ac_fn_c_try_cpp "$LINENO"
13521 then :
13523 else $as_nop
13524 # Broken: fails on valid input.
13525 continue
13527 rm -f conftest.err conftest.i conftest.$ac_ext
13529 # OK, works on sane cases. Now check whether nonexistent headers
13530 # can be detected and how.
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 #include <ac_nonexistent.h>
13534 _ACEOF
13535 if ac_fn_c_try_cpp "$LINENO"
13536 then :
13537 # Broken: success on invalid input.
13538 continue
13539 else $as_nop
13540 # Passes both tests.
13541 ac_preproc_ok=:
13542 break
13544 rm -f conftest.err conftest.i conftest.$ac_ext
13546 done
13547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13548 rm -f conftest.i conftest.err conftest.$ac_ext
13549 if $ac_preproc_ok
13550 then :
13551 break
13554 done
13555 ac_cv_prog_CPP=$CPP
13558 CPP=$ac_cv_prog_CPP
13559 else
13560 ac_cv_prog_CPP=$CPP
13562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13563 printf "%s\n" "$CPP" >&6; }
13564 ac_preproc_ok=false
13565 for ac_c_preproc_warn_flag in '' yes
13567 # Use a header file that comes with gcc, so configuring glibc
13568 # with a fresh cross-compiler works.
13569 # On the NeXT, cc -E runs the code through the compiler's parser,
13570 # not just through cpp. "Syntax error" is here to catch this case.
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 #include <limits.h>
13574 Syntax error
13575 _ACEOF
13576 if ac_fn_c_try_cpp "$LINENO"
13577 then :
13579 else $as_nop
13580 # Broken: fails on valid input.
13581 continue
13583 rm -f conftest.err conftest.i conftest.$ac_ext
13585 # OK, works on sane cases. Now check whether nonexistent headers
13586 # can be detected and how.
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13589 #include <ac_nonexistent.h>
13590 _ACEOF
13591 if ac_fn_c_try_cpp "$LINENO"
13592 then :
13593 # Broken: success on invalid input.
13594 continue
13595 else $as_nop
13596 # Passes both tests.
13597 ac_preproc_ok=:
13598 break
13600 rm -f conftest.err conftest.i conftest.$ac_ext
13602 done
13603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13604 rm -f conftest.i conftest.err conftest.$ac_ext
13605 if $ac_preproc_ok
13606 then :
13608 else $as_nop
13609 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13610 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13611 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13612 See \`config.log' for more details" "$LINENO" 5; }
13615 ac_ext=c
13616 ac_cpp='$CPP $CPPFLAGS'
13617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13623 printf %s "checking for X... " >&6; }
13626 # Check whether --with-x was given.
13627 if test ${with_x+y}
13628 then :
13629 withval=$with_x;
13632 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13633 if test "x$with_x" = xno; then
13634 # The user explicitly disabled X.
13635 have_x=disabled
13636 else
13637 case $x_includes,$x_libraries in #(
13638 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13639 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13640 then :
13641 printf %s "(cached) " >&6
13642 else $as_nop
13643 # One or both of the vars are not set, and there is no cached value.
13644 ac_x_includes=no
13645 ac_x_libraries=no
13646 # Do we need to do anything special at all?
13647 ac_save_LIBS=$LIBS
13648 LIBS="-lX11 $LIBS"
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13651 #include <X11/Xlib.h>
13653 main (void)
13655 XrmInitialize ()
13657 return 0;
13659 _ACEOF
13660 if ac_fn_c_try_link "$LINENO"
13661 then :
13662 # We can compile and link X programs with no special options.
13663 ac_x_includes=
13664 ac_x_libraries=
13666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS="$ac_save_LIBS"
13669 # If that didn't work, only try xmkmf and file system searches
13670 # for native compilation.
13671 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13672 then :
13673 rm -f -r conftest.dir
13674 if mkdir conftest.dir; then
13675 cd conftest.dir
13676 cat >Imakefile <<'_ACEOF'
13677 incroot:
13678 @echo incroot='${INCROOT}'
13679 usrlibdir:
13680 @echo usrlibdir='${USRLIBDIR}'
13681 libdir:
13682 @echo libdir='${LIBDIR}'
13683 _ACEOF
13684 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13686 for ac_var in incroot usrlibdir libdir; do
13687 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13688 done
13689 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13690 for ac_extension in a so sl dylib la dll; do
13691 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13692 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13693 ac_im_usrlibdir=$ac_im_libdir; break
13695 done
13696 # Screen out bogus values from the imake configuration. They are
13697 # bogus both because they are the default anyway, and because
13698 # using them would break gcc on systems where it needs fixed includes.
13699 case $ac_im_incroot in
13700 /usr/include) ac_x_includes= ;;
13701 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13702 esac
13703 case $ac_im_usrlibdir in
13704 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13705 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13706 esac
13708 cd ..
13709 rm -f -r conftest.dir
13712 # Standard set of common directories for X headers.
13713 # Check X11 before X11Rn because it is often a symlink to the current release.
13714 ac_x_header_dirs='
13715 /usr/X11/include
13716 /usr/X11R7/include
13717 /usr/X11R6/include
13718 /usr/X11R5/include
13719 /usr/X11R4/include
13721 /usr/include/X11
13722 /usr/include/X11R7
13723 /usr/include/X11R6
13724 /usr/include/X11R5
13725 /usr/include/X11R4
13727 /usr/local/X11/include
13728 /usr/local/X11R7/include
13729 /usr/local/X11R6/include
13730 /usr/local/X11R5/include
13731 /usr/local/X11R4/include
13733 /usr/local/include/X11
13734 /usr/local/include/X11R7
13735 /usr/local/include/X11R6
13736 /usr/local/include/X11R5
13737 /usr/local/include/X11R4
13739 /opt/X11/include
13741 /usr/X386/include
13742 /usr/x386/include
13743 /usr/XFree86/include/X11
13745 /usr/include
13746 /usr/local/include
13747 /usr/unsupported/include
13748 /usr/athena/include
13749 /usr/local/x11r5/include
13750 /usr/lpp/Xamples/include
13752 /usr/openwin/include
13753 /usr/openwin/share/include'
13755 if test "$ac_x_includes" = no; then
13756 # Guess where to find include files, by looking for Xlib.h.
13757 # First, try using that file with no special directory specified.
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <X11/Xlib.h>
13761 _ACEOF
13762 if ac_fn_c_try_cpp "$LINENO"
13763 then :
13764 # We can compile using X headers with no special include directory.
13765 ac_x_includes=
13766 else $as_nop
13767 for ac_dir in $ac_x_header_dirs; do
13768 if test -r "$ac_dir/X11/Xlib.h"; then
13769 ac_x_includes=$ac_dir
13770 break
13772 done
13774 rm -f conftest.err conftest.i conftest.$ac_ext
13775 fi # $ac_x_includes = no
13777 if test "$ac_x_libraries" = no; then
13778 # Check for the libraries.
13779 # See if we find them without any special options.
13780 # Don't add to $LIBS permanently.
13781 ac_save_LIBS=$LIBS
13782 LIBS="-lX11 $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13785 #include <X11/Xlib.h>
13787 main (void)
13789 XrmInitialize ()
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"
13795 then :
13796 LIBS=$ac_save_LIBS
13797 # We can link X programs with no special library path.
13798 ac_x_libraries=
13799 else $as_nop
13800 LIBS=$ac_save_LIBS
13801 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13803 # Don't even attempt the hair of trying to link an X program!
13804 for ac_extension in a so sl dylib la dll; do
13805 if test -r "$ac_dir/libX11.$ac_extension"; then
13806 ac_x_libraries=$ac_dir
13807 break 2
13809 done
13810 done
13812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13813 conftest$ac_exeext conftest.$ac_ext
13814 fi # $ac_x_libraries = no
13817 # Record the results.
13818 case $ac_x_includes,$ac_x_libraries in #(
13819 no,* | *,no | *\'*) :
13820 # Didn't find X, or a directory has "'" in its name.
13821 ac_cv_have_x="have_x=no" ;; #(
13822 *) :
13823 # Record where we found X for the cache.
13824 ac_cv_have_x="have_x=yes\
13825 ac_x_includes='$ac_x_includes'\
13826 ac_x_libraries='$ac_x_libraries'" ;;
13827 esac
13829 ;; #(
13830 *) have_x=yes;;
13831 esac
13832 eval "$ac_cv_have_x"
13833 fi # $with_x != no
13835 if test "$have_x" != yes; then
13836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13837 printf "%s\n" "$have_x" >&6; }
13838 no_x=yes
13839 else
13840 # If each of the values was on the command line, it overrides each guess.
13841 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13842 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13843 # Update the cache value to reflect the command line values.
13844 ac_cv_have_x="have_x=yes\
13845 ac_x_includes='$x_includes'\
13846 ac_x_libraries='$x_libraries'"
13847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13848 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13851 if test "$no_x" = yes; then
13852 # Not all programs may use this symbol, but it does not hurt to define it.
13854 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13856 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13857 else
13858 if test -n "$x_includes"; then
13859 X_CFLAGS="$X_CFLAGS -I$x_includes"
13862 # It would also be nice to do this for all -L options, not just this one.
13863 if test -n "$x_libraries"; then
13864 X_LIBS="$X_LIBS -L$x_libraries"
13865 # For Solaris; some versions of Sun CC require a space after -R and
13866 # others require no space. Words are not sufficient . . . .
13867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13868 printf %s "checking whether -R must be followed by a space... " >&6; }
13869 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13870 ac_xsave_c_werror_flag=$ac_c_werror_flag
13871 ac_c_werror_flag=yes
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13876 main (void)
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"
13884 then :
13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13886 printf "%s\n" "no" >&6; }
13887 X_LIBS="$X_LIBS -R$x_libraries"
13888 else $as_nop
13889 LIBS="$ac_xsave_LIBS -R $x_libraries"
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13894 main (void)
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"
13902 then :
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13904 printf "%s\n" "yes" >&6; }
13905 X_LIBS="$X_LIBS -R $x_libraries"
13906 else $as_nop
13907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13908 printf "%s\n" "neither works" >&6; }
13910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13911 conftest$ac_exeext conftest.$ac_ext
13913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13914 conftest$ac_exeext conftest.$ac_ext
13915 ac_c_werror_flag=$ac_xsave_c_werror_flag
13916 LIBS=$ac_xsave_LIBS
13919 # Check for system-dependent libraries X programs must link with.
13920 # Do this before checking for the system-independent R6 libraries
13921 # (-lICE), since we may need -lsocket or whatever for X linking.
13923 if test "$ISC" = yes; then
13924 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13925 else
13926 # Martyn Johnson says this is needed for Ultrix, if the X
13927 # libraries were built with DECnet support. And Karl Berry says
13928 # the Alpha needs dnet_stub (dnet does not exist).
13929 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 char XOpenDisplay ();
13938 main (void)
13940 return XOpenDisplay ();
13942 return 0;
13944 _ACEOF
13945 if ac_fn_c_try_link "$LINENO"
13946 then :
13948 else $as_nop
13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13950 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13951 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13952 then :
13953 printf %s "(cached) " >&6
13954 else $as_nop
13955 ac_check_lib_save_LIBS=$LIBS
13956 LIBS="-ldnet $LIBS"
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13960 /* Override any GCC internal prototype to avoid an error.
13961 Use char because int might match the return type of a GCC
13962 builtin and then its argument prototype would still apply. */
13963 char dnet_ntoa ();
13965 main (void)
13967 return dnet_ntoa ();
13969 return 0;
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"
13973 then :
13974 ac_cv_lib_dnet_dnet_ntoa=yes
13975 else $as_nop
13976 ac_cv_lib_dnet_dnet_ntoa=no
13978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13979 conftest$ac_exeext conftest.$ac_ext
13980 LIBS=$ac_check_lib_save_LIBS
13982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13983 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13984 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13985 then :
13986 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13989 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13991 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13992 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13993 then :
13994 printf %s "(cached) " >&6
13995 else $as_nop
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-ldnet_stub $LIBS"
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 char dnet_ntoa ();
14006 main (void)
14008 return dnet_ntoa ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"
14014 then :
14015 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14016 else $as_nop
14017 ac_cv_lib_dnet_stub_dnet_ntoa=no
14019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14020 conftest$ac_exeext conftest.$ac_ext
14021 LIBS=$ac_check_lib_save_LIBS
14023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14024 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14025 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14026 then :
14027 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS="$ac_xsave_LIBS"
14036 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14037 # to get the SysV transport functions.
14038 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14039 # needs -lnsl.
14040 # The nsl library prevents programs from opening the X display
14041 # on Irix 5.2, according to T.E. Dickey.
14042 # The functions gethostbyname, getservbyname, and inet_addr are
14043 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14044 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14045 if test "x$ac_cv_func_gethostbyname" = xyes
14046 then :
14050 if test $ac_cv_func_gethostbyname = no; then
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14052 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14053 if test ${ac_cv_lib_nsl_gethostbyname+y}
14054 then :
14055 printf %s "(cached) " >&6
14056 else $as_nop
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lnsl $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 char gethostbyname ();
14067 main (void)
14069 return gethostbyname ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"
14075 then :
14076 ac_cv_lib_nsl_gethostbyname=yes
14077 else $as_nop
14078 ac_cv_lib_nsl_gethostbyname=no
14080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14085 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14086 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14087 then :
14088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14091 if test $ac_cv_lib_nsl_gethostbyname = no; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14093 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14094 if test ${ac_cv_lib_bsd_gethostbyname+y}
14095 then :
14096 printf %s "(cached) " >&6
14097 else $as_nop
14098 ac_check_lib_save_LIBS=$LIBS
14099 LIBS="-lbsd $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 char gethostbyname ();
14108 main (void)
14110 return gethostbyname ();
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"
14116 then :
14117 ac_cv_lib_bsd_gethostbyname=yes
14118 else $as_nop
14119 ac_cv_lib_bsd_gethostbyname=no
14121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14126 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14127 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14128 then :
14129 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14135 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14136 # socket/setsockopt and other routines are undefined under SCO ODT
14137 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14138 # on later versions), says Simon Leinen: it contains gethostby*
14139 # variants that don't use the name server (or something). -lsocket
14140 # must be given before -lnsl if both are needed. We assume that
14141 # if connect needs -lnsl, so does gethostbyname.
14142 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14143 if test "x$ac_cv_func_connect" = xyes
14144 then :
14148 if test $ac_cv_func_connect = no; then
14149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14150 printf %s "checking for connect in -lsocket... " >&6; }
14151 if test ${ac_cv_lib_socket_connect+y}
14152 then :
14153 printf %s "(cached) " >&6
14154 else $as_nop
14155 ac_check_lib_save_LIBS=$LIBS
14156 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14160 /* Override any GCC internal prototype to avoid an error.
14161 Use char because int might match the return type of a GCC
14162 builtin and then its argument prototype would still apply. */
14163 char connect ();
14165 main (void)
14167 return connect ();
14169 return 0;
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"
14173 then :
14174 ac_cv_lib_socket_connect=yes
14175 else $as_nop
14176 ac_cv_lib_socket_connect=no
14178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14179 conftest$ac_exeext conftest.$ac_ext
14180 LIBS=$ac_check_lib_save_LIBS
14182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14183 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14184 if test "x$ac_cv_lib_socket_connect" = xyes
14185 then :
14186 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14191 # Guillermo Gomez says -lposix is necessary on A/UX.
14192 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14193 if test "x$ac_cv_func_remove" = xyes
14194 then :
14198 if test $ac_cv_func_remove = no; then
14199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14200 printf %s "checking for remove in -lposix... " >&6; }
14201 if test ${ac_cv_lib_posix_remove+y}
14202 then :
14203 printf %s "(cached) " >&6
14204 else $as_nop
14205 ac_check_lib_save_LIBS=$LIBS
14206 LIBS="-lposix $LIBS"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14210 /* Override any GCC internal prototype to avoid an error.
14211 Use char because int might match the return type of a GCC
14212 builtin and then its argument prototype would still apply. */
14213 char remove ();
14215 main (void)
14217 return remove ();
14219 return 0;
14221 _ACEOF
14222 if ac_fn_c_try_link "$LINENO"
14223 then :
14224 ac_cv_lib_posix_remove=yes
14225 else $as_nop
14226 ac_cv_lib_posix_remove=no
14228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14233 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14234 if test "x$ac_cv_lib_posix_remove" = xyes
14235 then :
14236 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14241 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14242 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14243 if test "x$ac_cv_func_shmat" = xyes
14244 then :
14248 if test $ac_cv_func_shmat = no; then
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14250 printf %s "checking for shmat in -lipc... " >&6; }
14251 if test ${ac_cv_lib_ipc_shmat+y}
14252 then :
14253 printf %s "(cached) " >&6
14254 else $as_nop
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-lipc $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char shmat ();
14265 main (void)
14267 return shmat ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 ac_cv_lib_ipc_shmat=yes
14275 else $as_nop
14276 ac_cv_lib_ipc_shmat=no
14278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14283 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14284 if test "x$ac_cv_lib_ipc_shmat" = xyes
14285 then :
14286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14292 # Check for libraries that X11R6 Xt/Xaw programs need.
14293 ac_save_LDFLAGS=$LDFLAGS
14294 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14295 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14296 # check for ICE first), but we must link in the order -lSM -lICE or
14297 # we get undefined symbols. So assume we have SM if we have ICE.
14298 # These have to be linked with before -lX11, unlike the other
14299 # libraries we check for below, so use a different variable.
14300 # John Interrante, Karl Berry
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14302 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14303 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14304 then :
14305 printf %s "(cached) " >&6
14306 else $as_nop
14307 ac_check_lib_save_LIBS=$LIBS
14308 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14315 char IceConnectionNumber ();
14317 main (void)
14319 return IceConnectionNumber ();
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"
14325 then :
14326 ac_cv_lib_ICE_IceConnectionNumber=yes
14327 else $as_nop
14328 ac_cv_lib_ICE_IceConnectionNumber=no
14330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14335 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14336 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14337 then :
14338 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14341 LDFLAGS=$ac_save_LDFLAGS
14346 if test "$have_x" = "yes"
14347 then
14348 ac_save_CPPFLAGS="$CPPFLAGS"
14349 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14352 printf %s "checking for -lX11... " >&6; }
14353 if test ${ac_cv_lib_soname_X11+y}
14354 then :
14355 printf %s "(cached) " >&6
14356 else $as_nop
14357 ac_check_soname_save_LIBS=$LIBS
14358 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14365 char XCreateWindow ();
14367 main (void)
14369 return XCreateWindow ();
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"
14375 then :
14376 case "$LIBEXT" in
14377 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14378 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'` ;;
14379 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14380 if ${ac_cv_lib_soname_X11:+false} :
14381 then :
14382 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14383 fi ;;
14384 esac
14385 else $as_nop
14386 ac_cv_lib_soname_X11=
14388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14389 conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_soname_save_LIBS
14392 if ${ac_cv_lib_soname_X11:+false} :
14393 then :
14394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14395 printf "%s\n" "not found" >&6; }
14397 else $as_nop
14398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14399 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14401 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14406 printf %s "checking for -lXext... " >&6; }
14407 if test ${ac_cv_lib_soname_Xext+y}
14408 then :
14409 printf %s "(cached) " >&6
14410 else $as_nop
14411 ac_check_soname_save_LIBS=$LIBS
14412 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14419 char XextCreateExtension ();
14421 main (void)
14423 return XextCreateExtension ();
14425 return 0;
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"
14429 then :
14430 case "$LIBEXT" in
14431 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14432 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'` ;;
14433 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14434 if ${ac_cv_lib_soname_Xext:+false} :
14435 then :
14436 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14437 fi ;;
14438 esac
14439 else $as_nop
14440 ac_cv_lib_soname_Xext=
14442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_soname_save_LIBS
14446 if ${ac_cv_lib_soname_Xext:+false} :
14447 then :
14448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14449 printf "%s\n" "not found" >&6; }
14451 else $as_nop
14452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14453 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14455 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14457 X_LIBS="$X_LIBS -lXext"
14459 X_LIBS="$X_LIBS -lX11"
14461 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14462 # include <X11/Xlib.h>
14463 #endif
14464 #ifdef HAVE_X11_XUTIL_H
14465 # include <X11/Xutil.h>
14466 #endif
14468 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14469 then :
14470 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14473 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14474 # include <X11/Xlib.h>
14475 #endif
14476 #ifdef HAVE_X11_XUTIL_H
14477 # include <X11/Xutil.h>
14478 #endif
14480 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14481 then :
14482 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14486 # include <X11/Xlib.h>
14487 #endif
14488 #ifdef HAVE_X11_XUTIL_H
14489 # include <X11/Xutil.h>
14490 #endif
14492 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14493 then :
14494 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14497 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14498 # include <X11/Xlib.h>
14499 #endif
14500 #ifdef HAVE_X11_XUTIL_H
14501 # include <X11/Xutil.h>
14502 #endif
14504 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14505 then :
14506 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14509 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14510 # include <X11/Xlib.h>
14511 #endif
14512 #ifdef HAVE_X11_XUTIL_H
14513 # include <X11/Xutil.h>
14514 #endif
14516 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14517 then :
14518 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14521 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14522 # include <X11/Xlib.h>
14523 #endif
14524 #ifdef HAVE_X11_XUTIL_H
14525 # include <X11/Xutil.h>
14526 #endif
14528 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14529 then :
14530 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14533 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14534 # include <X11/Xlib.h>
14535 #endif
14536 #ifdef HAVE_X11_XUTIL_H
14537 # include <X11/Xutil.h>
14538 #endif
14540 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14541 then :
14542 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14545 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14546 # include <X11/Xlib.h>
14547 #endif
14548 #ifdef HAVE_X11_XUTIL_H
14549 # include <X11/Xutil.h>
14550 #endif
14552 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14553 then :
14554 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14557 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14558 # include <X11/Xlib.h>
14559 #endif
14560 #ifdef HAVE_X11_XUTIL_H
14561 # include <X11/Xutil.h>
14562 #endif
14564 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14565 then :
14566 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14569 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14570 # include <X11/Xlib.h>
14571 #endif
14572 #ifdef HAVE_X11_XUTIL_H
14573 # include <X11/Xutil.h>
14574 #endif
14576 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14577 then :
14578 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14581 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14582 # include <X11/Xlib.h>
14583 #endif
14584 #ifdef HAVE_X11_XUTIL_H
14585 # include <X11/Xutil.h>
14586 #endif
14588 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14589 then :
14590 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14593 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14594 # include <X11/Xlib.h>
14595 #endif
14596 #ifdef HAVE_X11_XUTIL_H
14597 # include <X11/Xutil.h>
14598 #endif
14600 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14601 then :
14602 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14605 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14606 # include <X11/Xlib.h>
14607 #endif
14608 #ifdef HAVE_X11_XUTIL_H
14609 # include <X11/Xutil.h>
14610 #endif
14612 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14613 then :
14614 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14617 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14618 # include <X11/Xlib.h>
14619 #endif
14620 #ifdef HAVE_X11_XUTIL_H
14621 # include <X11/Xutil.h>
14622 #endif
14624 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14625 then :
14626 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14629 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14630 # include <X11/Xlib.h>
14631 #endif
14632 #ifdef HAVE_X11_XUTIL_H
14633 # include <X11/Xutil.h>
14634 #endif
14636 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14637 then :
14638 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14643 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14644 then
14645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14646 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14647 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14648 then :
14649 printf %s "(cached) " >&6
14650 else $as_nop
14651 ac_check_lib_save_LIBS=$LIBS
14652 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 char XkbQueryExtension ();
14661 main (void)
14663 return XkbQueryExtension ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"
14669 then :
14670 ac_cv_lib_X11_XkbQueryExtension=yes
14671 else $as_nop
14672 ac_cv_lib_X11_XkbQueryExtension=no
14674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_lib_save_LIBS
14678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14679 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14680 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14681 then :
14683 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14689 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14690 then
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14692 printf %s "checking for -lXcursor... " >&6; }
14693 if test ${ac_cv_lib_soname_Xcursor+y}
14694 then :
14695 printf %s "(cached) " >&6
14696 else $as_nop
14697 ac_check_soname_save_LIBS=$LIBS
14698 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14702 /* Override any GCC internal prototype to avoid an error.
14703 Use char because int might match the return type of a GCC
14704 builtin and then its argument prototype would still apply. */
14705 char XcursorImageLoadCursor ();
14707 main (void)
14709 return XcursorImageLoadCursor ();
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_link "$LINENO"
14715 then :
14716 case "$LIBEXT" in
14717 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14718 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'` ;;
14719 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14720 if ${ac_cv_lib_soname_Xcursor:+false} :
14721 then :
14722 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14723 fi ;;
14724 esac
14725 else $as_nop
14726 ac_cv_lib_soname_Xcursor=
14728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_soname_save_LIBS
14732 if ${ac_cv_lib_soname_Xcursor:+false} :
14733 then :
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14735 printf "%s\n" "not found" >&6; }
14737 else $as_nop
14738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14739 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14741 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14746 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14747 then :
14748 case "x$with_xcursor" in
14749 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14750 xno) ;;
14751 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14752 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14753 esac
14757 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14758 then
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14760 printf %s "checking for -lXi... " >&6; }
14761 if test ${ac_cv_lib_soname_Xi+y}
14762 then :
14763 printf %s "(cached) " >&6
14764 else $as_nop
14765 ac_check_soname_save_LIBS=$LIBS
14766 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14773 char XOpenDevice ();
14775 main (void)
14777 return XOpenDevice ();
14779 return 0;
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"
14783 then :
14784 case "$LIBEXT" in
14785 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14786 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'` ;;
14787 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14788 if ${ac_cv_lib_soname_Xi:+false} :
14789 then :
14790 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14791 fi ;;
14792 esac
14793 else $as_nop
14794 ac_cv_lib_soname_Xi=
14796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14797 conftest$ac_exeext conftest.$ac_ext
14798 LIBS=$ac_check_soname_save_LIBS
14800 if ${ac_cv_lib_soname_Xi:+false} :
14801 then :
14802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14803 printf "%s\n" "not found" >&6; }
14805 else $as_nop
14806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14807 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14809 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14814 if test "x$ac_cv_lib_soname_Xi" = "x"
14815 then :
14816 case "x$with_xinput" in
14817 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14818 xno) ;;
14819 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14820 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14821 esac
14825 if test "x$ac_cv_lib_soname_Xi" != x
14826 then
14827 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14828 then :
14829 case "x$with_xinput2" in
14830 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14831 xno) ;;
14832 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14833 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14834 esac
14839 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14840 then
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14842 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14843 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14844 then :
14845 printf %s "(cached) " >&6
14846 else $as_nop
14847 ac_check_lib_save_LIBS=$LIBS
14848 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 char XShmQueryExtension ();
14857 main (void)
14859 return XShmQueryExtension ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"
14865 then :
14866 ac_cv_lib_Xext_XShmQueryExtension=yes
14867 else $as_nop
14868 ac_cv_lib_Xext_XShmQueryExtension=no
14870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14871 conftest$ac_exeext conftest.$ac_ext
14872 LIBS=$ac_check_lib_save_LIBS
14874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14875 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14876 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14877 then :
14879 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14884 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14885 then :
14886 case "x$with_xshm" in
14887 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14888 xno) ;;
14889 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14890 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14891 esac
14895 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14896 then
14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14898 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14899 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14900 then :
14901 printf %s "(cached) " >&6
14902 else $as_nop
14903 ac_check_lib_save_LIBS=$LIBS
14904 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 char XShapeQueryExtension ();
14913 main (void)
14915 return XShapeQueryExtension ();
14917 return 0;
14919 _ACEOF
14920 if ac_fn_c_try_link "$LINENO"
14921 then :
14922 ac_cv_lib_Xext_XShapeQueryExtension=yes
14923 else $as_nop
14924 ac_cv_lib_Xext_XShapeQueryExtension=no
14926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14931 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14932 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14933 then :
14935 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14940 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14941 then :
14942 case "x$with_xshape" in
14943 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14944 xno) ;;
14945 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14946 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14947 esac
14951 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14952 then
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14954 printf %s "checking for -lXxf86vm... " >&6; }
14955 if test ${ac_cv_lib_soname_Xxf86vm+y}
14956 then :
14957 printf %s "(cached) " >&6
14958 else $as_nop
14959 ac_check_soname_save_LIBS=$LIBS
14960 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 char XF86VidModeQueryExtension ();
14969 main (void)
14971 return XF86VidModeQueryExtension ();
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"
14977 then :
14978 case "$LIBEXT" in
14979 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14980 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'` ;;
14981 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14982 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14983 then :
14984 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14985 fi ;;
14986 esac
14987 else $as_nop
14988 ac_cv_lib_soname_Xxf86vm=
14990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_soname_save_LIBS
14994 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14995 then :
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14997 printf "%s\n" "not found" >&6; }
14999 else $as_nop
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15001 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15003 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15008 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15009 then :
15010 case "x$with_xxf86vm" in
15011 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15012 xno) ;;
15013 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15014 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15015 esac
15019 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15020 then
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15022 printf %s "checking for -lXrender... " >&6; }
15023 if test ${ac_cv_lib_soname_Xrender+y}
15024 then :
15025 printf %s "(cached) " >&6
15026 else $as_nop
15027 ac_check_soname_save_LIBS=$LIBS
15028 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15035 char XRenderQueryExtension ();
15037 main (void)
15039 return XRenderQueryExtension ();
15041 return 0;
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"
15045 then :
15046 case "$LIBEXT" in
15047 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15048 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'` ;;
15049 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15050 if ${ac_cv_lib_soname_Xrender:+false} :
15051 then :
15052 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15053 fi ;;
15054 esac
15055 else $as_nop
15056 ac_cv_lib_soname_Xrender=
15058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15059 conftest$ac_exeext conftest.$ac_ext
15060 LIBS=$ac_check_soname_save_LIBS
15062 if ${ac_cv_lib_soname_Xrender:+false} :
15063 then :
15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15065 printf "%s\n" "not found" >&6; }
15067 else $as_nop
15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15069 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15071 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15074 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15075 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15076 then :
15077 printf %s "(cached) " >&6
15078 else $as_nop
15079 ac_check_lib_save_LIBS=$LIBS
15080 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15084 /* Override any GCC internal prototype to avoid an error.
15085 Use char because int might match the return type of a GCC
15086 builtin and then its argument prototype would still apply. */
15087 char XRenderSetPictureTransform ();
15089 main (void)
15091 return XRenderSetPictureTransform ();
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"
15097 then :
15098 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15099 else $as_nop
15100 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15103 conftest$ac_exeext conftest.$ac_ext
15104 LIBS=$ac_check_lib_save_LIBS
15106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15107 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15108 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15109 then :
15111 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15116 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15117 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15118 then :
15119 printf %s "(cached) " >&6
15120 else $as_nop
15121 ac_check_lib_save_LIBS=$LIBS
15122 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 char XRenderCreateLinearGradient ();
15131 main (void)
15133 return XRenderCreateLinearGradient ();
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"
15139 then :
15140 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15141 else $as_nop
15142 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_lib_save_LIBS
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15149 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15150 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15151 then :
15153 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15160 if test "x$ac_cv_lib_soname_Xrender" = "x"
15161 then :
15162 case "x$with_xrender" in
15163 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15164 xno) ;;
15165 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15166 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15167 esac
15171 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15172 then
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15175 #include <X11/Xlib.h>
15176 #include <X11/extensions/Xrandr.h>
15178 main (void)
15180 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_compile "$LINENO"
15186 then :
15187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15188 printf %s "checking for -lXrandr... " >&6; }
15189 if test ${ac_cv_lib_soname_Xrandr+y}
15190 then :
15191 printf %s "(cached) " >&6
15192 else $as_nop
15193 ac_check_soname_save_LIBS=$LIBS
15194 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15198 /* Override any GCC internal prototype to avoid an error.
15199 Use char because int might match the return type of a GCC
15200 builtin and then its argument prototype would still apply. */
15201 char XRRQueryExtension ();
15203 main (void)
15205 return XRRQueryExtension ();
15207 return 0;
15209 _ACEOF
15210 if ac_fn_c_try_link "$LINENO"
15211 then :
15212 case "$LIBEXT" in
15213 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15214 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'` ;;
15215 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15216 if ${ac_cv_lib_soname_Xrandr:+false} :
15217 then :
15218 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15219 fi ;;
15220 esac
15221 else $as_nop
15222 ac_cv_lib_soname_Xrandr=
15224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15225 conftest$ac_exeext conftest.$ac_ext
15226 LIBS=$ac_check_soname_save_LIBS
15228 if ${ac_cv_lib_soname_Xrandr:+false} :
15229 then :
15230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15231 printf "%s\n" "not found" >&6; }
15233 else $as_nop
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15235 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15237 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 #include <X11/Xlib.h>
15242 #include <X11/extensions/Xrandr.h>
15244 main (void)
15246 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15248 return 0;
15250 _ACEOF
15251 if ac_fn_c_try_compile "$LINENO"
15252 then :
15254 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15256 else $as_nop
15257 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15264 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15265 then :
15266 case "x$with_xrandr" in
15267 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15268 xno) ;;
15269 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15270 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15271 esac
15275 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15276 then
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15279 #include <X11/Xlib.h>
15280 #include <X11/extensions/Xfixes.h>
15282 main (void)
15284 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_compile "$LINENO"
15290 then :
15291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15292 printf %s "checking for -lXfixes... " >&6; }
15293 if test ${ac_cv_lib_soname_Xfixes+y}
15294 then :
15295 printf %s "(cached) " >&6
15296 else $as_nop
15297 ac_check_soname_save_LIBS=$LIBS
15298 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15302 /* Override any GCC internal prototype to avoid an error.
15303 Use char because int might match the return type of a GCC
15304 builtin and then its argument prototype would still apply. */
15305 char XFixesQueryVersion ();
15307 main (void)
15309 return XFixesQueryVersion ();
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"
15315 then :
15316 case "$LIBEXT" in
15317 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15318 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'` ;;
15319 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15320 if ${ac_cv_lib_soname_Xfixes:+false} :
15321 then :
15322 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15323 fi ;;
15324 esac
15325 else $as_nop
15326 ac_cv_lib_soname_Xfixes=
15328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15329 conftest$ac_exeext conftest.$ac_ext
15330 LIBS=$ac_check_soname_save_LIBS
15332 if ${ac_cv_lib_soname_Xfixes:+false} :
15333 then :
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15335 printf "%s\n" "not found" >&6; }
15337 else $as_nop
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15339 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15341 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15348 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15349 then :
15350 case "x$with_xfixes" in
15351 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15354 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15360 then
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 #include <X11/Xlib.h>
15364 #include <X11/extensions/Xinerama.h>
15366 main (void)
15368 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_compile "$LINENO"
15374 then :
15375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15376 printf %s "checking for -lXinerama... " >&6; }
15377 if test ${ac_cv_lib_soname_Xinerama+y}
15378 then :
15379 printf %s "(cached) " >&6
15380 else $as_nop
15381 ac_check_soname_save_LIBS=$LIBS
15382 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15389 char XineramaQueryScreens ();
15391 main (void)
15393 return XineramaQueryScreens ();
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_link "$LINENO"
15399 then :
15400 case "$LIBEXT" in
15401 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15402 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'` ;;
15403 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15404 if ${ac_cv_lib_soname_Xinerama:+false} :
15405 then :
15406 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15407 fi ;;
15408 esac
15409 else $as_nop
15410 ac_cv_lib_soname_Xinerama=
15412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15413 conftest$ac_exeext conftest.$ac_ext
15414 LIBS=$ac_check_soname_save_LIBS
15416 if ${ac_cv_lib_soname_Xinerama:+false} :
15417 then :
15418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15419 printf "%s\n" "not found" >&6; }
15421 else $as_nop
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15423 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15425 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15432 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15433 then :
15434 case "x$with_xinerama" in
15435 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15436 xno) ;;
15437 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15438 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15439 esac
15443 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15444 then
15445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15446 printf %s "checking for -lXcomposite... " >&6; }
15447 if test ${ac_cv_lib_soname_Xcomposite+y}
15448 then :
15449 printf %s "(cached) " >&6
15450 else $as_nop
15451 ac_check_soname_save_LIBS=$LIBS
15452 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 char XCompositeRedirectWindow ();
15461 main (void)
15463 return XCompositeRedirectWindow ();
15465 return 0;
15467 _ACEOF
15468 if ac_fn_c_try_link "$LINENO"
15469 then :
15470 case "$LIBEXT" in
15471 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15472 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'` ;;
15473 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15474 if ${ac_cv_lib_soname_Xcomposite:+false} :
15475 then :
15476 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15477 fi ;;
15478 esac
15479 else $as_nop
15480 ac_cv_lib_soname_Xcomposite=
15482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_check_soname_save_LIBS
15486 if ${ac_cv_lib_soname_Xcomposite:+false} :
15487 then :
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15489 printf "%s\n" "not found" >&6; }
15491 else $as_nop
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15493 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15495 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15500 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15501 then :
15502 case "x$with_xcomposite" in
15503 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15504 xno) ;;
15505 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15506 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15507 esac
15511 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15512 #include <X11/Xlib.h>
15513 #endif
15515 if test "x$ac_cv_member_XICCallback_callback" = xyes
15516 then :
15518 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15522 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15523 #include <X11/Xlib.h>
15524 #endif
15526 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15527 then :
15529 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15536 opengl_msg=""
15537 if test "x$with_opengl" != "xno"
15538 then
15539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15540 printf %s "checking for -lGL... " >&6; }
15541 if test ${ac_cv_lib_soname_GL+y}
15542 then :
15543 printf %s "(cached) " >&6
15544 else $as_nop
15545 ac_check_soname_save_LIBS=$LIBS
15546 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 char glXCreateContext ();
15555 main (void)
15557 return glXCreateContext ();
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"
15563 then :
15564 case "$LIBEXT" in
15565 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15566 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'` ;;
15567 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15568 if ${ac_cv_lib_soname_GL:+false} :
15569 then :
15570 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15571 fi ;;
15572 esac
15573 else $as_nop
15574 ac_cv_lib_soname_GL=
15576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15577 conftest$ac_exeext conftest.$ac_ext
15578 LIBS=$ac_check_soname_save_LIBS
15580 if ${ac_cv_lib_soname_GL:+false} :
15581 then :
15582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 printf "%s\n" "not found" >&6; }
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15585 printf %s "checking for -lGL... " >&6; }
15586 if test ${ac_cv_lib_soname_GL+y}
15587 then :
15588 printf %s "(cached) " >&6
15589 else $as_nop
15590 ac_check_soname_save_LIBS=$LIBS
15591 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"
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 char glXCreateContext ();
15600 main (void)
15602 return glXCreateContext ();
15604 return 0;
15606 _ACEOF
15607 if ac_fn_c_try_link "$LINENO"
15608 then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_GL:+false} :
15614 then :
15615 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15618 else $as_nop
15619 ac_cv_lib_soname_GL=
15621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_soname_save_LIBS
15625 if ${ac_cv_lib_soname_GL:+false} :
15626 then :
15627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15628 printf "%s\n" "not found" >&6; }
15629 if test -f /usr/X11R6/lib/libGL.a
15630 then
15631 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15632 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15633 else
15634 opengl_msg="No OpenGL library found on this system."
15636 else $as_nop
15637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15638 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15640 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15642 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"
15644 else $as_nop
15645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15646 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15648 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15650 OPENGL_LIBS="-lGL"
15652 if test "x$with_osmesa" != "xno"
15653 then
15654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15655 printf %s "checking for -lOSMesa... " >&6; }
15656 if test ${ac_cv_lib_soname_OSMesa+y}
15657 then :
15658 printf %s "(cached) " >&6
15659 else $as_nop
15660 ac_check_soname_save_LIBS=$LIBS
15661 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 char OSMesaGetProcAddress ();
15670 main (void)
15672 return OSMesaGetProcAddress ();
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"
15678 then :
15679 case "$LIBEXT" in
15680 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15681 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'` ;;
15682 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15683 if ${ac_cv_lib_soname_OSMesa:+false} :
15684 then :
15685 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15686 fi ;;
15687 esac
15688 else $as_nop
15689 ac_cv_lib_soname_OSMesa=
15691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15692 conftest$ac_exeext conftest.$ac_ext
15693 LIBS=$ac_check_soname_save_LIBS
15695 if ${ac_cv_lib_soname_OSMesa:+false} :
15696 then :
15697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15698 printf "%s\n" "not found" >&6; }
15700 else $as_nop
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15702 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15704 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15708 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15709 then :
15710 case "x$with_osmesa" in
15711 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15712 xno) ;;
15713 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15714 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15715 esac
15720 if test -n "$opengl_msg"
15721 then :
15722 case "x$with_opengl" in
15723 x) as_fn_append wine_warnings "|$opengl_msg
15724 OpenGL and Direct3D won't be supported." ;;
15725 xno) ;;
15726 *) as_fn_error $? "$opengl_msg
15727 OpenGL and Direct3D won't be supported.
15728 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15729 esac
15733 CPPFLAGS="$ac_save_CPPFLAGS"
15734 else
15735 X_CFLAGS=""
15736 X_LIBS=""
15739 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15740 then
15741 if test "x$X_LIBS" = "x"
15742 then :
15743 case "x$with_x" in
15744 xno) ;;
15745 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15746 without X support, which probably isn't what you want. You will need
15747 to install ${notice_platform}development packages of Xlib at the very least.
15748 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15749 esac
15750 enable_winex11_drv=${enable_winex11_drv:-no}
15752 else
15753 if test "x$X_LIBS" = "x"
15754 then :
15755 case "x$with_x" in
15756 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15757 xno) ;;
15758 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15759 This is an error since --with-x was requested." "$LINENO" 5 ;;
15760 esac
15761 enable_winex11_drv=${enable_winex11_drv:-no}
15765 if test "$ac_cv_header_CL_cl_h" = "yes"
15766 then
15767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15768 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15769 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15770 then :
15771 printf %s "(cached) " >&6
15772 else $as_nop
15773 ac_check_lib_save_LIBS=$LIBS
15774 LIBS="-lOpenCL $LIBS"
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15776 /* end confdefs.h. */
15778 /* Override any GCC internal prototype to avoid an error.
15779 Use char because int might match the return type of a GCC
15780 builtin and then its argument prototype would still apply. */
15781 char clGetPlatformInfo ();
15783 main (void)
15785 return clGetPlatformInfo ();
15787 return 0;
15789 _ACEOF
15790 if ac_fn_c_try_link "$LINENO"
15791 then :
15792 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15793 else $as_nop
15794 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_check_lib_save_LIBS
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15801 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15802 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15803 then :
15804 OPENCL_LIBS="-lOpenCL"
15809 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15810 then :
15811 case "x$with_opencl" in
15812 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15813 xno) ;;
15814 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15815 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15816 esac
15817 enable_opencl=${enable_opencl:-no}
15820 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15821 then
15822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15823 printf %s "checking for pcap_create in -lpcap... " >&6; }
15824 if test ${ac_cv_lib_pcap_pcap_create+y}
15825 then :
15826 printf %s "(cached) " >&6
15827 else $as_nop
15828 ac_check_lib_save_LIBS=$LIBS
15829 LIBS="-lpcap $LIBS"
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15833 /* Override any GCC internal prototype to avoid an error.
15834 Use char because int might match the return type of a GCC
15835 builtin and then its argument prototype would still apply. */
15836 char pcap_create ();
15838 main (void)
15840 return pcap_create ();
15842 return 0;
15844 _ACEOF
15845 if ac_fn_c_try_link "$LINENO"
15846 then :
15847 ac_cv_lib_pcap_pcap_create=yes
15848 else $as_nop
15849 ac_cv_lib_pcap_pcap_create=no
15851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15852 conftest$ac_exeext conftest.$ac_ext
15853 LIBS=$ac_check_lib_save_LIBS
15855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15856 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15857 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15858 then :
15859 PCAP_LIBS="-lpcap"
15864 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15865 then :
15866 case "x$with_pcap" in
15867 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15868 xno) ;;
15869 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15870 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15871 esac
15872 enable_wpcap=${enable_wpcap:-no}
15875 if test "x$with_inotify" != "xno"
15876 then
15877 if ${INOTIFY_CFLAGS:+false} :
15878 then :
15879 if test ${PKG_CONFIG+y}
15880 then :
15881 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15885 if ${INOTIFY_LIBS:+false} :
15886 then :
15887 if test ${PKG_CONFIG+y}
15888 then :
15889 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15896 ac_save_CPPFLAGS=$CPPFLAGS
15897 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15898 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15899 if test "x$ac_cv_header_sys_inotify_h" = xyes
15900 then :
15901 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15906 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15907 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15908 then :
15909 printf %s "(cached) " >&6
15910 else $as_nop
15911 ac_check_lib_save_LIBS=$LIBS
15912 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15916 /* Override any GCC internal prototype to avoid an error.
15917 Use char because int might match the return type of a GCC
15918 builtin and then its argument prototype would still apply. */
15919 char inotify_add_watch ();
15921 main (void)
15923 return inotify_add_watch ();
15925 return 0;
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"
15929 then :
15930 ac_cv_lib_inotify_inotify_add_watch=yes
15931 else $as_nop
15932 ac_cv_lib_inotify_inotify_add_watch=no
15934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15935 conftest$ac_exeext conftest.$ac_ext
15936 LIBS=$ac_check_lib_save_LIBS
15938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15939 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15940 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15941 then :
15943 else $as_nop
15944 INOTIFY_LIBS=""
15947 CPPFLAGS=$ac_save_CPPFLAGS
15950 if test "$ac_cv_header_sys_inotify_h" != "yes"
15951 then :
15952 case "x$with_inotify" in
15953 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15954 xno) ;;
15955 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15956 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15957 esac
15961 if test "x$with_dbus" != "xno"
15962 then
15963 if ${DBUS_CFLAGS:+false} :
15964 then :
15965 if test ${PKG_CONFIG+y}
15966 then :
15967 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15971 if ${DBUS_LIBS:+false} :
15972 then :
15973 if test ${PKG_CONFIG+y}
15974 then :
15975 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15982 ac_save_CPPFLAGS=$CPPFLAGS
15983 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15984 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15986 then :
15987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15988 printf %s "checking for -ldbus-1... " >&6; }
15989 if test ${ac_cv_lib_soname_dbus_1+y}
15990 then :
15991 printf %s "(cached) " >&6
15992 else $as_nop
15993 ac_check_soname_save_LIBS=$LIBS
15994 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 char dbus_connection_close ();
16003 main (void)
16005 return dbus_connection_close ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"
16011 then :
16012 case "$LIBEXT" in
16013 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16014 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'` ;;
16015 *) 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'`
16016 if ${ac_cv_lib_soname_dbus_1:+false} :
16017 then :
16018 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16019 fi ;;
16020 esac
16021 else $as_nop
16022 ac_cv_lib_soname_dbus_1=
16024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_soname_save_LIBS
16028 if ${ac_cv_lib_soname_dbus_1:+false} :
16029 then :
16030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16031 printf "%s\n" "not found" >&6; }
16032 DBUS_CFLAGS=""
16033 else $as_nop
16034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16035 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16037 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16041 else $as_nop
16042 DBUS_CFLAGS=""
16045 CPPFLAGS=$ac_save_CPPFLAGS
16048 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16049 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16050 then :
16051 case "x$with_dbus" in
16052 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16053 xno) ;;
16054 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16055 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16056 esac
16060 if test "x$with_gnutls" != "xno"
16061 then
16062 if ${GNUTLS_CFLAGS:+false} :
16063 then :
16064 if test ${PKG_CONFIG+y}
16065 then :
16066 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16070 if ${GNUTLS_LIBS:+false} :
16071 then :
16072 if test ${PKG_CONFIG+y}
16073 then :
16074 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16078 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16081 ac_save_CPPFLAGS=$CPPFLAGS
16082 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16083 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16084 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16085 then :
16086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16087 /* end confdefs.h. */
16088 #include <gnutls/gnutls.h>
16089 #include <gnutls/crypto.h>
16091 main (void)
16093 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16095 return 0;
16097 _ACEOF
16098 if ac_fn_c_try_compile "$LINENO"
16099 then :
16100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16101 printf %s "checking for -lgnutls... " >&6; }
16102 if test ${ac_cv_lib_soname_gnutls+y}
16103 then :
16104 printf %s "(cached) " >&6
16105 else $as_nop
16106 ac_check_soname_save_LIBS=$LIBS
16107 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 char gnutls_global_init ();
16116 main (void)
16118 return gnutls_global_init ();
16120 return 0;
16122 _ACEOF
16123 if ac_fn_c_try_link "$LINENO"
16124 then :
16125 case "$LIBEXT" in
16126 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16127 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'` ;;
16128 *) 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'`
16129 if ${ac_cv_lib_soname_gnutls:+false} :
16130 then :
16131 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'`
16132 fi ;;
16133 esac
16134 else $as_nop
16135 ac_cv_lib_soname_gnutls=
16137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16138 conftest$ac_exeext conftest.$ac_ext
16139 LIBS=$ac_check_soname_save_LIBS
16141 if ${ac_cv_lib_soname_gnutls:+false} :
16142 then :
16143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16144 printf "%s\n" "not found" >&6; }
16145 GNUTLS_CFLAGS=""
16146 else $as_nop
16147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16148 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16150 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16154 ac_wine_check_funcs_save_LIBS="$LIBS"
16155 LIBS="$LIBS $GNUTLS_LIBS"
16157 for ac_func in gnutls_cipher_init
16158 do :
16159 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16160 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16161 then :
16162 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16164 else $as_nop
16165 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16168 done
16169 LIBS="$ac_wine_check_funcs_save_LIBS"
16171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16172 else $as_nop
16173 GNUTLS_CFLAGS=""
16176 CPPFLAGS=$ac_save_CPPFLAGS
16179 if test "x$ac_cv_lib_soname_gnutls" = "x"
16180 then :
16181 case "x$with_gnutls" in
16182 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16183 xno) ;;
16184 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16185 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16186 esac
16190 if test "x$with_sane" != "xno"
16191 then
16192 if ${SANE_CFLAGS:+false} :
16193 then :
16194 if test ${PKG_CONFIG+y}
16195 then :
16196 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16199 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16200 if ${SANE_LIBS:+false} :
16201 then :
16202 if test ${PKG_CONFIG+y}
16203 then :
16204 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16207 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16211 ac_save_CPPFLAGS=$CPPFLAGS
16212 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16213 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16214 if test "x$ac_cv_header_sane_sane_h" = xyes
16215 then :
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16217 printf %s "checking for sane_init in -lsane... " >&6; }
16218 if test ${ac_cv_lib_sane_sane_init+y}
16219 then :
16220 printf %s "(cached) " >&6
16221 else $as_nop
16222 ac_check_lib_save_LIBS=$LIBS
16223 LIBS="-lsane $SANE_LIBS $LIBS"
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16230 char sane_init ();
16232 main (void)
16234 return sane_init ();
16236 return 0;
16238 _ACEOF
16239 if ac_fn_c_try_link "$LINENO"
16240 then :
16241 ac_cv_lib_sane_sane_init=yes
16242 else $as_nop
16243 ac_cv_lib_sane_sane_init=no
16245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16250 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16251 if test "x$ac_cv_lib_sane_sane_init" = xyes
16252 then :
16258 CPPFLAGS=$ac_save_CPPFLAGS
16261 if test "$ac_cv_lib_sane_sane_init" != "yes"
16262 then :
16263 case "x$with_sane" in
16264 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16265 xno) ;;
16266 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16267 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16268 esac
16269 enable_sane_ds=${enable_sane_ds:-no}
16272 if test "x$with_usb" != "xno"
16273 then
16274 if ${USB_CFLAGS:+false} :
16275 then :
16276 if test ${PKG_CONFIG+y}
16277 then :
16278 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16282 if ${USB_LIBS:+false} :
16283 then :
16284 if test ${PKG_CONFIG+y}
16285 then :
16286 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16290 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16293 ac_save_CPPFLAGS=$CPPFLAGS
16294 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16295 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16296 if test "x$ac_cv_header_libusb_h" = xyes
16297 then :
16298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16299 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16300 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16301 then :
16302 printf %s "(cached) " >&6
16303 else $as_nop
16304 ac_check_lib_save_LIBS=$LIBS
16305 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16309 /* Override any GCC internal prototype to avoid an error.
16310 Use char because int might match the return type of a GCC
16311 builtin and then its argument prototype would still apply. */
16312 char libusb_interrupt_event_handler ();
16314 main (void)
16316 return libusb_interrupt_event_handler ();
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"
16322 then :
16323 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16324 else $as_nop
16325 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16328 conftest$ac_exeext conftest.$ac_ext
16329 LIBS=$ac_check_lib_save_LIBS
16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16332 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16333 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16334 then :
16336 else $as_nop
16337 USB_LIBS=""
16340 else $as_nop
16341 USB_LIBS=""
16344 CPPFLAGS=$ac_save_CPPFLAGS
16347 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16348 then :
16349 case "x$with_usb" in
16350 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16351 xno) ;;
16352 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16353 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16354 esac
16355 enable_wineusb_sys=${enable_wineusb_sys:-no}
16358 if test "x$with_v4l2" != "xno"
16359 then
16360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16361 printf %s "checking for -lv4l2... " >&6; }
16362 if test ${ac_cv_lib_soname_v4l2+y}
16363 then :
16364 printf %s "(cached) " >&6
16365 else $as_nop
16366 ac_check_soname_save_LIBS=$LIBS
16367 LIBS="-lv4l2 $LIBS"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16371 /* Override any GCC internal prototype to avoid an error.
16372 Use char because int might match the return type of a GCC
16373 builtin and then its argument prototype would still apply. */
16374 char v4l2_open ();
16376 main (void)
16378 return v4l2_open ();
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"
16384 then :
16385 case "$LIBEXT" in
16386 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16387 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'` ;;
16388 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16389 if ${ac_cv_lib_soname_v4l2:+false} :
16390 then :
16391 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16392 fi ;;
16393 esac
16394 else $as_nop
16395 ac_cv_lib_soname_v4l2=
16397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16398 conftest$ac_exeext conftest.$ac_ext
16399 LIBS=$ac_check_soname_save_LIBS
16401 if ${ac_cv_lib_soname_v4l2:+false} :
16402 then :
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16404 printf "%s\n" "not found" >&6; }
16406 else $as_nop
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16408 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16410 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16415 if test "x$ac_cv_lib_soname_v4l2" = "x"
16416 then :
16417 case "x$with_v4l2" in
16418 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16419 xno) ;;
16420 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16421 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16422 esac
16426 if test "x$with_gphoto" != "xno"
16427 then
16428 if ${GPHOTO2_CFLAGS:+false} :
16429 then :
16430 if test ${PKG_CONFIG+y}
16431 then :
16432 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16435 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16436 if ${GPHOTO2_LIBS:+false} :
16437 then :
16438 if test ${PKG_CONFIG+y}
16439 then :
16440 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16443 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16444 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16447 ac_save_CPPFLAGS=$CPPFLAGS
16448 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16449 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16450 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16451 then :
16452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16453 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16454 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16455 then :
16456 printf %s "(cached) " >&6
16457 else $as_nop
16458 ac_check_lib_save_LIBS=$LIBS
16459 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16466 char gp_camera_new ();
16468 main (void)
16470 return gp_camera_new ();
16472 return 0;
16474 _ACEOF
16475 if ac_fn_c_try_link "$LINENO"
16476 then :
16477 ac_cv_lib_gphoto2_gp_camera_new=yes
16478 else $as_nop
16479 ac_cv_lib_gphoto2_gp_camera_new=no
16481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16482 conftest$ac_exeext conftest.$ac_ext
16483 LIBS=$ac_check_lib_save_LIBS
16485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16486 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16487 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16488 then :
16494 CPPFLAGS=$ac_save_CPPFLAGS
16496 if ${GPHOTO2_PORT_CFLAGS:+false} :
16497 then :
16498 if test ${PKG_CONFIG+y}
16499 then :
16500 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16503 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16504 if ${GPHOTO2_PORT_LIBS:+false} :
16505 then :
16506 if test ${PKG_CONFIG+y}
16507 then :
16508 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16511 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16512 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16515 ac_save_CPPFLAGS=$CPPFLAGS
16516 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16517 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16518 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16519 then :
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16521 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16522 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16523 then :
16524 printf %s "(cached) " >&6
16525 else $as_nop
16526 ac_check_lib_save_LIBS=$LIBS
16527 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16531 /* Override any GCC internal prototype to avoid an error.
16532 Use char because int might match the return type of a GCC
16533 builtin and then its argument prototype would still apply. */
16534 char gp_port_info_list_new ();
16536 main (void)
16538 return gp_port_info_list_new ();
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_link "$LINENO"
16544 then :
16545 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16546 else $as_nop
16547 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16550 conftest$ac_exeext conftest.$ac_ext
16551 LIBS=$ac_check_lib_save_LIBS
16553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16554 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16555 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16556 then :
16558 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16560 else $as_nop
16561 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16564 else $as_nop
16565 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16568 CPPFLAGS=$ac_save_CPPFLAGS
16571 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16572 then :
16573 case "x$with_gphoto" in
16574 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16575 xno) ;;
16576 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16577 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16578 esac
16579 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16581 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16582 then :
16583 case "x$with_gphoto" in
16584 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16585 xno) ;;
16586 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16587 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16588 esac
16593 if test "$ac_cv_header_resolv_h" = "yes"
16594 then
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16596 printf %s "checking for resolver library... " >&6; }
16597 if test ${ac_cv_have_resolv+y}
16598 then :
16599 printf %s "(cached) " >&6
16600 else $as_nop
16601 ac_save_LIBS="$LIBS"
16602 for lib in '' -lresolv
16604 LIBS="$lib $ac_save_LIBS"
16605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16607 #ifdef HAVE_NETINET_IN_H
16608 #include <netinet/in.h>
16609 #endif
16610 #include <resolv.h>
16612 main (void)
16614 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16616 return 0;
16618 _ACEOF
16619 if ac_fn_c_try_link "$LINENO"
16620 then :
16621 ac_cv_have_resolv=${lib:-"none required"}
16622 else $as_nop
16623 ac_cv_have_resolv="not found"
16625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16626 conftest$ac_exeext conftest.$ac_ext
16627 test "x$ac_cv_have_resolv" = "xnot found" || break
16628 done
16629 LIBS="$ac_save_LIBS"
16631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16632 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16634 case "$ac_cv_have_resolv" in
16635 "not found") ;;
16636 "none required")
16638 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16641 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16643 RESOLV_LIBS=$ac_cv_have_resolv
16645 esac
16647 if test "x$ac_cv_have_resolv" != "xnot found"
16648 then
16649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16650 printf %s "checking for res_getservers... " >&6; }
16651 if test ${ac_cv_have_res_getservers+y}
16652 then :
16653 printf %s "(cached) " >&6
16654 else $as_nop
16655 ac_save_LIBS="$LIBS"
16656 LIBS="$RESOLV_LIBS $LIBS"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <resolv.h>
16661 main (void)
16663 res_getservers(NULL, NULL, 0);
16665 return 0;
16667 _ACEOF
16668 if ac_fn_c_try_link "$LINENO"
16669 then :
16670 ac_cv_have_res_getservers=yes
16671 else $as_nop
16672 ac_cv_have_res_getservers=no
16674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS="$ac_save_LIBS"
16678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16679 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16680 if test "$ac_cv_have_res_getservers" = "yes"
16681 then
16683 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16689 if test "x$with_freetype" != "xno"
16690 then
16691 if ${FREETYPE_CFLAGS:+false} :
16692 then :
16693 if test ${PKG_CONFIG+y}
16694 then :
16695 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16698 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16699 if ${FREETYPE_LIBS:+false} :
16700 then :
16701 if test ${PKG_CONFIG+y}
16702 then :
16703 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16706 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16707 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16710 ac_save_CPPFLAGS=$CPPFLAGS
16711 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16712 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_ft2build_h" = xyes
16714 then :
16715 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16719 if test "$ac_cv_header_ft2build_h" = "yes"
16720 then
16721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16722 printf %s "checking for -lfreetype... " >&6; }
16723 if test ${ac_cv_lib_soname_freetype+y}
16724 then :
16725 printf %s "(cached) " >&6
16726 else $as_nop
16727 ac_check_soname_save_LIBS=$LIBS
16728 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16732 /* Override any GCC internal prototype to avoid an error.
16733 Use char because int might match the return type of a GCC
16734 builtin and then its argument prototype would still apply. */
16735 char FT_Init_FreeType ();
16737 main (void)
16739 return FT_Init_FreeType ();
16741 return 0;
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"
16745 then :
16746 case "$LIBEXT" in
16747 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16748 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'` ;;
16749 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16750 if ${ac_cv_lib_soname_freetype:+false} :
16751 then :
16752 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16753 fi ;;
16754 esac
16755 else $as_nop
16756 ac_cv_lib_soname_freetype=
16758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16759 conftest$ac_exeext conftest.$ac_ext
16760 LIBS=$ac_check_soname_save_LIBS
16762 if ${ac_cv_lib_soname_freetype:+false} :
16763 then :
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16765 printf "%s\n" "not found" >&6; }
16766 FREETYPE_LIBS=""
16767 else $as_nop
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16769 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16771 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16774 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16776 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16777 #include FT_MODULE_H
16779 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16780 then :
16782 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16788 else
16789 FREETYPE_CFLAGS=""
16790 FREETYPE_LIBS=""
16792 CPPFLAGS=$ac_save_CPPFLAGS
16795 if test "x$ac_cv_lib_soname_freetype" = x
16796 then :
16797 case "x$with_freetype" in
16798 xno) ;;
16799 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16800 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16801 esac
16802 enable_fonts=${enable_fonts:-no}
16805 ac_wine_check_funcs_save_LIBS="$LIBS"
16806 LIBS="$LIBS $PTHREAD_LIBS"
16807 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16808 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16809 then :
16810 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16814 LIBS="$ac_wine_check_funcs_save_LIBS"
16816 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16817 then
16818 if test "$ac_cv_header_gettext_po_h" = "yes"
16819 then
16820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16821 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16822 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16823 then :
16824 printf %s "(cached) " >&6
16825 else $as_nop
16826 ac_check_lib_save_LIBS=$LIBS
16827 LIBS="-lgettextpo $LIBS"
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 char po_message_msgctxt ();
16836 main (void)
16838 return po_message_msgctxt ();
16840 return 0;
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"
16844 then :
16845 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16846 else $as_nop
16847 ac_cv_lib_gettextpo_po_message_msgctxt=no
16849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16850 conftest$ac_exeext conftest.$ac_ext
16851 LIBS=$ac_check_lib_save_LIBS
16853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16854 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16855 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16856 then :
16858 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16860 GETTEXTPO_LIBS="-lgettextpo"
16865 if test "x$GETTEXTPO_LIBS" = "x"
16866 then :
16867 case "x$with_gettextpo" in
16868 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16869 xno) ;;
16870 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16871 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16872 esac
16875 if test "$srcdir" != .
16876 then :
16877 case "x$with_gettextpo" in
16878 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16879 xno) ;;
16880 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16881 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16882 esac
16887 if test "x$with_pulse" != "xno";
16888 then
16889 if ${PULSE_CFLAGS:+false} :
16890 then :
16891 if test ${PKG_CONFIG+y}
16892 then :
16893 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16897 if ${PULSE_LIBS:+false} :
16898 then :
16899 if test ${PKG_CONFIG+y}
16900 then :
16901 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16908 ac_save_CPPFLAGS=$CPPFLAGS
16909 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16910 for ac_header in pulse/pulseaudio.h
16911 do :
16912 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16913 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16914 then :
16915 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16917 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16918 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16919 then :
16920 printf %s "(cached) " >&6
16921 else $as_nop
16922 ac_check_lib_save_LIBS=$LIBS
16923 LIBS="-lpulse $PULSE_LIBS $LIBS"
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16927 /* Override any GCC internal prototype to avoid an error.
16928 Use char because int might match the return type of a GCC
16929 builtin and then its argument prototype would still apply. */
16930 char pa_stream_is_corked ();
16932 main (void)
16934 return pa_stream_is_corked ();
16936 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"
16940 then :
16941 ac_cv_lib_pulse_pa_stream_is_corked=yes
16942 else $as_nop
16943 ac_cv_lib_pulse_pa_stream_is_corked=no
16945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16946 conftest$ac_exeext conftest.$ac_ext
16947 LIBS=$ac_check_lib_save_LIBS
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16950 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16951 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16952 then :
16954 else $as_nop
16955 PULSE_LIBS=""
16958 else $as_nop
16959 PULSE_LIBS=""
16962 done
16963 CPPFLAGS=$ac_save_CPPFLAGS
16966 if test -z "$PULSE_LIBS"
16967 then :
16968 case "x$with_pulse" in
16969 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16970 xno) ;;
16971 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16972 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16973 esac
16974 enable_winepulse_drv=${enable_winepulse_drv:-no}
16977 if test "x$with_gstreamer" != "xno"
16978 then
16979 if ${GSTREAMER_CFLAGS:+false} :
16980 then :
16981 if test ${PKG_CONFIG+y}
16982 then :
16983 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16987 if ${GSTREAMER_LIBS:+false} :
16988 then :
16989 if test ${PKG_CONFIG+y}
16990 then :
16991 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16998 ac_save_CPPFLAGS=$CPPFLAGS
16999 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17000 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17001 if test "x$ac_cv_header_gst_gst_h" = xyes
17002 then :
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17004 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <gst/gst.h>
17009 main (void)
17011 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_compile "$LINENO"
17017 then :
17018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17019 printf "%s\n" "yes" >&6; }
17020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17021 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17022 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17023 then :
17024 printf %s "(cached) " >&6
17025 else $as_nop
17026 ac_check_lib_save_LIBS=$LIBS
17027 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17034 char gst_pad_new ();
17036 main (void)
17038 return gst_pad_new ();
17040 return 0;
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"
17044 then :
17045 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17046 else $as_nop
17047 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17050 conftest$ac_exeext conftest.$ac_ext
17051 LIBS=$ac_check_lib_save_LIBS
17053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17054 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17055 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17056 then :
17060 else $as_nop
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17062 printf "%s\n" "no" >&6; }
17063 ac_glib2_broken=yes
17064 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17069 CPPFLAGS=$ac_save_CPPFLAGS
17072 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17073 then :
17074 case "x$with_gstreamer" in
17075 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17076 xno) ;;
17077 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17078 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17079 esac
17080 enable_winegstreamer=${enable_winegstreamer:-no}
17083 ALSA_LIBS=""
17085 if test "x$with_alsa" != "xno"
17086 then
17087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17088 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17089 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17090 then :
17091 printf %s "(cached) " >&6
17092 else $as_nop
17093 ac_check_lib_save_LIBS=$LIBS
17094 LIBS="-lasound $LIBS"
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17098 /* Override any GCC internal prototype to avoid an error.
17099 Use char because int might match the return type of a GCC
17100 builtin and then its argument prototype would still apply. */
17101 char snd_pcm_hw_params_get_access_mask ();
17103 main (void)
17105 return snd_pcm_hw_params_get_access_mask ();
17107 return 0;
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"
17111 then :
17112 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17113 else $as_nop
17114 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17117 conftest$ac_exeext conftest.$ac_ext
17118 LIBS=$ac_check_lib_save_LIBS
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17121 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17122 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17123 then :
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 #include <alsa/asoundlib.h>
17128 main (void)
17130 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17132 return 0;
17134 _ACEOF
17135 if ac_fn_c_try_compile "$LINENO"
17136 then :
17137 ALSA_LIBS="-lasound"
17139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17143 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17145 if test "x$with_oss" != xno
17146 then
17147 ac_save_CPPFLAGS="$CPPFLAGS"
17148 if test -f /etc/oss.conf
17149 then
17150 . /etc/oss.conf
17152 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17153 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17154 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17155 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17156 then :
17157 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17159 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17160 then :
17162 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17164 OSS4_CFLAGS="$ac_oss_incl"
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17167 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17168 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17169 then :
17170 printf %s "(cached) " >&6
17171 else $as_nop
17172 ac_check_lib_save_LIBS=$LIBS
17173 LIBS="-lossaudio $LIBS"
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17177 /* Override any GCC internal prototype to avoid an error.
17178 Use char because int might match the return type of a GCC
17179 builtin and then its argument prototype would still apply. */
17180 char _oss_ioctl ();
17182 main (void)
17184 return _oss_ioctl ();
17186 return 0;
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"
17190 then :
17191 ac_cv_lib_ossaudio__oss_ioctl=yes
17192 else $as_nop
17193 ac_cv_lib_ossaudio__oss_ioctl=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17196 conftest$ac_exeext conftest.$ac_ext
17197 LIBS=$ac_check_lib_save_LIBS
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17200 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17201 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17202 then :
17203 OSS4_LIBS="-lossaudio"
17211 CPPFLAGS="$ac_save_CPPFLAGS"
17213 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17214 then :
17215 case "x$with_oss" in
17216 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17217 xno) ;;
17218 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17219 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17220 esac
17221 enable_wineoss_drv=${enable_wineoss_drv:-no}
17224 if test "x$with_udev" != "xno"
17225 then
17226 if ${UDEV_CFLAGS:+false} :
17227 then :
17228 if test ${PKG_CONFIG+y}
17229 then :
17230 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17234 if ${UDEV_LIBS:+false} :
17235 then :
17236 if test ${PKG_CONFIG+y}
17237 then :
17238 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17242 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17245 ac_save_CPPFLAGS=$CPPFLAGS
17246 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17247 for ac_header in libudev.h
17248 do :
17249 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17250 if test "x$ac_cv_header_libudev_h" = xyes
17251 then :
17252 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17254 printf %s "checking for udev_new in -ludev... " >&6; }
17255 if test ${ac_cv_lib_udev_udev_new+y}
17256 then :
17257 printf %s "(cached) " >&6
17258 else $as_nop
17259 ac_check_lib_save_LIBS=$LIBS
17260 LIBS="-ludev $UDEV_LIBS $LIBS"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 char udev_new ();
17269 main (void)
17271 return udev_new ();
17273 return 0;
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"
17277 then :
17278 ac_cv_lib_udev_udev_new=yes
17279 else $as_nop
17280 ac_cv_lib_udev_udev_new=no
17282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17283 conftest$ac_exeext conftest.$ac_ext
17284 LIBS=$ac_check_lib_save_LIBS
17286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17287 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17288 if test "x$ac_cv_lib_udev_udev_new" = xyes
17289 then :
17291 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17293 else $as_nop
17294 UDEV_LIBS=""
17297 else $as_nop
17298 UDEV_LIBS=""
17301 done
17302 CPPFLAGS=$ac_save_CPPFLAGS
17305 if test "x$UDEV_LIBS" = "x"
17306 then :
17307 case "x$with_udev" in
17308 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17309 xno) ;;
17310 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17311 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17312 esac
17316 if test "x$with_unwind" != xno
17317 then
17318 if ${UNWIND_CFLAGS:+false} :
17319 then :
17320 if test ${PKG_CONFIG+y}
17321 then :
17322 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17326 if ${UNWIND_LIBS:+false} :
17327 then :
17328 if test ${PKG_CONFIG+y}
17329 then :
17330 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17334 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17337 ac_save_CPPFLAGS=$CPPFLAGS
17338 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17340 printf %s "checking for unw_step... " >&6; }
17341 if test ${wine_cv_have_unw_step+y}
17342 then :
17343 printf %s "(cached) " >&6
17344 else $as_nop
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #define UNW_LOCAL_ONLY
17348 #include <libunwind.h>
17350 main (void)
17352 unw_cursor_t cursor; unw_step( &cursor );
17354 return 0;
17356 _ACEOF
17357 if ac_fn_c_try_link "$LINENO"
17358 then :
17359 wine_cv_have_unw_step="yes"
17360 else $as_nop
17361 wine_cv_have_unw_step="no"
17363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17364 conftest$ac_exeext conftest.$ac_ext
17366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17367 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17368 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17369 then
17370 save_libs=$LIBS
17371 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17372 LIBS="$UNWIND_LIBS $LIBS"
17373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17374 printf %s "checking for unw_step in libunwind... " >&6; }
17375 if test ${wine_cv_have_libunwind_unw_step+y}
17376 then :
17377 printf %s "(cached) " >&6
17378 else $as_nop
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #define UNW_LOCAL_ONLY
17382 #include <libunwind.h>
17384 main (void)
17386 unw_cursor_t cursor; unw_step( &cursor );
17388 return 0;
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"
17392 then :
17393 wine_cv_have_libunwind_unw_step="yes"
17394 else $as_nop
17395 wine_cv_have_libunwind_unw_step="no"
17397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17398 conftest$ac_exeext conftest.$ac_ext
17400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17401 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17402 LIBS=$save_libs
17404 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17405 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17406 then
17408 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17411 CPPFLAGS=$ac_save_CPPFLAGS
17414 case $host in
17415 aarch64*|*-darwin*)
17416 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17417 then :
17418 case "x$with_unwind" in
17419 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17420 xno) ;;
17421 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17422 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17423 esac
17425 fi ;;
17426 esac
17428 if test "x$with_sdl" != "xno"
17429 then
17430 if ${SDL2_CFLAGS:+false} :
17431 then :
17432 if test ${PKG_CONFIG+y}
17433 then :
17434 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17438 if ${SDL2_LIBS:+false} :
17439 then :
17440 if test ${PKG_CONFIG+y}
17441 then :
17442 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17446 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17449 ac_save_CPPFLAGS=$CPPFLAGS
17450 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17451 for ac_header in SDL.h
17452 do :
17453 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17454 if test "x$ac_cv_header_SDL_h" = xyes
17455 then :
17456 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17458 printf %s "checking for -lSDL2... " >&6; }
17459 if test ${ac_cv_lib_soname_SDL2+y}
17460 then :
17461 printf %s "(cached) " >&6
17462 else $as_nop
17463 ac_check_soname_save_LIBS=$LIBS
17464 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17468 /* Override any GCC internal prototype to avoid an error.
17469 Use char because int might match the return type of a GCC
17470 builtin and then its argument prototype would still apply. */
17471 char SDL_Init ();
17473 main (void)
17475 return SDL_Init ();
17477 return 0;
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"
17481 then :
17482 case "$LIBEXT" in
17483 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17484 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'` ;;
17485 *) 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'`
17486 if ${ac_cv_lib_soname_SDL2:+false} :
17487 then :
17488 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17489 fi ;;
17490 esac
17491 else $as_nop
17492 ac_cv_lib_soname_SDL2=
17494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17495 conftest$ac_exeext conftest.$ac_ext
17496 LIBS=$ac_check_soname_save_LIBS
17498 if ${ac_cv_lib_soname_SDL2:+false} :
17499 then :
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17501 printf "%s\n" "not found" >&6; }
17503 else $as_nop
17504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17505 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17507 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17513 done
17514 CPPFLAGS=$ac_save_CPPFLAGS
17517 if test "x$ac_cv_lib_soname_SDL2" = "x"
17518 then :
17519 case "x$with_sdl" in
17520 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17521 xno) ;;
17522 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17523 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17524 esac
17528 if test "x$with_capi" != "xno"
17529 then
17530 if ${CAPI20_CFLAGS:+false} :
17531 then :
17532 if test ${PKG_CONFIG+y}
17533 then :
17534 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17538 if ${CAPI20_LIBS:+false} :
17539 then :
17540 if test ${PKG_CONFIG+y}
17541 then :
17542 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17549 ac_save_CPPFLAGS=$CPPFLAGS
17550 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17551 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17553 if test "x$ac_cv_header_capi20_h" = xyes
17554 then :
17555 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17558 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17560 if test "x$ac_cv_header_linux_capi_h" = xyes
17561 then :
17562 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17566 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17567 then
17568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17569 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17570 if test ${ac_cv_lib_capi20_capi20_register+y}
17571 then :
17572 printf %s "(cached) " >&6
17573 else $as_nop
17574 ac_check_lib_save_LIBS=$LIBS
17575 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17579 /* Override any GCC internal prototype to avoid an error.
17580 Use char because int might match the return type of a GCC
17581 builtin and then its argument prototype would still apply. */
17582 char capi20_register ();
17584 main (void)
17586 return capi20_register ();
17588 return 0;
17590 _ACEOF
17591 if ac_fn_c_try_link "$LINENO"
17592 then :
17593 ac_cv_lib_capi20_capi20_register=yes
17594 else $as_nop
17595 ac_cv_lib_capi20_capi20_register=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17598 conftest$ac_exeext conftest.$ac_ext
17599 LIBS=$ac_check_lib_save_LIBS
17601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17602 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17603 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17604 then :
17606 else $as_nop
17607 CAPI20_LIBS=""
17611 CPPFLAGS=$ac_save_CPPFLAGS
17614 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
17615 then :
17616 case "x$with_capi" in
17617 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17618 xno) ;;
17619 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17620 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17621 esac
17622 enable_capi2032=${enable_capi2032:-no}
17625 if test "x$with_cups" != "xno"
17626 then
17627 if ${CUPS_CFLAGS:+false} :
17628 then :
17629 if test ${PKG_CONFIG+y}
17630 then :
17631 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17634 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17635 if ${CUPS_LIBS:+false} :
17636 then :
17637 if test ${PKG_CONFIG+y}
17638 then :
17639 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17642 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17643 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17646 ac_save_CPPFLAGS=$CPPFLAGS
17647 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17648 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17649 if test "x$ac_cv_header_cups_cups_h" = xyes
17650 then :
17651 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17654 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17655 if test "x$ac_cv_header_cups_ppd_h" = xyes
17656 then :
17657 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17661 if test "$ac_cv_header_cups_cups_h" = "yes"
17662 then
17663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17664 printf %s "checking for -lcups... " >&6; }
17665 if test ${ac_cv_lib_soname_cups+y}
17666 then :
17667 printf %s "(cached) " >&6
17668 else $as_nop
17669 ac_check_soname_save_LIBS=$LIBS
17670 LIBS="-lcups $CUPS_LIBS $LIBS"
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17674 /* Override any GCC internal prototype to avoid an error.
17675 Use char because int might match the return type of a GCC
17676 builtin and then its argument prototype would still apply. */
17677 char cupsGetDefault ();
17679 main (void)
17681 return cupsGetDefault ();
17683 return 0;
17685 _ACEOF
17686 if ac_fn_c_try_link "$LINENO"
17687 then :
17688 case "$LIBEXT" in
17689 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17690 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'` ;;
17691 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17692 if ${ac_cv_lib_soname_cups:+false} :
17693 then :
17694 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17695 fi ;;
17696 esac
17697 else $as_nop
17698 ac_cv_lib_soname_cups=
17700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17701 conftest$ac_exeext conftest.$ac_ext
17702 LIBS=$ac_check_soname_save_LIBS
17704 if ${ac_cv_lib_soname_cups:+false} :
17705 then :
17706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17707 printf "%s\n" "not found" >&6; }
17708 CUPS_LIBS=""
17709 else $as_nop
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17711 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17713 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17717 else
17718 CUPS_CFLAGS=""
17719 CUPS_LIBS=""
17721 CPPFLAGS=$ac_save_CPPFLAGS
17724 if test "x$ac_cv_lib_soname_cups" = "x"
17725 then :
17726 case "x$with_cups" in
17727 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17728 xno) ;;
17729 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17730 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17731 esac
17735 if test "x$with_fontconfig" != "xno"
17736 then
17737 if ${FONTCONFIG_CFLAGS:+false} :
17738 then :
17739 if test ${PKG_CONFIG+y}
17740 then :
17741 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17744 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17745 if ${FONTCONFIG_LIBS:+false} :
17746 then :
17747 if test ${PKG_CONFIG+y}
17748 then :
17749 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17752 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17756 ac_save_CPPFLAGS=$CPPFLAGS
17757 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17758 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17759 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17760 then :
17761 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17765 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17766 then
17767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17768 printf %s "checking for -lfontconfig... " >&6; }
17769 if test ${ac_cv_lib_soname_fontconfig+y}
17770 then :
17771 printf %s "(cached) " >&6
17772 else $as_nop
17773 ac_check_soname_save_LIBS=$LIBS
17774 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17778 /* Override any GCC internal prototype to avoid an error.
17779 Use char because int might match the return type of a GCC
17780 builtin and then its argument prototype would still apply. */
17781 char FcInit ();
17783 main (void)
17785 return FcInit ();
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"
17791 then :
17792 case "$LIBEXT" in
17793 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17794 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'` ;;
17795 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17796 if ${ac_cv_lib_soname_fontconfig:+false} :
17797 then :
17798 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17799 fi ;;
17800 esac
17801 else $as_nop
17802 ac_cv_lib_soname_fontconfig=
17804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17805 conftest$ac_exeext conftest.$ac_ext
17806 LIBS=$ac_check_soname_save_LIBS
17808 if ${ac_cv_lib_soname_fontconfig:+false} :
17809 then :
17810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17811 printf "%s\n" "not found" >&6; }
17812 FONTCONFIG_CFLAGS=""
17813 else $as_nop
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17815 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17817 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17821 else
17822 FONTCONFIG_CFLAGS=""
17824 CPPFLAGS=$ac_save_CPPFLAGS
17827 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17828 then :
17829 case "x$with_fontconfig" in
17830 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17831 xno) ;;
17832 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17833 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17834 esac
17838 if test "x$with_krb5" != "xno"
17839 then
17840 if ${KRB5_CFLAGS:+false} :
17841 then :
17842 if test ${PKG_CONFIG+y}
17843 then :
17844 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17847 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17848 if ${KRB5_LIBS:+false} :
17849 then :
17850 if test ${PKG_CONFIG+y}
17851 then :
17852 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17855 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17859 ac_save_CPPFLAGS=$CPPFLAGS
17860 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17861 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17862 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17863 then :
17864 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17868 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17869 then
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17871 printf %s "checking for -lkrb5... " >&6; }
17872 if test ${ac_cv_lib_soname_krb5+y}
17873 then :
17874 printf %s "(cached) " >&6
17875 else $as_nop
17876 ac_check_soname_save_LIBS=$LIBS
17877 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17881 /* Override any GCC internal prototype to avoid an error.
17882 Use char because int might match the return type of a GCC
17883 builtin and then its argument prototype would still apply. */
17884 char krb5_is_config_principal ();
17886 main (void)
17888 return krb5_is_config_principal ();
17890 return 0;
17892 _ACEOF
17893 if ac_fn_c_try_link "$LINENO"
17894 then :
17895 case "$LIBEXT" in
17896 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17897 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'` ;;
17898 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17899 if ${ac_cv_lib_soname_krb5:+false} :
17900 then :
17901 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17902 fi ;;
17903 esac
17904 else $as_nop
17905 ac_cv_lib_soname_krb5=
17907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17908 conftest$ac_exeext conftest.$ac_ext
17909 LIBS=$ac_check_soname_save_LIBS
17911 if ${ac_cv_lib_soname_krb5:+false} :
17912 then :
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17914 printf "%s\n" "not found" >&6; }
17915 KRB5_CFLAGS=""
17916 else $as_nop
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17918 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17920 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17924 else
17925 KRB5_CFLAGS=""
17927 CPPFLAGS=$ac_save_CPPFLAGS
17930 if test "x$ac_cv_lib_soname_krb5" = "x"
17931 then :
17932 case "x$with_krb5" in
17933 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17934 xno) ;;
17935 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17936 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17937 esac
17940 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17942 if test "x$with_gssapi" != "xno"
17943 then
17944 if ${GSSAPI_CFLAGS:+false} :
17945 then :
17946 if test ${PKG_CONFIG+y}
17947 then :
17948 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17951 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17952 if ${GSSAPI_LIBS:+false} :
17953 then :
17954 if test ${PKG_CONFIG+y}
17955 then :
17956 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17959 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17963 ac_save_CPPFLAGS=$CPPFLAGS
17964 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17965 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17966 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17967 then :
17968 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17971 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17972 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17973 then :
17974 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17978 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17979 then
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17981 printf %s "checking for -lgssapi_krb5... " >&6; }
17982 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17983 then :
17984 printf %s "(cached) " >&6
17985 else $as_nop
17986 ac_check_soname_save_LIBS=$LIBS
17987 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17994 char gss_init_sec_context ();
17996 main (void)
17998 return gss_init_sec_context ();
18000 return 0;
18002 _ACEOF
18003 if ac_fn_c_try_link "$LINENO"
18004 then :
18005 case "$LIBEXT" in
18006 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18007 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'` ;;
18008 *) 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'`
18009 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18010 then :
18011 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18012 fi ;;
18013 esac
18014 else $as_nop
18015 ac_cv_lib_soname_gssapi_krb5=
18017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18018 conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_check_soname_save_LIBS
18021 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18022 then :
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18024 printf "%s\n" "not found" >&6; }
18025 GSSAPI_CFLAGS=""
18026 else $as_nop
18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18028 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18030 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18034 else
18035 GSSAPI_CFLAGS=""
18037 CPPFLAGS=$ac_save_CPPFLAGS
18040 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18041 then :
18042 case "x$with_gssapi" in
18043 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18044 xno) ;;
18045 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18046 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18047 esac
18051 if test "$ac_cv_header_AL_al_h" = "yes"
18052 then
18053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18054 printf %s "checking for -lopenal... " >&6; }
18055 if test ${ac_cv_lib_soname_openal+y}
18056 then :
18057 printf %s "(cached) " >&6
18058 else $as_nop
18059 ac_check_soname_save_LIBS=$LIBS
18060 LIBS="-lopenal $LIBS"
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18064 /* Override any GCC internal prototype to avoid an error.
18065 Use char because int might match the return type of a GCC
18066 builtin and then its argument prototype would still apply. */
18067 char alGetSource3i ();
18069 main (void)
18071 return alGetSource3i ();
18073 return 0;
18075 _ACEOF
18076 if ac_fn_c_try_link "$LINENO"
18077 then :
18078 case "$LIBEXT" in
18079 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18080 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'` ;;
18081 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18082 if ${ac_cv_lib_soname_openal:+false} :
18083 then :
18084 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18085 fi ;;
18086 esac
18087 else $as_nop
18088 ac_cv_lib_soname_openal=
18090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18091 conftest$ac_exeext conftest.$ac_ext
18092 LIBS=$ac_check_soname_save_LIBS
18094 if ${ac_cv_lib_soname_openal:+false} :
18095 then :
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18097 printf "%s\n" "not found" >&6; }
18099 else $as_nop
18100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18101 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18103 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18105 OPENAL_LIBS="-lopenal"
18107 ac_cv_lib_openal=yes
18109 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18113 if test "x$ac_cv_lib_openal" != xyes
18114 then :
18115 case "x$with_openal" in
18116 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18117 xno) ;;
18118 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18119 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18120 esac
18121 enable_openal32=${enable_openal32:-no}
18124 if test "$ac_cv_header_libprocstat_h" = "yes"
18125 then
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18127 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18128 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18129 then :
18130 printf %s "(cached) " >&6
18131 else $as_nop
18132 ac_check_lib_save_LIBS=$LIBS
18133 LIBS="-lprocstat $LIBS"
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18137 /* Override any GCC internal prototype to avoid an error.
18138 Use char because int might match the return type of a GCC
18139 builtin and then its argument prototype would still apply. */
18140 char procstat_open_sysctl ();
18142 main (void)
18144 return procstat_open_sysctl ();
18146 return 0;
18148 _ACEOF
18149 if ac_fn_c_try_link "$LINENO"
18150 then :
18151 ac_cv_lib_procstat_procstat_open_sysctl=yes
18152 else $as_nop
18153 ac_cv_lib_procstat_procstat_open_sysctl=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18156 conftest$ac_exeext conftest.$ac_ext
18157 LIBS=$ac_check_lib_save_LIBS
18159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18160 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18161 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18162 then :
18164 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18166 PROCSTAT_LIBS="-lprocstat"
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18173 printf %s "checking for -lodbc... " >&6; }
18174 if test ${ac_cv_lib_soname_odbc+y}
18175 then :
18176 printf %s "(cached) " >&6
18177 else $as_nop
18178 ac_check_soname_save_LIBS=$LIBS
18179 LIBS="-lodbc $LIBS"
18180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18183 /* Override any GCC internal prototype to avoid an error.
18184 Use char because int might match the return type of a GCC
18185 builtin and then its argument prototype would still apply. */
18186 char SQLConnect ();
18188 main (void)
18190 return SQLConnect ();
18192 return 0;
18194 _ACEOF
18195 if ac_fn_c_try_link "$LINENO"
18196 then :
18197 case "$LIBEXT" in
18198 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18199 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'` ;;
18200 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18201 if ${ac_cv_lib_soname_odbc:+false} :
18202 then :
18203 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18204 fi ;;
18205 esac
18206 else $as_nop
18207 ac_cv_lib_soname_odbc=
18209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18210 conftest$ac_exeext conftest.$ac_ext
18211 LIBS=$ac_check_soname_save_LIBS
18213 if ${ac_cv_lib_soname_odbc:+false} :
18214 then :
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18216 printf "%s\n" "not found" >&6; }
18217 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18219 else $as_nop
18220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18221 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18223 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18228 if test "x$with_netapi" != "xno"
18229 then
18230 if ${NETAPI_CFLAGS:+false} :
18231 then :
18232 if test ${PKG_CONFIG+y}
18233 then :
18234 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18238 if ${NETAPI_LIBS:+false} :
18239 then :
18240 if test ${PKG_CONFIG+y}
18241 then :
18242 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18249 ac_save_CPPFLAGS=$CPPFLAGS
18250 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18252 printf %s "checking for -lnetapi... " >&6; }
18253 if test ${ac_cv_lib_soname_netapi+y}
18254 then :
18255 printf %s "(cached) " >&6
18256 else $as_nop
18257 ac_check_soname_save_LIBS=$LIBS
18258 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 /* Override any GCC internal prototype to avoid an error.
18263 Use char because int might match the return type of a GCC
18264 builtin and then its argument prototype would still apply. */
18265 char libnetapi_init ();
18267 main (void)
18269 return libnetapi_init ();
18271 return 0;
18273 _ACEOF
18274 if ac_fn_c_try_link "$LINENO"
18275 then :
18276 case "$LIBEXT" in
18277 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18278 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'` ;;
18279 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18280 if ${ac_cv_lib_soname_netapi:+false} :
18281 then :
18282 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18283 fi ;;
18284 esac
18285 else $as_nop
18286 ac_cv_lib_soname_netapi=
18288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18289 conftest$ac_exeext conftest.$ac_ext
18290 LIBS=$ac_check_soname_save_LIBS
18292 if ${ac_cv_lib_soname_netapi:+false} :
18293 then :
18294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18295 printf "%s\n" "not found" >&6; }
18296 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18298 else $as_nop
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18300 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18302 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18306 CPPFLAGS=$ac_save_CPPFLAGS
18309 if test "x$ac_cv_lib_soname_netapi" = "x"
18310 then :
18311 case "x$with_netapi" in
18312 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18313 xno) ;;
18314 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18315 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18316 esac
18317 enable_netapi=${enable_netapi:-no}
18321 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18322 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18323 then
18324 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18327 if test "x$with_vulkan" != "xno"
18328 then
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18330 printf %s "checking for -lvulkan... " >&6; }
18331 if test ${ac_cv_lib_soname_vulkan+y}
18332 then :
18333 printf %s "(cached) " >&6
18334 else $as_nop
18335 ac_check_soname_save_LIBS=$LIBS
18336 LIBS="-lvulkan $LIBS"
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18340 /* Override any GCC internal prototype to avoid an error.
18341 Use char because int might match the return type of a GCC
18342 builtin and then its argument prototype would still apply. */
18343 char vkGetInstanceProcAddr ();
18345 main (void)
18347 return vkGetInstanceProcAddr ();
18349 return 0;
18351 _ACEOF
18352 if ac_fn_c_try_link "$LINENO"
18353 then :
18354 case "$LIBEXT" in
18355 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18356 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'` ;;
18357 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18358 if ${ac_cv_lib_soname_vulkan:+false} :
18359 then :
18360 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18361 fi ;;
18362 esac
18363 else $as_nop
18364 ac_cv_lib_soname_vulkan=
18366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18367 conftest$ac_exeext conftest.$ac_ext
18368 LIBS=$ac_check_soname_save_LIBS
18370 if ${ac_cv_lib_soname_vulkan:+false} :
18371 then :
18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18373 printf "%s\n" "not found" >&6; }
18375 else $as_nop
18376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18377 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18379 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18383 if test "x$ac_cv_lib_soname_vulkan" = "x"
18384 then
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18386 printf %s "checking for -lMoltenVK... " >&6; }
18387 if test ${ac_cv_lib_soname_MoltenVK+y}
18388 then :
18389 printf %s "(cached) " >&6
18390 else $as_nop
18391 ac_check_soname_save_LIBS=$LIBS
18392 LIBS="-lMoltenVK $LIBS"
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18396 /* Override any GCC internal prototype to avoid an error.
18397 Use char because int might match the return type of a GCC
18398 builtin and then its argument prototype would still apply. */
18399 char vkGetInstanceProcAddr ();
18401 main (void)
18403 return vkGetInstanceProcAddr ();
18405 return 0;
18407 _ACEOF
18408 if ac_fn_c_try_link "$LINENO"
18409 then :
18410 case "$LIBEXT" in
18411 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18412 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'` ;;
18413 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18414 if ${ac_cv_lib_soname_MoltenVK:+false} :
18415 then :
18416 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18417 fi ;;
18418 esac
18419 else $as_nop
18420 ac_cv_lib_soname_MoltenVK=
18422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18423 conftest$ac_exeext conftest.$ac_ext
18424 LIBS=$ac_check_soname_save_LIBS
18426 if ${ac_cv_lib_soname_MoltenVK:+false} :
18427 then :
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18429 printf "%s\n" "not found" >&6; }
18431 else $as_nop
18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18433 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18435 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18441 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18442 then :
18443 case "x$with_vulkan" in
18444 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18445 xno) ;;
18446 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18447 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18448 esac
18452 if test "x$with_vkd3d" != "xno"
18453 then
18454 if ${VKD3D_CFLAGS:+false} :
18455 then :
18456 if test ${PKG_CONFIG+y}
18457 then :
18458 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
18462 if ${VKD3D_LIBS:+false} :
18463 then :
18464 if test ${PKG_CONFIG+y}
18465 then :
18466 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
18471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
18472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
18473 ac_save_CPPFLAGS=$CPPFLAGS
18474 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
18475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
18476 printf %s "checking for -lvkd3d... " >&6; }
18477 if test ${ac_cv_lib_soname_vkd3d+y}
18478 then :
18479 printf %s "(cached) " >&6
18480 else $as_nop
18481 ac_check_soname_save_LIBS=$LIBS
18482 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18486 /* Override any GCC internal prototype to avoid an error.
18487 Use char because int might match the return type of a GCC
18488 builtin and then its argument prototype would still apply. */
18489 char vkd3d_serialize_versioned_root_signature ();
18491 main (void)
18493 return vkd3d_serialize_versioned_root_signature ();
18495 return 0;
18497 _ACEOF
18498 if ac_fn_c_try_link "$LINENO"
18499 then :
18500 case "$LIBEXT" in
18501 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18502 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'` ;;
18503 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18504 if ${ac_cv_lib_soname_vkd3d:+false} :
18505 then :
18506 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18507 fi ;;
18508 esac
18509 else $as_nop
18510 ac_cv_lib_soname_vkd3d=
18512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18513 conftest$ac_exeext conftest.$ac_ext
18514 LIBS=$ac_check_soname_save_LIBS
18516 if ${ac_cv_lib_soname_vkd3d:+false} :
18517 then :
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18519 printf "%s\n" "not found" >&6; }
18521 else $as_nop
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
18523 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
18525 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
18529 CPPFLAGS=$ac_save_CPPFLAGS
18531 if ${VKD3D_SHADER_CFLAGS:+false} :
18532 then :
18533 if test ${PKG_CONFIG+y}
18534 then :
18535 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
18539 if ${VKD3D_SHADER_LIBS:+false} :
18540 then :
18541 if test ${PKG_CONFIG+y}
18542 then :
18543 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
18548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
18549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
18550 ac_save_CPPFLAGS=$CPPFLAGS
18551 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
18553 printf %s "checking for -lvkd3d-shader... " >&6; }
18554 if test ${ac_cv_lib_soname_vkd3d_shader+y}
18555 then :
18556 printf %s "(cached) " >&6
18557 else $as_nop
18558 ac_check_soname_save_LIBS=$LIBS
18559 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18563 /* Override any GCC internal prototype to avoid an error.
18564 Use char because int might match the return type of a GCC
18565 builtin and then its argument prototype would still apply. */
18566 char vkd3d_shader_compile ();
18568 main (void)
18570 return vkd3d_shader_compile ();
18572 return 0;
18574 _ACEOF
18575 if ac_fn_c_try_link "$LINENO"
18576 then :
18577 case "$LIBEXT" in
18578 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18579 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'` ;;
18580 *) 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'`
18581 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18582 then :
18583 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18584 fi ;;
18585 esac
18586 else $as_nop
18587 ac_cv_lib_soname_vkd3d_shader=
18589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18590 conftest$ac_exeext conftest.$ac_ext
18591 LIBS=$ac_check_soname_save_LIBS
18593 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
18594 then :
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18596 printf "%s\n" "not found" >&6; }
18598 else $as_nop
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
18600 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
18602 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
18606 CPPFLAGS=$ac_save_CPPFLAGS
18609 if test "x$ac_cv_lib_soname_vkd3d" = "x"
18610 then :
18611 case "x$with_vkd3d" in
18612 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
18613 xno) ;;
18614 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
18615 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
18616 esac
18619 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
18622 if test "x${GCC}" = "xyes"
18623 then
18624 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18626 saved_CFLAGS=$CFLAGS
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18628 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18629 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18630 then :
18631 printf %s "(cached) " >&6
18632 else $as_nop
18633 ac_wine_try_cflags_saved=$CFLAGS
18634 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 int main(int argc, char **argv) { return 0; }
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"
18640 then :
18641 ac_cv_cflags__Werror_unknown_warning_option=yes
18642 else $as_nop
18643 ac_cv_cflags__Werror_unknown_warning_option=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18646 conftest$ac_exeext conftest.$ac_ext
18647 CFLAGS=$ac_wine_try_cflags_saved
18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18650 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18651 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18652 then :
18653 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18656 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18657 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18658 then :
18659 printf %s "(cached) " >&6
18660 else $as_nop
18661 ac_wine_try_cflags_saved=$CFLAGS
18662 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 int main(int argc, char **argv) { return 0; }
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"
18668 then :
18669 ac_cv_cflags__Werror_unused_command_line_argument=yes
18670 else $as_nop
18671 ac_cv_cflags__Werror_unused_command_line_argument=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18674 conftest$ac_exeext conftest.$ac_ext
18675 CFLAGS=$ac_wine_try_cflags_saved
18677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18678 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18679 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18680 then :
18681 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18684 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18685 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18686 then :
18687 printf %s "(cached) " >&6
18688 else $as_nop
18689 ac_wine_try_cflags_saved=$CFLAGS
18690 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 int main(int argc, char **argv) { return 0; }
18694 _ACEOF
18695 if ac_fn_c_try_link "$LINENO"
18696 then :
18697 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18698 else $as_nop
18699 ac_cv_cflags__Werror_ignored_optimization_argument=no
18701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18702 conftest$ac_exeext conftest.$ac_ext
18703 CFLAGS=$ac_wine_try_cflags_saved
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18706 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18707 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18708 then :
18709 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18712 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18713 if test ${ac_cv_cflags__fcf_protection_none+y}
18714 then :
18715 printf %s "(cached) " >&6
18716 else $as_nop
18717 ac_wine_try_cflags_saved=$CFLAGS
18718 CFLAGS="$CFLAGS -fcf-protection=none"
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 int main(int argc, char **argv) { return 0; }
18722 _ACEOF
18723 if ac_fn_c_try_link "$LINENO"
18724 then :
18725 ac_cv_cflags__fcf_protection_none=yes
18726 else $as_nop
18727 ac_cv_cflags__fcf_protection_none=no
18729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18730 conftest$ac_exeext conftest.$ac_ext
18731 CFLAGS=$ac_wine_try_cflags_saved
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18734 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18735 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18736 then :
18737 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18740 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18741 if test ${ac_cv_cflags__fno_stack_protector+y}
18742 then :
18743 printf %s "(cached) " >&6
18744 else $as_nop
18745 ac_wine_try_cflags_saved=$CFLAGS
18746 CFLAGS="$CFLAGS -fno-stack-protector"
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 int main(int argc, char **argv) { return 0; }
18750 _ACEOF
18751 if ac_fn_c_try_link "$LINENO"
18752 then :
18753 ac_cv_cflags__fno_stack_protector=yes
18754 else $as_nop
18755 ac_cv_cflags__fno_stack_protector=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18758 conftest$ac_exeext conftest.$ac_ext
18759 CFLAGS=$ac_wine_try_cflags_saved
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18762 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18763 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18764 then :
18765 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18768 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18769 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18770 then :
18771 printf %s "(cached) " >&6
18772 else $as_nop
18773 ac_wine_try_cflags_saved=$CFLAGS
18774 CFLAGS="$CFLAGS -fno-strict-aliasing"
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 int main(int argc, char **argv) { return 0; }
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"
18780 then :
18781 ac_cv_cflags__fno_strict_aliasing=yes
18782 else $as_nop
18783 ac_cv_cflags__fno_strict_aliasing=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18786 conftest$ac_exeext conftest.$ac_ext
18787 CFLAGS=$ac_wine_try_cflags_saved
18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18790 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18791 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18792 then :
18793 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18796 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18797 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18798 then :
18799 printf %s "(cached) " >&6
18800 else $as_nop
18801 ac_wine_try_cflags_saved=$CFLAGS
18802 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 int main(int argc, char **argv) { return 0; }
18806 _ACEOF
18807 if ac_fn_c_try_link "$LINENO"
18808 then :
18809 ac_cv_cflags__Wdeclaration_after_statement=yes
18810 else $as_nop
18811 ac_cv_cflags__Wdeclaration_after_statement=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18814 conftest$ac_exeext conftest.$ac_ext
18815 CFLAGS=$ac_wine_try_cflags_saved
18817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18818 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18819 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18820 then :
18821 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18824 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18825 if test ${ac_cv_cflags__Wempty_body+y}
18826 then :
18827 printf %s "(cached) " >&6
18828 else $as_nop
18829 ac_wine_try_cflags_saved=$CFLAGS
18830 CFLAGS="$CFLAGS -Wempty-body"
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 int main(int argc, char **argv) { return 0; }
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"
18836 then :
18837 ac_cv_cflags__Wempty_body=yes
18838 else $as_nop
18839 ac_cv_cflags__Wempty_body=no
18841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18842 conftest$ac_exeext conftest.$ac_ext
18843 CFLAGS=$ac_wine_try_cflags_saved
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18846 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18847 if test "x$ac_cv_cflags__Wempty_body" = xyes
18848 then :
18849 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18852 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18853 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18854 then :
18855 printf %s "(cached) " >&6
18856 else $as_nop
18857 ac_wine_try_cflags_saved=$CFLAGS
18858 CFLAGS="$CFLAGS -Wignored-qualifiers"
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 int main(int argc, char **argv) { return 0; }
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"
18864 then :
18865 ac_cv_cflags__Wignored_qualifiers=yes
18866 else $as_nop
18867 ac_cv_cflags__Wignored_qualifiers=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18870 conftest$ac_exeext conftest.$ac_ext
18871 CFLAGS=$ac_wine_try_cflags_saved
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18874 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18875 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18876 then :
18877 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18880 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18881 if test ${ac_cv_cflags__Winit_self+y}
18882 then :
18883 printf %s "(cached) " >&6
18884 else $as_nop
18885 ac_wine_try_cflags_saved=$CFLAGS
18886 CFLAGS="$CFLAGS -Winit-self"
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 int main(int argc, char **argv) { return 0; }
18890 _ACEOF
18891 if ac_fn_c_try_link "$LINENO"
18892 then :
18893 ac_cv_cflags__Winit_self=yes
18894 else $as_nop
18895 ac_cv_cflags__Winit_self=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18898 conftest$ac_exeext conftest.$ac_ext
18899 CFLAGS=$ac_wine_try_cflags_saved
18901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18902 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18903 if test "x$ac_cv_cflags__Winit_self" = xyes
18904 then :
18905 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18908 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18909 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18910 then :
18911 printf %s "(cached) " >&6
18912 else $as_nop
18913 ac_wine_try_cflags_saved=$CFLAGS
18914 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 int main(int argc, char **argv) { return 0; }
18918 _ACEOF
18919 if ac_fn_c_try_link "$LINENO"
18920 then :
18921 ac_cv_cflags__Wpacked_not_aligned=yes
18922 else $as_nop
18923 ac_cv_cflags__Wpacked_not_aligned=no
18925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18926 conftest$ac_exeext conftest.$ac_ext
18927 CFLAGS=$ac_wine_try_cflags_saved
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18930 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18931 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18932 then :
18933 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18936 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18937 if test ${ac_cv_cflags__Wpragma_pack+y}
18938 then :
18939 printf %s "(cached) " >&6
18940 else $as_nop
18941 ac_wine_try_cflags_saved=$CFLAGS
18942 CFLAGS="$CFLAGS -Wpragma-pack"
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 int main(int argc, char **argv) { return 0; }
18946 _ACEOF
18947 if ac_fn_c_try_link "$LINENO"
18948 then :
18949 ac_cv_cflags__Wpragma_pack=yes
18950 else $as_nop
18951 ac_cv_cflags__Wpragma_pack=no
18953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18954 conftest$ac_exeext conftest.$ac_ext
18955 CFLAGS=$ac_wine_try_cflags_saved
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18958 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18959 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18960 then :
18961 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18964 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18965 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18966 then :
18967 printf %s "(cached) " >&6
18968 else $as_nop
18969 ac_wine_try_cflags_saved=$CFLAGS
18970 CFLAGS="$CFLAGS -Wshift-overflow=2"
18971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18973 int main(int argc, char **argv) { return 0; }
18974 _ACEOF
18975 if ac_fn_c_try_link "$LINENO"
18976 then :
18977 ac_cv_cflags__Wshift_overflow_2=yes
18978 else $as_nop
18979 ac_cv_cflags__Wshift_overflow_2=no
18981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18982 conftest$ac_exeext conftest.$ac_ext
18983 CFLAGS=$ac_wine_try_cflags_saved
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18986 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18987 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18988 then :
18989 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18992 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18993 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18994 then :
18995 printf %s "(cached) " >&6
18996 else $as_nop
18997 ac_wine_try_cflags_saved=$CFLAGS
18998 CFLAGS="$CFLAGS -Wstrict-prototypes"
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001 int main(int argc, char **argv) { return 0; }
19002 _ACEOF
19003 if ac_fn_c_try_link "$LINENO"
19004 then :
19005 ac_cv_cflags__Wstrict_prototypes=yes
19006 else $as_nop
19007 ac_cv_cflags__Wstrict_prototypes=no
19009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19010 conftest$ac_exeext conftest.$ac_ext
19011 CFLAGS=$ac_wine_try_cflags_saved
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19014 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19015 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19016 then :
19017 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19020 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19021 if test ${ac_cv_cflags__Wtype_limits+y}
19022 then :
19023 printf %s "(cached) " >&6
19024 else $as_nop
19025 ac_wine_try_cflags_saved=$CFLAGS
19026 CFLAGS="$CFLAGS -Wtype-limits"
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 int main(int argc, char **argv) { return 0; }
19030 _ACEOF
19031 if ac_fn_c_try_link "$LINENO"
19032 then :
19033 ac_cv_cflags__Wtype_limits=yes
19034 else $as_nop
19035 ac_cv_cflags__Wtype_limits=no
19037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19038 conftest$ac_exeext conftest.$ac_ext
19039 CFLAGS=$ac_wine_try_cflags_saved
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19042 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19043 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19044 then :
19045 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19048 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19049 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19050 then :
19051 printf %s "(cached) " >&6
19052 else $as_nop
19053 ac_wine_try_cflags_saved=$CFLAGS
19054 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19056 /* end confdefs.h. */
19057 int main(int argc, char **argv) { return 0; }
19058 _ACEOF
19059 if ac_fn_c_try_link "$LINENO"
19060 then :
19061 ac_cv_cflags__Wunused_but_set_parameter=yes
19062 else $as_nop
19063 ac_cv_cflags__Wunused_but_set_parameter=no
19065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19066 conftest$ac_exeext conftest.$ac_ext
19067 CFLAGS=$ac_wine_try_cflags_saved
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19070 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19071 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19072 then :
19073 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19076 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19077 if test ${ac_cv_cflags__Wvla+y}
19078 then :
19079 printf %s "(cached) " >&6
19080 else $as_nop
19081 ac_wine_try_cflags_saved=$CFLAGS
19082 CFLAGS="$CFLAGS -Wvla"
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 int main(int argc, char **argv) { return 0; }
19086 _ACEOF
19087 if ac_fn_c_try_link "$LINENO"
19088 then :
19089 ac_cv_cflags__Wvla=yes
19090 else $as_nop
19091 ac_cv_cflags__Wvla=no
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19094 conftest$ac_exeext conftest.$ac_ext
19095 CFLAGS=$ac_wine_try_cflags_saved
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19098 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19099 if test "x$ac_cv_cflags__Wvla" = xyes
19100 then :
19101 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19104 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19105 if test ${ac_cv_cflags__Wwrite_strings+y}
19106 then :
19107 printf %s "(cached) " >&6
19108 else $as_nop
19109 ac_wine_try_cflags_saved=$CFLAGS
19110 CFLAGS="$CFLAGS -Wwrite-strings"
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19113 int main(int argc, char **argv) { return 0; }
19114 _ACEOF
19115 if ac_fn_c_try_link "$LINENO"
19116 then :
19117 ac_cv_cflags__Wwrite_strings=yes
19118 else $as_nop
19119 ac_cv_cflags__Wwrite_strings=no
19121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19122 conftest$ac_exeext conftest.$ac_ext
19123 CFLAGS=$ac_wine_try_cflags_saved
19125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19126 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19127 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19128 then :
19129 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19132 if test -z "$CROSSTARGET"
19133 then
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
19135 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
19136 if test ${ac_cv_cflags__fexcess_precision_standard+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 ac_wine_try_cflags_saved=$CFLAGS
19141 CFLAGS="$CFLAGS -fexcess-precision=standard"
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 int main(int argc, char **argv) { return 0; }
19145 _ACEOF
19146 if ac_fn_c_try_link "$LINENO"
19147 then :
19148 ac_cv_cflags__fexcess_precision_standard=yes
19149 else $as_nop
19150 ac_cv_cflags__fexcess_precision_standard=no
19152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19153 conftest$ac_exeext conftest.$ac_ext
19154 CFLAGS=$ac_wine_try_cflags_saved
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19157 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19158 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19159 then :
19160 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19166 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19167 if test ${ac_cv_cflags__Wpointer_arith+y}
19168 then :
19169 printf %s "(cached) " >&6
19170 else $as_nop
19171 ac_wine_try_cflags_saved=$CFLAGS
19172 CFLAGS="$CFLAGS -Wpointer-arith"
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19175 int main(int argc, char **argv) { return 0; }
19176 _ACEOF
19177 if ac_fn_c_try_link "$LINENO"
19178 then :
19179 ac_cv_cflags__Wpointer_arith=yes
19180 else $as_nop
19181 ac_cv_cflags__Wpointer_arith=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19184 conftest$ac_exeext conftest.$ac_ext
19185 CFLAGS=$ac_wine_try_cflags_saved
19187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19188 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19189 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19190 then :
19191 saved_string_h_CFLAGS=$CFLAGS
19192 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19194 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19195 if test ${ac_cv_c_string_h_warnings+y}
19196 then :
19197 printf %s "(cached) " >&6
19198 else $as_nop
19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19201 #include <string.h>
19203 main (void)
19207 return 0;
19209 _ACEOF
19210 if ac_fn_c_try_compile "$LINENO"
19211 then :
19212 ac_cv_c_string_h_warnings=no
19213 else $as_nop
19214 ac_cv_c_string_h_warnings=yes
19216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19219 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19220 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19221 CFLAGS=$saved_string_h_CFLAGS
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19225 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19226 if test ${ac_cv_cflags__Wlogical_op+y}
19227 then :
19228 printf %s "(cached) " >&6
19229 else $as_nop
19230 ac_wine_try_cflags_saved=$CFLAGS
19231 CFLAGS="$CFLAGS -Wlogical-op"
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19234 int main(int argc, char **argv) { return 0; }
19235 _ACEOF
19236 if ac_fn_c_try_link "$LINENO"
19237 then :
19238 ac_cv_cflags__Wlogical_op=yes
19239 else $as_nop
19240 ac_cv_cflags__Wlogical_op=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19243 conftest$ac_exeext conftest.$ac_ext
19244 CFLAGS=$ac_wine_try_cflags_saved
19246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19247 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19248 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19249 then :
19250 saved_string_h_CFLAGS=$CFLAGS
19251 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19253 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19254 if test ${ac_cv_c_logicalop_noisy+y}
19255 then :
19256 printf %s "(cached) " >&6
19257 else $as_nop
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <string.h>
19261 char*f(const char *h,char n) {return strchr(h,n);}
19263 main (void)
19267 return 0;
19269 _ACEOF
19270 if ac_fn_c_try_compile "$LINENO"
19271 then :
19272 ac_cv_c_logicalop_noisy=no
19273 else $as_nop
19274 ac_cv_c_logicalop_noisy=yes
19276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19279 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19280 CFLAGS=$saved_string_h_CFLAGS
19281 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19285 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19286 if test ${wine_cv_64bit_compare_swap+y}
19287 then :
19288 printf %s "(cached) " >&6
19289 else $as_nop
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19293 #error no
19294 #endif
19296 main (void)
19300 return 0;
19302 _ACEOF
19303 if ac_fn_c_try_compile "$LINENO"
19304 then :
19305 wine_cv_64bit_compare_swap="none needed"
19306 else $as_nop
19307 case $host_cpu in
19308 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19309 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19310 *) wine_cv_64bit_compare_swap="unknown" ;;
19311 esac
19312 if test "x$wine_cv_64bit_compare_swap" != xunknown
19313 then
19314 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19318 #error no
19319 #endif
19321 main (void)
19325 return 0;
19327 _ACEOF
19328 if ac_fn_c_try_compile "$LINENO"
19329 then :
19331 else $as_nop
19332 wine_cv_64bit_compare_swap="unknown"
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19335 CFLAGS=$saved_CFLAGS
19338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19341 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19342 case "$wine_cv_64bit_compare_swap" in
19343 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19344 "none needed") ;;
19345 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19346 esac
19348 ac_debug_format_seen=""
19349 for ac_flag in $CFLAGS; do
19350 case $ac_flag in
19351 -gdwarf*) ac_debug_format_seen=yes ;;
19352 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19353 esac
19354 done
19355 if test "x$ac_debug_format_seen" = xdefault
19356 then
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19358 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19359 if test ${ac_cv_cflags__gdwarf_4+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else $as_nop
19363 ac_wine_try_cflags_saved=$CFLAGS
19364 CFLAGS="$CFLAGS -gdwarf-4"
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19367 int main(int argc, char **argv) { return 0; }
19368 _ACEOF
19369 if ac_fn_c_try_link "$LINENO"
19370 then :
19371 ac_cv_cflags__gdwarf_4=yes
19372 else $as_nop
19373 ac_cv_cflags__gdwarf_4=no
19375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19376 conftest$ac_exeext conftest.$ac_ext
19377 CFLAGS=$ac_wine_try_cflags_saved
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19380 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19381 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19382 then :
19383 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19387 MSVCRTFLAGS=""
19389 case $host_os in
19390 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19391 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19392 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 ac_wine_try_cflags_saved=$CFLAGS
19397 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19401 _ACEOF
19402 if ac_fn_c_try_link "$LINENO"
19403 then :
19404 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19405 else $as_nop
19406 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19409 conftest$ac_exeext conftest.$ac_ext
19410 CFLAGS=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19414 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19415 then :
19416 DELAYLOADFLAG="-Wl,-delayload,"
19418 fi ;;
19419 *) MSVCRTFLAGS="-D_WIN32"
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19421 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19422 if test ${ac_cv_cflags__fno_builtin+y}
19423 then :
19424 printf %s "(cached) " >&6
19425 else $as_nop
19426 ac_wine_try_cflags_saved=$CFLAGS
19427 CFLAGS="$CFLAGS -fno-builtin"
19428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19430 int main(int argc, char **argv) { return 0; }
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"
19433 then :
19434 ac_cv_cflags__fno_builtin=yes
19435 else $as_nop
19436 ac_cv_cflags__fno_builtin=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19439 conftest$ac_exeext conftest.$ac_ext
19440 CFLAGS=$ac_wine_try_cflags_saved
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19443 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19444 if test "x$ac_cv_cflags__fno_builtin" = xyes
19445 then :
19446 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19449 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19450 if test ${ac_cv_cflags__fshort_wchar+y}
19451 then :
19452 printf %s "(cached) " >&6
19453 else $as_nop
19454 ac_wine_try_cflags_saved=$CFLAGS
19455 CFLAGS="$CFLAGS -fshort-wchar"
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19458 int main(int argc, char **argv) { return 0; }
19459 _ACEOF
19460 if ac_fn_c_try_link "$LINENO"
19461 then :
19462 ac_cv_cflags__fshort_wchar=yes
19463 else $as_nop
19464 ac_cv_cflags__fshort_wchar=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19467 conftest$ac_exeext conftest.$ac_ext
19468 CFLAGS=$ac_wine_try_cflags_saved
19470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19471 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19472 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19473 then :
19474 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19477 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19478 if test ${ac_cv_cflags__Wno_format+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 ac_wine_try_cflags_saved=$CFLAGS
19483 CFLAGS="$CFLAGS -Wno-format"
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 int main(int argc, char **argv) { return 0; }
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"
19489 then :
19490 ac_cv_cflags__Wno_format=yes
19491 else $as_nop
19492 ac_cv_cflags__Wno_format=no
19494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19495 conftest$ac_exeext conftest.$ac_ext
19496 CFLAGS=$ac_wine_try_cflags_saved
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19499 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19500 if test "x$ac_cv_cflags__Wno_format" = xyes
19501 then :
19502 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19503 fi ;;
19504 esac
19506 case $host_cpu in
19507 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19508 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19509 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19510 then :
19511 printf %s "(cached) " >&6
19512 else $as_nop
19513 ac_wine_try_cflags_saved=$CFLAGS
19514 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 int main(int argc, char **argv) { return 0; }
19518 _ACEOF
19519 if ac_fn_c_try_link "$LINENO"
19520 then :
19521 ac_cv_cflags__fno_omit_frame_pointer=yes
19522 else $as_nop
19523 ac_cv_cflags__fno_omit_frame_pointer=no
19525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19526 conftest$ac_exeext conftest.$ac_ext
19527 CFLAGS=$ac_wine_try_cflags_saved
19529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19530 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19531 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19532 then :
19533 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19534 fi ;;
19535 *x86_64*)
19536 case $host_os in
19537 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19538 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19539 if test ${ac_cv_cflags__Wno_format+y}
19540 then :
19541 printf %s "(cached) " >&6
19542 else $as_nop
19543 ac_wine_try_cflags_saved=$CFLAGS
19544 CFLAGS="$CFLAGS -Wno-format"
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19547 int main(int argc, char **argv) { return 0; }
19548 _ACEOF
19549 if ac_fn_c_try_link "$LINENO"
19550 then :
19551 ac_cv_cflags__Wno_format=yes
19552 else $as_nop
19553 ac_cv_cflags__Wno_format=no
19555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19556 conftest$ac_exeext conftest.$ac_ext
19557 CFLAGS=$ac_wine_try_cflags_saved
19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19560 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19561 if test "x$ac_cv_cflags__Wno_format" = xyes
19562 then :
19563 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19564 fi ;;
19565 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
19566 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
19567 if test ${ac_cv_cflags__mabi_ms+y}
19568 then :
19569 printf %s "(cached) " >&6
19570 else $as_nop
19571 ac_wine_try_cflags_saved=$CFLAGS
19572 CFLAGS="$CFLAGS -mabi=ms"
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 int main(int argc, char **argv) { return 0; }
19576 _ACEOF
19577 if ac_fn_c_try_link "$LINENO"
19578 then :
19579 ac_cv_cflags__mabi_ms=yes
19580 else $as_nop
19581 ac_cv_cflags__mabi_ms=no
19583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19584 conftest$ac_exeext conftest.$ac_ext
19585 CFLAGS=$ac_wine_try_cflags_saved
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
19588 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
19589 if test "x$ac_cv_cflags__mabi_ms" = xyes
19590 then :
19591 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
19592 fi ;;
19593 esac ;;
19594 esac
19596 CFLAGS=$saved_CFLAGS
19598 if test "x$enable_werror" = "xyes"
19599 then
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19601 printf %s "checking whether the compiler supports -Werror... " >&6; }
19602 if test ${ac_cv_cflags__Werror+y}
19603 then :
19604 printf %s "(cached) " >&6
19605 else $as_nop
19606 ac_wine_try_cflags_saved=$CFLAGS
19607 CFLAGS="$CFLAGS -Werror"
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 int main(int argc, char **argv) { return 0; }
19611 _ACEOF
19612 if ac_fn_c_try_link "$LINENO"
19613 then :
19614 ac_cv_cflags__Werror=yes
19615 else $as_nop
19616 ac_cv_cflags__Werror=no
19618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19619 conftest$ac_exeext conftest.$ac_ext
19620 CFLAGS=$ac_wine_try_cflags_saved
19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19623 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19624 if test "x$ac_cv_cflags__Werror" = xyes
19625 then :
19626 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19629 if test "x$enable_build_id" = "xyes"
19630 then
19631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19632 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19633 if test ${ac_cv_cflags__Wl___build_id+y}
19634 then :
19635 printf %s "(cached) " >&6
19636 else $as_nop
19637 ac_wine_try_cflags_saved=$CFLAGS
19638 CFLAGS="$CFLAGS -Wl,--build-id"
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 int main(int argc, char **argv) { return 0; }
19642 _ACEOF
19643 if ac_fn_c_try_link "$LINENO"
19644 then :
19645 ac_cv_cflags__Wl___build_id=yes
19646 else $as_nop
19647 ac_cv_cflags__Wl___build_id=no
19649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19650 conftest$ac_exeext conftest.$ac_ext
19651 CFLAGS=$ac_wine_try_cflags_saved
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19654 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19655 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19656 then :
19657 CFLAGS="$CFLAGS -Wl,--build-id"
19658 LDFLAGS="$LDFLAGS -Wl,--build-id"
19664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19665 printf %s "checking for the need to disable Fortify... " >&6; }
19666 if test ${ac_cv_c_fortify_enabled+y}
19667 then :
19668 printf %s "(cached) " >&6
19669 else $as_nop
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 #include <string.h>
19674 main (void)
19676 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19677 #error Fortify enabled
19678 #endif
19680 return 0;
19682 _ACEOF
19683 if ac_fn_c_try_compile "$LINENO"
19684 then :
19685 ac_cv_c_fortify_enabled=no
19686 else $as_nop
19687 ac_cv_c_fortify_enabled=yes
19689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19692 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19693 if test "$ac_cv_c_fortify_enabled" = yes
19694 then
19695 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19700 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19701 if test ${ac_cv_c_cfi_support+y}
19702 then :
19703 printf %s "(cached) " >&6
19704 else $as_nop
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19707 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19709 main (void)
19713 return 0;
19715 _ACEOF
19716 if ac_fn_c_try_compile "$LINENO"
19717 then :
19718 ac_cv_c_cfi_support="yes"
19719 else $as_nop
19720 ac_cv_c_cfi_support="no"
19722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19725 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19726 if test "$ac_cv_c_cfi_support" = "yes"
19727 then
19728 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19729 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19730 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19731 else
19732 if test "x$enable_win64" = "xyes"
19733 then
19734 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19739 case $host_os in
19740 linux*)
19741 case $host_cpu in
19742 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19743 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19744 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19746 esac
19748 esac
19751 ac_save_CFLAGS="$CFLAGS"
19752 CFLAGS="$CFLAGS $BUILTINFLAG"
19753 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19754 if test "x$ac_cv_func_epoll_create" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19759 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19760 if test "x$ac_cv_func_fstatfs" = xyes
19761 then :
19762 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19765 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19766 if test "x$ac_cv_func_futimens" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19771 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19772 if test "x$ac_cv_func_futimes" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19778 if test "x$ac_cv_func_futimesat" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19783 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19784 if test "x$ac_cv_func_getattrlist" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19790 if test "x$ac_cv_func_getauxval" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19796 if test "x$ac_cv_func_getifaddrs" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19802 if test "x$ac_cv_func_getrandom" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19808 if test "x$ac_cv_func_kqueue" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19814 if test "x$ac_cv_func_mach_continuous_time" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19820 if test "x$ac_cv_func_pipe2" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19826 if test "x$ac_cv_func_port_create" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19832 if test "x$ac_cv_func_posix_fadvise" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19838 if test "x$ac_cv_func_posix_fallocate" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19844 if test "x$ac_cv_func_prctl" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19850 if test "x$ac_cv_func_proc_pidinfo" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19856 if test "x$ac_cv_func_sched_yield" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19862 if test "x$ac_cv_func_setproctitle" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19868 if test "x$ac_cv_func_setprogname" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19874 if test "x$ac_cv_func_sigprocmask" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19880 if test "x$ac_cv_func_sysinfo" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19886 if test "x$ac_cv_func_tcdrain" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19892 if test "x$ac_cv_func_thr_kill2" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19898 CFLAGS="$ac_save_CFLAGS"
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19901 printf %s "checking for library containing dlopen... " >&6; }
19902 if test ${ac_cv_search_dlopen+y}
19903 then :
19904 printf %s "(cached) " >&6
19905 else $as_nop
19906 ac_func_search_save_LIBS=$LIBS
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 /* Override any GCC internal prototype to avoid an error.
19911 Use char because int might match the return type of a GCC
19912 builtin and then its argument prototype would still apply. */
19913 char dlopen ();
19915 main (void)
19917 return dlopen ();
19919 return 0;
19921 _ACEOF
19922 for ac_lib in '' dl
19924 if test -z "$ac_lib"; then
19925 ac_res="none required"
19926 else
19927 ac_res=-l$ac_lib
19928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19930 if ac_fn_c_try_link "$LINENO"
19931 then :
19932 ac_cv_search_dlopen=$ac_res
19934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19935 conftest$ac_exeext
19936 if test ${ac_cv_search_dlopen+y}
19937 then :
19938 break
19940 done
19941 if test ${ac_cv_search_dlopen+y}
19942 then :
19944 else $as_nop
19945 ac_cv_search_dlopen=no
19947 rm conftest.$ac_ext
19948 LIBS=$ac_func_search_save_LIBS
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19951 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19952 ac_res=$ac_cv_search_dlopen
19953 if test "$ac_res" != no
19954 then :
19955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19959 ac_wine_check_funcs_save_LIBS="$LIBS"
19960 LIBS="$LIBS $DL_LIBS"
19961 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19962 if test "x$ac_cv_func_dlinfo" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19968 LIBS="$ac_wine_check_funcs_save_LIBS"
19970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19971 printf %s "checking for library containing gethostbyname... " >&6; }
19972 if test ${ac_cv_search_gethostbyname+y}
19973 then :
19974 printf %s "(cached) " >&6
19975 else $as_nop
19976 ac_func_search_save_LIBS=$LIBS
19977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978 /* end confdefs.h. */
19980 /* Override any GCC internal prototype to avoid an error.
19981 Use char because int might match the return type of a GCC
19982 builtin and then its argument prototype would still apply. */
19983 char gethostbyname ();
19985 main (void)
19987 return gethostbyname ();
19989 return 0;
19991 _ACEOF
19992 for ac_lib in '' nsl
19994 if test -z "$ac_lib"; then
19995 ac_res="none required"
19996 else
19997 ac_res=-l$ac_lib
19998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20000 if ac_fn_c_try_link "$LINENO"
20001 then :
20002 ac_cv_search_gethostbyname=$ac_res
20004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20005 conftest$ac_exeext
20006 if test ${ac_cv_search_gethostbyname+y}
20007 then :
20008 break
20010 done
20011 if test ${ac_cv_search_gethostbyname+y}
20012 then :
20014 else $as_nop
20015 ac_cv_search_gethostbyname=no
20017 rm conftest.$ac_ext
20018 LIBS=$ac_func_search_save_LIBS
20020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20021 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20022 ac_res=$ac_cv_search_gethostbyname
20023 if test "$ac_res" != no
20024 then :
20025 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20031 printf %s "checking for library containing connect... " >&6; }
20032 if test ${ac_cv_search_connect+y}
20033 then :
20034 printf %s "(cached) " >&6
20035 else $as_nop
20036 ac_func_search_save_LIBS=$LIBS
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20040 /* Override any GCC internal prototype to avoid an error.
20041 Use char because int might match the return type of a GCC
20042 builtin and then its argument prototype would still apply. */
20043 char connect ();
20045 main (void)
20047 return connect ();
20049 return 0;
20051 _ACEOF
20052 for ac_lib in '' socket
20054 if test -z "$ac_lib"; then
20055 ac_res="none required"
20056 else
20057 ac_res=-l$ac_lib
20058 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20060 if ac_fn_c_try_link "$LINENO"
20061 then :
20062 ac_cv_search_connect=$ac_res
20064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20065 conftest$ac_exeext
20066 if test ${ac_cv_search_connect+y}
20067 then :
20068 break
20070 done
20071 if test ${ac_cv_search_connect+y}
20072 then :
20074 else $as_nop
20075 ac_cv_search_connect=no
20077 rm conftest.$ac_ext
20078 LIBS=$ac_func_search_save_LIBS
20080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20081 printf "%s\n" "$ac_cv_search_connect" >&6; }
20082 ac_res=$ac_cv_search_connect
20083 if test "$ac_res" != no
20084 then :
20085 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20091 printf %s "checking for library containing inet_aton... " >&6; }
20092 if test ${ac_cv_search_inet_aton+y}
20093 then :
20094 printf %s "(cached) " >&6
20095 else $as_nop
20096 ac_func_search_save_LIBS=$LIBS
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20100 /* Override any GCC internal prototype to avoid an error.
20101 Use char because int might match the return type of a GCC
20102 builtin and then its argument prototype would still apply. */
20103 char inet_aton ();
20105 main (void)
20107 return inet_aton ();
20109 return 0;
20111 _ACEOF
20112 for ac_lib in '' resolv
20114 if test -z "$ac_lib"; then
20115 ac_res="none required"
20116 else
20117 ac_res=-l$ac_lib
20118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20120 if ac_fn_c_try_link "$LINENO"
20121 then :
20122 ac_cv_search_inet_aton=$ac_res
20124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20125 conftest$ac_exeext
20126 if test ${ac_cv_search_inet_aton+y}
20127 then :
20128 break
20130 done
20131 if test ${ac_cv_search_inet_aton+y}
20132 then :
20134 else $as_nop
20135 ac_cv_search_inet_aton=no
20137 rm conftest.$ac_ext
20138 LIBS=$ac_func_search_save_LIBS
20140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20141 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20142 ac_res=$ac_cv_search_inet_aton
20143 if test "$ac_res" != no
20144 then :
20145 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20150 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20151 if test "x$ac_cv_func_getaddrinfo" = xyes
20152 then :
20153 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20158 case $host_os in
20159 darwin*|macosx*) ;;
20160 *) ac_save_LIBS=$LIBS
20161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20162 printf %s "checking for library containing clock_gettime... " >&6; }
20163 if test ${ac_cv_search_clock_gettime+y}
20164 then :
20165 printf %s "(cached) " >&6
20166 else $as_nop
20167 ac_func_search_save_LIBS=$LIBS
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20171 /* Override any GCC internal prototype to avoid an error.
20172 Use char because int might match the return type of a GCC
20173 builtin and then its argument prototype would still apply. */
20174 char clock_gettime ();
20176 main (void)
20178 return clock_gettime ();
20180 return 0;
20182 _ACEOF
20183 for ac_lib in '' rt
20185 if test -z "$ac_lib"; then
20186 ac_res="none required"
20187 else
20188 ac_res=-l$ac_lib
20189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20191 if ac_fn_c_try_link "$LINENO"
20192 then :
20193 ac_cv_search_clock_gettime=$ac_res
20195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20196 conftest$ac_exeext
20197 if test ${ac_cv_search_clock_gettime+y}
20198 then :
20199 break
20201 done
20202 if test ${ac_cv_search_clock_gettime+y}
20203 then :
20205 else $as_nop
20206 ac_cv_search_clock_gettime=no
20208 rm conftest.$ac_ext
20209 LIBS=$ac_func_search_save_LIBS
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20212 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20213 ac_res=$ac_cv_search_clock_gettime
20214 if test "$ac_res" != no
20215 then :
20216 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20218 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20220 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20224 LIBS=$ac_save_LIBS
20226 esac
20228 if test "x$with_ldap" != "xno"
20229 then
20230 if ${LDAP_CFLAGS:+false} :
20231 then :
20232 if test ${PKG_CONFIG+y}
20233 then :
20234 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20238 if ${LDAP_LIBS:+false} :
20239 then :
20240 if test ${PKG_CONFIG+y}
20241 then :
20242 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20246 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20249 ac_save_CPPFLAGS=$CPPFLAGS
20250 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20251 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20252 if test "x$ac_cv_header_ldap_h" = xyes
20253 then :
20254 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20257 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20258 if test "x$ac_cv_header_lber_h" = xyes
20259 then :
20260 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20264 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20265 then
20266 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20268 if test "x$ac_cv_type_LDAPSortKey" = xyes
20269 then :
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20271 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20272 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20273 then :
20274 printf %s "(cached) " >&6
20275 else $as_nop
20276 ac_check_lib_save_LIBS=$LIBS
20277 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 /* end confdefs.h. */
20281 /* Override any GCC internal prototype to avoid an error.
20282 Use char because int might match the return type of a GCC
20283 builtin and then its argument prototype would still apply. */
20284 char ldap_initialize ();
20286 main (void)
20288 return ldap_initialize ();
20290 return 0;
20292 _ACEOF
20293 if ac_fn_c_try_link "$LINENO"
20294 then :
20295 ac_cv_lib_ldap_ldap_initialize=yes
20296 else $as_nop
20297 ac_cv_lib_ldap_ldap_initialize=no
20299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20300 conftest$ac_exeext conftest.$ac_ext
20301 LIBS=$ac_check_lib_save_LIBS
20303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20304 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20305 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20306 then :
20307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20308 printf %s "checking for ber_init in -llber... " >&6; }
20309 if test ${ac_cv_lib_lber_ber_init+y}
20310 then :
20311 printf %s "(cached) " >&6
20312 else $as_nop
20313 ac_check_lib_save_LIBS=$LIBS
20314 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20316 /* end confdefs.h. */
20318 /* Override any GCC internal prototype to avoid an error.
20319 Use char because int might match the return type of a GCC
20320 builtin and then its argument prototype would still apply. */
20321 char ber_init ();
20323 main (void)
20325 return ber_init ();
20327 return 0;
20329 _ACEOF
20330 if ac_fn_c_try_link "$LINENO"
20331 then :
20332 ac_cv_lib_lber_ber_init=yes
20333 else $as_nop
20334 ac_cv_lib_lber_ber_init=no
20336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20337 conftest$ac_exeext conftest.$ac_ext
20338 LIBS=$ac_check_lib_save_LIBS
20340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20341 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20342 if test "x$ac_cv_lib_lber_ber_init" = xyes
20343 then :
20345 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20347 else $as_nop
20348 LDAP_LIBS=""
20351 else $as_nop
20352 LDAP_LIBS=""
20355 else $as_nop
20356 LDAP_LIBS=""
20359 else
20360 LDAP_LIBS=""
20362 CPPFLAGS=$ac_save_CPPFLAGS
20365 if test "x$LDAP_LIBS" = "x"
20366 then :
20367 case "x$with_ldap" in
20368 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20369 xno) ;;
20370 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20371 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20372 esac
20376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20377 printf %s "checking for sched_setaffinity... " >&6; }
20378 if test ${wine_cv_have_sched_setaffinity+y}
20379 then :
20380 printf %s "(cached) " >&6
20381 else $as_nop
20382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20383 /* end confdefs.h. */
20384 #include <sched.h>
20386 main (void)
20388 sched_setaffinity(0, 0, 0);
20390 return 0;
20392 _ACEOF
20393 if ac_fn_c_try_link "$LINENO"
20394 then :
20395 wine_cv_have_sched_setaffinity=yes
20396 else $as_nop
20397 wine_cv_have_sched_setaffinity=no
20399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20400 conftest$ac_exeext conftest.$ac_ext
20402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20403 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20404 if test "$wine_cv_have_sched_setaffinity" = "yes"
20405 then
20407 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20413 printf %s "checking for inline... " >&6; }
20414 if test ${ac_cv_c_inline+y}
20415 then :
20416 printf %s "(cached) " >&6
20417 else $as_nop
20418 ac_cv_c_inline=no
20419 for ac_kw in inline __inline__ __inline; do
20420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20421 /* end confdefs.h. */
20422 #ifndef __cplusplus
20423 typedef int foo_t;
20424 static $ac_kw foo_t static_foo (void) {return 0; }
20425 $ac_kw foo_t foo (void) {return 0; }
20426 #endif
20428 _ACEOF
20429 if ac_fn_c_try_compile "$LINENO"
20430 then :
20431 ac_cv_c_inline=$ac_kw
20433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20434 test "$ac_cv_c_inline" != no && break
20435 done
20438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20439 printf "%s\n" "$ac_cv_c_inline" >&6; }
20441 case $ac_cv_c_inline in
20442 inline | yes) ;;
20444 case $ac_cv_c_inline in
20445 no) ac_val=;;
20446 *) ac_val=$ac_cv_c_inline;;
20447 esac
20448 cat >>confdefs.h <<_ACEOF
20449 #ifndef __cplusplus
20450 #define inline $ac_val
20451 #endif
20452 _ACEOF
20454 esac
20456 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20457 #include <signal.h>
20459 if test "x$ac_cv_type_sigset_t" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20467 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20469 if test "x$ac_cv_type_request_sense" = xyes
20470 then :
20472 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20478 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20479 #include <sys/socket.h>
20480 #ifdef HAVE_SYS_SOCKETVAR_H
20481 #include <sys/socketvar.h>
20482 #endif
20483 #ifdef HAVE_NET_ROUTE_H
20484 #include <net/route.h>
20485 #endif
20486 #ifdef HAVE_NETINET_IN_H
20487 #include <netinet/in.h>
20488 #endif
20489 #ifdef HAVE_NETINET_IN_SYSTM_H
20490 #include <netinet/in_systm.h>
20491 #endif
20492 #ifdef HAVE_NETINET_IP_H
20493 #include <netinet/ip.h>
20494 #endif
20495 #ifdef HAVE_NETINET_IN_PCB_H
20496 #include <netinet/in_pcb.h>
20497 #endif
20499 if test "x$ac_cv_type_struct_xinpgen" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20509 printf %s "checking for sigaddset... " >&6; }
20510 if test ${wine_cv_have_sigaddset+y}
20511 then :
20512 printf %s "(cached) " >&6
20513 else $as_nop
20514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20515 /* end confdefs.h. */
20516 #include <signal.h>
20518 main (void)
20520 sigset_t set; sigaddset(&set,SIGTERM);
20522 return 0;
20524 _ACEOF
20525 if ac_fn_c_try_link "$LINENO"
20526 then :
20527 wine_cv_have_sigaddset=yes
20528 else $as_nop
20529 wine_cv_have_sigaddset=no
20531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20532 conftest$ac_exeext conftest.$ac_ext
20534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20535 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20536 if test "$wine_cv_have_sigaddset" = "yes"
20537 then
20539 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20545 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20546 if test ${wine_cv_linux_gethostbyname_r_6+y}
20547 then :
20548 printf %s "(cached) " >&6
20549 else $as_nop
20550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20551 /* end confdefs.h. */
20552 #include <netdb.h>
20554 main (void)
20557 char *name=0;
20558 struct hostent he;
20559 struct hostent *result;
20560 char *buf=0;
20561 int bufsize=0;
20562 int errnr;
20563 char *addr=0;
20564 int addrlen=0;
20565 int addrtype=0;
20566 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20567 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20570 return 0;
20572 _ACEOF
20573 if ac_fn_c_try_link "$LINENO"
20574 then :
20575 wine_cv_linux_gethostbyname_r_6=yes
20576 else $as_nop
20577 wine_cv_linux_gethostbyname_r_6=no
20580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20581 conftest$ac_exeext conftest.$ac_ext
20584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20585 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20586 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20587 then
20589 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20594 #include <sys/socket.h>
20595 #ifdef HAVE_SYS_UN_H
20596 # include <sys/un.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20607 #include <sys/socket.h>
20608 #ifdef HAVE_SYS_UN_H
20609 # include <sys/un.h>
20610 #endif
20612 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20613 then :
20615 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20621 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20622 #ifdef HAVE_SCSI_SG_H
20623 #include <scsi/sg.h>
20624 #endif
20626 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20627 then :
20629 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20633 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>
20634 #ifdef HAVE_SCSI_SG_H
20635 #include <scsi/sg.h>
20636 #endif
20638 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20647 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20649 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20659 #ifdef HAVE_SYS_MTIO_H
20660 #include <sys/mtio.h>
20661 #endif
20663 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20664 then :
20666 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20670 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20671 #ifdef HAVE_SYS_MTIO_H
20672 #include <sys/mtio.h>
20673 #endif
20675 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20676 then :
20678 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20682 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20683 #ifdef HAVE_SYS_MTIO_H
20684 #include <sys/mtio.h>
20685 #endif
20687 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20688 then :
20690 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20696 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20697 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20705 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20706 then :
20708 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20713 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20714 then :
20716 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20720 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20721 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20728 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20729 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20730 then :
20732 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20736 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20737 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20738 then :
20740 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20744 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20745 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20746 then :
20748 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20752 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20753 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20754 then :
20756 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20760 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20761 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20762 then :
20764 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20768 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20769 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20770 then :
20772 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20776 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20777 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20778 then :
20780 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20786 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>
20787 #ifdef HAVE_NETINET_IN_H
20788 #include <netinet/in.h>
20789 #endif
20791 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20792 then :
20794 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20800 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
20801 #include <resolv.h>
20802 #endif
20804 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20805 then :
20807 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20813 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20814 #include <netinet/in.h>
20815 #endif
20817 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20818 then :
20820 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20826 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20827 #ifdef HAVE_SYS_SOCKETVAR_H
20828 #include <sys/socketvar.h>
20829 #endif
20830 #ifdef HAVE_NETINET_IN_H
20831 #include <netinet/in.h>
20832 #endif
20833 #ifdef HAVE_NETINET_IP_VAR_H
20834 #include <netinet/ip_var.h>
20835 #endif
20837 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20838 then :
20840 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20846 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
20847 #include <netinet/ip_var.h>
20848 #endif
20850 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20851 then :
20853 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20859 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20860 #ifdef HAVE_SYS_SOCKETVAR_H
20861 #include <sys/socketvar.h>
20862 #endif
20863 #ifdef HAVE_NETINET_IN_H
20864 #include <netinet/in.h>
20865 #endif
20866 #ifdef HAVE_NETINET_TCP_H
20867 #include <netinet/tcp.h>
20868 #endif
20869 #ifdef HAVE_NETINET_TCP_VAR_H
20870 #include <netinet/tcp_var.h>
20871 #endif
20873 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20874 then :
20876 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20882 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
20883 #include <netinet/tcp_var.h>
20884 #endif
20886 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20887 then :
20889 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20895 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20896 #ifdef HAVE_NETINET_IN_H
20897 #include <netinet/in.h>
20898 #endif
20899 #ifdef HAVE_NETINET_IP_VAR_H
20900 #include <netinet/ip_var.h>
20901 #endif
20902 #ifdef HAVE_NETINET_UDP_H
20903 #include <netinet/udp.h>
20904 #endif
20905 #ifdef HAVE_NETINET_UDP_VAR_H
20906 #include <netinet/udp_var.h>
20907 #endif
20909 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20910 then :
20912 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20918 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20919 #ifdef HAVE_NET_IF_H
20920 # include <net/if.h>
20921 #endif
20923 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20924 then :
20926 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20932 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20933 # include <sys/sysinfo.h>
20934 #endif
20936 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20937 then :
20939 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20943 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20944 # include <sys/sysinfo.h>
20945 #endif
20947 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20948 then :
20950 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20956 ac_save_LIBS="$LIBS"
20957 LIBS="$LIBS -lm"
20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20959 printf %s "checking for isfinite... " >&6; }
20960 if test ${ac_cv_have_isfinite+y}
20961 then :
20962 printf %s "(cached) " >&6
20963 else $as_nop
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <math.h>
20968 main (void)
20970 float f = 0.0; return isfinite(f)
20972 return 0;
20974 _ACEOF
20975 if ac_fn_c_try_link "$LINENO"
20976 then :
20977 ac_cv_have_isfinite="yes"
20978 else $as_nop
20979 ac_cv_have_isfinite="no"
20981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20982 conftest$ac_exeext conftest.$ac_ext
20984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20985 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20986 if test "$ac_cv_have_isfinite" = "yes"
20987 then
20989 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20994 printf %s "checking for isinf... " >&6; }
20995 if test ${ac_cv_have_isinf+y}
20996 then :
20997 printf %s "(cached) " >&6
20998 else $as_nop
20999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21000 /* end confdefs.h. */
21001 #include <math.h>
21003 main (void)
21005 float f = 0.0; return isinf(f)
21007 return 0;
21009 _ACEOF
21010 if ac_fn_c_try_link "$LINENO"
21011 then :
21012 ac_cv_have_isinf="yes"
21013 else $as_nop
21014 ac_cv_have_isinf="no"
21016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21017 conftest$ac_exeext conftest.$ac_ext
21019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
21020 printf "%s\n" "$ac_cv_have_isinf" >&6; }
21021 if test "$ac_cv_have_isinf" = "yes"
21022 then
21024 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
21029 printf %s "checking for isnan... " >&6; }
21030 if test ${ac_cv_have_isnan+y}
21031 then :
21032 printf %s "(cached) " >&6
21033 else $as_nop
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 #include <math.h>
21038 main (void)
21040 float f = 0.0; return isnan(f)
21042 return 0;
21044 _ACEOF
21045 if ac_fn_c_try_link "$LINENO"
21046 then :
21047 ac_cv_have_isnan="yes"
21048 else $as_nop
21049 ac_cv_have_isnan="no"
21051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21052 conftest$ac_exeext conftest.$ac_ext
21054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
21055 printf "%s\n" "$ac_cv_have_isnan" >&6; }
21056 if test "$ac_cv_have_isnan" = "yes"
21057 then
21059 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
21063 LIBS="$ac_save_LIBS"
21065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21066 printf %s "checking for __builtin_popcount... " >&6; }
21067 if test ${ac_cv_have___builtin_popcount+y}
21068 then :
21069 printf %s "(cached) " >&6
21070 else $as_nop
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21075 main (void)
21077 return __builtin_popcount(1)
21079 return 0;
21081 _ACEOF
21082 if ac_fn_c_try_link "$LINENO"
21083 then :
21084 ac_cv_have___builtin_popcount="yes"
21085 else $as_nop
21086 ac_cv_have___builtin_popcount="no"
21088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21089 conftest$ac_exeext conftest.$ac_ext
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21092 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21093 if test "$ac_cv_have___builtin_popcount" = "yes"
21094 then
21096 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21101 printf %s "checking for __clear_cache... " >&6; }
21102 if test ${ac_cv_have___clear_cache+y}
21103 then :
21104 printf %s "(cached) " >&6
21105 else $as_nop
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21110 main (void)
21112 __clear_cache((void*)0, (void*)0); return 0;
21114 return 0;
21116 _ACEOF
21117 if ac_fn_c_try_link "$LINENO"
21118 then :
21119 ac_cv_have___clear_cache="yes"
21120 else $as_nop
21121 ac_cv_have___clear_cache="no"
21123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21124 conftest$ac_exeext conftest.$ac_ext
21126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21127 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21128 if test "$ac_cv_have___clear_cache" = "yes"
21129 then
21131 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21136 case $host_cpu in
21137 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21138 printf %s "checking whether we need to define __i386__... " >&6; }
21139 if test ${ac_cv_cpp_def___i386__+y}
21140 then :
21141 printf %s "(cached) " >&6
21142 else $as_nop
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21145 #ifndef __i386__
21147 #endif
21148 _ACEOF
21149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21150 $EGREP "yes" >/dev/null 2>&1
21151 then :
21152 ac_cv_cpp_def___i386__=yes
21153 else $as_nop
21154 ac_cv_cpp_def___i386__=no
21156 rm -rf conftest*
21159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21160 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21161 if test "x$ac_cv_cpp_def___i386__" = xyes
21162 then :
21163 CFLAGS="$CFLAGS -D__i386__"
21164 LINTFLAGS="$LINTFLAGS -D__i386__"
21165 fi ;;
21166 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21167 printf %s "checking whether we need to define __x86_64__... " >&6; }
21168 if test ${ac_cv_cpp_def___x86_64__+y}
21169 then :
21170 printf %s "(cached) " >&6
21171 else $as_nop
21172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21173 /* end confdefs.h. */
21174 #ifndef __x86_64__
21176 #endif
21177 _ACEOF
21178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21179 $EGREP "yes" >/dev/null 2>&1
21180 then :
21181 ac_cv_cpp_def___x86_64__=yes
21182 else $as_nop
21183 ac_cv_cpp_def___x86_64__=no
21185 rm -rf conftest*
21188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21189 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21190 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21191 then :
21192 CFLAGS="$CFLAGS -D__x86_64__"
21193 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21194 fi ;;
21195 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21196 printf %s "checking whether we need to define __sparc64__... " >&6; }
21197 if test ${ac_cv_cpp_def___sparc64__+y}
21198 then :
21199 printf %s "(cached) " >&6
21200 else $as_nop
21201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21203 #ifndef __sparc64__
21205 #endif
21206 _ACEOF
21207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21208 $EGREP "yes" >/dev/null 2>&1
21209 then :
21210 ac_cv_cpp_def___sparc64__=yes
21211 else $as_nop
21212 ac_cv_cpp_def___sparc64__=no
21214 rm -rf conftest*
21217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21218 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21219 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21220 then :
21221 CFLAGS="$CFLAGS -D__sparc64__"
21222 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21223 fi ;;
21224 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21225 printf %s "checking whether we need to define __sparc__... " >&6; }
21226 if test ${ac_cv_cpp_def___sparc__+y}
21227 then :
21228 printf %s "(cached) " >&6
21229 else $as_nop
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #ifndef __sparc__
21234 #endif
21235 _ACEOF
21236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21237 $EGREP "yes" >/dev/null 2>&1
21238 then :
21239 ac_cv_cpp_def___sparc__=yes
21240 else $as_nop
21241 ac_cv_cpp_def___sparc__=no
21243 rm -rf conftest*
21246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21247 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21248 if test "x$ac_cv_cpp_def___sparc__" = xyes
21249 then :
21250 CFLAGS="$CFLAGS -D__sparc__"
21251 LINTFLAGS="$LINTFLAGS -D__sparc__"
21252 fi ;;
21253 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21254 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21255 if test ${ac_cv_cpp_def___powerpc64__+y}
21256 then :
21257 printf %s "(cached) " >&6
21258 else $as_nop
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21260 /* end confdefs.h. */
21261 #ifndef __powerpc64__
21263 #endif
21264 _ACEOF
21265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21266 $EGREP "yes" >/dev/null 2>&1
21267 then :
21268 ac_cv_cpp_def___powerpc64__=yes
21269 else $as_nop
21270 ac_cv_cpp_def___powerpc64__=no
21272 rm -rf conftest*
21275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21276 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21277 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21278 then :
21279 CFLAGS="$CFLAGS -D__powerpc64__"
21280 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21281 fi ;;
21282 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21283 printf %s "checking whether we need to define __powerpc__... " >&6; }
21284 if test ${ac_cv_cpp_def___powerpc__+y}
21285 then :
21286 printf %s "(cached) " >&6
21287 else $as_nop
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 #ifndef __powerpc__
21292 #endif
21293 _ACEOF
21294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21295 $EGREP "yes" >/dev/null 2>&1
21296 then :
21297 ac_cv_cpp_def___powerpc__=yes
21298 else $as_nop
21299 ac_cv_cpp_def___powerpc__=no
21301 rm -rf conftest*
21304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21305 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21306 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21307 then :
21308 CFLAGS="$CFLAGS -D__powerpc__"
21309 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21310 fi ;;
21311 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21312 printf %s "checking whether we need to define __aarch64__... " >&6; }
21313 if test ${ac_cv_cpp_def___aarch64__+y}
21314 then :
21315 printf %s "(cached) " >&6
21316 else $as_nop
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #ifndef __aarch64__
21321 #endif
21322 _ACEOF
21323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21324 $EGREP "yes" >/dev/null 2>&1
21325 then :
21326 ac_cv_cpp_def___aarch64__=yes
21327 else $as_nop
21328 ac_cv_cpp_def___aarch64__=no
21330 rm -rf conftest*
21333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21334 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21335 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21336 then :
21337 CFLAGS="$CFLAGS -D__aarch64__"
21338 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21339 fi ;;
21340 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21341 printf %s "checking whether we need to define __arm__... " >&6; }
21342 if test ${ac_cv_cpp_def___arm__+y}
21343 then :
21344 printf %s "(cached) " >&6
21345 else $as_nop
21346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21347 /* end confdefs.h. */
21348 #ifndef __arm__
21350 #endif
21351 _ACEOF
21352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21353 $EGREP "yes" >/dev/null 2>&1
21354 then :
21355 ac_cv_cpp_def___arm__=yes
21356 else $as_nop
21357 ac_cv_cpp_def___arm__=no
21359 rm -rf conftest*
21362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21363 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21364 if test "x$ac_cv_cpp_def___arm__" = xyes
21365 then :
21366 CFLAGS="$CFLAGS -D__arm__"
21367 LINTFLAGS="$LINTFLAGS -D__arm__"
21368 fi ;;
21369 esac
21371 case $host_vendor in
21372 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21373 printf %s "checking whether we need to define __sun__... " >&6; }
21374 if test ${ac_cv_cpp_def___sun__+y}
21375 then :
21376 printf %s "(cached) " >&6
21377 else $as_nop
21378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21379 /* end confdefs.h. */
21380 #ifndef __sun__
21382 #endif
21383 _ACEOF
21384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21385 $EGREP "yes" >/dev/null 2>&1
21386 then :
21387 ac_cv_cpp_def___sun__=yes
21388 else $as_nop
21389 ac_cv_cpp_def___sun__=no
21391 rm -rf conftest*
21394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21395 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21396 if test "x$ac_cv_cpp_def___sun__" = xyes
21397 then :
21398 CFLAGS="$CFLAGS -D__sun__"
21399 LINTFLAGS="$LINTFLAGS -D__sun__"
21400 fi ;;
21401 esac
21407 ac_config_commands="$ac_config_commands include/stamp-h"
21409 printf %s "creating Makefile rules..." >&6
21411 makedep_flags=""
21412 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21414 wine_srcdir=
21415 test "$srcdir" = . || wine_srcdir="$srcdir/"
21417 ac_config_links="$ac_config_links wine:tools/winewrapper"
21418 wine_fn_config_symlink wine
21419 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21420 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21421 wine_fn_config_symlink wine64
21424 wine_fn_config_makefile dlls/acledit enable_acledit
21425 wine_fn_config_makefile dlls/aclui enable_aclui
21426 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21427 wine_fn_config_makefile dlls/activeds enable_activeds
21428 wine_fn_config_makefile dlls/activeds/tests enable_tests
21429 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21430 wine_fn_config_makefile dlls/adsldp enable_adsldp
21431 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21432 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21433 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21434 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21435 wine_fn_config_makefile dlls/advpack enable_advpack
21436 wine_fn_config_makefile dlls/advpack/tests enable_tests
21437 wine_fn_config_makefile dlls/amsi enable_amsi
21438 wine_fn_config_makefile dlls/amstream enable_amstream
21439 wine_fn_config_makefile dlls/amstream/tests enable_tests
21440 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
21441 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-0 enable_api_ms_win_appmodel_runtime_l1_1_0
21442 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
21443 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
21444 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
21445 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
21446 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
21447 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
21448 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
21449 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
21450 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
21451 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
21452 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
21453 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
21454 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
21455 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
21456 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
21457 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
21458 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
21459 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
21460 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
21461 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
21462 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
21463 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
21464 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
21465 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
21466 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
21467 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
21468 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
21469 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
21470 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
21471 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
21472 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
21473 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
21474 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
21475 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
21476 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
21477 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
21478 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
21479 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
21480 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
21481 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
21482 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
21483 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
21484 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
21485 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
21486 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
21487 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
21488 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
21489 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
21490 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
21491 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
21492 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
21493 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
21494 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
21495 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
21496 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
21497 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
21498 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
21499 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
21500 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
21501 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
21502 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
21503 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
21504 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
21505 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
21506 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
21507 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
21508 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
21509 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
21510 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
21511 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
21512 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
21513 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
21514 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
21515 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
21516 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
21517 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
21518 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
21519 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
21520 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
21521 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
21522 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
21523 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
21524 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
21525 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
21526 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
21527 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
21528 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
21529 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
21530 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
21531 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
21532 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
21533 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
21534 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
21535 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
21536 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
21537 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
21538 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
21539 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
21540 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
21541 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
21542 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
21543 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
21544 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
21545 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
21546 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
21547 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
21548 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
21549 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
21550 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
21551 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
21552 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
21553 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
21554 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
21555 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
21556 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
21557 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
21558 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21559 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21560 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21561 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21562 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21563 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21564 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21565 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21566 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21567 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21568 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21569 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21570 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21571 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21572 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21573 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21574 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21575 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21576 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21577 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21578 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21579 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21580 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-1 enable_api_ms_win_core_windowserrorreporting_l1_1_1
21581 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21582 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21583 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21584 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21585 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21586 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21587 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21588 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21589 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21590 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21591 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21592 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21593 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21594 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21595 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21596 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21597 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21598 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21599 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21600 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21601 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21602 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21603 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21604 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21605 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21606 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21607 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21608 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21609 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21610 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21611 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21612 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21613 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21614 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21615 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21616 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21617 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21618 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21619 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21620 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21621 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21622 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21623 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21624 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21625 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21626 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21627 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21628 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21629 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21630 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21631 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21632 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21633 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21634 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21635 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21636 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21637 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21638 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21639 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21640 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21641 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21642 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21643 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21644 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21645 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21646 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21647 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21648 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21649 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21650 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21651 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21652 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21653 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21654 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21655 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21656 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21657 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21658 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21659 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21660 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21661 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21662 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21663 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21664 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21665 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21666 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21667 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21668 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21669 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21670 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21671 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21672 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21673 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21674 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21675 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21676 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21677 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21678 wine_fn_config_makefile dlls/apphelp enable_apphelp
21679 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21680 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21681 wine_fn_config_makefile dlls/atl enable_atl
21682 wine_fn_config_makefile dlls/atl/tests enable_tests
21683 wine_fn_config_makefile dlls/atl100 enable_atl100
21684 wine_fn_config_makefile dlls/atl100/tests enable_tests
21685 wine_fn_config_makefile dlls/atl110 enable_atl110
21686 wine_fn_config_makefile dlls/atl80 enable_atl80
21687 wine_fn_config_makefile dlls/atl80/tests enable_tests
21688 wine_fn_config_makefile dlls/atl90 enable_atl90
21689 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21690 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21691 wine_fn_config_makefile dlls/atmlib enable_atmlib
21692 wine_fn_config_makefile dlls/authz enable_authz
21693 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21694 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21695 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21696 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21697 wine_fn_config_makefile dlls/avrt enable_avrt
21698 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21699 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21700 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21701 wine_fn_config_makefile dlls/browseui enable_browseui
21702 wine_fn_config_makefile dlls/browseui/tests enable_tests
21703 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21704 wine_fn_config_makefile dlls/cabinet enable_cabinet
21705 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21706 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21707 wine_fn_config_makefile dlls/cards enable_cards
21708 wine_fn_config_makefile dlls/cdosys enable_cdosys
21709 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21710 wine_fn_config_makefile dlls/clusapi enable_clusapi
21711 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21712 wine_fn_config_makefile dlls/combase enable_combase
21713 wine_fn_config_makefile dlls/combase/tests enable_tests
21714 wine_fn_config_makefile dlls/comcat enable_comcat
21715 wine_fn_config_makefile dlls/comcat/tests enable_tests
21716 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21717 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21718 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21719 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21720 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21721 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21722 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21723 wine_fn_config_makefile dlls/compstui enable_compstui
21724 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21725 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21726 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21727 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21728 wine_fn_config_makefile dlls/connect enable_connect
21729 wine_fn_config_makefile dlls/credui enable_credui
21730 wine_fn_config_makefile dlls/credui/tests enable_tests
21731 wine_fn_config_makefile dlls/crtdll enable_crtdll
21732 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21733 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21734 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21735 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21736 wine_fn_config_makefile dlls/cryptext enable_cryptext
21737 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21738 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21739 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21740 wine_fn_config_makefile dlls/cryptui enable_cryptui
21741 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21742 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21743 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21744 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21745 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21746 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21747 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21748 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21749 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21750 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21751 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21752 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21753 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21754 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21755 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21756 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21757 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21758 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21759 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21760 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21761 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21762 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21763 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21764 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21765 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21766 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21767 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21768 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21769 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21770 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21771 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21772 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21773 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21774 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21775 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21776 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21777 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21778 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21779 wine_fn_config_makefile dlls/d3dim enable_d3dim
21780 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21781 wine_fn_config_makefile dlls/d3drm enable_d3drm
21782 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21783 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21784 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21785 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21786 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21787 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21788 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21789 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21790 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21791 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21792 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21793 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21794 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21795 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21796 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21797 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21798 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21799 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21800 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21801 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21802 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21803 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21804 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21805 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21806 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21807 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21808 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21809 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21810 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21811 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21812 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21813 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21814 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21815 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21816 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21817 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21818 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21819 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21820 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21821 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21822 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21823 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21824 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21825 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21826 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21827 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21828 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21829 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21830 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21831 wine_fn_config_makefile dlls/davclnt enable_davclnt
21832 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21833 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21834 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21835 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21836 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21837 wine_fn_config_makefile dlls/dcomp enable_dcomp
21838 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21839 wine_fn_config_makefile dlls/ddraw enable_ddraw
21840 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21841 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21842 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21843 wine_fn_config_makefile dlls/devenum enable_devenum
21844 wine_fn_config_makefile dlls/devenum/tests enable_tests
21845 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21846 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21847 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21848 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21849 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21850 wine_fn_config_makefile dlls/difxapi enable_difxapi
21851 wine_fn_config_makefile dlls/dinput enable_dinput
21852 wine_fn_config_makefile dlls/dinput/tests enable_tests
21853 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21854 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21855 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21856 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21857 wine_fn_config_makefile dlls/dispex enable_dispex
21858 wine_fn_config_makefile dlls/dispex/tests enable_tests
21859 wine_fn_config_makefile dlls/display.drv16 enable_win16
21860 wine_fn_config_makefile dlls/dmband enable_dmband
21861 wine_fn_config_makefile dlls/dmband/tests enable_tests
21862 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21863 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21864 wine_fn_config_makefile dlls/dmime enable_dmime
21865 wine_fn_config_makefile dlls/dmime/tests enable_tests
21866 wine_fn_config_makefile dlls/dmloader enable_dmloader
21867 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21868 wine_fn_config_makefile dlls/dmscript enable_dmscript
21869 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21870 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21871 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21872 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21873 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21874 wine_fn_config_makefile dlls/dmusic enable_dmusic
21875 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21876 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21877 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21878 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21879 wine_fn_config_makefile dlls/dplay enable_dplay
21880 wine_fn_config_makefile dlls/dplayx enable_dplayx
21881 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21882 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21883 wine_fn_config_makefile dlls/dpnet enable_dpnet
21884 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21885 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21886 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21887 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21888 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21889 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21890 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21891 wine_fn_config_makefile dlls/drmclien enable_drmclien
21892 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21893 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21894 wine_fn_config_makefile dlls/dsound enable_dsound
21895 wine_fn_config_makefile dlls/dsound/tests enable_tests
21896 wine_fn_config_makefile dlls/dsquery enable_dsquery
21897 wine_fn_config_makefile dlls/dssenh enable_dssenh
21898 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21899 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21900 wine_fn_config_makefile dlls/dswave enable_dswave
21901 wine_fn_config_makefile dlls/dswave/tests enable_tests
21902 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21903 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21904 wine_fn_config_makefile dlls/dwrite enable_dwrite
21905 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21906 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21907 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21908 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21909 wine_fn_config_makefile dlls/dxgi enable_dxgi
21910 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21911 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21912 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21913 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21914 wine_fn_config_makefile dlls/esent enable_esent
21915 wine_fn_config_makefile dlls/evr enable_evr
21916 wine_fn_config_makefile dlls/evr/tests enable_tests
21917 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21918 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21919 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21920 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21921 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21922 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21923 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21924 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21925 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21926 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21927 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21928 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21929 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21930 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21931 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21932 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21933 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21934 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21935 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21936 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21937 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21938 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21939 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21940 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21941 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21942 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21943 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21944 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21945 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21946 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21947 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21948 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21949 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21950 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21951 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21952 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21953 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21954 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21955 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21956 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21957 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21958 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21959 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
21960 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21961 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21962 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21963 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21964 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21965 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21966 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21967 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21968 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21969 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21970 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21971 wine_fn_config_makefile dlls/faultrep enable_faultrep
21972 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21973 wine_fn_config_makefile dlls/feclient enable_feclient
21974 wine_fn_config_makefile dlls/fltlib enable_fltlib
21975 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21976 wine_fn_config_makefile dlls/fntcache enable_fntcache
21977 wine_fn_config_makefile dlls/fontsub enable_fontsub
21978 wine_fn_config_makefile dlls/fusion enable_fusion
21979 wine_fn_config_makefile dlls/fusion/tests enable_tests
21980 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21981 wine_fn_config_makefile dlls/gameux enable_gameux
21982 wine_fn_config_makefile dlls/gameux/tests enable_tests
21983 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21984 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21985 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21986 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21987 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21988 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21989 wine_fn_config_makefile dlls/glu32 enable_glu32
21990 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21991 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21992 wine_fn_config_makefile dlls/hal enable_hal
21993 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21994 wine_fn_config_makefile dlls/hid enable_hid
21995 wine_fn_config_makefile dlls/hid/tests enable_tests
21996 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21997 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21998 wine_fn_config_makefile dlls/hlink enable_hlink
21999 wine_fn_config_makefile dlls/hlink/tests enable_tests
22000 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22001 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22002 wine_fn_config_makefile dlls/http.sys enable_http_sys
22003 wine_fn_config_makefile dlls/httpapi enable_httpapi
22004 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22005 wine_fn_config_makefile dlls/iccvid enable_iccvid
22006 wine_fn_config_makefile dlls/icmp enable_icmp
22007 wine_fn_config_makefile dlls/ieframe enable_ieframe
22008 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22009 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22010 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22011 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22012 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22013 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22014 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22015 wine_fn_config_makefile dlls/imm32 enable_imm32
22016 wine_fn_config_makefile dlls/imm32/tests enable_tests
22017 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22018 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22019 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22020 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22021 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22022 wine_fn_config_makefile dlls/infosoft enable_infosoft
22023 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22024 wine_fn_config_makefile dlls/initpki enable_initpki
22025 wine_fn_config_makefile dlls/inkobj enable_inkobj
22026 wine_fn_config_makefile dlls/inseng enable_inseng
22027 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22028 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22029 wine_fn_config_makefile dlls/iprop enable_iprop
22030 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22031 wine_fn_config_makefile dlls/itircl enable_itircl
22032 wine_fn_config_makefile dlls/itss enable_itss
22033 wine_fn_config_makefile dlls/itss/tests enable_tests
22034 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22035 wine_fn_config_makefile dlls/jscript enable_jscript
22036 wine_fn_config_makefile dlls/jscript/tests enable_tests
22037 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22038 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22039 wine_fn_config_makefile dlls/kerberos enable_kerberos
22040 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22041 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22042 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22043 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22044 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22045 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22046 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22047 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22048 wine_fn_config_makefile dlls/ksuser enable_ksuser
22049 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22050 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22051 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22052 wine_fn_config_makefile dlls/loadperf enable_loadperf
22053 wine_fn_config_makefile dlls/localspl enable_localspl
22054 wine_fn_config_makefile dlls/localspl/tests enable_tests
22055 wine_fn_config_makefile dlls/localui enable_localui
22056 wine_fn_config_makefile dlls/localui/tests enable_tests
22057 wine_fn_config_makefile dlls/lz32 enable_lz32
22058 wine_fn_config_makefile dlls/lz32/tests enable_tests
22059 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22060 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22061 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22062 wine_fn_config_makefile dlls/mapistub enable_mapistub
22063 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22064 wine_fn_config_makefile dlls/mcicda enable_mcicda
22065 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22066 wine_fn_config_makefile dlls/mciseq enable_mciseq
22067 wine_fn_config_makefile dlls/mciwave enable_mciwave
22068 wine_fn_config_makefile dlls/mf enable_mf
22069 wine_fn_config_makefile dlls/mf/tests enable_tests
22070 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22071 wine_fn_config_makefile dlls/mferror enable_mferror
22072 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22073 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22074 wine_fn_config_makefile dlls/mfplat enable_mfplat
22075 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22076 wine_fn_config_makefile dlls/mfplay enable_mfplay
22077 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22078 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22079 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22080 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22081 wine_fn_config_makefile dlls/midimap enable_midimap
22082 wine_fn_config_makefile dlls/mlang enable_mlang
22083 wine_fn_config_makefile dlls/mlang/tests enable_tests
22084 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22085 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22086 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22087 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22088 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22089 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22090 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22091 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22092 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22093 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22094 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22095 wine_fn_config_makefile dlls/mpr enable_mpr
22096 wine_fn_config_makefile dlls/mpr/tests enable_tests
22097 wine_fn_config_makefile dlls/mprapi enable_mprapi
22098 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22099 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22100 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22101 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22102 wine_fn_config_makefile dlls/msado15 enable_msado15
22103 wine_fn_config_makefile dlls/msado15/tests enable_tests
22104 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22105 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22106 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22107 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22108 wine_fn_config_makefile dlls/mscms enable_mscms
22109 wine_fn_config_makefile dlls/mscms/tests enable_tests
22110 wine_fn_config_makefile dlls/mscoree enable_mscoree
22111 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22112 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22113 wine_fn_config_makefile dlls/msctf enable_msctf
22114 wine_fn_config_makefile dlls/msctf/tests enable_tests
22115 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22116 wine_fn_config_makefile dlls/msctfp enable_msctfp
22117 wine_fn_config_makefile dlls/msdaps enable_msdaps
22118 wine_fn_config_makefile dlls/msdasql enable_msdasql
22119 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22120 wine_fn_config_makefile dlls/msdelta enable_msdelta
22121 wine_fn_config_makefile dlls/msdmo enable_msdmo
22122 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22123 wine_fn_config_makefile dlls/msdrm enable_msdrm
22124 wine_fn_config_makefile dlls/msftedit enable_msftedit
22125 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22126 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22127 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22128 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22129 wine_fn_config_makefile dlls/mshtml enable_mshtml
22130 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22131 wine_fn_config_makefile dlls/msi enable_msi
22132 wine_fn_config_makefile dlls/msi/tests enable_tests
22133 wine_fn_config_makefile dlls/msident enable_msident
22134 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22135 wine_fn_config_makefile dlls/msimsg enable_msimsg
22136 wine_fn_config_makefile dlls/msimtf enable_msimtf
22137 wine_fn_config_makefile dlls/msisip enable_msisip
22138 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22139 wine_fn_config_makefile dlls/msls31 enable_msls31
22140 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22141 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22142 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22143 wine_fn_config_makefile dlls/msports enable_msports
22144 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22145 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22146 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22147 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22148 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22149 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22150 wine_fn_config_makefile dlls/mstask enable_mstask
22151 wine_fn_config_makefile dlls/mstask/tests enable_tests
22152 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22153 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22154 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22155 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22156 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22157 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22158 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22159 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22160 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22161 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22162 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22163 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22164 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22165 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22166 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22167 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22168 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22169 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22170 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22171 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22172 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22173 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22174 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22175 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22176 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22177 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22178 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22179 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22180 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22181 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22182 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22183 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22184 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22185 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22186 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22187 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22188 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22189 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22190 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22191 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22192 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22193 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22194 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22195 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22196 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22197 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22198 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22199 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22200 wine_fn_config_makefile dlls/mswsock enable_mswsock
22201 wine_fn_config_makefile dlls/msxml enable_msxml
22202 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22203 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22204 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22205 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22206 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22207 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22208 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22209 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22210 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22211 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22212 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22213 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22214 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22215 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22216 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22217 wine_fn_config_makefile dlls/netprofm enable_netprofm
22218 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22219 wine_fn_config_makefile dlls/netutils enable_netutils
22220 wine_fn_config_makefile dlls/newdev enable_newdev
22221 wine_fn_config_makefile dlls/ninput enable_ninput
22222 wine_fn_config_makefile dlls/ninput/tests enable_tests
22223 wine_fn_config_makefile dlls/normaliz enable_normaliz
22224 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22225 wine_fn_config_makefile dlls/npptools enable_npptools
22226 wine_fn_config_makefile dlls/nsi enable_nsi
22227 wine_fn_config_makefile dlls/nsi/tests enable_tests
22228 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22229 wine_fn_config_makefile dlls/ntdll enable_ntdll
22230 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22231 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22232 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22233 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22234 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22235 wine_fn_config_makefile dlls/ntprint enable_ntprint
22236 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22237 wine_fn_config_makefile dlls/objsel enable_objsel
22238 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22239 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22240 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22241 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22242 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22243 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22244 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22245 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22246 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22247 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22248 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22249 wine_fn_config_makefile dlls/ole32 enable_ole32
22250 wine_fn_config_makefile dlls/ole32/tests enable_tests
22251 wine_fn_config_makefile dlls/oleacc enable_oleacc
22252 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22253 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22254 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22255 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22256 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22257 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22258 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22259 wine_fn_config_makefile dlls/oledlg enable_oledlg
22260 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22261 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22262 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22263 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22264 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22265 wine_fn_config_makefile dlls/opcservices enable_opcservices
22266 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22267 wine_fn_config_makefile dlls/openal32 enable_openal32
22268 wine_fn_config_makefile dlls/opencl enable_opencl
22269 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22270 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22271 wine_fn_config_makefile dlls/packager enable_packager
22272 wine_fn_config_makefile dlls/packager/tests enable_tests
22273 wine_fn_config_makefile dlls/pdh enable_pdh
22274 wine_fn_config_makefile dlls/pdh/tests enable_tests
22275 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22276 wine_fn_config_makefile dlls/pidgen enable_pidgen
22277 wine_fn_config_makefile dlls/powrprof enable_powrprof
22278 wine_fn_config_makefile dlls/printui enable_printui
22279 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22280 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22281 wine_fn_config_makefile dlls/propsys enable_propsys
22282 wine_fn_config_makefile dlls/propsys/tests enable_tests
22283 wine_fn_config_makefile dlls/psapi enable_psapi
22284 wine_fn_config_makefile dlls/psapi/tests enable_tests
22285 wine_fn_config_makefile dlls/pstorec enable_pstorec
22286 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22287 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22288 wine_fn_config_makefile dlls/qasf enable_qasf
22289 wine_fn_config_makefile dlls/qasf/tests enable_tests
22290 wine_fn_config_makefile dlls/qcap enable_qcap
22291 wine_fn_config_makefile dlls/qcap/tests enable_tests
22292 wine_fn_config_makefile dlls/qdvd enable_qdvd
22293 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22294 wine_fn_config_makefile dlls/qedit enable_qedit
22295 wine_fn_config_makefile dlls/qedit/tests enable_tests
22296 wine_fn_config_makefile dlls/qmgr enable_qmgr
22297 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22298 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22299 wine_fn_config_makefile dlls/quartz enable_quartz
22300 wine_fn_config_makefile dlls/quartz/tests enable_tests
22301 wine_fn_config_makefile dlls/query enable_query
22302 wine_fn_config_makefile dlls/qwave enable_qwave
22303 wine_fn_config_makefile dlls/qwave/tests enable_tests
22304 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22305 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22306 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22307 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22308 wine_fn_config_makefile dlls/regapi enable_regapi
22309 wine_fn_config_makefile dlls/resutils enable_resutils
22310 wine_fn_config_makefile dlls/riched20 enable_riched20
22311 wine_fn_config_makefile dlls/riched20/tests enable_tests
22312 wine_fn_config_makefile dlls/riched32 enable_riched32
22313 wine_fn_config_makefile dlls/riched32/tests enable_tests
22314 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22315 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22316 wine_fn_config_makefile dlls/rsabase enable_rsabase
22317 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22318 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22319 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22320 wine_fn_config_makefile dlls/rtutils enable_rtutils
22321 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22322 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22323 wine_fn_config_makefile dlls/samlib enable_samlib
22324 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22325 wine_fn_config_makefile dlls/sapi enable_sapi
22326 wine_fn_config_makefile dlls/sapi/tests enable_tests
22327 wine_fn_config_makefile dlls/sas enable_sas
22328 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22329 wine_fn_config_makefile dlls/sccbase enable_sccbase
22330 wine_fn_config_makefile dlls/schannel enable_schannel
22331 wine_fn_config_makefile dlls/schannel/tests enable_tests
22332 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22333 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22334 wine_fn_config_makefile dlls/scrobj enable_scrobj
22335 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22336 wine_fn_config_makefile dlls/scrrun enable_scrrun
22337 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22338 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22339 wine_fn_config_makefile dlls/sechost enable_sechost
22340 wine_fn_config_makefile dlls/secur32 enable_secur32
22341 wine_fn_config_makefile dlls/secur32/tests enable_tests
22342 wine_fn_config_makefile dlls/security enable_security
22343 wine_fn_config_makefile dlls/sensapi enable_sensapi
22344 wine_fn_config_makefile dlls/serialui enable_serialui
22345 wine_fn_config_makefile dlls/serialui/tests enable_tests
22346 wine_fn_config_makefile dlls/setupapi enable_setupapi
22347 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22348 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22349 wine_fn_config_makefile dlls/sfc enable_sfc
22350 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22351 wine_fn_config_makefile dlls/shcore enable_shcore
22352 wine_fn_config_makefile dlls/shcore/tests enable_tests
22353 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22354 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22355 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22356 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22357 wine_fn_config_makefile dlls/shell32 enable_shell32
22358 wine_fn_config_makefile dlls/shell32/tests enable_tests
22359 wine_fn_config_makefile dlls/shfolder enable_shfolder
22360 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22361 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22362 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22363 wine_fn_config_makefile dlls/slc enable_slc
22364 wine_fn_config_makefile dlls/slc/tests enable_tests
22365 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22366 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22367 wine_fn_config_makefile dlls/softpub enable_softpub
22368 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22369 wine_fn_config_makefile dlls/spoolss enable_spoolss
22370 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22371 wine_fn_config_makefile dlls/sppc enable_sppc
22372 wine_fn_config_makefile dlls/srclient enable_srclient
22373 wine_fn_config_makefile dlls/srvcli enable_srvcli
22374 wine_fn_config_makefile dlls/sspicli enable_sspicli
22375 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22376 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22377 wine_fn_config_makefile dlls/sti enable_sti
22378 wine_fn_config_makefile dlls/sti/tests enable_tests
22379 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22380 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22381 wine_fn_config_makefile dlls/strmdll enable_strmdll
22382 wine_fn_config_makefile dlls/svrapi enable_svrapi
22383 wine_fn_config_makefile dlls/sxs enable_sxs
22384 wine_fn_config_makefile dlls/sxs/tests enable_tests
22385 wine_fn_config_makefile dlls/system.drv16 enable_win16
22386 wine_fn_config_makefile dlls/t2embed enable_t2embed
22387 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22388 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22389 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22390 wine_fn_config_makefile dlls/taskschd enable_taskschd
22391 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22392 wine_fn_config_makefile dlls/tbs enable_tbs
22393 wine_fn_config_makefile dlls/tdh enable_tdh
22394 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22395 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22396 wine_fn_config_makefile dlls/traffic enable_traffic
22397 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22398 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22399 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22400 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22401 wine_fn_config_makefile dlls/tzres enable_tzres
22402 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22403 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22404 wine_fn_config_makefile dlls/uianimation enable_uianimation
22405 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22406 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22407 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22408 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22409 wine_fn_config_makefile dlls/unicows enable_unicows
22410 wine_fn_config_makefile dlls/updspapi enable_updspapi
22411 wine_fn_config_makefile dlls/url enable_url
22412 wine_fn_config_makefile dlls/urlmon enable_urlmon
22413 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22414 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22415 wine_fn_config_makefile dlls/user.exe16 enable_win16
22416 wine_fn_config_makefile dlls/user32 enable_user32
22417 wine_fn_config_makefile dlls/user32/tests enable_tests
22418 wine_fn_config_makefile dlls/userenv enable_userenv
22419 wine_fn_config_makefile dlls/userenv/tests enable_tests
22420 wine_fn_config_makefile dlls/usp10 enable_usp10
22421 wine_fn_config_makefile dlls/usp10/tests enable_tests
22422 wine_fn_config_makefile dlls/utildll enable_utildll
22423 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22424 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22425 wine_fn_config_makefile dlls/vbscript enable_vbscript
22426 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22427 wine_fn_config_makefile dlls/vcomp enable_vcomp
22428 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22429 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22430 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22431 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22432 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22433 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22434 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22435 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22436 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22437 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22438 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22439 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22440 wine_fn_config_makefile dlls/version enable_version
22441 wine_fn_config_makefile dlls/version/tests enable_tests
22442 wine_fn_config_makefile dlls/vga enable_vga
22443 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22444 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22445 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22446 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22447 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22448 wine_fn_config_makefile dlls/vssapi enable_vssapi
22449 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22450 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22451 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22452 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22453 wine_fn_config_makefile dlls/w32skrnl enable_win16
22454 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22455 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22456 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22457 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22458 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22459 wine_fn_config_makefile dlls/wdscore enable_wdscore
22460 wine_fn_config_makefile dlls/webservices enable_webservices
22461 wine_fn_config_makefile dlls/webservices/tests enable_tests
22462 wine_fn_config_makefile dlls/websocket enable_websocket
22463 wine_fn_config_makefile dlls/wer enable_wer
22464 wine_fn_config_makefile dlls/wer/tests enable_tests
22465 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22466 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22467 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22468 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22469 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22470 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22471 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22472 wine_fn_config_makefile dlls/win32u enable_win32u
22473 wine_fn_config_makefile dlls/win32u/tests enable_tests
22474 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22475 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22476 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22477 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22478 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22479 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22480 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22481 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22482 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22483 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22484 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22485 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22486 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22487 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22488 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22489 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22490 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22491 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22492 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22493 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22494 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22495 wine_fn_config_makefile dlls/wined3d enable_wined3d
22496 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22497 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22498 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22499 wine_fn_config_makefile dlls/winemapi enable_winemapi
22500 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22501 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22502 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22503 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22504 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22505 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22506 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22507 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22508 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22509 wine_fn_config_makefile dlls/wing32 enable_wing32
22510 wine_fn_config_makefile dlls/winhttp enable_winhttp
22511 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22512 wine_fn_config_makefile dlls/wininet enable_wininet
22513 wine_fn_config_makefile dlls/wininet/tests enable_tests
22514 wine_fn_config_makefile dlls/winmm enable_winmm
22515 wine_fn_config_makefile dlls/winmm/tests enable_tests
22516 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22517 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22518 wine_fn_config_makefile dlls/winscard enable_winscard
22519 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22520 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22521 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22522 wine_fn_config_makefile dlls/winsta enable_winsta
22523 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22524 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22525 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22526 wine_fn_config_makefile dlls/wintrust enable_wintrust
22527 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22528 wine_fn_config_makefile dlls/winusb enable_winusb
22529 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22530 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22531 wine_fn_config_makefile dlls/wlanui enable_wlanui
22532 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22533 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22534 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
22535 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
22536 wine_fn_config_makefile dlls/wmasf enable_wmasf
22537 wine_fn_config_makefile dlls/wmi enable_wmi
22538 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22539 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22540 wine_fn_config_makefile dlls/wmp enable_wmp
22541 wine_fn_config_makefile dlls/wmp/tests enable_tests
22542 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22543 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22544 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22545 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22546 wine_fn_config_makefile dlls/wow32 enable_win16
22547 wine_fn_config_makefile dlls/wow64 enable_wow64
22548 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22549 wine_fn_config_makefile dlls/wow64win enable_wow64win
22550 wine_fn_config_makefile dlls/wpc enable_wpc
22551 wine_fn_config_makefile dlls/wpc/tests enable_tests
22552 wine_fn_config_makefile dlls/wpcap enable_wpcap
22553 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22554 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22555 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22556 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22557 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22558 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22559 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22560 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22561 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22562 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22563 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22564 wine_fn_config_makefile dlls/wuapi enable_wuapi
22565 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22566 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22567 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22568 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22569 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22570 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22571 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22572 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22573 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22574 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22575 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22576 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22577 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22578 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22579 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22580 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22581 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22582 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22583 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22584 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22585 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22586 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22587 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22588 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22589 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22590 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22591 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22592 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22593 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22594 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22595 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22596 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22597 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22598 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22599 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22600 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22601 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22602 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22603 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22604 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22605 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22606 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22607 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22608 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22609 wine_fn_config_makefile dlls/xmllite enable_xmllite
22610 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22611 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22612 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22613 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22614 wine_fn_config_makefile fonts enable_fonts
22615 wine_fn_config_makefile include enable_include
22616 wine_fn_config_makefile libs/adsiid enable_adsiid
22617 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22618 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22619 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22620 wine_fn_config_makefile libs/dxguid enable_dxguid
22621 wine_fn_config_makefile libs/faudio enable_faudio
22622 wine_fn_config_makefile libs/gsm enable_gsm
22623 wine_fn_config_makefile libs/jpeg enable_jpeg
22624 wine_fn_config_makefile libs/jxr enable_jxr
22625 wine_fn_config_makefile libs/lcms2 enable_lcms2
22626 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22627 wine_fn_config_makefile libs/mpg123 enable_mpg123
22628 wine_fn_config_makefile libs/png enable_png
22629 wine_fn_config_makefile libs/strmbase enable_strmbase
22630 wine_fn_config_makefile libs/strmiids enable_strmiids
22631 wine_fn_config_makefile libs/tiff enable_tiff
22632 wine_fn_config_makefile libs/uuid enable_uuid
22633 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22634 wine_fn_config_makefile libs/wine enable_wine
22635 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22636 wine_fn_config_makefile libs/xml2 enable_xml2
22637 wine_fn_config_makefile libs/xslt enable_xslt
22638 wine_fn_config_makefile libs/zlib enable_zlib
22639 wine_fn_config_makefile loader enable_loader
22640 wine_fn_config_makefile nls enable_nls
22641 wine_fn_config_makefile po enable_po
22642 wine_fn_config_makefile programs/arp enable_arp
22643 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22644 wine_fn_config_makefile programs/attrib enable_attrib
22645 wine_fn_config_makefile programs/cabarc enable_cabarc
22646 wine_fn_config_makefile programs/cacls enable_cacls
22647 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22648 wine_fn_config_makefile programs/clock enable_clock
22649 wine_fn_config_makefile programs/cmd enable_cmd
22650 wine_fn_config_makefile programs/cmd/tests enable_tests
22651 wine_fn_config_makefile programs/conhost enable_conhost
22652 wine_fn_config_makefile programs/conhost/tests enable_tests
22653 wine_fn_config_makefile programs/control enable_control
22654 wine_fn_config_makefile programs/cscript enable_cscript
22655 wine_fn_config_makefile programs/dism enable_dism
22656 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22657 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22658 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22659 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22660 wine_fn_config_makefile programs/eject enable_eject
22661 wine_fn_config_makefile programs/expand enable_expand
22662 wine_fn_config_makefile programs/explorer enable_explorer
22663 wine_fn_config_makefile programs/extrac32 enable_extrac32
22664 wine_fn_config_makefile programs/fc enable_fc
22665 wine_fn_config_makefile programs/find enable_find
22666 wine_fn_config_makefile programs/find/tests enable_tests
22667 wine_fn_config_makefile programs/findstr enable_findstr
22668 wine_fn_config_makefile programs/fsutil enable_fsutil
22669 wine_fn_config_makefile programs/fsutil/tests enable_tests
22670 wine_fn_config_makefile programs/hh enable_hh
22671 wine_fn_config_makefile programs/hostname enable_hostname
22672 wine_fn_config_makefile programs/icacls enable_icacls
22673 wine_fn_config_makefile programs/icinfo enable_icinfo
22674 wine_fn_config_makefile programs/iexplore enable_iexplore
22675 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22676 wine_fn_config_makefile programs/lodctr enable_lodctr
22677 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22678 wine_fn_config_makefile programs/mshta enable_mshta
22679 wine_fn_config_makefile programs/msidb enable_msidb
22680 wine_fn_config_makefile programs/msiexec enable_msiexec
22681 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22682 wine_fn_config_makefile programs/net enable_net
22683 wine_fn_config_makefile programs/netsh enable_netsh
22684 wine_fn_config_makefile programs/netstat enable_netstat
22685 wine_fn_config_makefile programs/ngen enable_ngen
22686 wine_fn_config_makefile programs/notepad enable_notepad
22687 wine_fn_config_makefile programs/oleview enable_oleview
22688 wine_fn_config_makefile programs/ping enable_ping
22689 wine_fn_config_makefile programs/plugplay enable_plugplay
22690 wine_fn_config_makefile programs/powershell enable_powershell
22691 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22692 wine_fn_config_makefile programs/progman enable_progman
22693 wine_fn_config_makefile programs/reg enable_reg
22694 wine_fn_config_makefile programs/reg/tests enable_tests
22695 wine_fn_config_makefile programs/regasm enable_regasm
22696 wine_fn_config_makefile programs/regedit enable_regedit
22697 wine_fn_config_makefile programs/regedit/tests enable_tests
22698 wine_fn_config_makefile programs/regini enable_regini
22699 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22700 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22701 wine_fn_config_makefile programs/robocopy enable_robocopy
22702 wine_fn_config_makefile programs/rpcss enable_rpcss
22703 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22704 wine_fn_config_makefile programs/rundll32 enable_rundll32
22705 wine_fn_config_makefile programs/sc enable_sc
22706 wine_fn_config_makefile programs/schtasks enable_schtasks
22707 wine_fn_config_makefile programs/schtasks/tests enable_tests
22708 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22709 wine_fn_config_makefile programs/secedit enable_secedit
22710 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22711 wine_fn_config_makefile programs/services enable_services
22712 wine_fn_config_makefile programs/services/tests enable_tests
22713 wine_fn_config_makefile programs/shutdown enable_shutdown
22714 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22715 wine_fn_config_makefile programs/start enable_start
22716 wine_fn_config_makefile programs/subst enable_subst
22717 wine_fn_config_makefile programs/svchost enable_svchost
22718 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22719 wine_fn_config_makefile programs/taskkill enable_taskkill
22720 wine_fn_config_makefile programs/tasklist enable_tasklist
22721 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22722 wine_fn_config_makefile programs/termsv enable_termsv
22723 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22724 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22725 wine_fn_config_makefile programs/view enable_view
22726 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22727 wine_fn_config_makefile programs/where enable_where
22728 wine_fn_config_makefile programs/whoami enable_whoami
22729 wine_fn_config_makefile programs/wineboot enable_wineboot
22730 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22731 wine_fn_config_makefile programs/winecfg enable_winecfg
22732 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22733 wine_fn_config_makefile programs/winedbg enable_winedbg
22734 wine_fn_config_makefile programs/winedevice enable_winedevice
22735 wine_fn_config_makefile programs/winefile enable_winefile
22736 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22737 wine_fn_config_makefile programs/winemine enable_winemine
22738 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22739 wine_fn_config_makefile programs/winepath enable_winepath
22740 wine_fn_config_makefile programs/winetest enable_winetest
22741 wine_fn_config_makefile programs/winevdm enable_win16
22742 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22743 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22744 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22745 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22746 wine_fn_config_makefile programs/winver enable_winver
22747 wine_fn_config_makefile programs/wmic enable_wmic
22748 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22749 wine_fn_config_makefile programs/wordpad enable_wordpad
22750 wine_fn_config_makefile programs/write enable_write
22751 wine_fn_config_makefile programs/wscript enable_wscript
22752 wine_fn_config_makefile programs/wscript/tests enable_tests
22753 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22754 wine_fn_config_makefile programs/wusa enable_wusa
22755 wine_fn_config_makefile programs/xcopy enable_xcopy
22756 wine_fn_config_makefile programs/xcopy/tests enable_tests
22757 wine_fn_config_makefile server enable_server
22758 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22759 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22760 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22761 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22762 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22763 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22764 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22765 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22766 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22769 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22770 wine_fn_append_file CONFIGURE_TARGETS "tags"
22771 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22772 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22773 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22774 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22775 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22776 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22778 if test "x$enable_tools" != xno
22779 then
22780 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22781 ac_config_commands="$ac_config_commands tools/makedep"
22785 ac_config_commands="$ac_config_commands Makefile"
22789 SHELL=/bin/sh
22792 wine_fn_append_rule "all: wine
22793 @echo \"Wine build complete.\"
22794 .INIT: Makefile
22795 .MAKEFILEDEPS:
22796 all: Makefile
22797 Makefile: config.status \$(MAKEDEP)
22798 @./config.status Makefile
22799 depend: \$(MAKEDEP)
22800 \$(MAKEDEP)$makedep_flags"
22803 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22804 @./config.status --recheck
22805 include/config.h: include/stamp-h
22806 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22807 @./config.status include/config.h include/stamp-h"
22809 if test "x$enable_maintainer_mode" = xyes
22810 then
22811 wine_fn_append_rule "configure: configure.ac aclocal.m4
22812 autoconf --warnings=all
22813 include/config.h.in: include/stamp-h.in
22814 include/stamp-h.in: configure.ac aclocal.m4
22815 autoheader --warnings=all
22816 @echo timestamp > \$@"
22819 if test "x$enable_tools" != xno
22820 then
22821 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22822 @./config.status tools/makedep
22823 Makefile: tools/makedep$ac_exeext"
22824 else
22825 wine_fn_append_rule "\$(MAKEDEP):
22826 @echo \"You need to run make in $toolsdir first\" && false"
22830 if test -n "$with_wine64"
22831 then
22832 case "$with_wine64" in
22833 /*) reldir="" ;;
22834 *) reldir="../" ;;
22835 esac
22836 rm -f fonts server 2>/dev/null
22837 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22838 loader/wine64 loader/wine64-preloader:
22839 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22840 $with_wine64/loader/wine:
22841 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22842 $with_wine64/loader/wine-preloader:
22843 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22844 clean::
22845 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22846 else
22847 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22848 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22849 fonts \
22850 loader/wine.inf \
22851 nls \
22852 programs/msidb/msidb \
22853 programs/msiexec/msiexec \
22854 programs/notepad/notepad \
22855 programs/regedit/regedit \
22856 programs/regsvr32/regsvr32 \
22857 programs/wineboot/wineboot \
22858 programs/winecfg/winecfg \
22859 programs/wineconsole/wineconsole \
22860 programs/winedbg/winedbg \
22861 programs/winefile/winefile \
22862 programs/winemine/winemine \
22863 programs/winepath/winepath \
22864 server/wineserver"
22866 case $host_os in
22867 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22868 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22869 esac
22873 wine_fn_append_rule "distclean:: clean
22874 rm -rf autom4te.cache
22875 maintainer-clean::
22876 rm -f configure include/config.h.in"
22879 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22880 @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)
22881 programs/winetest/build.rc: dummy
22882 @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)
22883 programs/winetest/build.nfo:
22884 @-\$(CC) -v 2>\$@
22885 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
22886 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22887 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22890 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22892 wine_fn_append_rule "TAGS etags:
22893 rm -f TAGS
22894 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22895 tags ctags:
22896 rm -f tags
22897 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22898 dummy:
22899 .PHONY: depend dummy install-manpages"
22901 printf "%s\n" " done" >&6
22902 cat >confcache <<\_ACEOF
22903 # This file is a shell script that caches the results of configure
22904 # tests run on this system so they can be shared between configure
22905 # scripts and configure runs, see configure's option --config-cache.
22906 # It is not useful on other systems. If it contains results you don't
22907 # want to keep, you may remove or edit it.
22909 # config.status only pays attention to the cache file if you give it
22910 # the --recheck option to rerun configure.
22912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22914 # following values.
22916 _ACEOF
22918 # The following way of writing the cache mishandles newlines in values,
22919 # but we know of no workaround that is simple, portable, and efficient.
22920 # So, we kill variables containing newlines.
22921 # Ultrix sh set writes to stderr and can't be redirected directly,
22922 # and sets the high bit in the cache file unless we assign to the vars.
22924 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22925 eval ac_val=\$$ac_var
22926 case $ac_val in #(
22927 *${as_nl}*)
22928 case $ac_var in #(
22929 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22930 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22931 esac
22932 case $ac_var in #(
22933 _ | IFS | as_nl) ;; #(
22934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22935 *) { eval $ac_var=; unset $ac_var;} ;;
22936 esac ;;
22937 esac
22938 done
22940 (set) 2>&1 |
22941 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22942 *${as_nl}ac_space=\ *)
22943 # `set' does not quote correctly, so add quotes: double-quote
22944 # substitution turns \\\\ into \\, and sed turns \\ into \.
22945 sed -n \
22946 "s/'/'\\\\''/g;
22947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22948 ;; #(
22950 # `set' quotes correctly as required by POSIX, so do not add quotes.
22951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22953 esac |
22954 sort
22956 sed '
22957 /^ac_cv_env_/b end
22958 t clear
22959 :clear
22960 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22961 t end
22962 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22963 :end' >>confcache
22964 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22965 if test -w "$cache_file"; then
22966 if test "x$cache_file" != "x/dev/null"; then
22967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22968 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22969 if test ! -f "$cache_file" || test -h "$cache_file"; then
22970 cat confcache >"$cache_file"
22971 else
22972 case $cache_file in #(
22973 */* | ?:*)
22974 mv -f confcache "$cache_file"$$ &&
22975 mv -f "$cache_file"$$ "$cache_file" ;; #(
22977 mv -f confcache "$cache_file" ;;
22978 esac
22981 else
22982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22983 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22986 rm -f confcache
22988 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22989 # Let make expand exec_prefix.
22990 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22992 DEFS=-DHAVE_CONFIG_H
22994 ac_libobjs=
22995 ac_ltlibobjs=
22997 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22998 # 1. Remove the extension, and $U if already installed.
22999 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23000 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23001 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23002 # will be set to the directory where LIBOBJS objects are built.
23003 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23004 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23005 done
23006 LIBOBJS=$ac_libobjs
23008 LTLIBOBJS=$ac_ltlibobjs
23012 : "${CONFIG_STATUS=./config.status}"
23013 ac_write_fail=0
23014 ac_clean_files_save=$ac_clean_files
23015 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23017 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23018 as_write_fail=0
23019 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23020 #! $SHELL
23021 # Generated by $as_me.
23022 # Run this file to recreate the current configuration.
23023 # Compiler output produced by configure, useful for debugging
23024 # configure, is in config.log if it exists.
23026 debug=false
23027 ac_cs_recheck=false
23028 ac_cs_silent=false
23030 SHELL=\${CONFIG_SHELL-$SHELL}
23031 export SHELL
23032 _ASEOF
23033 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23034 ## -------------------- ##
23035 ## M4sh Initialization. ##
23036 ## -------------------- ##
23038 # Be more Bourne compatible
23039 DUALCASE=1; export DUALCASE # for MKS sh
23040 as_nop=:
23041 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23042 then :
23043 emulate sh
23044 NULLCMD=:
23045 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23046 # is contrary to our usage. Disable this feature.
23047 alias -g '${1+"$@"}'='"$@"'
23048 setopt NO_GLOB_SUBST
23049 else $as_nop
23050 case `(set -o) 2>/dev/null` in #(
23051 *posix*) :
23052 set -o posix ;; #(
23053 *) :
23055 esac
23060 # Reset variables that may have inherited troublesome values from
23061 # the environment.
23063 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23064 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23065 # side effect of setting IFS to empty, thus disabling word splitting.)
23066 # Quoting is to prevent editors from complaining about space-tab.
23067 as_nl='
23069 export as_nl
23070 IFS=" "" $as_nl"
23072 PS1='$ '
23073 PS2='> '
23074 PS4='+ '
23076 # Ensure predictable behavior from utilities with locale-dependent output.
23077 LC_ALL=C
23078 export LC_ALL
23079 LANGUAGE=C
23080 export LANGUAGE
23082 # We cannot yet rely on "unset" to work, but we need these variables
23083 # to be unset--not just set to an empty or harmless value--now, to
23084 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23085 # also avoids known problems related to "unset" and subshell syntax
23086 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23087 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23088 do eval test \${$as_var+y} \
23089 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23090 done
23092 # Ensure that fds 0, 1, and 2 are open.
23093 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23094 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23095 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23097 # The user is always right.
23098 if ${PATH_SEPARATOR+false} :; then
23099 PATH_SEPARATOR=:
23100 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23101 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23102 PATH_SEPARATOR=';'
23107 # Find who we are. Look in the path if we contain no directory separator.
23108 as_myself=
23109 case $0 in #((
23110 *[\\/]* ) as_myself=$0 ;;
23111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23112 for as_dir in $PATH
23114 IFS=$as_save_IFS
23115 case $as_dir in #(((
23116 '') as_dir=./ ;;
23117 */) ;;
23118 *) as_dir=$as_dir/ ;;
23119 esac
23120 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23121 done
23122 IFS=$as_save_IFS
23125 esac
23126 # We did not find ourselves, most probably we were run as `sh COMMAND'
23127 # in which case we are not to be found in the path.
23128 if test "x$as_myself" = x; then
23129 as_myself=$0
23131 if test ! -f "$as_myself"; then
23132 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23133 exit 1
23138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23139 # ----------------------------------------
23140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23142 # script with STATUS, using 1 if that was 0.
23143 as_fn_error ()
23145 as_status=$1; test $as_status -eq 0 && as_status=1
23146 if test "$4"; then
23147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23150 printf "%s\n" "$as_me: error: $2" >&2
23151 as_fn_exit $as_status
23152 } # as_fn_error
23156 # as_fn_set_status STATUS
23157 # -----------------------
23158 # Set $? to STATUS, without forking.
23159 as_fn_set_status ()
23161 return $1
23162 } # as_fn_set_status
23164 # as_fn_exit STATUS
23165 # -----------------
23166 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23167 as_fn_exit ()
23169 set +e
23170 as_fn_set_status $1
23171 exit $1
23172 } # as_fn_exit
23174 # as_fn_unset VAR
23175 # ---------------
23176 # Portably unset VAR.
23177 as_fn_unset ()
23179 { eval $1=; unset $1;}
23181 as_unset=as_fn_unset
23183 # as_fn_append VAR VALUE
23184 # ----------------------
23185 # Append the text in VALUE to the end of the definition contained in VAR. Take
23186 # advantage of any shell optimizations that allow amortized linear growth over
23187 # repeated appends, instead of the typical quadratic growth present in naive
23188 # implementations.
23189 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23190 then :
23191 eval 'as_fn_append ()
23193 eval $1+=\$2
23195 else $as_nop
23196 as_fn_append ()
23198 eval $1=\$$1\$2
23200 fi # as_fn_append
23202 # as_fn_arith ARG...
23203 # ------------------
23204 # Perform arithmetic evaluation on the ARGs, and store the result in the
23205 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23206 # must be portable across $(()) and expr.
23207 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23208 then :
23209 eval 'as_fn_arith ()
23211 as_val=$(( $* ))
23213 else $as_nop
23214 as_fn_arith ()
23216 as_val=`expr "$@" || test $? -eq 1`
23218 fi # as_fn_arith
23221 if expr a : '\(a\)' >/dev/null 2>&1 &&
23222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23223 as_expr=expr
23224 else
23225 as_expr=false
23228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23229 as_basename=basename
23230 else
23231 as_basename=false
23234 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23235 as_dirname=dirname
23236 else
23237 as_dirname=false
23240 as_me=`$as_basename -- "$0" ||
23241 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23242 X"$0" : 'X\(//\)$' \| \
23243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23244 printf "%s\n" X/"$0" |
23245 sed '/^.*\/\([^/][^/]*\)\/*$/{
23246 s//\1/
23249 /^X\/\(\/\/\)$/{
23250 s//\1/
23253 /^X\/\(\/\).*/{
23254 s//\1/
23257 s/.*/./; q'`
23259 # Avoid depending upon Character Ranges.
23260 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23261 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23262 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23263 as_cr_digits='0123456789'
23264 as_cr_alnum=$as_cr_Letters$as_cr_digits
23267 # Determine whether it's possible to make 'echo' print without a newline.
23268 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23269 # for compatibility with existing Makefiles.
23270 ECHO_C= ECHO_N= ECHO_T=
23271 case `echo -n x` in #(((((
23272 -n*)
23273 case `echo 'xy\c'` in
23274 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23275 xy) ECHO_C='\c';;
23276 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23277 ECHO_T=' ';;
23278 esac;;
23280 ECHO_N='-n';;
23281 esac
23283 # For backward compatibility with old third-party macros, we provide
23284 # the shell variables $as_echo and $as_echo_n. New code should use
23285 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23286 as_echo='printf %s\n'
23287 as_echo_n='printf %s'
23289 rm -f conf$$ conf$$.exe conf$$.file
23290 if test -d conf$$.dir; then
23291 rm -f conf$$.dir/conf$$.file
23292 else
23293 rm -f conf$$.dir
23294 mkdir conf$$.dir 2>/dev/null
23296 if (echo >conf$$.file) 2>/dev/null; then
23297 if ln -s conf$$.file conf$$ 2>/dev/null; then
23298 as_ln_s='ln -s'
23299 # ... but there are two gotchas:
23300 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23301 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23302 # In both cases, we have to default to `cp -pR'.
23303 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23304 as_ln_s='cp -pR'
23305 elif ln conf$$.file conf$$ 2>/dev/null; then
23306 as_ln_s=ln
23307 else
23308 as_ln_s='cp -pR'
23310 else
23311 as_ln_s='cp -pR'
23313 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23314 rmdir conf$$.dir 2>/dev/null
23317 # as_fn_mkdir_p
23318 # -------------
23319 # Create "$as_dir" as a directory, including parents if necessary.
23320 as_fn_mkdir_p ()
23323 case $as_dir in #(
23324 -*) as_dir=./$as_dir;;
23325 esac
23326 test -d "$as_dir" || eval $as_mkdir_p || {
23327 as_dirs=
23328 while :; do
23329 case $as_dir in #(
23330 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23331 *) as_qdir=$as_dir;;
23332 esac
23333 as_dirs="'$as_qdir' $as_dirs"
23334 as_dir=`$as_dirname -- "$as_dir" ||
23335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23336 X"$as_dir" : 'X\(//\)[^/]' \| \
23337 X"$as_dir" : 'X\(//\)$' \| \
23338 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23339 printf "%s\n" X"$as_dir" |
23340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23341 s//\1/
23344 /^X\(\/\/\)[^/].*/{
23345 s//\1/
23348 /^X\(\/\/\)$/{
23349 s//\1/
23352 /^X\(\/\).*/{
23353 s//\1/
23356 s/.*/./; q'`
23357 test -d "$as_dir" && break
23358 done
23359 test -z "$as_dirs" || eval "mkdir $as_dirs"
23360 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23363 } # as_fn_mkdir_p
23364 if mkdir -p . 2>/dev/null; then
23365 as_mkdir_p='mkdir -p "$as_dir"'
23366 else
23367 test -d ./-p && rmdir ./-p
23368 as_mkdir_p=false
23372 # as_fn_executable_p FILE
23373 # -----------------------
23374 # Test if FILE is an executable regular file.
23375 as_fn_executable_p ()
23377 test -f "$1" && test -x "$1"
23378 } # as_fn_executable_p
23379 as_test_x='test -x'
23380 as_executable_p=as_fn_executable_p
23382 # Sed expression to map a string onto a valid CPP name.
23383 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23385 # Sed expression to map a string onto a valid variable name.
23386 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23389 exec 6>&1
23390 ## ----------------------------------- ##
23391 ## Main body of $CONFIG_STATUS script. ##
23392 ## ----------------------------------- ##
23393 _ASEOF
23394 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23397 # Save the log message, to keep $0 and so on meaningful, and to
23398 # report actual input values of CONFIG_FILES etc. instead of their
23399 # values after options handling.
23400 ac_log="
23401 This file was extended by Wine $as_me 7.1, which was
23402 generated by GNU Autoconf 2.71. Invocation command line was
23404 CONFIG_FILES = $CONFIG_FILES
23405 CONFIG_HEADERS = $CONFIG_HEADERS
23406 CONFIG_LINKS = $CONFIG_LINKS
23407 CONFIG_COMMANDS = $CONFIG_COMMANDS
23408 $ $0 $@
23410 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23413 _ACEOF
23416 case $ac_config_headers in *"
23417 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23418 esac
23421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23422 # Files that config.status was made for.
23423 config_headers="$ac_config_headers"
23424 config_links="$ac_config_links"
23425 config_commands="$ac_config_commands"
23427 _ACEOF
23429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23430 ac_cs_usage="\
23431 \`$as_me' instantiates files and other configuration actions
23432 from templates according to the current configuration. Unless the files
23433 and actions are specified as TAGs, all are instantiated by default.
23435 Usage: $0 [OPTION]... [TAG]...
23437 -h, --help print this help, then exit
23438 -V, --version print version number and configuration settings, then exit
23439 --config print configuration, then exit
23440 -q, --quiet, --silent
23441 do not print progress messages
23442 -d, --debug don't remove temporary files
23443 --recheck update $as_me by reconfiguring in the same conditions
23444 --header=FILE[:TEMPLATE]
23445 instantiate the configuration header FILE
23447 Configuration headers:
23448 $config_headers
23450 Configuration links:
23451 $config_links
23453 Configuration commands:
23454 $config_commands
23456 Report bugs to <wine-devel@winehq.org>.
23457 Wine home page: <https://www.winehq.org>."
23459 _ACEOF
23460 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23461 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23463 ac_cs_config='$ac_cs_config_escaped'
23464 ac_cs_version="\\
23465 Wine config.status 7.1
23466 configured by $0, generated by GNU Autoconf 2.71,
23467 with options \\"\$ac_cs_config\\"
23469 Copyright (C) 2021 Free Software Foundation, Inc.
23470 This config.status script is free software; the Free Software Foundation
23471 gives unlimited permission to copy, distribute and modify it."
23473 ac_pwd='$ac_pwd'
23474 srcdir='$srcdir'
23475 test -n "\$AWK" || AWK=awk
23476 _ACEOF
23478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23479 # The default lists apply if the user does not specify any file.
23480 ac_need_defaults=:
23481 while test $# != 0
23483 case $1 in
23484 --*=?*)
23485 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23486 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23487 ac_shift=:
23489 --*=)
23490 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23491 ac_optarg=
23492 ac_shift=:
23495 ac_option=$1
23496 ac_optarg=$2
23497 ac_shift=shift
23499 esac
23501 case $ac_option in
23502 # Handling of the options.
23503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23504 ac_cs_recheck=: ;;
23505 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23506 printf "%s\n" "$ac_cs_version"; exit ;;
23507 --config | --confi | --conf | --con | --co | --c )
23508 printf "%s\n" "$ac_cs_config"; exit ;;
23509 --debug | --debu | --deb | --de | --d | -d )
23510 debug=: ;;
23511 --header | --heade | --head | --hea )
23512 $ac_shift
23513 case $ac_optarg in
23514 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23515 esac
23516 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23517 ac_need_defaults=false;;
23518 --he | --h)
23519 # Conflict between --help and --header
23520 as_fn_error $? "ambiguous option: \`$1'
23521 Try \`$0 --help' for more information.";;
23522 --help | --hel | -h )
23523 printf "%s\n" "$ac_cs_usage"; exit ;;
23524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23525 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23526 ac_cs_silent=: ;;
23528 # This is an error.
23529 -*) as_fn_error $? "unrecognized option: \`$1'
23530 Try \`$0 --help' for more information." ;;
23532 *) as_fn_append ac_config_targets " $1"
23533 ac_need_defaults=false ;;
23535 esac
23536 shift
23537 done
23539 ac_configure_extra_args=
23541 if $ac_cs_silent; then
23542 exec 6>/dev/null
23543 ac_configure_extra_args="$ac_configure_extra_args --silent"
23546 _ACEOF
23547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23548 if \$ac_cs_recheck; then
23549 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23550 shift
23551 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23552 CONFIG_SHELL='$SHELL'
23553 export CONFIG_SHELL
23554 exec "\$@"
23557 _ACEOF
23558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23559 exec 5>>config.log
23561 echo
23562 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23563 ## Running $as_me. ##
23564 _ASBOX
23565 printf "%s\n" "$ac_log"
23566 } >&5
23568 _ACEOF
23569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23571 # INIT-COMMANDS
23573 wine_fn_output_makedep ()
23575 as_dir=tools; as_fn_mkdir_p
23576 $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
23578 wine_fn_output_makefile ()
23580 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23581 # This Makefile understands the following targets:
23583 # all (default): build wine
23584 # clean: remove all intermediate files
23585 # distclean: also remove all files created by configure
23586 # test: run tests
23587 # testclean: clean test results to force running all tests again
23588 # install-lib: install libraries needed to run applications
23589 # install-dev: install development environment
23590 # install: install everything
23591 # uninstall: uninstall everything
23592 # ctags: create a tags file for vim and others.
23593 # etags: create a TAGS file for Emacs.
23595 SHELL = $SHELL
23596 PATH_SEPARATOR = $PATH_SEPARATOR
23597 PACKAGE_NAME = $PACKAGE_NAME
23598 PACKAGE_TARNAME = $PACKAGE_TARNAME
23599 PACKAGE_VERSION = $PACKAGE_VERSION
23600 PACKAGE_STRING = $PACKAGE_STRING
23601 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23602 PACKAGE_URL = $PACKAGE_URL
23603 exec_prefix = $exec_prefix
23604 prefix = $prefix
23605 program_transform_name = $program_transform_name
23606 bindir = $bindir
23607 sbindir = $sbindir
23608 libexecdir = $libexecdir
23609 datarootdir = $datarootdir
23610 datadir = $datadir
23611 sysconfdir = $sysconfdir
23612 sharedstatedir = $sharedstatedir
23613 localstatedir = $localstatedir
23614 runstatedir = $runstatedir
23615 includedir = $includedir
23616 oldincludedir = $oldincludedir
23617 docdir = $docdir
23618 infodir = $infodir
23619 htmldir = $htmldir
23620 dvidir = $dvidir
23621 pdfdir = $pdfdir
23622 psdir = $psdir
23623 libdir = $libdir
23624 localedir = $localedir
23625 mandir = $mandir
23626 DEFS = $DEFS
23627 ECHO_C = $ECHO_C
23628 ECHO_N = $ECHO_N
23629 ECHO_T = $ECHO_T
23630 LIBS = $LIBS
23631 build_alias = $build_alias
23632 host_alias = $host_alias
23633 target_alias = $target_alias
23634 system_dllpath = $system_dllpath
23635 build = $build
23636 build_cpu = $build_cpu
23637 build_vendor = $build_vendor
23638 build_os = $build_os
23639 host = $host
23640 host_cpu = $host_cpu
23641 host_vendor = $host_vendor
23642 host_os = $host_os
23643 dlldir = $dlldir
23644 fontdir = $fontdir
23645 nlsdir = $nlsdir
23646 srcdir = $srcdir
23647 SET_MAKE = $SET_MAKE
23648 CC = $CC
23649 CFLAGS = $CFLAGS
23650 LDFLAGS = $LDFLAGS
23651 CPPFLAGS = $CPPFLAGS
23652 ac_ct_CC = $ac_ct_CC
23653 EXEEXT = $EXEEXT
23654 OBJEXT = $OBJEXT
23655 CXX = $CXX
23656 CXXFLAGS = $CXXFLAGS
23657 ac_ct_CXX = $ac_ct_CXX
23658 CPPBIN = $CPPBIN
23659 LD = $LD
23660 TARGETFLAGS = $TARGETFLAGS
23661 toolsext = $toolsext
23662 toolsdir = $toolsdir
23663 MAKEDEP = $MAKEDEP
23664 RUNTESTFLAGS = $RUNTESTFLAGS
23665 SED_CMD = $SED_CMD
23666 FLEX = $FLEX
23667 BISON = $BISON
23668 AR = $AR
23669 ac_ct_AR = $ac_ct_AR
23670 STRIP = $STRIP
23671 RANLIB = $RANLIB
23672 LN_S = $LN_S
23673 GREP = $GREP
23674 EGREP = $EGREP
23675 LDCONFIG = $LDCONFIG
23676 MSGFMT = $MSGFMT
23677 PKG_CONFIG = $PKG_CONFIG
23678 FONTFORGE = $FONTFORGE
23679 RSVG = $RSVG
23680 CONVERT = $CONVERT
23681 ICOTOOL = $ICOTOOL
23682 I386_LIBS = $I386_LIBS
23683 OPENGL_LIBS = $OPENGL_LIBS
23684 DLLFLAGS = $DLLFLAGS
23685 LDDLLFLAGS = $LDDLLFLAGS
23686 LDEXECFLAGS = $LDEXECFLAGS
23687 EXTRACFLAGS = $EXTRACFLAGS
23688 UNIXDLLFLAGS = $UNIXDLLFLAGS
23689 UNIXLDFLAGS = $UNIXLDFLAGS
23690 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23691 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23692 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23693 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23694 LDD = $LDD
23695 OTOOL = $OTOOL
23696 READELF = $READELF
23697 SUBDIRS = $SUBDIRS
23698 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23699 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23700 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23701 DLLTOOL = $DLLTOOL
23702 OBJC = $OBJC
23703 OBJCFLAGS = $OBJCFLAGS
23704 ac_ct_OBJC = $ac_ct_OBJC
23705 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23706 IOKIT_LIBS = $IOKIT_LIBS
23707 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23708 CORESERVICES_LIBS = $CORESERVICES_LIBS
23709 APPKIT_LIBS = $APPKIT_LIBS
23710 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23711 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23712 SECURITY_LIBS = $SECURITY_LIBS
23713 COREAUDIO_LIBS = $COREAUDIO_LIBS
23714 OPENAL_LIBS = $OPENAL_LIBS
23715 OPENCL_LIBS = $OPENCL_LIBS
23716 CARBON_LIBS = $CARBON_LIBS
23717 METAL_LIBS = $METAL_LIBS
23718 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23719 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23720 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23721 PRELINK = $PRELINK
23722 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23723 CROSSTARGET = $CROSSTARGET
23724 CROSSCC = $CROSSCC
23725 CROSSCFLAGS = $CROSSCFLAGS
23726 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23727 CROSSLDFLAGS = $CROSSLDFLAGS
23728 DELAYLOADFLAG = $DELAYLOADFLAG
23729 CROSSDEBUG = $CROSSDEBUG
23730 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23731 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23732 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23733 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23734 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23735 GSM_PE_LIBS = $GSM_PE_LIBS
23736 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23737 JPEG_PE_LIBS = $JPEG_PE_LIBS
23738 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23739 JXR_PE_LIBS = $JXR_PE_LIBS
23740 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23741 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23742 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23743 MPG123_PE_LIBS = $MPG123_PE_LIBS
23744 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23745 PNG_PE_LIBS = $PNG_PE_LIBS
23746 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23747 TIFF_PE_LIBS = $TIFF_PE_LIBS
23748 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23749 XML2_PE_LIBS = $XML2_PE_LIBS
23750 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23751 XSLT_PE_LIBS = $XSLT_PE_LIBS
23752 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23753 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23754 PTHREAD_LIBS = $PTHREAD_LIBS
23755 XMKMF = $XMKMF
23756 CPP = $CPP
23757 X_CFLAGS = $X_CFLAGS
23758 X_PRE_LIBS = $X_PRE_LIBS
23759 X_LIBS = $X_LIBS
23760 X_EXTRA_LIBS = $X_EXTRA_LIBS
23761 PCAP_LIBS = $PCAP_LIBS
23762 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23763 INOTIFY_LIBS = $INOTIFY_LIBS
23764 DBUS_CFLAGS = $DBUS_CFLAGS
23765 DBUS_LIBS = $DBUS_LIBS
23766 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23767 GNUTLS_LIBS = $GNUTLS_LIBS
23768 SANE_CFLAGS = $SANE_CFLAGS
23769 SANE_LIBS = $SANE_LIBS
23770 USB_CFLAGS = $USB_CFLAGS
23771 USB_LIBS = $USB_LIBS
23772 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23773 GPHOTO2_LIBS = $GPHOTO2_LIBS
23774 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23775 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23776 RESOLV_LIBS = $RESOLV_LIBS
23777 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23778 FREETYPE_LIBS = $FREETYPE_LIBS
23779 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23780 PULSE_CFLAGS = $PULSE_CFLAGS
23781 PULSE_LIBS = $PULSE_LIBS
23782 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23783 GSTREAMER_LIBS = $GSTREAMER_LIBS
23784 ALSA_LIBS = $ALSA_LIBS
23785 OSS4_CFLAGS = $OSS4_CFLAGS
23786 OSS4_LIBS = $OSS4_LIBS
23787 UDEV_CFLAGS = $UDEV_CFLAGS
23788 UDEV_LIBS = $UDEV_LIBS
23789 UNWIND_CFLAGS = $UNWIND_CFLAGS
23790 UNWIND_LIBS = $UNWIND_LIBS
23791 SDL2_CFLAGS = $SDL2_CFLAGS
23792 SDL2_LIBS = $SDL2_LIBS
23793 CAPI20_CFLAGS = $CAPI20_CFLAGS
23794 CAPI20_LIBS = $CAPI20_LIBS
23795 CUPS_CFLAGS = $CUPS_CFLAGS
23796 CUPS_LIBS = $CUPS_LIBS
23797 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23798 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23799 KRB5_CFLAGS = $KRB5_CFLAGS
23800 KRB5_LIBS = $KRB5_LIBS
23801 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23802 GSSAPI_LIBS = $GSSAPI_LIBS
23803 PROCSTAT_LIBS = $PROCSTAT_LIBS
23804 NETAPI_CFLAGS = $NETAPI_CFLAGS
23805 NETAPI_LIBS = $NETAPI_LIBS
23806 VKD3D_CFLAGS = $VKD3D_CFLAGS
23807 VKD3D_LIBS = $VKD3D_LIBS
23808 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23809 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23810 MSVCRTFLAGS = $MSVCRTFLAGS
23811 RT_LIBS = $RT_LIBS
23812 LDAP_CFLAGS = $LDAP_CFLAGS
23813 LDAP_LIBS = $LDAP_LIBS
23814 TAGSFLAGS = $TAGSFLAGS
23815 LIBOBJS = $LIBOBJS
23816 LTLIBOBJS = $LTLIBOBJS
23817 $SET_MAKE
23818 $wine_rules
23819 _WINE_EOF
23820 as_fn_error $? "could not create Makefile" "$LINENO" 5
23823 _ACEOF
23825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23827 # Handling of arguments.
23828 for ac_config_target in $ac_config_targets
23830 case $ac_config_target in
23831 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23832 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23833 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23834 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23835 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23836 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23838 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23839 esac
23840 done
23843 # If the user did not use the arguments to specify the items to instantiate,
23844 # then the envvar interface is used. Set only those that are not.
23845 # We use the long form for the default assignment because of an extremely
23846 # bizarre bug on SunOS 4.1.3.
23847 if $ac_need_defaults; then
23848 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23849 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23850 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23853 # Have a temporary directory for convenience. Make it in the build tree
23854 # simply because there is no reason against having it here, and in addition,
23855 # creating and moving files from /tmp can sometimes cause problems.
23856 # Hook for its removal unless debugging.
23857 # Note that there is a small window in which the directory will not be cleaned:
23858 # after its creation but before its name has been assigned to `$tmp'.
23859 $debug ||
23861 tmp= ac_tmp=
23862 trap 'exit_status=$?
23863 : "${ac_tmp:=$tmp}"
23864 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23866 trap 'as_fn_exit 1' 1 2 13 15
23868 # Create a (secure) tmp directory for tmp files.
23871 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23872 test -d "$tmp"
23873 } ||
23875 tmp=./conf$$-$RANDOM
23876 (umask 077 && mkdir "$tmp")
23877 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23878 ac_tmp=$tmp
23880 # Set up the scripts for CONFIG_HEADERS section.
23881 # No need to generate them if there are no CONFIG_HEADERS.
23882 # This happens for instance with `./config.status Makefile'.
23883 if test -n "$CONFIG_HEADERS"; then
23884 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23885 BEGIN {
23886 _ACEOF
23888 # Transform confdefs.h into an awk script `defines.awk', embedded as
23889 # here-document in config.status, that substitutes the proper values into
23890 # config.h.in to produce config.h.
23892 # Create a delimiter string that does not exist in confdefs.h, to ease
23893 # handling of long lines.
23894 ac_delim='%!_!# '
23895 for ac_last_try in false false :; do
23896 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23897 if test -z "$ac_tt"; then
23898 break
23899 elif $ac_last_try; then
23900 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23901 else
23902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23904 done
23906 # For the awk script, D is an array of macro values keyed by name,
23907 # likewise P contains macro parameters if any. Preserve backslash
23908 # newline sequences.
23910 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23911 sed -n '
23912 s/.\{148\}/&'"$ac_delim"'/g
23913 t rset
23914 :rset
23915 s/^[ ]*#[ ]*define[ ][ ]*/ /
23916 t def
23918 :def
23919 s/\\$//
23920 t bsnl
23921 s/["\\]/\\&/g
23922 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23923 D["\1"]=" \3"/p
23924 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23926 :bsnl
23927 s/["\\]/\\&/g
23928 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23929 D["\1"]=" \3\\\\\\n"\\/p
23930 t cont
23931 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23932 t cont
23934 :cont
23936 s/.\{148\}/&'"$ac_delim"'/g
23937 t clear
23938 :clear
23939 s/\\$//
23940 t bsnlc
23941 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23943 :bsnlc
23944 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23945 b cont
23946 ' <confdefs.h | sed '
23947 s/'"$ac_delim"'/"\\\
23948 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23951 for (key in D) D_is_set[key] = 1
23952 FS = "\a"
23954 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23955 line = \$ 0
23956 split(line, arg, " ")
23957 if (arg[1] == "#") {
23958 defundef = arg[2]
23959 mac1 = arg[3]
23960 } else {
23961 defundef = substr(arg[1], 2)
23962 mac1 = arg[2]
23964 split(mac1, mac2, "(") #)
23965 macro = mac2[1]
23966 prefix = substr(line, 1, index(line, defundef) - 1)
23967 if (D_is_set[macro]) {
23968 # Preserve the white space surrounding the "#".
23969 print prefix "define", macro P[macro] D[macro]
23970 next
23971 } else {
23972 # Replace #undef with comments. This is necessary, for example,
23973 # in the case of _POSIX_SOURCE, which is predefined and required
23974 # on some systems where configure will not decide to define it.
23975 if (defundef == "undef") {
23976 print "/*", prefix defundef, macro, "*/"
23977 next
23981 { print }
23982 _ACAWK
23983 _ACEOF
23984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23985 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23986 fi # test -n "$CONFIG_HEADERS"
23989 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23990 shift
23991 for ac_tag
23993 case $ac_tag in
23994 :[FHLC]) ac_mode=$ac_tag; continue;;
23995 esac
23996 case $ac_mode$ac_tag in
23997 :[FHL]*:*);;
23998 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23999 :[FH]-) ac_tag=-:-;;
24000 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24001 esac
24002 ac_save_IFS=$IFS
24003 IFS=:
24004 set x $ac_tag
24005 IFS=$ac_save_IFS
24006 shift
24007 ac_file=$1
24008 shift
24010 case $ac_mode in
24011 :L) ac_source=$1;;
24012 :[FH])
24013 ac_file_inputs=
24014 for ac_f
24016 case $ac_f in
24017 -) ac_f="$ac_tmp/stdin";;
24018 *) # Look for the file first in the build tree, then in the source tree
24019 # (if the path is not absolute). The absolute path cannot be DOS-style,
24020 # because $ac_f cannot contain `:'.
24021 test -f "$ac_f" ||
24022 case $ac_f in
24023 [\\/$]*) false;;
24024 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24025 esac ||
24026 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24027 esac
24028 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24029 as_fn_append ac_file_inputs " '$ac_f'"
24030 done
24032 # Let's still pretend it is `configure' which instantiates (i.e., don't
24033 # use $as_me), people would be surprised to read:
24034 # /* config.h. Generated by config.status. */
24035 configure_input='Generated from '`
24036 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24037 `' by configure.'
24038 if test x"$ac_file" != x-; then
24039 configure_input="$ac_file. $configure_input"
24040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24041 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24043 # Neutralize special characters interpreted by sed in replacement strings.
24044 case $configure_input in #(
24045 *\&* | *\|* | *\\* )
24046 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24047 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24048 *) ac_sed_conf_input=$configure_input;;
24049 esac
24051 case $ac_tag in
24052 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24054 esac
24056 esac
24058 ac_dir=`$as_dirname -- "$ac_file" ||
24059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24060 X"$ac_file" : 'X\(//\)[^/]' \| \
24061 X"$ac_file" : 'X\(//\)$' \| \
24062 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24063 printf "%s\n" X"$ac_file" |
24064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24065 s//\1/
24068 /^X\(\/\/\)[^/].*/{
24069 s//\1/
24072 /^X\(\/\/\)$/{
24073 s//\1/
24076 /^X\(\/\).*/{
24077 s//\1/
24080 s/.*/./; q'`
24081 as_dir="$ac_dir"; as_fn_mkdir_p
24082 ac_builddir=.
24084 case "$ac_dir" in
24085 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24087 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24088 # A ".." for each directory in $ac_dir_suffix.
24089 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24090 case $ac_top_builddir_sub in
24091 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24092 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24093 esac ;;
24094 esac
24095 ac_abs_top_builddir=$ac_pwd
24096 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24097 # for backward compatibility:
24098 ac_top_builddir=$ac_top_build_prefix
24100 case $srcdir in
24101 .) # We are building in place.
24102 ac_srcdir=.
24103 ac_top_srcdir=$ac_top_builddir_sub
24104 ac_abs_top_srcdir=$ac_pwd ;;
24105 [\\/]* | ?:[\\/]* ) # Absolute name.
24106 ac_srcdir=$srcdir$ac_dir_suffix;
24107 ac_top_srcdir=$srcdir
24108 ac_abs_top_srcdir=$srcdir ;;
24109 *) # Relative name.
24110 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24111 ac_top_srcdir=$ac_top_build_prefix$srcdir
24112 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24113 esac
24114 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24117 case $ac_mode in
24121 # CONFIG_HEADER
24123 if test x"$ac_file" != x-; then
24125 printf "%s\n" "/* $configure_input */" >&1 \
24126 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24127 } >"$ac_tmp/config.h" \
24128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24129 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24131 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24132 else
24133 rm -f "$ac_file"
24134 mv "$ac_tmp/config.h" "$ac_file" \
24135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24137 else
24138 printf "%s\n" "/* $configure_input */" >&1 \
24139 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24140 || as_fn_error $? "could not create -" "$LINENO" 5
24145 # CONFIG_LINK
24148 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24150 else
24151 # Prefer the file from the source tree if names are identical.
24152 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24153 ac_source=$srcdir/$ac_source
24156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24157 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24159 if test ! -r "$ac_source"; then
24160 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24162 rm -f "$ac_file"
24164 # Try a relative symlink, then a hard link, then a copy.
24165 case $ac_source in
24166 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24167 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24168 esac
24169 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24170 ln "$ac_source" "$ac_file" 2>/dev/null ||
24171 cp -p "$ac_source" "$ac_file" ||
24172 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24175 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24176 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24178 esac
24181 case $ac_file$ac_mode in
24182 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24183 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24184 "Makefile":C) wine_fn_output_makefile Makefile ;;
24186 esac
24187 done # for ac_tag
24190 as_fn_exit 0
24191 _ACEOF
24192 ac_clean_files=$ac_clean_files_save
24194 test $ac_write_fail = 0 ||
24195 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24198 # configure is writing to config.log, and then calls config.status.
24199 # config.status does its own redirection, appending to config.log.
24200 # Unfortunately, on DOS this fails, as config.log is still kept open
24201 # by configure, so config.status won't be able to write to it; its
24202 # output is simply discarded. So we exec the FD to /dev/null,
24203 # effectively closing config.log, so it can be properly (re)opened and
24204 # appended to by config.status. When coming back to configure, we
24205 # need to make the FD available again.
24206 if test "$no_create" != yes; then
24207 ac_cs_success=:
24208 ac_config_status_args=
24209 test "$silent" = yes &&
24210 ac_config_status_args="$ac_config_status_args --quiet"
24211 exec 5>/dev/null
24212 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24213 exec 5>>config.log
24214 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24215 # would make configure fail if this is the last instruction.
24216 $ac_cs_success || as_fn_exit 1
24218 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24220 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24224 if test "$no_create" = "yes"
24225 then
24226 exit 0
24229 ac_save_IFS="$IFS"
24230 if test "x$wine_notices" != x; then
24231 echo >&6
24232 IFS="|"
24233 for msg in $wine_notices; do
24234 IFS="$ac_save_IFS"
24235 if ${msg:+false} :
24236 then :
24238 else $as_nop
24239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24240 printf "%s\n" "$as_me: $msg" >&6;}
24242 done
24244 IFS="|"
24245 for msg in $wine_warnings; do
24246 IFS="$ac_save_IFS"
24247 if ${msg:+false} :
24248 then :
24250 else $as_nop
24251 echo >&2
24252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24253 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24255 done
24256 IFS="$ac_save_IFS"
24258 printf "%s\n" "
24259 $as_me: Finished. Do '${ac_make}' to compile Wine.
24260 " >&6