msado15: Free recordset filter on close.
[wine.git] / configure
blob375ed1d6e5f8f449815113d79235f2b55337645c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.2'
615 PACKAGE_STRING='Wine 8.2'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZYDIS_PE_LIBS
713 ZYDIS_PE_CFLAGS
714 ZLIB_PE_LIBS
715 ZLIB_PE_CFLAGS
716 XSLT_PE_LIBS
717 XSLT_PE_CFLAGS
718 XML2_PE_LIBS
719 XML2_PE_CFLAGS
720 VKD3D_PE_LIBS
721 VKD3D_PE_CFLAGS
722 TIFF_PE_LIBS
723 TIFF_PE_CFLAGS
724 PNG_PE_LIBS
725 PNG_PE_CFLAGS
726 MPG123_PE_LIBS
727 MPG123_PE_CFLAGS
728 LDAP_PE_LIBS
729 LDAP_PE_CFLAGS
730 LCMS2_PE_LIBS
731 LCMS2_PE_CFLAGS
732 JXR_PE_LIBS
733 JXR_PE_CFLAGS
734 JPEG_PE_LIBS
735 JPEG_PE_CFLAGS
736 GSM_PE_LIBS
737 GSM_PE_CFLAGS
738 FAUDIO_PE_LIBS
739 FAUDIO_PE_CFLAGS
740 MINGW_PKG_CONFIG
741 PE_ARCHS
742 WINELOADER_DEPENDS
743 ac_ct_OBJC
744 OBJCFLAGS
745 OBJC
746 OPENCL_LIBS
747 COREAUDIO_LIBS
748 SYSTEMCONFIGURATION_LIBS
749 SECURITY_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 METAL_LIBS
754 IOKIT_LIBS
755 DISKARBITRATION_LIBS
756 COREFOUNDATION_LIBS
757 CARBON_LIBS
758 CONFIGURE_TARGETS
759 DISABLED_SUBDIRS
760 SUBDIRS
761 READELF
762 OTOOL
764 WINEPRELOADER_LDFLAGS
765 WINELOADER_LDFLAGS
766 TOP_INSTALL_DEV
767 TOP_INSTALL_LIB
768 UNIXLDFLAGS
769 UNIXDLLFLAGS
770 EXTRACFLAGS
771 LDEXECFLAGS
772 LDDLLFLAGS
773 DLLFLAGS
774 OPENGL_LIBS
775 I386_LIBS
776 ICOTOOL
777 CONVERT
778 RSVG
779 FONTFORGE
780 PKG_CONFIG
781 MSGFMT
782 LDCONFIG
783 EGREP
784 GREP
785 LN_S
786 RANLIB
787 STRIP
788 ac_ct_AR
790 BISON
791 FLEX
792 SED_CMD
793 RUNTESTFLAGS
794 MAKEDEP
795 toolsdir
796 x86_64_DISABLED_SUBDIRS
797 x86_64_DELAYLOADFLAG
798 x86_64_TARGET
799 x86_64_DEBUG
800 x86_64_LDFLAGS
801 x86_64_EXTRACFLAGS
802 x86_64_CFLAGS
803 x86_64_CC
804 i386_DISABLED_SUBDIRS
805 i386_DELAYLOADFLAG
806 i386_TARGET
807 i386_DEBUG
808 i386_LDFLAGS
809 i386_EXTRACFLAGS
810 i386_CFLAGS
811 i386_CC
812 arm_DISABLED_SUBDIRS
813 arm_DELAYLOADFLAG
814 arm_TARGET
815 arm_DEBUG
816 arm_LDFLAGS
817 arm_EXTRACFLAGS
818 arm_CFLAGS
819 arm_CC
820 aarch64_DISABLED_SUBDIRS
821 aarch64_DELAYLOADFLAG
822 aarch64_TARGET
823 aarch64_DEBUG
824 aarch64_LDFLAGS
825 aarch64_EXTRACFLAGS
826 aarch64_CFLAGS
827 aarch64_CC
828 HOST_ARCH
829 toolsext
830 TARGETFLAGS
832 CPPBIN
833 ac_ct_CXX
834 CXXFLAGS
836 OBJEXT
837 EXEEXT
838 ac_ct_CC
839 CPPFLAGS
840 LDFLAGS
841 CFLAGS
843 SET_MAKE
844 srcdir
845 nlsdir
846 fontdir
847 dlldir
848 host_os
849 host_vendor
850 host_cpu
851 host
852 build_os
853 build_vendor
854 build_cpu
855 build
856 system_dllpath
857 target_alias
858 host_alias
859 build_alias
860 LIBS
861 ECHO_T
862 ECHO_N
863 ECHO_C
864 DEFS
865 mandir
866 localedir
867 libdir
868 psdir
869 pdfdir
870 dvidir
871 htmldir
872 infodir
873 docdir
874 oldincludedir
875 includedir
876 runstatedir
877 localstatedir
878 sharedstatedir
879 sysconfdir
880 datadir
881 datarootdir
882 libexecdir
883 sbindir
884 bindir
885 program_transform_name
886 prefix
887 exec_prefix
888 PACKAGE_URL
889 PACKAGE_BUGREPORT
890 PACKAGE_STRING
891 PACKAGE_VERSION
892 PACKAGE_TARNAME
893 PACKAGE_NAME
894 PATH_SEPARATOR
895 SHELL'
896 ac_subst_files=''
897 ac_user_opts='
898 enable_option_checking
899 enable_archs
900 enable_win16
901 enable_win64
902 enable_tests
903 enable_build_id
904 enable_maintainer_mode
905 enable_silent_rules
906 enable_werror
907 with_alsa
908 with_capi
909 with_coreaudio
910 with_cups
911 with_dbus
912 with_float_abi
913 with_fontconfig
914 with_freetype
915 with_gettext
916 with_gettextpo
917 with_gphoto
918 with_gnutls
919 with_gssapi
920 with_gstreamer
921 with_inotify
922 with_krb5
923 with_mingw
924 with_netapi
925 with_opencl
926 with_opengl
927 with_osmesa
928 with_oss
929 with_pcap
930 with_pcsclite
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d12core
1019 enable_d3d8
1020 enable_d3d8thk
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3dim700
1037 enable_d3drm
1038 enable_d3dx10_33
1039 enable_d3dx10_34
1040 enable_d3dx10_35
1041 enable_d3dx10_36
1042 enable_d3dx10_37
1043 enable_d3dx10_38
1044 enable_d3dx10_39
1045 enable_d3dx10_40
1046 enable_d3dx10_41
1047 enable_d3dx10_42
1048 enable_d3dx10_43
1049 enable_d3dx11_42
1050 enable_d3dx11_43
1051 enable_d3dx9_24
1052 enable_d3dx9_25
1053 enable_d3dx9_26
1054 enable_d3dx9_27
1055 enable_d3dx9_28
1056 enable_d3dx9_29
1057 enable_d3dx9_30
1058 enable_d3dx9_31
1059 enable_d3dx9_32
1060 enable_d3dx9_33
1061 enable_d3dx9_34
1062 enable_d3dx9_35
1063 enable_d3dx9_36
1064 enable_d3dx9_37
1065 enable_d3dx9_38
1066 enable_d3dx9_39
1067 enable_d3dx9_40
1068 enable_d3dx9_41
1069 enable_d3dx9_42
1070 enable_d3dx9_43
1071 enable_d3dxof
1072 enable_davclnt
1073 enable_dbgeng
1074 enable_dbghelp
1075 enable_dciman32
1076 enable_dcomp
1077 enable_ddraw
1078 enable_ddrawex
1079 enable_devenum
1080 enable_dhcpcsvc
1081 enable_dhcpcsvc6
1082 enable_dhtmled_ocx
1083 enable_diasymreader
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_directmanipulation
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnhupnp
1105 enable_dpnlobby
1106 enable_dpvoice
1107 enable_dpwsockx
1108 enable_drmclien
1109 enable_dsdmo
1110 enable_dsound
1111 enable_dsquery
1112 enable_dssenh
1113 enable_dsuiext
1114 enable_dswave
1115 enable_dwmapi
1116 enable_dwrite
1117 enable_dx8vb
1118 enable_dxdiagn
1119 enable_dxgi
1120 enable_dxtrans
1121 enable_dxva2
1122 enable_esent
1123 enable_evr
1124 enable_explorerframe
1125 enable_faultrep
1126 enable_feclient
1127 enable_fltlib
1128 enable_fltmgr_sys
1129 enable_fntcache
1130 enable_fontsub
1131 enable_fusion
1132 enable_fwpuclnt
1133 enable_gameux
1134 enable_gamingtcui
1135 enable_gdi32
1136 enable_gdiplus
1137 enable_glu32
1138 enable_gphoto2_ds
1139 enable_gpkcsp
1140 enable_hal
1141 enable_hhctrl_ocx
1142 enable_hid
1143 enable_hidclass_sys
1144 enable_hidparse_sys
1145 enable_hlink
1146 enable_hnetcfg
1147 enable_http_sys
1148 enable_httpapi
1149 enable_ia2comproxy
1150 enable_iccvid
1151 enable_icmp
1152 enable_ieframe
1153 enable_ieproxy
1154 enable_imaadp32_acm
1155 enable_imagehlp
1156 enable_imm32
1157 enable_inetcomm
1158 enable_inetcpl_cpl
1159 enable_inetmib1
1160 enable_infosoft
1161 enable_initpki
1162 enable_inkobj
1163 enable_inseng
1164 enable_iphlpapi
1165 enable_iprop
1166 enable_ir50_32
1167 enable_irprops_cpl
1168 enable_itircl
1169 enable_itss
1170 enable_joy_cpl
1171 enable_jscript
1172 enable_jsproxy
1173 enable_kerberos
1174 enable_kernel32
1175 enable_kernelbase
1176 enable_ksecdd_sys
1177 enable_ksproxy_ax
1178 enable_ksuser
1179 enable_ktmw32
1180 enable_l3codeca_acm
1181 enable_light_msstyles
1182 enable_loadperf
1183 enable_localspl
1184 enable_localui
1185 enable_lz32
1186 enable_mapi32
1187 enable_mapistub
1188 enable_mciavi32
1189 enable_mcicda
1190 enable_mciqtz32
1191 enable_mciseq
1192 enable_mciwave
1193 enable_mf
1194 enable_mf3216
1195 enable_mferror
1196 enable_mfmediaengine
1197 enable_mfplat
1198 enable_mfplay
1199 enable_mfreadwrite
1200 enable_mfsrcsnk
1201 enable_mgmtapi
1202 enable_midimap
1203 enable_mlang
1204 enable_mmcndmgr
1205 enable_mmdevapi
1206 enable_mountmgr_sys
1207 enable_mp3dmod
1208 enable_mpr
1209 enable_mprapi
1210 enable_msacm32_drv
1211 enable_msacm32
1212 enable_msado15
1213 enable_msadp32_acm
1214 enable_msasn1
1215 enable_msauddecmft
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
1241 enable_msmpeg2vdec
1242 enable_msnet32
1243 enable_mspatcha
1244 enable_msports
1245 enable_msrle32
1246 enable_msscript_ocx
1247 enable_mssign32
1248 enable_mssip32
1249 enable_mstask
1250 enable_msv1_0
1251 enable_msvcirt
1252 enable_msvcm80
1253 enable_msvcm90
1254 enable_msvcp100
1255 enable_msvcp110
1256 enable_msvcp120
1257 enable_msvcp120_app
1258 enable_msvcp140
1259 enable_msvcp140_1
1260 enable_msvcp140_2
1261 enable_msvcp140_atomic_wait
1262 enable_msvcp60
1263 enable_msvcp70
1264 enable_msvcp71
1265 enable_msvcp80
1266 enable_msvcp90
1267 enable_msvcp_win
1268 enable_msvcr100
1269 enable_msvcr110
1270 enable_msvcr120
1271 enable_msvcr120_app
1272 enable_msvcr70
1273 enable_msvcr71
1274 enable_msvcr80
1275 enable_msvcr90
1276 enable_msvcrt
1277 enable_msvcrt20
1278 enable_msvcrt40
1279 enable_msvcrtd
1280 enable_msvfw32
1281 enable_msvidc32
1282 enable_mswsock
1283 enable_msxml
1284 enable_msxml2
1285 enable_msxml3
1286 enable_msxml4
1287 enable_msxml6
1288 enable_mtxdm
1289 enable_ncrypt
1290 enable_nddeapi
1291 enable_ndis_sys
1292 enable_netapi32
1293 enable_netcfgx
1294 enable_netio_sys
1295 enable_netprofm
1296 enable_netutils
1297 enable_newdev
1298 enable_ninput
1299 enable_normaliz
1300 enable_npmshtml
1301 enable_npptools
1302 enable_nsi
1303 enable_nsiproxy_sys
1304 enable_ntdll
1305 enable_ntdsapi
1306 enable_ntoskrnl_exe
1307 enable_ntprint
1308 enable_objsel
1309 enable_odbc32
1310 enable_odbcbcp
1311 enable_odbccp32
1312 enable_odbccu32
1313 enable_ole32
1314 enable_oleacc
1315 enable_oleaut32
1316 enable_olecli32
1317 enable_oledb32
1318 enable_oledlg
1319 enable_olepro32
1320 enable_olesvr32
1321 enable_olethk32
1322 enable_opcservices
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
1362 enable_scardsvr
1363 enable_sccbase
1364 enable_schannel
1365 enable_schedsvc
1366 enable_scrobj
1367 enable_scrrun
1368 enable_scsiport_sys
1369 enable_sechost
1370 enable_secur32
1371 enable_security
1372 enable_sensapi
1373 enable_serialui
1374 enable_setupapi
1375 enable_sfc
1376 enable_sfc_os
1377 enable_shcore
1378 enable_shdoclc
1379 enable_shdocvw
1380 enable_shell32
1381 enable_shfolder
1382 enable_shlwapi
1383 enable_slbcsp
1384 enable_slc
1385 enable_snmpapi
1386 enable_softpub
1387 enable_spoolss
1388 enable_sppc
1389 enable_srclient
1390 enable_srvcli
1391 enable_sspicli
1392 enable_stdole2_tlb
1393 enable_stdole32_tlb
1394 enable_sti
1395 enable_strmdll
1396 enable_svrapi
1397 enable_sxs
1398 enable_t2embed
1399 enable_tapi32
1400 enable_taskschd
1401 enable_tbs
1402 enable_tdh
1403 enable_tdi_sys
1404 enable_threadpoolwinrt
1405 enable_traffic
1406 enable_twain_32
1407 enable_tzres
1408 enable_ucrtbase
1409 enable_uianimation
1410 enable_uiautomationcore
1411 enable_uiribbon
1412 enable_unicows
1413 enable_updspapi
1414 enable_url
1415 enable_urlmon
1416 enable_usbd_sys
1417 enable_user32
1418 enable_userenv
1419 enable_usp10
1420 enable_utildll
1421 enable_uxtheme
1422 enable_vbscript
1423 enable_vcomp
1424 enable_vcomp100
1425 enable_vcomp110
1426 enable_vcomp120
1427 enable_vcomp140
1428 enable_vcomp90
1429 enable_vcruntime140
1430 enable_vcruntime140_1
1431 enable_vdmdbg
1432 enable_version
1433 enable_vga
1434 enable_virtdisk
1435 enable_vssapi
1436 enable_vulkan_1
1437 enable_wbemdisp
1438 enable_wbemprox
1439 enable_wdscore
1440 enable_webservices
1441 enable_websocket
1442 enable_wer
1443 enable_wevtapi
1444 enable_wevtsvc
1445 enable_wiaservc
1446 enable_wimgapi
1447 enable_win32u
1448 enable_windows_devices_enumeration
1449 enable_windows_gaming_input
1450 enable_windows_gaming_ui_gamebar
1451 enable_windows_globalization
1452 enable_windows_media_devices
1453 enable_windows_media_speech
1454 enable_windows_media
1455 enable_windows_networking
1456 enable_windows_system_profile_systemmanufacturers
1457 enable_windows_ui
1458 enable_windowscodecs
1459 enable_windowscodecsext
1460 enable_winealsa_drv
1461 enable_wineandroid_drv
1462 enable_winebus_sys
1463 enable_winecoreaudio_drv
1464 enable_winecrt0
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winemac_drv
1469 enable_winemapi
1470 enable_wineoss_drv
1471 enable_wineps_drv
1472 enable_winepulse_drv
1473 enable_wineusb_sys
1474 enable_winevulkan
1475 enable_winex11_drv
1476 enable_winexinput_sys
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winprint
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_wintypes
1489 enable_winusb
1490 enable_wlanapi
1491 enable_wlanui
1492 enable_wldap32
1493 enable_wmasf
1494 enable_wmi
1495 enable_wmiutils
1496 enable_wmp
1497 enable_wmphoto
1498 enable_wmvcore
1499 enable_wnaspi32
1500 enable_wofutil
1501 enable_wow64
1502 enable_wow64cpu
1503 enable_wow64win
1504 enable_wpc
1505 enable_wpcap
1506 enable_ws2_32
1507 enable_wsdapi
1508 enable_wshom_ocx
1509 enable_wsnmp32
1510 enable_wsock32
1511 enable_wtsapi32
1512 enable_wuapi
1513 enable_wuaueng
1514 enable_x3daudio1_0
1515 enable_x3daudio1_1
1516 enable_x3daudio1_2
1517 enable_x3daudio1_3
1518 enable_x3daudio1_4
1519 enable_x3daudio1_5
1520 enable_x3daudio1_6
1521 enable_x3daudio1_7
1522 enable_xactengine2_0
1523 enable_xactengine2_4
1524 enable_xactengine2_7
1525 enable_xactengine2_9
1526 enable_xactengine3_0
1527 enable_xactengine3_1
1528 enable_xactengine3_2
1529 enable_xactengine3_3
1530 enable_xactengine3_4
1531 enable_xactengine3_5
1532 enable_xactengine3_6
1533 enable_xactengine3_7
1534 enable_xapofx1_1
1535 enable_xapofx1_2
1536 enable_xapofx1_3
1537 enable_xapofx1_4
1538 enable_xapofx1_5
1539 enable_xaudio2_0
1540 enable_xaudio2_1
1541 enable_xaudio2_2
1542 enable_xaudio2_3
1543 enable_xaudio2_4
1544 enable_xaudio2_5
1545 enable_xaudio2_6
1546 enable_xaudio2_7
1547 enable_xaudio2_8
1548 enable_xaudio2_9
1549 enable_xinput1_1
1550 enable_xinput1_2
1551 enable_xinput1_3
1552 enable_xinput1_4
1553 enable_xinput9_1_0
1554 enable_xinputuap
1555 enable_xmllite
1556 enable_xolehlp
1557 enable_xpsprint
1558 enable_xpssvcs
1559 enable_fonts
1560 enable_include
1561 enable_adsiid
1562 enable_dmoguids
1563 enable_dxerr8
1564 enable_dxerr9
1565 enable_dxguid
1566 enable_faudio
1567 enable_gsm
1568 enable_jpeg
1569 enable_jxr
1570 enable_lcms2
1571 enable_ldap
1572 enable_mfuuid
1573 enable_mpg123
1574 enable_png
1575 enable_strmbase
1576 enable_strmiids
1577 enable_tiff
1578 enable_uuid
1579 enable_vkd3d
1580 enable_wbemuuid
1581 enable_wmcodecdspuuid
1582 enable_xml2
1583 enable_xslt
1584 enable_zlib
1585 enable_zydis
1586 enable_loader
1587 enable_nls
1588 enable_po
1589 enable_arp
1590 enable_aspnet_regiis
1591 enable_attrib
1592 enable_cabarc
1593 enable_cacls
1594 enable_certutil
1595 enable_chcp_com
1596 enable_clock
1597 enable_cmd
1598 enable_conhost
1599 enable_control
1600 enable_cscript
1601 enable_dism
1602 enable_dllhost
1603 enable_dplaysvr
1604 enable_dpnsvr
1605 enable_dpvsetup
1606 enable_dxdiag
1607 enable_eject
1608 enable_expand
1609 enable_explorer
1610 enable_extrac32
1611 enable_fc
1612 enable_find
1613 enable_findstr
1614 enable_fsutil
1615 enable_hh
1616 enable_hostname
1617 enable_icacls
1618 enable_icinfo
1619 enable_iexplore
1620 enable_ipconfig
1621 enable_lodctr
1622 enable_mofcomp
1623 enable_mshta
1624 enable_msidb
1625 enable_msiexec
1626 enable_msinfo32
1627 enable_net
1628 enable_netsh
1629 enable_netstat
1630 enable_ngen
1631 enable_notepad
1632 enable_oleview
1633 enable_ping
1634 enable_plugplay
1635 enable_powershell
1636 enable_presentationfontcache
1637 enable_progman
1638 enable_reg
1639 enable_regasm
1640 enable_regedit
1641 enable_regini
1642 enable_regsvcs
1643 enable_regsvr32
1644 enable_robocopy
1645 enable_rpcss
1646 enable_rundll32
1647 enable_sc
1648 enable_schtasks
1649 enable_sdbinst
1650 enable_secedit
1651 enable_servicemodelreg
1652 enable_services
1653 enable_setx
1654 enable_shutdown
1655 enable_spoolsv
1656 enable_start
1657 enable_subst
1658 enable_svchost
1659 enable_systeminfo
1660 enable_taskkill
1661 enable_tasklist
1662 enable_taskmgr
1663 enable_termsv
1664 enable_uninstaller
1665 enable_unlodctr
1666 enable_view
1667 enable_wevtutil
1668 enable_where
1669 enable_whoami
1670 enable_wineboot
1671 enable_winebrowser
1672 enable_winecfg
1673 enable_wineconsole
1674 enable_winedbg
1675 enable_winedevice
1676 enable_winefile
1677 enable_winemenubuilder
1678 enable_winemine
1679 enable_winemsibuilder
1680 enable_winepath
1681 enable_winetest
1682 enable_winhlp32
1683 enable_winmgmt
1684 enable_winver
1685 enable_wmic
1686 enable_wmplayer
1687 enable_wordpad
1688 enable_write
1689 enable_wscript
1690 enable_wuauserv
1691 enable_wusa
1692 enable_xcopy
1693 enable_server
1694 enable_tools
1695 enable_sfnt2fon
1696 enable_widl
1697 enable_winebuild
1698 enable_winedump
1699 enable_winegcc
1700 enable_winemaker
1701 enable_wmc
1702 enable_wrc
1704 ac_precious_vars='build_alias
1705 host_alias
1706 target_alias
1708 CFLAGS
1709 LDFLAGS
1710 LIBS
1711 CPPFLAGS
1713 CXXFLAGS
1715 OBJC
1716 OBJCFLAGS
1717 FAUDIO_PE_CFLAGS
1718 FAUDIO_PE_LIBS
1719 GSM_PE_CFLAGS
1720 GSM_PE_LIBS
1721 JPEG_PE_CFLAGS
1722 JPEG_PE_LIBS
1723 JXR_PE_CFLAGS
1724 JXR_PE_LIBS
1725 LCMS2_PE_CFLAGS
1726 LCMS2_PE_LIBS
1727 LDAP_PE_CFLAGS
1728 LDAP_PE_LIBS
1729 MPG123_PE_CFLAGS
1730 MPG123_PE_LIBS
1731 PNG_PE_CFLAGS
1732 PNG_PE_LIBS
1733 TIFF_PE_CFLAGS
1734 TIFF_PE_LIBS
1735 VKD3D_PE_CFLAGS
1736 VKD3D_PE_LIBS
1737 XML2_PE_CFLAGS
1738 XML2_PE_LIBS
1739 XSLT_PE_CFLAGS
1740 XSLT_PE_LIBS
1741 ZLIB_PE_CFLAGS
1742 ZLIB_PE_LIBS
1743 ZYDIS_PE_CFLAGS
1744 ZYDIS_PE_LIBS
1745 XMKMF
1747 INOTIFY_CFLAGS
1748 INOTIFY_LIBS
1749 DBUS_CFLAGS
1750 DBUS_LIBS
1751 GNUTLS_CFLAGS
1752 GNUTLS_LIBS
1753 SANE_CFLAGS
1754 SANE_LIBS
1755 USB_CFLAGS
1756 USB_LIBS
1757 GPHOTO2_CFLAGS
1758 GPHOTO2_LIBS
1759 GPHOTO2_PORT_CFLAGS
1760 GPHOTO2_PORT_LIBS
1761 FREETYPE_CFLAGS
1762 FREETYPE_LIBS
1763 PULSE_CFLAGS
1764 PULSE_LIBS
1765 GSTREAMER_CFLAGS
1766 GSTREAMER_LIBS
1767 UDEV_CFLAGS
1768 UDEV_LIBS
1769 UNWIND_CFLAGS
1770 UNWIND_LIBS
1771 SDL2_CFLAGS
1772 SDL2_LIBS
1773 CAPI20_CFLAGS
1774 CAPI20_LIBS
1775 CUPS_CFLAGS
1776 CUPS_LIBS
1777 FONTCONFIG_CFLAGS
1778 FONTCONFIG_LIBS
1779 KRB5_CFLAGS
1780 KRB5_LIBS
1781 GSSAPI_CFLAGS
1782 GSSAPI_LIBS
1783 NETAPI_CFLAGS
1784 NETAPI_LIBS'
1787 # Initialize some variables set by options.
1788 ac_init_help=
1789 ac_init_version=false
1790 ac_unrecognized_opts=
1791 ac_unrecognized_sep=
1792 # The variables have the same names as the options, with
1793 # dashes changed to underlines.
1794 cache_file=/dev/null
1795 exec_prefix=NONE
1796 no_create=
1797 no_recursion=
1798 prefix=NONE
1799 program_prefix=NONE
1800 program_suffix=NONE
1801 program_transform_name=s,x,x,
1802 silent=
1803 site=
1804 srcdir=
1805 verbose=
1806 x_includes=NONE
1807 x_libraries=NONE
1809 # Installation directory options.
1810 # These are left unexpanded so users can "make install exec_prefix=/foo"
1811 # and all the variables that are supposed to be based on exec_prefix
1812 # by default will actually change.
1813 # Use braces instead of parens because sh, perl, etc. also accept them.
1814 # (The list follows the same order as the GNU Coding Standards.)
1815 bindir='${exec_prefix}/bin'
1816 sbindir='${exec_prefix}/sbin'
1817 libexecdir='${exec_prefix}/libexec'
1818 datarootdir='${prefix}/share'
1819 datadir='${datarootdir}'
1820 sysconfdir='${prefix}/etc'
1821 sharedstatedir='${prefix}/com'
1822 localstatedir='${prefix}/var'
1823 runstatedir='${localstatedir}/run'
1824 includedir='${prefix}/include'
1825 oldincludedir='/usr/include'
1826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1827 infodir='${datarootdir}/info'
1828 htmldir='${docdir}'
1829 dvidir='${docdir}'
1830 pdfdir='${docdir}'
1831 psdir='${docdir}'
1832 libdir='${exec_prefix}/lib'
1833 localedir='${datarootdir}/locale'
1834 mandir='${datarootdir}/man'
1836 ac_prev=
1837 ac_dashdash=
1838 for ac_option
1840 # If the previous option needs an argument, assign it.
1841 if test -n "$ac_prev"; then
1842 eval $ac_prev=\$ac_option
1843 ac_prev=
1844 continue
1847 case $ac_option in
1848 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1849 *=) ac_optarg= ;;
1850 *) ac_optarg=yes ;;
1851 esac
1853 case $ac_dashdash$ac_option in
1855 ac_dashdash=yes ;;
1857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1858 ac_prev=bindir ;;
1859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1860 bindir=$ac_optarg ;;
1862 -build | --build | --buil | --bui | --bu)
1863 ac_prev=build_alias ;;
1864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1865 build_alias=$ac_optarg ;;
1867 -cache-file | --cache-file | --cache-fil | --cache-fi \
1868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1869 ac_prev=cache_file ;;
1870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1872 cache_file=$ac_optarg ;;
1874 --config-cache | -C)
1875 cache_file=config.cache ;;
1877 -datadir | --datadir | --datadi | --datad)
1878 ac_prev=datadir ;;
1879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1880 datadir=$ac_optarg ;;
1882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1883 | --dataroo | --dataro | --datar)
1884 ac_prev=datarootdir ;;
1885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1887 datarootdir=$ac_optarg ;;
1889 -disable-* | --disable-*)
1890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1893 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1894 ac_useropt_orig=$ac_useropt
1895 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_$ac_useropt"
1899 "*) ;;
1900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1901 ac_unrecognized_sep=', ';;
1902 esac
1903 eval enable_$ac_useropt=no ;;
1905 -docdir | --docdir | --docdi | --doc | --do)
1906 ac_prev=docdir ;;
1907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1908 docdir=$ac_optarg ;;
1910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1911 ac_prev=dvidir ;;
1912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1913 dvidir=$ac_optarg ;;
1915 -enable-* | --enable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=\$ac_optarg ;;
1931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1933 | --exec | --exe | --ex)
1934 ac_prev=exec_prefix ;;
1935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1937 | --exec=* | --exe=* | --ex=*)
1938 exec_prefix=$ac_optarg ;;
1940 -gas | --gas | --ga | --g)
1941 # Obsolete; use --with-gas.
1942 with_gas=yes ;;
1944 -help | --help | --hel | --he | -h)
1945 ac_init_help=long ;;
1946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1947 ac_init_help=recursive ;;
1948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1949 ac_init_help=short ;;
1951 -host | --host | --hos | --ho)
1952 ac_prev=host_alias ;;
1953 -host=* | --host=* | --hos=* | --ho=*)
1954 host_alias=$ac_optarg ;;
1956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1957 ac_prev=htmldir ;;
1958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1959 | --ht=*)
1960 htmldir=$ac_optarg ;;
1962 -includedir | --includedir | --includedi | --included | --include \
1963 | --includ | --inclu | --incl | --inc)
1964 ac_prev=includedir ;;
1965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1966 | --includ=* | --inclu=* | --incl=* | --inc=*)
1967 includedir=$ac_optarg ;;
1969 -infodir | --infodir | --infodi | --infod | --info | --inf)
1970 ac_prev=infodir ;;
1971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1972 infodir=$ac_optarg ;;
1974 -libdir | --libdir | --libdi | --libd)
1975 ac_prev=libdir ;;
1976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1977 libdir=$ac_optarg ;;
1979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1980 | --libexe | --libex | --libe)
1981 ac_prev=libexecdir ;;
1982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1983 | --libexe=* | --libex=* | --libe=*)
1984 libexecdir=$ac_optarg ;;
1986 -localedir | --localedir | --localedi | --localed | --locale)
1987 ac_prev=localedir ;;
1988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1989 localedir=$ac_optarg ;;
1991 -localstatedir | --localstatedir | --localstatedi | --localstated \
1992 | --localstate | --localstat | --localsta | --localst | --locals)
1993 ac_prev=localstatedir ;;
1994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1996 localstatedir=$ac_optarg ;;
1998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1999 ac_prev=mandir ;;
2000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2001 mandir=$ac_optarg ;;
2003 -nfp | --nfp | --nf)
2004 # Obsolete; use --without-fp.
2005 with_fp=no ;;
2007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2008 | --no-cr | --no-c | -n)
2009 no_create=yes ;;
2011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2013 no_recursion=yes ;;
2015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2017 | --oldin | --oldi | --old | --ol | --o)
2018 ac_prev=oldincludedir ;;
2019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2022 oldincludedir=$ac_optarg ;;
2024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2025 ac_prev=prefix ;;
2026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2027 prefix=$ac_optarg ;;
2029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2030 | --program-pre | --program-pr | --program-p)
2031 ac_prev=program_prefix ;;
2032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2034 program_prefix=$ac_optarg ;;
2036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2037 | --program-suf | --program-su | --program-s)
2038 ac_prev=program_suffix ;;
2039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2041 program_suffix=$ac_optarg ;;
2043 -program-transform-name | --program-transform-name \
2044 | --program-transform-nam | --program-transform-na \
2045 | --program-transform-n | --program-transform- \
2046 | --program-transform | --program-transfor \
2047 | --program-transfo | --program-transf \
2048 | --program-trans | --program-tran \
2049 | --progr-tra | --program-tr | --program-t)
2050 ac_prev=program_transform_name ;;
2051 -program-transform-name=* | --program-transform-name=* \
2052 | --program-transform-nam=* | --program-transform-na=* \
2053 | --program-transform-n=* | --program-transform-=* \
2054 | --program-transform=* | --program-transfor=* \
2055 | --program-transfo=* | --program-transf=* \
2056 | --program-trans=* | --program-tran=* \
2057 | --progr-tra=* | --program-tr=* | --program-t=*)
2058 program_transform_name=$ac_optarg ;;
2060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2061 ac_prev=pdfdir ;;
2062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2063 pdfdir=$ac_optarg ;;
2065 -psdir | --psdir | --psdi | --psd | --ps)
2066 ac_prev=psdir ;;
2067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2068 psdir=$ac_optarg ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 silent=yes ;;
2074 -runstatedir | --runstatedir | --runstatedi | --runstated \
2075 | --runstate | --runstat | --runsta | --runst | --runs \
2076 | --run | --ru | --r)
2077 ac_prev=runstatedir ;;
2078 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2079 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2080 | --run=* | --ru=* | --r=*)
2081 runstatedir=$ac_optarg ;;
2083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2084 ac_prev=sbindir ;;
2085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2086 | --sbi=* | --sb=*)
2087 sbindir=$ac_optarg ;;
2089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2091 | --sharedst | --shareds | --shared | --share | --shar \
2092 | --sha | --sh)
2093 ac_prev=sharedstatedir ;;
2094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2097 | --sha=* | --sh=*)
2098 sharedstatedir=$ac_optarg ;;
2100 -site | --site | --sit)
2101 ac_prev=site ;;
2102 -site=* | --site=* | --sit=*)
2103 site=$ac_optarg ;;
2105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2106 ac_prev=srcdir ;;
2107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2108 srcdir=$ac_optarg ;;
2110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2111 | --syscon | --sysco | --sysc | --sys | --sy)
2112 ac_prev=sysconfdir ;;
2113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2115 sysconfdir=$ac_optarg ;;
2117 -target | --target | --targe | --targ | --tar | --ta | --t)
2118 ac_prev=target_alias ;;
2119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2120 target_alias=$ac_optarg ;;
2122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2123 verbose=yes ;;
2125 -version | --version | --versio | --versi | --vers | -V)
2126 ac_init_version=: ;;
2128 -with-* | --with-*)
2129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2132 as_fn_error $? "invalid package name: \`$ac_useropt'"
2133 ac_useropt_orig=$ac_useropt
2134 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2137 "with_$ac_useropt"
2138 "*) ;;
2139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2140 ac_unrecognized_sep=', ';;
2141 esac
2142 eval with_$ac_useropt=\$ac_optarg ;;
2144 -without-* | --without-*)
2145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2148 as_fn_error $? "invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig=$ac_useropt
2150 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2153 "with_$ac_useropt"
2154 "*) ;;
2155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2156 ac_unrecognized_sep=', ';;
2157 esac
2158 eval with_$ac_useropt=no ;;
2160 --x)
2161 # Obsolete; use --with-x.
2162 with_x=yes ;;
2164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2165 | --x-incl | --x-inc | --x-in | --x-i)
2166 ac_prev=x_includes ;;
2167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2169 x_includes=$ac_optarg ;;
2171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2173 ac_prev=x_libraries ;;
2174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2176 x_libraries=$ac_optarg ;;
2178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2179 Try \`$0 --help' for more information"
2182 *=*)
2183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2184 # Reject names that are not valid shell variable names.
2185 case $ac_envvar in #(
2186 '' | [0-9]* | *[!_$as_cr_alnum]* )
2187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2188 esac
2189 eval $ac_envvar=\$ac_optarg
2190 export $ac_envvar ;;
2193 # FIXME: should be removed in autoconf 3.0.
2194 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2196 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2200 esac
2201 done
2203 if test -n "$ac_prev"; then
2204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2205 as_fn_error $? "missing argument to $ac_option"
2208 if test -n "$ac_unrecognized_opts"; then
2209 case $enable_option_checking in
2210 no) ;;
2211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2212 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2213 esac
2216 # Check all directory arguments for consistency.
2217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2218 datadir sysconfdir sharedstatedir localstatedir includedir \
2219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2220 libdir localedir mandir runstatedir
2222 eval ac_val=\$$ac_var
2223 # Remove trailing slashes.
2224 case $ac_val in
2225 */ )
2226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2227 eval $ac_var=\$ac_val;;
2228 esac
2229 # Be sure to have absolute directory names.
2230 case $ac_val in
2231 [\\/$]* | ?:[\\/]* ) continue;;
2232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2233 esac
2234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2235 done
2237 # There might be people who depend on the old broken behavior: `$host'
2238 # used to hold the argument of --host etc.
2239 # FIXME: To remove some day.
2240 build=$build_alias
2241 host=$host_alias
2242 target=$target_alias
2244 # FIXME: To remove some day.
2245 if test "x$host_alias" != x; then
2246 if test "x$build_alias" = x; then
2247 cross_compiling=maybe
2248 elif test "x$build_alias" != "x$host_alias"; then
2249 cross_compiling=yes
2253 ac_tool_prefix=
2254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2256 test "$silent" = yes && exec 6>/dev/null
2259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2260 ac_ls_di=`ls -di .` &&
2261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2262 as_fn_error $? "working directory cannot be determined"
2263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2264 as_fn_error $? "pwd does not report name of working directory"
2267 # Find the source files, if location was not specified.
2268 if test -z "$srcdir"; then
2269 ac_srcdir_defaulted=yes
2270 # Try the directory containing this script, then the parent directory.
2271 ac_confdir=`$as_dirname -- "$as_myself" ||
2272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2273 X"$as_myself" : 'X\(//\)[^/]' \| \
2274 X"$as_myself" : 'X\(//\)$' \| \
2275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2276 printf "%s\n" X"$as_myself" |
2277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2278 s//\1/
2281 /^X\(\/\/\)[^/].*/{
2282 s//\1/
2285 /^X\(\/\/\)$/{
2286 s//\1/
2289 /^X\(\/\).*/{
2290 s//\1/
2293 s/.*/./; q'`
2294 srcdir=$ac_confdir
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 srcdir=..
2298 else
2299 ac_srcdir_defaulted=no
2301 if test ! -r "$srcdir/$ac_unique_file"; then
2302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2306 ac_abs_confdir=`(
2307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2308 pwd)`
2309 # When building in place, set srcdir=.
2310 if test "$ac_abs_confdir" = "$ac_pwd"; then
2311 srcdir=.
2313 # Remove unnecessary trailing slashes from srcdir.
2314 # Double slashes in file names in object file debugging info
2315 # mess up M-x gdb in Emacs.
2316 case $srcdir in
2317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2318 esac
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2321 eval ac_env_${ac_var}_value=\$${ac_var}
2322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2324 done
2327 # Report the --help message.
2329 if test "$ac_init_help" = "long"; then
2330 # Omit some internal or obsolete options to make the list less imposing.
2331 # This message is too long to be a string in the A/UX 3.1 sh.
2332 cat <<_ACEOF
2333 \`configure' configures Wine 8.2 to adapt to many kinds of systems.
2335 Usage: $0 [OPTION]... [VAR=VALUE]...
2337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2338 VAR=VALUE. See below for descriptions of some of the useful variables.
2340 Defaults for the options are specified in brackets.
2342 Configuration:
2343 -h, --help display this help and exit
2344 --help=short display options specific to this package
2345 --help=recursive display the short help of all the included packages
2346 -V, --version display version information and exit
2347 -q, --quiet, --silent do not print \`checking ...' messages
2348 --cache-file=FILE cache test results in FILE [disabled]
2349 -C, --config-cache alias for \`--cache-file=config.cache'
2350 -n, --no-create do not create output files
2351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2353 Installation directories:
2354 --prefix=PREFIX install architecture-independent files in PREFIX
2355 [$ac_default_prefix]
2356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2357 [PREFIX]
2359 By default, \`make install' will install all the files in
2360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2362 for instance \`--prefix=\$HOME'.
2364 For better control, use the options below.
2366 Fine tuning of the installation directories:
2367 --bindir=DIR user executables [EPREFIX/bin]
2368 --sbindir=DIR system admin executables [EPREFIX/sbin]
2369 --libexecdir=DIR program executables [EPREFIX/libexec]
2370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2374 --libdir=DIR object code libraries [EPREFIX/lib]
2375 --includedir=DIR C header files [PREFIX/include]
2376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2379 --infodir=DIR info documentation [DATAROOTDIR/info]
2380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2381 --mandir=DIR man documentation [DATAROOTDIR/man]
2382 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2383 --htmldir=DIR html documentation [DOCDIR]
2384 --dvidir=DIR dvi documentation [DOCDIR]
2385 --pdfdir=DIR pdf documentation [DOCDIR]
2386 --psdir=DIR ps documentation [DOCDIR]
2387 _ACEOF
2389 cat <<\_ACEOF
2391 X features:
2392 --x-includes=DIR X include files are in DIR
2393 --x-libraries=DIR X library files are in DIR
2395 System types:
2396 --build=BUILD configure for building on BUILD [guessed]
2397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2398 _ACEOF
2401 if test -n "$ac_init_help"; then
2402 case $ac_init_help in
2403 short | recursive ) echo "Configuration of Wine 8.2:";;
2404 esac
2405 cat <<\_ACEOF
2407 Optional Features:
2408 --disable-option-checking ignore unrecognized --enable/--with options
2409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2411 --enable-archs={i386,x86_64,arm,aarch64}
2412 enable multiple architectures for PE compilation
2413 --disable-win16 do not include Win16 support
2414 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2415 binaries)
2416 --disable-tests do not build the regression tests
2417 --enable-build-id include .buildid section in output objects
2418 --enable-maintainer-mode
2419 enable maintainer-specific build rules
2420 --enable-silent-rules use silent build rules (override: "make V=1")
2421 --enable-werror treat compilation warnings as errors
2422 --disable-largefile omit support for large files
2424 Optional Packages:
2425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2427 --without-alsa do not use the Alsa sound support
2428 --without-capi do not use CAPI (ISDN support)
2429 --without-coreaudio do not use the CoreAudio sound support
2430 --without-cups do not use CUPS
2431 --without-dbus do not use DBus (dynamic device support)
2432 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2433 --without-fontconfig do not use fontconfig
2434 --without-freetype do not use the FreeType library
2435 --without-gettext do not use gettext
2436 --with-gettextpo use the GetTextPO library to rebuild po files
2437 --without-gphoto do not use gphoto (Digital Camera support)
2438 --without-gnutls do not use GnuTLS (schannel support)
2439 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2440 --without-gstreamer do not use GStreamer (codecs support)
2441 --without-inotify do not use inotify (filesystem change notifications)
2442 --without-krb5 do not use krb5 (Kerberos)
2443 --without-mingw do not use the MinGW cross-compiler
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-opencl do not use OpenCL
2446 --without-opengl do not use OpenGL
2447 --without-osmesa do not use the OSMesa library
2448 --without-oss do not use the OSS sound support
2449 --without-pcap do not use the Packet Capture library
2450 --without-pcsclite do not use PCSC lite
2451 --without-pthread do not use the pthread library
2452 --without-pulse do not use PulseAudio sound support
2453 --without-sane do not use SANE (scanner support)
2454 --without-sdl do not use SDL
2455 --without-udev do not use udev (plug and play support)
2456 --without-unwind do not use the libunwind library (exception
2457 handling)
2458 --without-usb do not use the libusb library
2459 --without-v4l2 do not use v4l2 (video capture)
2460 --without-vulkan do not use Vulkan
2461 --without-xcomposite do not use the Xcomposite extension
2462 --without-xcursor do not use the Xcursor extension
2463 --without-xfixes do not use Xfixes for clipboard change notifications
2464 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2465 --without-xinput do not use the Xinput extension
2466 --without-xinput2 do not use the Xinput 2 extension
2467 --without-xrandr do not use Xrandr (multi-monitor support)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xxf86vm do not use XFree video mode extension
2472 --with-system-dllpath=PATH
2473 load external PE dependencies from colon-separated
2474 path PATH
2475 --with-wine-tools=DIR use Wine tools from directory DIR
2476 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2477 --with-x use the X Window System
2479 Some influential environment variables:
2480 CC C compiler command
2481 CFLAGS C compiler flags
2482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2483 nonstandard directory <lib dir>
2484 LIBS libraries to pass to the linker, e.g. -l<library>
2485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2486 you have headers in a nonstandard directory <include dir>
2487 CXX C++ compiler command
2488 CXXFLAGS C++ compiler flags
2489 OBJC Objective C compiler command
2490 OBJCFLAGS Objective C compiler flags
2491 FAUDIO_PE_CFLAGS
2492 C compiler flags for the PE faudio, overriding the bundled
2493 version
2494 FAUDIO_PE_LIBS
2495 Linker flags for the PE faudio, overriding the bundled version
2496 GSM_PE_CFLAGS
2497 C compiler flags for the PE gsm, overriding the bundled version
2498 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2499 JPEG_PE_CFLAGS
2500 C compiler flags for the PE jpeg, overriding the bundled version
2501 JPEG_PE_LIBS
2502 Linker flags for the PE jpeg, overriding the bundled version
2503 JXR_PE_CFLAGS
2504 C compiler flags for the PE jxr, overriding the bundled version
2505 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2506 LCMS2_PE_CFLAGS
2507 C compiler flags for the PE lcms2, overriding the bundled
2508 version
2509 LCMS2_PE_LIBS
2510 Linker flags for the PE lcms2, overriding the bundled version
2511 LDAP_PE_CFLAGS
2512 C compiler flags for the PE ldap, overriding the bundled version
2513 LDAP_PE_LIBS
2514 Linker flags for the PE ldap, overriding the bundled version
2515 MPG123_PE_CFLAGS
2516 C compiler flags for the PE mpg123, overriding the bundled
2517 version
2518 MPG123_PE_LIBS
2519 Linker flags for the PE mpg123, overriding the bundled version
2520 PNG_PE_CFLAGS
2521 C compiler flags for the PE png, overriding the bundled version
2522 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2523 TIFF_PE_CFLAGS
2524 C compiler flags for the PE tiff, overriding the bundled version
2525 TIFF_PE_LIBS
2526 Linker flags for the PE tiff, overriding the bundled version
2527 VKD3D_PE_CFLAGS
2528 C compiler flags for the PE vkd3d, overriding the bundled
2529 version
2530 VKD3D_PE_LIBS
2531 Linker flags for the PE vkd3d, overriding the bundled version
2532 XML2_PE_CFLAGS
2533 C compiler flags for the PE xml2, overriding the bundled version
2534 XML2_PE_LIBS
2535 Linker flags for the PE xml2, overriding the bundled version
2536 XSLT_PE_CFLAGS
2537 C compiler flags for the PE xslt, overriding the bundled version
2538 XSLT_PE_LIBS
2539 Linker flags for the PE xslt, overriding the bundled version
2540 ZLIB_PE_CFLAGS
2541 C compiler flags for the PE zlib, overriding the bundled version
2542 ZLIB_PE_LIBS
2543 Linker flags for the PE zlib, overriding the bundled version
2544 ZYDIS_PE_CFLAGS
2545 C compiler flags for the PE zydis, overriding the bundled
2546 version
2547 ZYDIS_PE_LIBS
2548 Linker flags for the PE zydis, overriding the bundled version
2549 XMKMF Path to xmkmf, Makefile generator for X Window System
2550 CPP C preprocessor
2551 INOTIFY_CFLAGS
2552 C compiler flags for libinotify, overriding pkg-config
2553 INOTIFY_LIBS
2554 Linker flags for libinotify, overriding pkg-config
2555 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2556 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2557 GNUTLS_CFLAGS
2558 C compiler flags for gnutls, overriding pkg-config
2559 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2560 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2561 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2562 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2563 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2564 GPHOTO2_CFLAGS
2565 C compiler flags for libgphoto2, overriding pkg-config
2566 GPHOTO2_LIBS
2567 Linker flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_PORT_CFLAGS
2569 C compiler flags for libgphoto2_port, overriding pkg-config
2570 GPHOTO2_PORT_LIBS
2571 Linker flags for libgphoto2_port, overriding pkg-config
2572 FREETYPE_CFLAGS
2573 C compiler flags for freetype2, overriding pkg-config
2574 FREETYPE_LIBS
2575 Linker flags for freetype2, overriding pkg-config
2576 PULSE_CFLAGS
2577 C compiler flags for libpulse, overriding pkg-config
2578 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2579 GSTREAMER_CFLAGS
2580 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2581 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2582 GSTREAMER_LIBS
2583 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2584 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2585 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2586 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2587 UNWIND_CFLAGS
2588 C compiler flags for libunwind, overriding pkg-config
2589 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2590 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2591 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2592 CAPI20_CFLAGS
2593 C compiler flags for capi20, overriding pkg-config
2594 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2595 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2596 CUPS_LIBS Linker flags for cups, overriding pkg-config
2597 FONTCONFIG_CFLAGS
2598 C compiler flags for fontconfig, overriding pkg-config
2599 FONTCONFIG_LIBS
2600 Linker flags for fontconfig, overriding pkg-config
2601 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2602 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2603 GSSAPI_CFLAGS
2604 C compiler flags for krb5-gssapi, overriding pkg-config
2605 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2606 NETAPI_CFLAGS
2607 C compiler flags for netapi, overriding pkg-config
2608 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2610 Use these variables to override the choices made by `configure' or to help
2611 it to find libraries and programs with nonstandard names/locations.
2613 Report bugs to <wine-devel@winehq.org>.
2614 Wine home page: <https://www.winehq.org>.
2615 _ACEOF
2616 ac_status=$?
2619 if test "$ac_init_help" = "recursive"; then
2620 # If there are subdirs, report their specific --help.
2621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2622 test -d "$ac_dir" ||
2623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2624 continue
2625 ac_builddir=.
2627 case "$ac_dir" in
2628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2630 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2631 # A ".." for each directory in $ac_dir_suffix.
2632 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2633 case $ac_top_builddir_sub in
2634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2636 esac ;;
2637 esac
2638 ac_abs_top_builddir=$ac_pwd
2639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2640 # for backward compatibility:
2641 ac_top_builddir=$ac_top_build_prefix
2643 case $srcdir in
2644 .) # We are building in place.
2645 ac_srcdir=.
2646 ac_top_srcdir=$ac_top_builddir_sub
2647 ac_abs_top_srcdir=$ac_pwd ;;
2648 [\\/]* | ?:[\\/]* ) # Absolute name.
2649 ac_srcdir=$srcdir$ac_dir_suffix;
2650 ac_top_srcdir=$srcdir
2651 ac_abs_top_srcdir=$srcdir ;;
2652 *) # Relative name.
2653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2654 ac_top_srcdir=$ac_top_build_prefix$srcdir
2655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2656 esac
2657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2659 cd "$ac_dir" || { ac_status=$?; continue; }
2660 # Check for configure.gnu first; this name is used for a wrapper for
2661 # Metaconfig's "Configure" on case-insensitive file systems.
2662 if test -f "$ac_srcdir/configure.gnu"; then
2663 echo &&
2664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2665 elif test -f "$ac_srcdir/configure"; then
2666 echo &&
2667 $SHELL "$ac_srcdir/configure" --help=recursive
2668 else
2669 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2670 fi || ac_status=$?
2671 cd "$ac_pwd" || { ac_status=$?; break; }
2672 done
2675 test -n "$ac_init_help" && exit $ac_status
2676 if $ac_init_version; then
2677 cat <<\_ACEOF
2678 Wine configure 8.2
2679 generated by GNU Autoconf 2.71
2681 Copyright (C) 2021 Free Software Foundation, Inc.
2682 This configure script is free software; the Free Software Foundation
2683 gives unlimited permission to copy, distribute and modify it.
2684 _ACEOF
2685 exit
2688 ## ------------------------ ##
2689 ## Autoconf initialization. ##
2690 ## ------------------------ ##
2692 # ac_fn_c_try_compile LINENO
2693 # --------------------------
2694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2695 ac_fn_c_try_compile ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 rm -f conftest.$ac_objext conftest.beam
2699 if { { ac_try="$ac_compile"
2700 case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 printf "%s\n" "$ac_try_echo"; } >&5
2706 (eval "$ac_compile") 2>conftest.err
2707 ac_status=$?
2708 if test -s conftest.err; then
2709 grep -v '^ *+' conftest.err >conftest.er1
2710 cat conftest.er1 >&5
2711 mv -f conftest.er1 conftest.err
2713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714 test $ac_status = 0; } && {
2715 test -z "$ac_c_werror_flag" ||
2716 test ! -s conftest.err
2717 } && test -s conftest.$ac_objext
2718 then :
2719 ac_retval=0
2720 else $as_nop
2721 printf "%s\n" "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 ac_retval=1
2726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2727 as_fn_set_status $ac_retval
2729 } # ac_fn_c_try_compile
2731 # ac_fn_cxx_try_compile LINENO
2732 # ----------------------------
2733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2734 ac_fn_cxx_try_compile ()
2736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2737 rm -f conftest.$ac_objext conftest.beam
2738 if { { ac_try="$ac_compile"
2739 case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742 esac
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 printf "%s\n" "$ac_try_echo"; } >&5
2745 (eval "$ac_compile") 2>conftest.err
2746 ac_status=$?
2747 if test -s conftest.err; then
2748 grep -v '^ *+' conftest.err >conftest.er1
2749 cat conftest.er1 >&5
2750 mv -f conftest.er1 conftest.err
2752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; } && {
2754 test -z "$ac_cxx_werror_flag" ||
2755 test ! -s conftest.err
2756 } && test -s conftest.$ac_objext
2757 then :
2758 ac_retval=0
2759 else $as_nop
2760 printf "%s\n" "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_retval=1
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2768 } # ac_fn_cxx_try_compile
2770 # ac_fn_c_try_link LINENO
2771 # -----------------------
2772 # Try to link conftest.$ac_ext, and return whether this succeeded.
2773 ac_fn_c_try_link ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2777 if { { ac_try="$ac_link"
2778 case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 printf "%s\n" "$ac_try_echo"; } >&5
2784 (eval "$ac_link") 2>conftest.err
2785 ac_status=$?
2786 if test -s conftest.err; then
2787 grep -v '^ *+' conftest.err >conftest.er1
2788 cat conftest.er1 >&5
2789 mv -f conftest.er1 conftest.err
2791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; } && {
2793 test -z "$ac_c_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest$ac_exeext && {
2796 test "$cross_compiling" = yes ||
2797 test -x conftest$ac_exeext
2799 then :
2800 ac_retval=0
2801 else $as_nop
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2808 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2809 # interfere with the next link command; also delete a directory that is
2810 # left behind by Apple's compiler. We do this before executing the actions.
2811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 as_fn_set_status $ac_retval
2815 } # ac_fn_c_try_link
2817 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2818 # -------------------------------------------------------
2819 # Tests whether HEADER exists and can be compiled using the include files in
2820 # INCLUDES, setting the cache variable VAR accordingly.
2821 ac_fn_c_check_header_compile ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2825 printf %s "checking for $2... " >&6; }
2826 if eval test \${$3+y}
2827 then :
2828 printf %s "(cached) " >&6
2829 else $as_nop
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2833 #include <$2>
2834 _ACEOF
2835 if ac_fn_c_try_compile "$LINENO"
2836 then :
2837 eval "$3=yes"
2838 else $as_nop
2839 eval "$3=no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2843 eval ac_res=\$$3
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 printf "%s\n" "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 } # ac_fn_c_check_header_compile
2850 # ac_fn_objc_try_compile LINENO
2851 # -----------------------------
2852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_objc_try_compile ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext conftest.beam
2857 if { { ac_try="$ac_compile"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 printf "%s\n" "$ac_try_echo"; } >&5
2864 (eval "$ac_compile") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_objc_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext
2876 then :
2877 ac_retval=0
2878 else $as_nop
2879 printf "%s\n" "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_retval=1
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_objc_try_compile
2889 # ac_fn_c_check_func LINENO FUNC VAR
2890 # ----------------------------------
2891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2892 ac_fn_c_check_func ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2896 printf %s "checking for $2... " >&6; }
2897 if eval test \${$3+y}
2898 then :
2899 printf %s "(cached) " >&6
2900 else $as_nop
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2903 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2905 #define $2 innocuous_$2
2907 /* System header to define __stub macros and hopefully few prototypes,
2908 which can conflict with char $2 (); below. */
2910 #include <limits.h>
2911 #undef $2
2913 /* Override any GCC internal prototype to avoid an error.
2914 Use char because int might match the return type of a GCC
2915 builtin and then its argument prototype would still apply. */
2916 #ifdef __cplusplus
2917 extern "C"
2918 #endif
2919 char $2 ();
2920 /* The GNU C library defines this for functions which it implements
2921 to always fail with ENOSYS. Some functions are actually named
2922 something starting with __ and the normal name is an alias. */
2923 #if defined __stub_$2 || defined __stub___$2
2924 choke me
2925 #endif
2928 main (void)
2930 return $2 ();
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_link "$LINENO"
2936 then :
2937 eval "$3=yes"
2938 else $as_nop
2939 eval "$3=no"
2941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2942 conftest$ac_exeext conftest.$ac_ext
2944 eval ac_res=\$$3
2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 printf "%s\n" "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_func
2951 # ac_fn_c_try_cpp LINENO
2952 # ----------------------
2953 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2954 ac_fn_c_try_cpp ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 if { { ac_try="$ac_cpp conftest.$ac_ext"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 printf "%s\n" "$ac_try_echo"; } >&5
2964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2965 ac_status=$?
2966 if test -s conftest.err; then
2967 grep -v '^ *+' conftest.err >conftest.er1
2968 cat conftest.er1 >&5
2969 mv -f conftest.er1 conftest.err
2971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; } > conftest.i && {
2973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2974 test ! -s conftest.err
2976 then :
2977 ac_retval=0
2978 else $as_nop
2979 printf "%s\n" "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_cpp
2989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2990 # ----------------------------------------------------
2991 # Tries to find if the field MEMBER exists in type AGGR, after including
2992 # INCLUDES, setting cache variable VAR accordingly.
2993 ac_fn_c_check_member ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2997 printf %s "checking for $2.$3... " >&6; }
2998 if eval test \${$4+y}
2999 then :
3000 printf %s "(cached) " >&6
3001 else $as_nop
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main (void)
3008 static $2 ac_aggr;
3009 if (ac_aggr.$3)
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"
3016 then :
3017 eval "$4=yes"
3018 else $as_nop
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main (void)
3025 static $2 ac_aggr;
3026 if (sizeof ac_aggr.$3)
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"
3033 then :
3034 eval "$4=yes"
3035 else $as_nop
3036 eval "$4=no"
3038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3042 eval ac_res=\$$4
3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3044 printf "%s\n" "$ac_res" >&6; }
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3047 } # ac_fn_c_check_member
3049 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3050 # -------------------------------------------
3051 # Tests whether TYPE exists after having included INCLUDES, setting cache
3052 # variable VAR accordingly.
3053 ac_fn_c_check_type ()
3055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3057 printf %s "checking for $2... " >&6; }
3058 if eval test \${$3+y}
3059 then :
3060 printf %s "(cached) " >&6
3061 else $as_nop
3062 eval "$3=no"
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3067 main (void)
3069 if (sizeof ($2))
3070 return 0;
3072 return 0;
3074 _ACEOF
3075 if ac_fn_c_try_compile "$LINENO"
3076 then :
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main (void)
3083 if (sizeof (($2)))
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"
3090 then :
3092 else $as_nop
3093 eval "$3=yes"
3095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3099 eval ac_res=\$$3
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3101 printf "%s\n" "$ac_res" >&6; }
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 } # ac_fn_c_check_type
3105 ac_configure_args_raw=
3106 for ac_arg
3108 case $ac_arg in
3109 *\'*)
3110 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3111 esac
3112 as_fn_append ac_configure_args_raw " '$ac_arg'"
3113 done
3115 case $ac_configure_args_raw in
3116 *$as_nl*)
3117 ac_safe_unquote= ;;
3119 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3120 ac_unsafe_a="$ac_unsafe_z#~"
3121 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3122 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3123 esac
3125 cat >config.log <<_ACEOF
3126 This file contains any messages produced by compilers while
3127 running configure, to aid debugging if configure makes a mistake.
3129 It was created by Wine $as_me 8.2, which was
3130 generated by GNU Autoconf 2.71. Invocation command line was
3132 $ $0$ac_configure_args_raw
3134 _ACEOF
3135 exec 5>>config.log
3137 cat <<_ASUNAME
3138 ## --------- ##
3139 ## Platform. ##
3140 ## --------- ##
3142 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3143 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3144 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3145 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3146 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3148 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3149 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3151 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3152 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3153 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3154 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3155 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3156 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3157 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3159 _ASUNAME
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3164 IFS=$as_save_IFS
3165 case $as_dir in #(((
3166 '') as_dir=./ ;;
3167 */) ;;
3168 *) as_dir=$as_dir/ ;;
3169 esac
3170 printf "%s\n" "PATH: $as_dir"
3171 done
3172 IFS=$as_save_IFS
3174 } >&5
3176 cat >&5 <<_ACEOF
3179 ## ----------- ##
3180 ## Core tests. ##
3181 ## ----------- ##
3183 _ACEOF
3186 # Keep a trace of the command line.
3187 # Strip out --no-create and --no-recursion so they do not pile up.
3188 # Strip out --silent because we don't want to record it for future runs.
3189 # Also quote any args containing shell meta-characters.
3190 # Make two passes to allow for proper duplicate-argument suppression.
3191 ac_configure_args=
3192 ac_configure_args0=
3193 ac_configure_args1=
3194 ac_must_keep_next=false
3195 for ac_pass in 1 2
3197 for ac_arg
3199 case $ac_arg in
3200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3202 | -silent | --silent | --silen | --sile | --sil)
3203 continue ;;
3204 *\'*)
3205 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3206 esac
3207 case $ac_pass in
3208 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3210 as_fn_append ac_configure_args1 " '$ac_arg'"
3211 if test $ac_must_keep_next = true; then
3212 ac_must_keep_next=false # Got value, back to normal.
3213 else
3214 case $ac_arg in
3215 *=* | --config-cache | -C | -disable-* | --disable-* \
3216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3218 | -with-* | --with-* | -without-* | --without-* | --x)
3219 case "$ac_configure_args0 " in
3220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3221 esac
3223 -* ) ac_must_keep_next=true ;;
3224 esac
3226 as_fn_append ac_configure_args " '$ac_arg'"
3228 esac
3229 done
3230 done
3231 { ac_configure_args0=; unset ac_configure_args0;}
3232 { ac_configure_args1=; unset ac_configure_args1;}
3234 # When interrupted or exit'd, cleanup temporary files, and complete
3235 # config.log. We remove comments because anyway the quotes in there
3236 # would cause problems or look ugly.
3237 # WARNING: Use '\'' to represent an apostrophe within the trap.
3238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3239 trap 'exit_status=$?
3240 # Sanitize IFS.
3241 IFS=" "" $as_nl"
3242 # Save into config.log some information that might help in debugging.
3244 echo
3246 printf "%s\n" "## ---------------- ##
3247 ## Cache variables. ##
3248 ## ---------------- ##"
3249 echo
3250 # The following way of writing the cache mishandles newlines in values,
3252 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3253 eval ac_val=\$$ac_var
3254 case $ac_val in #(
3255 *${as_nl}*)
3256 case $ac_var in #(
3257 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3258 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3259 esac
3260 case $ac_var in #(
3261 _ | IFS | as_nl) ;; #(
3262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3263 *) { eval $ac_var=; unset $ac_var;} ;;
3264 esac ;;
3265 esac
3266 done
3267 (set) 2>&1 |
3268 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3269 *${as_nl}ac_space=\ *)
3270 sed -n \
3271 "s/'\''/'\''\\\\'\'''\''/g;
3272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3273 ;; #(
3275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3277 esac |
3278 sort
3280 echo
3282 printf "%s\n" "## ----------------- ##
3283 ## Output variables. ##
3284 ## ----------------- ##"
3285 echo
3286 for ac_var in $ac_subst_vars
3288 eval ac_val=\$$ac_var
3289 case $ac_val in
3290 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 esac
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 done | sort
3294 echo
3296 if test -n "$ac_subst_files"; then
3297 printf "%s\n" "## ------------------- ##
3298 ## File substitutions. ##
3299 ## ------------------- ##"
3300 echo
3301 for ac_var in $ac_subst_files
3303 eval ac_val=\$$ac_var
3304 case $ac_val in
3305 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3306 esac
3307 printf "%s\n" "$ac_var='\''$ac_val'\''"
3308 done | sort
3309 echo
3312 if test -s confdefs.h; then
3313 printf "%s\n" "## ----------- ##
3314 ## confdefs.h. ##
3315 ## ----------- ##"
3316 echo
3317 cat confdefs.h
3318 echo
3320 test "$ac_signal" != 0 &&
3321 printf "%s\n" "$as_me: caught signal $ac_signal"
3322 printf "%s\n" "$as_me: exit $exit_status"
3323 } >&5
3324 rm -f core *.core core.conftest.* &&
3325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3326 exit $exit_status
3328 for ac_signal in 1 2 13 15; do
3329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3330 done
3331 ac_signal=0
3333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3334 rm -f -r conftest* confdefs.h
3336 printf "%s\n" "/* confdefs.h */" > confdefs.h
3338 # Predefined preprocessor variables.
3340 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3342 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3344 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3346 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3348 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3350 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3353 # Let the site file select an alternate cache file if it wants to.
3354 # Prefer an explicitly selected file to automatically selected ones.
3355 if test -n "$CONFIG_SITE"; then
3356 ac_site_files="$CONFIG_SITE"
3357 elif test "x$prefix" != xNONE; then
3358 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3359 else
3360 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3363 for ac_site_file in $ac_site_files
3365 case $ac_site_file in #(
3366 */*) :
3367 ;; #(
3368 *) :
3369 ac_site_file=./$ac_site_file ;;
3370 esac
3371 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3373 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3374 sed 's/^/| /' "$ac_site_file" >&5
3375 . "$ac_site_file" \
3376 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error $? "failed to load site script $ac_site_file
3379 See \`config.log' for more details" "$LINENO" 5; }
3381 done
3383 if test -r "$cache_file"; then
3384 # Some versions of bash will fail to source /dev/null (special files
3385 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3386 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3388 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3389 case $cache_file in
3390 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3391 *) . "./$cache_file";;
3392 esac
3394 else
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3396 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3397 >$cache_file
3400 # Test code for whether the C compiler supports C89 (global declarations)
3401 ac_c_conftest_c89_globals='
3402 /* Does the compiler advertise C89 conformance?
3403 Do not test the value of __STDC__, because some compilers set it to 0
3404 while being otherwise adequately conformant. */
3405 #if !defined __STDC__
3406 # error "Compiler does not advertise C89 conformance"
3407 #endif
3409 #include <stddef.h>
3410 #include <stdarg.h>
3411 struct stat;
3412 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3413 struct buf { int x; };
3414 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3415 static char *e (p, i)
3416 char **p;
3417 int i;
3419 return p[i];
3421 static char *f (char * (*g) (char **, int), char **p, ...)
3423 char *s;
3424 va_list v;
3425 va_start (v,p);
3426 s = g (p, va_arg (v,int));
3427 va_end (v);
3428 return s;
3431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3432 function prototypes and stuff, but not \xHH hex character constants.
3433 These do not provoke an error unfortunately, instead are silently treated
3434 as an "x". The following induces an error, until -std is added to get
3435 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3436 array size at least. It is necessary to write \x00 == 0 to get something
3437 that is true only with -std. */
3438 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441 inside strings and character constants. */
3442 #define FOO(x) '\''x'\''
3443 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3445 int test (int i, double x);
3446 struct s1 {int (*f) (int a);};
3447 struct s2 {int (*f) (double a);};
3448 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3449 int, int);'
3451 # Test code for whether the C compiler supports C89 (body of main).
3452 ac_c_conftest_c89_main='
3453 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3456 # Test code for whether the C compiler supports C99 (global declarations)
3457 ac_c_conftest_c99_globals='
3458 // Does the compiler advertise C99 conformance?
3459 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3460 # error "Compiler does not advertise C99 conformance"
3461 #endif
3463 #include <stdbool.h>
3464 extern int puts (const char *);
3465 extern int printf (const char *, ...);
3466 extern int dprintf (int, const char *, ...);
3467 extern void *malloc (size_t);
3469 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3470 // dprintf is used instead of fprintf to avoid needing to declare
3471 // FILE and stderr.
3472 #define debug(...) dprintf (2, __VA_ARGS__)
3473 #define showlist(...) puts (#__VA_ARGS__)
3474 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3475 static void
3476 test_varargs_macros (void)
3478 int x = 1234;
3479 int y = 5678;
3480 debug ("Flag");
3481 debug ("X = %d\n", x);
3482 showlist (The first, second, and third items.);
3483 report (x>y, "x is %d but y is %d", x, y);
3486 // Check long long types.
3487 #define BIG64 18446744073709551615ull
3488 #define BIG32 4294967295ul
3489 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3490 #if !BIG_OK
3491 #error "your preprocessor is broken"
3492 #endif
3493 #if BIG_OK
3494 #else
3495 #error "your preprocessor is broken"
3496 #endif
3497 static long long int bignum = -9223372036854775807LL;
3498 static unsigned long long int ubignum = BIG64;
3500 struct incomplete_array
3502 int datasize;
3503 double data[];
3506 struct named_init {
3507 int number;
3508 const wchar_t *name;
3509 double average;
3512 typedef const char *ccp;
3514 static inline int
3515 test_restrict (ccp restrict text)
3517 // See if C++-style comments work.
3518 // Iterate through items via the restricted pointer.
3519 // Also check for declarations in for loops.
3520 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3521 continue;
3522 return 0;
3525 // Check varargs and va_copy.
3526 static bool
3527 test_varargs (const char *format, ...)
3529 va_list args;
3530 va_start (args, format);
3531 va_list args_copy;
3532 va_copy (args_copy, args);
3534 const char *str = "";
3535 int number = 0;
3536 float fnumber = 0;
3538 while (*format)
3540 switch (*format++)
3542 case '\''s'\'': // string
3543 str = va_arg (args_copy, const char *);
3544 break;
3545 case '\''d'\'': // int
3546 number = va_arg (args_copy, int);
3547 break;
3548 case '\''f'\'': // float
3549 fnumber = va_arg (args_copy, double);
3550 break;
3551 default:
3552 break;
3555 va_end (args_copy);
3556 va_end (args);
3558 return *str && number && fnumber;
3562 # Test code for whether the C compiler supports C99 (body of main).
3563 ac_c_conftest_c99_main='
3564 // Check bool.
3565 _Bool success = false;
3566 success |= (argc != 0);
3568 // Check restrict.
3569 if (test_restrict ("String literal") == 0)
3570 success = true;
3571 char *restrict newvar = "Another string";
3573 // Check varargs.
3574 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3575 test_varargs_macros ();
3577 // Check flexible array members.
3578 struct incomplete_array *ia =
3579 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3580 ia->datasize = 10;
3581 for (int i = 0; i < ia->datasize; ++i)
3582 ia->data[i] = i * 1.234;
3584 // Check named initializers.
3585 struct named_init ni = {
3586 .number = 34,
3587 .name = L"Test wide string",
3588 .average = 543.34343,
3591 ni.number = 58;
3593 int dynamic_array[ni.number];
3594 dynamic_array[0] = argv[0][0];
3595 dynamic_array[ni.number - 1] = 543;
3597 // work around unused variable warnings
3598 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3599 || dynamic_array[ni.number - 1] != 543);
3602 # Test code for whether the C compiler supports C11 (global declarations)
3603 ac_c_conftest_c11_globals='
3604 // Does the compiler advertise C11 conformance?
3605 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3606 # error "Compiler does not advertise C11 conformance"
3607 #endif
3609 // Check _Alignas.
3610 char _Alignas (double) aligned_as_double;
3611 char _Alignas (0) no_special_alignment;
3612 extern char aligned_as_int;
3613 char _Alignas (0) _Alignas (int) aligned_as_int;
3615 // Check _Alignof.
3616 enum
3618 int_alignment = _Alignof (int),
3619 int_array_alignment = _Alignof (int[100]),
3620 char_alignment = _Alignof (char)
3622 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3624 // Check _Noreturn.
3625 int _Noreturn does_not_return (void) { for (;;) continue; }
3627 // Check _Static_assert.
3628 struct test_static_assert
3630 int x;
3631 _Static_assert (sizeof (int) <= sizeof (long int),
3632 "_Static_assert does not work in struct");
3633 long int y;
3636 // Check UTF-8 literals.
3637 #define u8 syntax error!
3638 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3640 // Check duplicate typedefs.
3641 typedef long *long_ptr;
3642 typedef long int *long_ptr;
3643 typedef long_ptr long_ptr;
3645 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3646 struct anonymous
3648 union {
3649 struct { int i; int j; };
3650 struct { int k; long int l; } w;
3652 int m;
3653 } v1;
3656 # Test code for whether the C compiler supports C11 (body of main).
3657 ac_c_conftest_c11_main='
3658 _Static_assert ((offsetof (struct anonymous, i)
3659 == offsetof (struct anonymous, w.k)),
3660 "Anonymous union alignment botch");
3661 v1.i = 2;
3662 v1.w.k = 5;
3663 ok |= v1.i != 5;
3666 # Test code for whether the C compiler supports C11 (complete).
3667 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3668 ${ac_c_conftest_c99_globals}
3669 ${ac_c_conftest_c11_globals}
3672 main (int argc, char **argv)
3674 int ok = 0;
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3677 ${ac_c_conftest_c11_main}
3678 return ok;
3682 # Test code for whether the C compiler supports C99 (complete).
3683 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3684 ${ac_c_conftest_c99_globals}
3687 main (int argc, char **argv)
3689 int ok = 0;
3690 ${ac_c_conftest_c89_main}
3691 ${ac_c_conftest_c99_main}
3692 return ok;
3696 # Test code for whether the C compiler supports C89 (complete).
3697 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 return ok;
3708 # Test code for whether the C++ compiler supports C++98 (global declarations)
3709 ac_cxx_conftest_cxx98_globals='
3710 // Does the compiler advertise C++98 conformance?
3711 #if !defined __cplusplus || __cplusplus < 199711L
3712 # error "Compiler does not advertise C++98 conformance"
3713 #endif
3715 // These inclusions are to reject old compilers that
3716 // lack the unsuffixed header files.
3717 #include <cstdlib>
3718 #include <exception>
3720 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3721 extern void assert (int);
3722 namespace std {
3723 extern int strcmp (const char *, const char *);
3726 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3727 using std::exception;
3728 using std::strcmp;
3730 namespace {
3732 void test_exception_syntax()
3734 try {
3735 throw "test";
3736 } catch (const char *s) {
3737 // Extra parentheses suppress a warning when building autoconf itself,
3738 // due to lint rules shared with more typical C programs.
3739 assert (!(strcmp) (s, "test"));
3743 template <typename T> struct test_template
3745 T const val;
3746 explicit test_template(T t) : val(t) {}
3747 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3750 } // anonymous namespace
3753 # Test code for whether the C++ compiler supports C++98 (body of main)
3754 ac_cxx_conftest_cxx98_main='
3755 assert (argc);
3756 assert (! argv[0]);
3758 test_exception_syntax ();
3759 test_template<double> tt (2.0);
3760 assert (tt.add (4) == 6.0);
3761 assert (true && !false);
3765 # Test code for whether the C++ compiler supports C++11 (global declarations)
3766 ac_cxx_conftest_cxx11_globals='
3767 // Does the compiler advertise C++ 2011 conformance?
3768 #if !defined __cplusplus || __cplusplus < 201103L
3769 # error "Compiler does not advertise C++11 conformance"
3770 #endif
3772 namespace cxx11test
3774 constexpr int get_val() { return 20; }
3776 struct testinit
3778 int i;
3779 double d;
3782 class delegate
3784 public:
3785 delegate(int n) : n(n) {}
3786 delegate(): delegate(2354) {}
3788 virtual int getval() { return this->n; };
3789 protected:
3790 int n;
3793 class overridden : public delegate
3795 public:
3796 overridden(int n): delegate(n) {}
3797 virtual int getval() override final { return this->n * 2; }
3800 class nocopy
3802 public:
3803 nocopy(int i): i(i) {}
3804 nocopy() = default;
3805 nocopy(const nocopy&) = delete;
3806 nocopy & operator=(const nocopy&) = delete;
3807 private:
3808 int i;
3811 // for testing lambda expressions
3812 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3814 return f(v);
3817 // for testing variadic templates and trailing return types
3818 template <typename V> auto sum(V first) -> V
3820 return first;
3822 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3824 return first + sum(rest...);
3829 # Test code for whether the C++ compiler supports C++11 (body of main)
3830 ac_cxx_conftest_cxx11_main='
3832 // Test auto and decltype
3833 auto a1 = 6538;
3834 auto a2 = 48573953.4;
3835 auto a3 = "String literal";
3837 int total = 0;
3838 for (auto i = a3; *i; ++i) { total += *i; }
3840 decltype(a2) a4 = 34895.034;
3843 // Test constexpr
3844 short sa[cxx11test::get_val()] = { 0 };
3847 // Test initializer lists
3848 cxx11test::testinit il = { 4323, 435234.23544 };
3851 // Test range-based for
3852 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3853 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3854 for (auto &x : array) { x += 23; }
3857 // Test lambda expressions
3858 using cxx11test::eval;
3859 assert (eval ([](int x) { return x*2; }, 21) == 42);
3860 double d = 2.0;
3861 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3862 assert (d == 5.0);
3863 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3864 assert (d == 5.0);
3867 // Test use of variadic templates
3868 using cxx11test::sum;
3869 auto a = sum(1);
3870 auto b = sum(1, 2);
3871 auto c = sum(1.0, 2.0, 3.0);
3874 // Test constructor delegation
3875 cxx11test::delegate d1;
3876 cxx11test::delegate d2();
3877 cxx11test::delegate d3(45);
3880 // Test override and final
3881 cxx11test::overridden o1(55464);
3884 // Test nullptr
3885 char *c = nullptr;
3888 // Test template brackets
3889 test_template<::test_template<int>> v(test_template<int>(12));
3892 // Unicode literals
3893 char const *utf8 = u8"UTF-8 string \u2500";
3894 char16_t const *utf16 = u"UTF-8 string \u2500";
3895 char32_t const *utf32 = U"UTF-32 string \u2500";
3899 # Test code for whether the C compiler supports C++11 (complete).
3900 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3901 ${ac_cxx_conftest_cxx11_globals}
3904 main (int argc, char **argv)
3906 int ok = 0;
3907 ${ac_cxx_conftest_cxx98_main}
3908 ${ac_cxx_conftest_cxx11_main}
3909 return ok;
3913 # Test code for whether the C compiler supports C++98 (complete).
3914 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3916 main (int argc, char **argv)
3918 int ok = 0;
3919 ${ac_cxx_conftest_cxx98_main}
3920 return ok;
3924 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3925 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3926 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3927 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3928 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3929 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3930 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3931 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3932 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3934 # Auxiliary files required by this configure script.
3935 ac_aux_files="config.guess config.sub"
3937 # Locations in which to look for auxiliary files.
3938 ac_aux_dir_candidates="${srcdir}/tools"
3940 # Search for a directory containing all of the required auxiliary files,
3941 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3942 # If we don't find one directory that contains all the files we need,
3943 # we report the set of missing files from the *first* directory in
3944 # $ac_aux_dir_candidates and give up.
3945 ac_missing_aux_files=""
3946 ac_first_candidate=:
3947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 as_found=false
3950 for as_dir in $ac_aux_dir_candidates
3952 IFS=$as_save_IFS
3953 case $as_dir in #(((
3954 '') as_dir=./ ;;
3955 */) ;;
3956 *) as_dir=$as_dir/ ;;
3957 esac
3958 as_found=:
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3961 ac_aux_dir_found=yes
3962 ac_install_sh=
3963 for ac_aux in $ac_aux_files
3965 # As a special case, if "install-sh" is required, that requirement
3966 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3967 # and $ac_install_sh is set appropriately for whichever one is found.
3968 if test x"$ac_aux" = x"install-sh"
3969 then
3970 if test -f "${as_dir}install-sh"; then
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3972 ac_install_sh="${as_dir}install-sh -c"
3973 elif test -f "${as_dir}install.sh"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3975 ac_install_sh="${as_dir}install.sh -c"
3976 elif test -f "${as_dir}shtool"; then
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3978 ac_install_sh="${as_dir}shtool install -c"
3979 else
3980 ac_aux_dir_found=no
3981 if $ac_first_candidate; then
3982 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3983 else
3984 break
3987 else
3988 if test -f "${as_dir}${ac_aux}"; then
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3990 else
3991 ac_aux_dir_found=no
3992 if $ac_first_candidate; then
3993 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3994 else
3995 break
3999 done
4000 if test "$ac_aux_dir_found" = yes; then
4001 ac_aux_dir="$as_dir"
4002 break
4004 ac_first_candidate=false
4006 as_found=false
4007 done
4008 IFS=$as_save_IFS
4009 if $as_found
4010 then :
4012 else $as_nop
4013 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4017 # These three variables are undocumented and unsupported,
4018 # and are intended to be withdrawn in a future Autoconf release.
4019 # They can cause serious problems if a builder's source tree is in a directory
4020 # whose full name contains unusual characters.
4021 if test -f "${ac_aux_dir}config.guess"; then
4022 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4024 if test -f "${ac_aux_dir}config.sub"; then
4025 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4027 if test -f "$ac_aux_dir/configure"; then
4028 ac_configure="$SHELL ${ac_aux_dir}configure"
4031 # Check that the precious variables saved in the cache have kept the same
4032 # value.
4033 ac_cache_corrupted=false
4034 for ac_var in $ac_precious_vars; do
4035 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4036 eval ac_new_set=\$ac_env_${ac_var}_set
4037 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4038 eval ac_new_val=\$ac_env_${ac_var}_value
4039 case $ac_old_set,$ac_new_set in
4040 set,)
4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4042 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4043 ac_cache_corrupted=: ;;
4044 ,set)
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4046 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4047 ac_cache_corrupted=: ;;
4048 ,);;
4050 if test "x$ac_old_val" != "x$ac_new_val"; then
4051 # differences in whitespace do not lead to failure.
4052 ac_old_val_w=`echo x $ac_old_val`
4053 ac_new_val_w=`echo x $ac_new_val`
4054 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4057 ac_cache_corrupted=:
4058 else
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4060 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4061 eval $ac_var=\$ac_old_val
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4064 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4066 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4067 fi;;
4068 esac
4069 # Pass precious variables to config.status.
4070 if test "$ac_new_set" = set; then
4071 case $ac_new_val in
4072 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4073 *) ac_arg=$ac_var=$ac_new_val ;;
4074 esac
4075 case " $ac_configure_args " in
4076 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4077 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4078 esac
4080 done
4081 if $ac_cache_corrupted; then
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4085 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4086 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4087 and start over" "$LINENO" 5
4089 ## -------------------- ##
4090 ## Main body of script. ##
4091 ## -------------------- ##
4093 ac_ext=c
4094 ac_cpp='$CPP $CPPFLAGS'
4095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 ac_config_headers="$ac_config_headers include/config.h"
4105 libwine_version="1.0"
4108 # Check whether --enable-archs was given.
4109 if test ${enable_archs+y}
4110 then :
4111 enableval=$enable_archs;
4114 # Check whether --enable-win16 was given.
4115 if test ${enable_win16+y}
4116 then :
4117 enableval=$enable_win16;
4120 # Check whether --enable-win64 was given.
4121 if test ${enable_win64+y}
4122 then :
4123 enableval=$enable_win64;
4126 # Check whether --enable-tests was given.
4127 if test ${enable_tests+y}
4128 then :
4129 enableval=$enable_tests;
4132 # Check whether --enable-build-id was given.
4133 if test ${enable_build_id+y}
4134 then :
4135 enableval=$enable_build_id;
4138 # Check whether --enable-maintainer-mode was given.
4139 if test ${enable_maintainer_mode+y}
4140 then :
4141 enableval=$enable_maintainer_mode;
4144 # Check whether --enable-silent-rules was given.
4145 if test ${enable_silent_rules+y}
4146 then :
4147 enableval=$enable_silent_rules;
4150 # Check whether --enable-werror was given.
4151 if test ${enable_werror+y}
4152 then :
4153 enableval=$enable_werror;
4158 # Check whether --with-alsa was given.
4159 if test ${with_alsa+y}
4160 then :
4161 withval=$with_alsa;
4165 # Check whether --with-capi was given.
4166 if test ${with_capi+y}
4167 then :
4168 withval=$with_capi;
4172 # Check whether --with-coreaudio was given.
4173 if test ${with_coreaudio+y}
4174 then :
4175 withval=$with_coreaudio;
4179 # Check whether --with-cups was given.
4180 if test ${with_cups+y}
4181 then :
4182 withval=$with_cups;
4186 # Check whether --with-dbus was given.
4187 if test ${with_dbus+y}
4188 then :
4189 withval=$with_dbus;
4193 # Check whether --with-float-abi was given.
4194 if test ${with_float_abi+y}
4195 then :
4196 withval=$with_float_abi;
4200 # Check whether --with-fontconfig was given.
4201 if test ${with_fontconfig+y}
4202 then :
4203 withval=$with_fontconfig;
4207 # Check whether --with-freetype was given.
4208 if test ${with_freetype+y}
4209 then :
4210 withval=$with_freetype;
4214 # Check whether --with-gettext was given.
4215 if test ${with_gettext+y}
4216 then :
4217 withval=$with_gettext;
4221 # Check whether --with-gettextpo was given.
4222 if test ${with_gettextpo+y}
4223 then :
4224 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4228 # Check whether --with-gphoto was given.
4229 if test ${with_gphoto+y}
4230 then :
4231 withval=$with_gphoto;
4235 # Check whether --with-gnutls was given.
4236 if test ${with_gnutls+y}
4237 then :
4238 withval=$with_gnutls;
4242 # Check whether --with-gssapi was given.
4243 if test ${with_gssapi+y}
4244 then :
4245 withval=$with_gssapi;
4249 # Check whether --with-gstreamer was given.
4250 if test ${with_gstreamer+y}
4251 then :
4252 withval=$with_gstreamer;
4256 # Check whether --with-inotify was given.
4257 if test ${with_inotify+y}
4258 then :
4259 withval=$with_inotify;
4263 # Check whether --with-krb5 was given.
4264 if test ${with_krb5+y}
4265 then :
4266 withval=$with_krb5;
4270 # Check whether --with-mingw was given.
4271 if test ${with_mingw+y}
4272 then :
4273 withval=$with_mingw;
4277 # Check whether --with-netapi was given.
4278 if test ${with_netapi+y}
4279 then :
4280 withval=$with_netapi;
4284 # Check whether --with-opencl was given.
4285 if test ${with_opencl+y}
4286 then :
4287 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4291 # Check whether --with-opengl was given.
4292 if test ${with_opengl+y}
4293 then :
4294 withval=$with_opengl;
4298 # Check whether --with-osmesa was given.
4299 if test ${with_osmesa+y}
4300 then :
4301 withval=$with_osmesa;
4305 # Check whether --with-oss was given.
4306 if test ${with_oss+y}
4307 then :
4308 withval=$with_oss;
4312 # Check whether --with-pcap was given.
4313 if test ${with_pcap+y}
4314 then :
4315 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4319 # Check whether --with-pcsclite was given.
4320 if test ${with_pcsclite+y}
4321 then :
4322 withval=$with_pcsclite;
4326 # Check whether --with-pthread was given.
4327 if test ${with_pthread+y}
4328 then :
4329 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4333 # Check whether --with-pulse was given.
4334 if test ${with_pulse+y}
4335 then :
4336 withval=$with_pulse;
4340 # Check whether --with-sane was given.
4341 if test ${with_sane+y}
4342 then :
4343 withval=$with_sane;
4347 # Check whether --with-sdl was given.
4348 if test ${with_sdl+y}
4349 then :
4350 withval=$with_sdl;
4354 # Check whether --with-udev was given.
4355 if test ${with_udev+y}
4356 then :
4357 withval=$with_udev;
4361 # Check whether --with-unwind was given.
4362 if test ${with_unwind+y}
4363 then :
4364 withval=$with_unwind;
4368 # Check whether --with-usb was given.
4369 if test ${with_usb+y}
4370 then :
4371 withval=$with_usb;
4375 # Check whether --with-v4l2 was given.
4376 if test ${with_v4l2+y}
4377 then :
4378 withval=$with_v4l2;
4382 # Check whether --with-vulkan was given.
4383 if test ${with_vulkan+y}
4384 then :
4385 withval=$with_vulkan;
4389 # Check whether --with-xcomposite was given.
4390 if test ${with_xcomposite+y}
4391 then :
4392 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4396 # Check whether --with-xcursor was given.
4397 if test ${with_xcursor+y}
4398 then :
4399 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4403 # Check whether --with-xfixes was given.
4404 if test ${with_xfixes+y}
4405 then :
4406 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4410 # Check whether --with-xinerama was given.
4411 if test ${with_xinerama+y}
4412 then :
4413 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4417 # Check whether --with-xinput was given.
4418 if test ${with_xinput+y}
4419 then :
4420 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4424 # Check whether --with-xinput2 was given.
4425 if test ${with_xinput2+y}
4426 then :
4427 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4431 # Check whether --with-xrandr was given.
4432 if test ${with_xrandr+y}
4433 then :
4434 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4438 # Check whether --with-xrender was given.
4439 if test ${with_xrender+y}
4440 then :
4441 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4445 # Check whether --with-xshape was given.
4446 if test ${with_xshape+y}
4447 then :
4448 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4452 # Check whether --with-xshm was given.
4453 if test ${with_xshm+y}
4454 then :
4455 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4459 # Check whether --with-xxf86vm was given.
4460 if test ${with_xxf86vm+y}
4461 then :
4462 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
4467 # Check whether --with-system-dllpath was given.
4468 if test ${with_system_dllpath+y}
4469 then :
4470 withval=$with_system_dllpath; system_dllpath=$withval
4475 # Check whether --with-wine-tools was given.
4476 if test ${with_wine_tools+y}
4477 then :
4478 withval=$with_wine_tools;
4482 # Check whether --with-wine64 was given.
4483 if test ${with_wine64+y}
4484 then :
4485 withval=$with_wine64;
4492 # Make sure we can run config.sub.
4493 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4494 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4497 printf %s "checking build system type... " >&6; }
4498 if test ${ac_cv_build+y}
4499 then :
4500 printf %s "(cached) " >&6
4501 else $as_nop
4502 ac_build_alias=$build_alias
4503 test "x$ac_build_alias" = x &&
4504 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4505 test "x$ac_build_alias" = x &&
4506 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4507 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4508 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4512 printf "%s\n" "$ac_cv_build" >&6; }
4513 case $ac_cv_build in
4514 *-*-*) ;;
4515 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4516 esac
4517 build=$ac_cv_build
4518 ac_save_IFS=$IFS; IFS='-'
4519 set x $ac_cv_build
4520 shift
4521 build_cpu=$1
4522 build_vendor=$2
4523 shift; shift
4524 # Remember, the first character of IFS is used to create $*,
4525 # except with old shells:
4526 build_os=$*
4527 IFS=$ac_save_IFS
4528 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4532 printf %s "checking host system type... " >&6; }
4533 if test ${ac_cv_host+y}
4534 then :
4535 printf %s "(cached) " >&6
4536 else $as_nop
4537 if test "x$host_alias" = x; then
4538 ac_cv_host=$ac_cv_build
4539 else
4540 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4541 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4546 printf "%s\n" "$ac_cv_host" >&6; }
4547 case $ac_cv_host in
4548 *-*-*) ;;
4549 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4550 esac
4551 host=$ac_cv_host
4552 ac_save_IFS=$IFS; IFS='-'
4553 set x $ac_cv_host
4554 shift
4555 host_cpu=$1
4556 host_vendor=$2
4557 shift; shift
4558 # Remember, the first character of IFS is used to create $*,
4559 # except with old shells:
4560 host_os=$*
4561 IFS=$ac_save_IFS
4562 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4566 dlldir=\${libdir}/wine
4568 fontdir=\${datadir}/wine/fonts
4570 nlsdir=\${datadir}/wine/nls
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4576 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4577 set x ${MAKE-make}
4578 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4579 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4580 then :
4581 printf %s "(cached) " >&6
4582 else $as_nop
4583 cat >conftest.make <<\_ACEOF
4584 SHELL = /bin/sh
4585 all:
4586 @echo '@@@%%%=$(MAKE)=@@@%%%'
4587 _ACEOF
4588 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4589 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4590 *@@@%%%=?*=@@@%%%*)
4591 eval ac_cv_prog_make_${ac_make}_set=yes;;
4593 eval ac_cv_prog_make_${ac_make}_set=no;;
4594 esac
4595 rm -f conftest.make
4597 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4599 printf "%s\n" "yes" >&6; }
4600 SET_MAKE=
4601 else
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 printf "%s\n" "no" >&6; }
4604 SET_MAKE="MAKE=${MAKE-make}"
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4623 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625 printf %s "checking for $ac_word... " >&6; }
4626 if test ${ac_cv_prog_CC+y}
4627 then :
4628 printf %s "(cached) " >&6
4629 else $as_nop
4630 if test -n "$CC"; then
4631 ac_cv_prog_CC="$CC" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 case $as_dir in #(((
4638 '') as_dir=./ ;;
4639 */) ;;
4640 *) as_dir=$as_dir/ ;;
4641 esac
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4646 break 2
4648 done
4649 done
4650 IFS=$as_save_IFS
4654 CC=$ac_cv_prog_CC
4655 if test -n "$CC"; then
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657 printf "%s\n" "$CC" >&6; }
4658 else
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 printf "%s\n" "no" >&6; }
4665 if test -z "$ac_cv_prog_CC"; then
4666 ac_ct_CC=$CC
4667 # Extract the first word of "gcc", so it can be a program name with args.
4668 set dummy gcc; ac_word=$2
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 printf %s "checking for $ac_word... " >&6; }
4671 if test ${ac_cv_prog_ac_ct_CC+y}
4672 then :
4673 printf %s "(cached) " >&6
4674 else $as_nop
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4681 IFS=$as_save_IFS
4682 case $as_dir in #(((
4683 '') as_dir=./ ;;
4684 */) ;;
4685 *) as_dir=$as_dir/ ;;
4686 esac
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_ac_ct_CC="gcc"
4690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4691 break 2
4693 done
4694 done
4695 IFS=$as_save_IFS
4699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4700 if test -n "$ac_ct_CC"; then
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4702 printf "%s\n" "$ac_ct_CC" >&6; }
4703 else
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 printf "%s\n" "no" >&6; }
4708 if test "x$ac_ct_CC" = x; then
4709 CC=""
4710 else
4711 case $cross_compiling:$ac_tool_warned in
4712 yes:)
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4716 esac
4717 CC=$ac_ct_CC
4719 else
4720 CC="$ac_cv_prog_CC"
4723 if test -z "$CC"; then
4724 if test -n "$ac_tool_prefix"; then
4725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4726 set dummy ${ac_tool_prefix}cc; ac_word=$2
4727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 printf %s "checking for $ac_word... " >&6; }
4729 if test ${ac_cv_prog_CC+y}
4730 then :
4731 printf %s "(cached) " >&6
4732 else $as_nop
4733 if test -n "$CC"; then
4734 ac_cv_prog_CC="$CC" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4739 IFS=$as_save_IFS
4740 case $as_dir in #(((
4741 '') as_dir=./ ;;
4742 */) ;;
4743 *) as_dir=$as_dir/ ;;
4744 esac
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_CC="${ac_tool_prefix}cc"
4748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4749 break 2
4751 done
4752 done
4753 IFS=$as_save_IFS
4757 CC=$ac_cv_prog_CC
4758 if test -n "$CC"; then
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4760 printf "%s\n" "$CC" >&6; }
4761 else
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 printf "%s\n" "no" >&6; }
4769 if test -z "$CC"; then
4770 # Extract the first word of "cc", so it can be a program name with args.
4771 set dummy cc; ac_word=$2
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 printf %s "checking for $ac_word... " >&6; }
4774 if test ${ac_cv_prog_CC+y}
4775 then :
4776 printf %s "(cached) " >&6
4777 else $as_nop
4778 if test -n "$CC"; then
4779 ac_cv_prog_CC="$CC" # Let the user override the test.
4780 else
4781 ac_prog_rejected=no
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 for as_dir in $PATH
4785 IFS=$as_save_IFS
4786 case $as_dir in #(((
4787 '') as_dir=./ ;;
4788 */) ;;
4789 *) as_dir=$as_dir/ ;;
4790 esac
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4793 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4794 ac_prog_rejected=yes
4795 continue
4797 ac_cv_prog_CC="cc"
4798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4799 break 2
4801 done
4802 done
4803 IFS=$as_save_IFS
4805 if test $ac_prog_rejected = yes; then
4806 # We found a bogon in the path, so make sure we never use it.
4807 set dummy $ac_cv_prog_CC
4808 shift
4809 if test $# != 0; then
4810 # We chose a different compiler from the bogus one.
4811 # However, it has the same basename, so the bogon will be chosen
4812 # first if we set CC to just the basename; use the full file name.
4813 shift
4814 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4819 CC=$ac_cv_prog_CC
4820 if test -n "$CC"; then
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4822 printf "%s\n" "$CC" >&6; }
4823 else
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 printf "%s\n" "no" >&6; }
4830 if test -z "$CC"; then
4831 if test -n "$ac_tool_prefix"; then
4832 for ac_prog in cl.exe
4834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 printf %s "checking for $ac_word... " >&6; }
4838 if test ${ac_cv_prog_CC+y}
4839 then :
4840 printf %s "(cached) " >&6
4841 else $as_nop
4842 if test -n "$CC"; then
4843 ac_cv_prog_CC="$CC" # Let the user override the test.
4844 else
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 case $as_dir in #(((
4850 '') as_dir=./ ;;
4851 */) ;;
4852 *) as_dir=$as_dir/ ;;
4853 esac
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4856 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4858 break 2
4860 done
4861 done
4862 IFS=$as_save_IFS
4866 CC=$ac_cv_prog_CC
4867 if test -n "$CC"; then
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4869 printf "%s\n" "$CC" >&6; }
4870 else
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 printf "%s\n" "no" >&6; }
4876 test -n "$CC" && break
4877 done
4879 if test -z "$CC"; then
4880 ac_ct_CC=$CC
4881 for ac_prog in cl.exe
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 printf %s "checking for $ac_word... " >&6; }
4887 if test ${ac_cv_prog_ac_ct_CC+y}
4888 then :
4889 printf %s "(cached) " >&6
4890 else $as_nop
4891 if test -n "$ac_ct_CC"; then
4892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 case $as_dir in #(((
4899 '') as_dir=./ ;;
4900 */) ;;
4901 *) as_dir=$as_dir/ ;;
4902 esac
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_CC="$ac_prog"
4906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4916 if test -n "$ac_ct_CC"; then
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4918 printf "%s\n" "$ac_ct_CC" >&6; }
4919 else
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 printf "%s\n" "no" >&6; }
4925 test -n "$ac_ct_CC" && break
4926 done
4928 if test "x$ac_ct_CC" = x; then
4929 CC=""
4930 else
4931 case $cross_compiling:$ac_tool_warned in
4932 yes:)
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4936 esac
4937 CC=$ac_ct_CC
4942 if test -z "$CC"; then
4943 if test -n "$ac_tool_prefix"; then
4944 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4945 set dummy ${ac_tool_prefix}clang; ac_word=$2
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 printf %s "checking for $ac_word... " >&6; }
4948 if test ${ac_cv_prog_CC+y}
4949 then :
4950 printf %s "(cached) " >&6
4951 else $as_nop
4952 if test -n "$CC"; then
4953 ac_cv_prog_CC="$CC" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 case $as_dir in #(((
4960 '') as_dir=./ ;;
4961 */) ;;
4962 *) as_dir=$as_dir/ ;;
4963 esac
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_CC="${ac_tool_prefix}clang"
4967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 CC=$ac_cv_prog_CC
4977 if test -n "$CC"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4979 printf "%s\n" "$CC" >&6; }
4980 else
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 printf "%s\n" "no" >&6; }
4987 if test -z "$ac_cv_prog_CC"; then
4988 ac_ct_CC=$CC
4989 # Extract the first word of "clang", so it can be a program name with args.
4990 set dummy clang; ac_word=$2
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 printf %s "checking for $ac_word... " >&6; }
4993 if test ${ac_cv_prog_ac_ct_CC+y}
4994 then :
4995 printf %s "(cached) " >&6
4996 else $as_nop
4997 if test -n "$ac_ct_CC"; then
4998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 case $as_dir in #(((
5005 '') as_dir=./ ;;
5006 */) ;;
5007 *) as_dir=$as_dir/ ;;
5008 esac
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_CC="clang"
5012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5022 if test -n "$ac_ct_CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5024 printf "%s\n" "$ac_ct_CC" >&6; }
5025 else
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5030 if test "x$ac_ct_CC" = x; then
5031 CC=""
5032 else
5033 case $cross_compiling:$ac_tool_warned in
5034 yes:)
5035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5037 ac_tool_warned=yes ;;
5038 esac
5039 CC=$ac_ct_CC
5041 else
5042 CC="$ac_cv_prog_CC"
5048 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5049 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5050 as_fn_error $? "no acceptable C compiler found in \$PATH
5051 See \`config.log' for more details" "$LINENO" 5; }
5053 # Provide some information about the compiler.
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5055 set X $ac_compile
5056 ac_compiler=$2
5057 for ac_option in --version -v -V -qversion -version; do
5058 { { ac_try="$ac_compiler $ac_option >&5"
5059 case "(($ac_try" in
5060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5061 *) ac_try_echo=$ac_try;;
5062 esac
5063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5064 printf "%s\n" "$ac_try_echo"; } >&5
5065 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5066 ac_status=$?
5067 if test -s conftest.err; then
5068 sed '10a\
5069 ... rest of stderr output deleted ...
5070 10q' conftest.err >conftest.er1
5071 cat conftest.er1 >&5
5073 rm -f conftest.er1 conftest.err
5074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5075 test $ac_status = 0; }
5076 done
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 main (void)
5086 return 0;
5088 _ACEOF
5089 ac_clean_files_save=$ac_clean_files
5090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5091 # Try to create an executable without -o first, disregard a.out.
5092 # It will help us diagnose broken compilers, and finding out an intuition
5093 # of exeext.
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5095 printf %s "checking whether the C compiler works... " >&6; }
5096 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5098 # The possible output files:
5099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5101 ac_rmfiles=
5102 for ac_file in $ac_files
5104 case $ac_file in
5105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5107 esac
5108 done
5109 rm -f $ac_rmfiles
5111 if { { ac_try="$ac_link_default"
5112 case "(($ac_try" in
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5115 esac
5116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5117 printf "%s\n" "$ac_try_echo"; } >&5
5118 (eval "$ac_link_default") 2>&5
5119 ac_status=$?
5120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5121 test $ac_status = 0; }
5122 then :
5123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5126 # so that the user can short-circuit this test for compilers unknown to
5127 # Autoconf.
5128 for ac_file in $ac_files ''
5130 test -f "$ac_file" || continue
5131 case $ac_file in
5132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5134 [ab].out )
5135 # We found the default executable, but exeext='' is most
5136 # certainly right.
5137 break;;
5138 *.* )
5139 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5140 then :; else
5141 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5143 # We set ac_cv_exeext here because the later test for it is not
5144 # safe: cross compilers may not add the suffix if given an `-o'
5145 # argument, so we may need to know it at that point already.
5146 # Even if this section looks crufty: it has the advantage of
5147 # actually working.
5148 break;;
5150 break;;
5151 esac
5152 done
5153 test "$ac_cv_exeext" = no && ac_cv_exeext=
5155 else $as_nop
5156 ac_file=''
5158 if test -z "$ac_file"
5159 then :
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 printf "%s\n" "no" >&6; }
5162 printf "%s\n" "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5165 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5166 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5167 as_fn_error 77 "C compiler cannot create executables
5168 See \`config.log' for more details" "$LINENO" 5; }
5169 else $as_nop
5170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5171 printf "%s\n" "yes" >&6; }
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5174 printf %s "checking for C compiler default output file name... " >&6; }
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5176 printf "%s\n" "$ac_file" >&6; }
5177 ac_exeext=$ac_cv_exeext
5179 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5180 ac_clean_files=$ac_clean_files_save
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5182 printf %s "checking for suffix of executables... " >&6; }
5183 if { { ac_try="$ac_link"
5184 case "(($ac_try" in
5185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5186 *) ac_try_echo=$ac_try;;
5187 esac
5188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5189 printf "%s\n" "$ac_try_echo"; } >&5
5190 (eval "$ac_link") 2>&5
5191 ac_status=$?
5192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5193 test $ac_status = 0; }
5194 then :
5195 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5196 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5197 # work properly (i.e., refer to `conftest.exe'), while it won't with
5198 # `rm'.
5199 for ac_file in conftest.exe conftest conftest.*; do
5200 test -f "$ac_file" || continue
5201 case $ac_file in
5202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5203 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5204 break;;
5205 * ) break;;
5206 esac
5207 done
5208 else $as_nop
5209 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5210 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5211 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5212 See \`config.log' for more details" "$LINENO" 5; }
5214 rm -f conftest conftest$ac_cv_exeext
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5216 printf "%s\n" "$ac_cv_exeext" >&6; }
5218 rm -f conftest.$ac_ext
5219 EXEEXT=$ac_cv_exeext
5220 ac_exeext=$EXEEXT
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #include <stdio.h>
5225 main (void)
5227 FILE *f = fopen ("conftest.out", "w");
5228 return ferror (f) || fclose (f) != 0;
5231 return 0;
5233 _ACEOF
5234 ac_clean_files="$ac_clean_files conftest.out"
5235 # Check that the compiler produces executables we can run. If not, either
5236 # the compiler is broken, or we cross compile.
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5238 printf %s "checking whether we are cross compiling... " >&6; }
5239 if test "$cross_compiling" != yes; then
5240 { { ac_try="$ac_link"
5241 case "(($ac_try" in
5242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5243 *) ac_try_echo=$ac_try;;
5244 esac
5245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5246 printf "%s\n" "$ac_try_echo"; } >&5
5247 (eval "$ac_link") 2>&5
5248 ac_status=$?
5249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5250 test $ac_status = 0; }
5251 if { ac_try='./conftest$ac_cv_exeext'
5252 { { case "(($ac_try" in
5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5255 esac
5256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5257 printf "%s\n" "$ac_try_echo"; } >&5
5258 (eval "$ac_try") 2>&5
5259 ac_status=$?
5260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }; }; then
5262 cross_compiling=no
5263 else
5264 if test "$cross_compiling" = maybe; then
5265 cross_compiling=yes
5266 else
5267 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5268 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5269 as_fn_error 77 "cannot run C compiled programs.
5270 If you meant to cross compile, use \`--host'.
5271 See \`config.log' for more details" "$LINENO" 5; }
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5276 printf "%s\n" "$cross_compiling" >&6; }
5278 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5279 ac_clean_files=$ac_clean_files_save
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5281 printf %s "checking for suffix of object files... " >&6; }
5282 if test ${ac_cv_objext+y}
5283 then :
5284 printf %s "(cached) " >&6
5285 else $as_nop
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5290 main (void)
5294 return 0;
5296 _ACEOF
5297 rm -f conftest.o conftest.obj
5298 if { { ac_try="$ac_compile"
5299 case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5302 esac
5303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5304 printf "%s\n" "$ac_try_echo"; } >&5
5305 (eval "$ac_compile") 2>&5
5306 ac_status=$?
5307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5308 test $ac_status = 0; }
5309 then :
5310 for ac_file in conftest.o conftest.obj conftest.*; do
5311 test -f "$ac_file" || continue;
5312 case $ac_file in
5313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5315 break;;
5316 esac
5317 done
5318 else $as_nop
5319 printf "%s\n" "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5323 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5324 as_fn_error $? "cannot compute suffix of object files: cannot compile
5325 See \`config.log' for more details" "$LINENO" 5; }
5327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5330 printf "%s\n" "$ac_cv_objext" >&6; }
5331 OBJEXT=$ac_cv_objext
5332 ac_objext=$OBJEXT
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5334 printf %s "checking whether the compiler supports GNU C... " >&6; }
5335 if test ${ac_cv_c_compiler_gnu+y}
5336 then :
5337 printf %s "(cached) " >&6
5338 else $as_nop
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5343 main (void)
5345 #ifndef __GNUC__
5346 choke me
5347 #endif
5350 return 0;
5352 _ACEOF
5353 if ac_fn_c_try_compile "$LINENO"
5354 then :
5355 ac_compiler_gnu=yes
5356 else $as_nop
5357 ac_compiler_gnu=no
5359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5364 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5367 if test $ac_compiler_gnu = yes; then
5368 GCC=yes
5369 else
5370 GCC=
5372 ac_test_CFLAGS=${CFLAGS+y}
5373 ac_save_CFLAGS=$CFLAGS
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5375 printf %s "checking whether $CC accepts -g... " >&6; }
5376 if test ${ac_cv_prog_cc_g+y}
5377 then :
5378 printf %s "(cached) " >&6
5379 else $as_nop
5380 ac_save_c_werror_flag=$ac_c_werror_flag
5381 ac_c_werror_flag=yes
5382 ac_cv_prog_cc_g=no
5383 CFLAGS="-g"
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5397 ac_cv_prog_cc_g=yes
5398 else $as_nop
5399 CFLAGS=""
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main (void)
5408 return 0;
5410 _ACEOF
5411 if ac_fn_c_try_compile "$LINENO"
5412 then :
5414 else $as_nop
5415 ac_c_werror_flag=$ac_save_c_werror_flag
5416 CFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main (void)
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"
5429 then :
5430 ac_cv_prog_cc_g=yes
5432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5437 ac_c_werror_flag=$ac_save_c_werror_flag
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5440 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5441 if test $ac_test_CFLAGS; then
5442 CFLAGS=$ac_save_CFLAGS
5443 elif test $ac_cv_prog_cc_g = yes; then
5444 if test "$GCC" = yes; then
5445 CFLAGS="-g -O2"
5446 else
5447 CFLAGS="-g"
5449 else
5450 if test "$GCC" = yes; then
5451 CFLAGS="-O2"
5452 else
5453 CFLAGS=
5456 ac_prog_cc_stdc=no
5457 if test x$ac_prog_cc_stdc = xno
5458 then :
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5460 printf %s "checking for $CC option to enable C11 features... " >&6; }
5461 if test ${ac_cv_prog_cc_c11+y}
5462 then :
5463 printf %s "(cached) " >&6
5464 else $as_nop
5465 ac_cv_prog_cc_c11=no
5466 ac_save_CC=$CC
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5469 $ac_c_conftest_c11_program
5470 _ACEOF
5471 for ac_arg in '' -std=gnu11
5473 CC="$ac_save_CC $ac_arg"
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5476 ac_cv_prog_cc_c11=$ac_arg
5478 rm -f core conftest.err conftest.$ac_objext conftest.beam
5479 test "x$ac_cv_prog_cc_c11" != "xno" && break
5480 done
5481 rm -f conftest.$ac_ext
5482 CC=$ac_save_CC
5485 if test "x$ac_cv_prog_cc_c11" = xno
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5488 printf "%s\n" "unsupported" >&6; }
5489 else $as_nop
5490 if test "x$ac_cv_prog_cc_c11" = x
5491 then :
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5493 printf "%s\n" "none needed" >&6; }
5494 else $as_nop
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5496 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5497 CC="$CC $ac_cv_prog_cc_c11"
5499 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5500 ac_prog_cc_stdc=c11
5503 if test x$ac_prog_cc_stdc = xno
5504 then :
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5506 printf %s "checking for $CC option to enable C99 features... " >&6; }
5507 if test ${ac_cv_prog_cc_c99+y}
5508 then :
5509 printf %s "(cached) " >&6
5510 else $as_nop
5511 ac_cv_prog_cc_c99=no
5512 ac_save_CC=$CC
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 $ac_c_conftest_c99_program
5516 _ACEOF
5517 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5519 CC="$ac_save_CC $ac_arg"
5520 if ac_fn_c_try_compile "$LINENO"
5521 then :
5522 ac_cv_prog_cc_c99=$ac_arg
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam
5525 test "x$ac_cv_prog_cc_c99" != "xno" && break
5526 done
5527 rm -f conftest.$ac_ext
5528 CC=$ac_save_CC
5531 if test "x$ac_cv_prog_cc_c99" = xno
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5534 printf "%s\n" "unsupported" >&6; }
5535 else $as_nop
5536 if test "x$ac_cv_prog_cc_c99" = x
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5539 printf "%s\n" "none needed" >&6; }
5540 else $as_nop
5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5542 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5543 CC="$CC $ac_cv_prog_cc_c99"
5545 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5546 ac_prog_cc_stdc=c99
5549 if test x$ac_prog_cc_stdc = xno
5550 then :
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5552 printf %s "checking for $CC option to enable C89 features... " >&6; }
5553 if test ${ac_cv_prog_cc_c89+y}
5554 then :
5555 printf %s "(cached) " >&6
5556 else $as_nop
5557 ac_cv_prog_cc_c89=no
5558 ac_save_CC=$CC
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5561 $ac_c_conftest_c89_program
5562 _ACEOF
5563 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5565 CC="$ac_save_CC $ac_arg"
5566 if ac_fn_c_try_compile "$LINENO"
5567 then :
5568 ac_cv_prog_cc_c89=$ac_arg
5570 rm -f core conftest.err conftest.$ac_objext conftest.beam
5571 test "x$ac_cv_prog_cc_c89" != "xno" && break
5572 done
5573 rm -f conftest.$ac_ext
5574 CC=$ac_save_CC
5577 if test "x$ac_cv_prog_cc_c89" = xno
5578 then :
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5580 printf "%s\n" "unsupported" >&6; }
5581 else $as_nop
5582 if test "x$ac_cv_prog_cc_c89" = x
5583 then :
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5585 printf "%s\n" "none needed" >&6; }
5586 else $as_nop
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5588 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5589 CC="$CC $ac_cv_prog_cc_c89"
5591 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5592 ac_prog_cc_stdc=c89
5596 ac_ext=c
5597 ac_cpp='$CPP $CPPFLAGS'
5598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5608 ac_ext=cpp
5609 ac_cpp='$CXXCPP $CPPFLAGS'
5610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5613 if test -z "$CXX"; then
5614 if test -n "$CCC"; then
5615 CXX=$CCC
5616 else
5617 if test -n "$ac_tool_prefix"; then
5618 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 printf %s "checking for $ac_word... " >&6; }
5624 if test ${ac_cv_prog_CXX+y}
5625 then :
5626 printf %s "(cached) " >&6
5627 else $as_nop
5628 if test -n "$CXX"; then
5629 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 case $as_dir in #(((
5636 '') as_dir=./ ;;
5637 */) ;;
5638 *) as_dir=$as_dir/ ;;
5639 esac
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 CXX=$ac_cv_prog_CXX
5653 if test -n "$CXX"; then
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5655 printf "%s\n" "$CXX" >&6; }
5656 else
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 printf "%s\n" "no" >&6; }
5662 test -n "$CXX" && break
5663 done
5665 if test -z "$CXX"; then
5666 ac_ct_CXX=$CXX
5667 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5669 # Extract the first word of "$ac_prog", so it can be a program name with args.
5670 set dummy $ac_prog; ac_word=$2
5671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 printf %s "checking for $ac_word... " >&6; }
5673 if test ${ac_cv_prog_ac_ct_CXX+y}
5674 then :
5675 printf %s "(cached) " >&6
5676 else $as_nop
5677 if test -n "$ac_ct_CXX"; then
5678 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5683 IFS=$as_save_IFS
5684 case $as_dir in #(((
5685 '') as_dir=./ ;;
5686 */) ;;
5687 *) as_dir=$as_dir/ ;;
5688 esac
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_CXX="$ac_prog"
5692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5702 if test -n "$ac_ct_CXX"; then
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5704 printf "%s\n" "$ac_ct_CXX" >&6; }
5705 else
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 printf "%s\n" "no" >&6; }
5711 test -n "$ac_ct_CXX" && break
5712 done
5714 if test "x$ac_ct_CXX" = x; then
5715 CXX="g++"
5716 else
5717 case $cross_compiling:$ac_tool_warned in
5718 yes:)
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5720 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723 CXX=$ac_ct_CXX
5729 # Provide some information about the compiler.
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5731 set X $ac_compile
5732 ac_compiler=$2
5733 for ac_option in --version -v -V -qversion; do
5734 { { ac_try="$ac_compiler $ac_option >&5"
5735 case "(($ac_try" in
5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5738 esac
5739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5740 printf "%s\n" "$ac_try_echo"; } >&5
5741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5742 ac_status=$?
5743 if test -s conftest.err; then
5744 sed '10a\
5745 ... rest of stderr output deleted ...
5746 10q' conftest.err >conftest.er1
5747 cat conftest.er1 >&5
5749 rm -f conftest.er1 conftest.err
5750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5751 test $ac_status = 0; }
5752 done
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5755 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5756 if test ${ac_cv_cxx_compiler_gnu+y}
5757 then :
5758 printf %s "(cached) " >&6
5759 else $as_nop
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5764 main (void)
5766 #ifndef __GNUC__
5767 choke me
5768 #endif
5771 return 0;
5773 _ACEOF
5774 if ac_fn_cxx_try_compile "$LINENO"
5775 then :
5776 ac_compiler_gnu=yes
5777 else $as_nop
5778 ac_compiler_gnu=no
5780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5781 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5785 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5788 if test $ac_compiler_gnu = yes; then
5789 GXX=yes
5790 else
5791 GXX=
5793 ac_test_CXXFLAGS=${CXXFLAGS+y}
5794 ac_save_CXXFLAGS=$CXXFLAGS
5795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5796 printf %s "checking whether $CXX accepts -g... " >&6; }
5797 if test ${ac_cv_prog_cxx_g+y}
5798 then :
5799 printf %s "(cached) " >&6
5800 else $as_nop
5801 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5802 ac_cxx_werror_flag=yes
5803 ac_cv_prog_cxx_g=no
5804 CXXFLAGS="-g"
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5818 ac_cv_prog_cxx_g=yes
5819 else $as_nop
5820 CXXFLAGS=""
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5825 main (void)
5829 return 0;
5831 _ACEOF
5832 if ac_fn_cxx_try_compile "$LINENO"
5833 then :
5835 else $as_nop
5836 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5837 CXXFLAGS="-g"
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5842 main (void)
5846 return 0;
5848 _ACEOF
5849 if ac_fn_cxx_try_compile "$LINENO"
5850 then :
5851 ac_cv_prog_cxx_g=yes
5853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5861 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5862 if test $ac_test_CXXFLAGS; then
5863 CXXFLAGS=$ac_save_CXXFLAGS
5864 elif test $ac_cv_prog_cxx_g = yes; then
5865 if test "$GXX" = yes; then
5866 CXXFLAGS="-g -O2"
5867 else
5868 CXXFLAGS="-g"
5870 else
5871 if test "$GXX" = yes; then
5872 CXXFLAGS="-O2"
5873 else
5874 CXXFLAGS=
5877 ac_prog_cxx_stdcxx=no
5878 if test x$ac_prog_cxx_stdcxx = xno
5879 then :
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5881 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5882 if test ${ac_cv_prog_cxx_cxx11+y}
5883 then :
5884 printf %s "(cached) " >&6
5885 else $as_nop
5886 ac_cv_prog_cxx_cxx11=no
5887 ac_save_CXX=$CXX
5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5889 /* end confdefs.h. */
5890 $ac_cxx_conftest_cxx11_program
5891 _ACEOF
5892 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5894 CXX="$ac_save_CXX $ac_arg"
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5897 ac_cv_prog_cxx_cxx11=$ac_arg
5899 rm -f core conftest.err conftest.$ac_objext conftest.beam
5900 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5901 done
5902 rm -f conftest.$ac_ext
5903 CXX=$ac_save_CXX
5906 if test "x$ac_cv_prog_cxx_cxx11" = xno
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5909 printf "%s\n" "unsupported" >&6; }
5910 else $as_nop
5911 if test "x$ac_cv_prog_cxx_cxx11" = x
5912 then :
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5914 printf "%s\n" "none needed" >&6; }
5915 else $as_nop
5916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5917 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5918 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5920 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5921 ac_prog_cxx_stdcxx=cxx11
5924 if test x$ac_prog_cxx_stdcxx = xno
5925 then :
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5927 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5928 if test ${ac_cv_prog_cxx_cxx98+y}
5929 then :
5930 printf %s "(cached) " >&6
5931 else $as_nop
5932 ac_cv_prog_cxx_cxx98=no
5933 ac_save_CXX=$CXX
5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 $ac_cxx_conftest_cxx98_program
5937 _ACEOF
5938 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5940 CXX="$ac_save_CXX $ac_arg"
5941 if ac_fn_cxx_try_compile "$LINENO"
5942 then :
5943 ac_cv_prog_cxx_cxx98=$ac_arg
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam
5946 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5947 done
5948 rm -f conftest.$ac_ext
5949 CXX=$ac_save_CXX
5952 if test "x$ac_cv_prog_cxx_cxx98" = xno
5953 then :
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5955 printf "%s\n" "unsupported" >&6; }
5956 else $as_nop
5957 if test "x$ac_cv_prog_cxx_cxx98" = x
5958 then :
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5960 printf "%s\n" "none needed" >&6; }
5961 else $as_nop
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5963 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5964 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5966 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5967 ac_prog_cxx_stdcxx=cxx98
5971 ac_ext=c
5972 ac_cpp='$CPP $CPPFLAGS'
5973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5977 if test -n "$ac_tool_prefix"; then
5978 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5979 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 printf %s "checking for $ac_word... " >&6; }
5982 if test ${ac_cv_prog_CPPBIN+y}
5983 then :
5984 printf %s "(cached) " >&6
5985 else $as_nop
5986 if test -n "$CPPBIN"; then
5987 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5988 else
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 for as_dir in $PATH
5992 IFS=$as_save_IFS
5993 case $as_dir in #(((
5994 '') as_dir=./ ;;
5995 */) ;;
5996 *) as_dir=$as_dir/ ;;
5997 esac
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 CPPBIN=$ac_cv_prog_CPPBIN
6011 if test -n "$CPPBIN"; then
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6013 printf "%s\n" "$CPPBIN" >&6; }
6014 else
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 printf "%s\n" "no" >&6; }
6021 if test -z "$ac_cv_prog_CPPBIN"; then
6022 ac_ct_CPPBIN=$CPPBIN
6023 # Extract the first word of "cpp", so it can be a program name with args.
6024 set dummy cpp; ac_word=$2
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 printf %s "checking for $ac_word... " >&6; }
6027 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6028 then :
6029 printf %s "(cached) " >&6
6030 else $as_nop
6031 if test -n "$ac_ct_CPPBIN"; then
6032 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6033 else
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH
6037 IFS=$as_save_IFS
6038 case $as_dir in #(((
6039 '') as_dir=./ ;;
6040 */) ;;
6041 *) as_dir=$as_dir/ ;;
6042 esac
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_ac_ct_CPPBIN="cpp"
6046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6056 if test -n "$ac_ct_CPPBIN"; then
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6058 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6059 else
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 printf "%s\n" "no" >&6; }
6064 if test "x$ac_ct_CPPBIN" = x; then
6065 CPPBIN="cpp"
6066 else
6067 case $cross_compiling:$ac_tool_warned in
6068 yes:)
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6070 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6071 ac_tool_warned=yes ;;
6072 esac
6073 CPPBIN=$ac_ct_CPPBIN
6075 else
6076 CPPBIN="$ac_cv_prog_CPPBIN"
6080 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6082 if test -n "$ac_tool_prefix"; then
6083 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6084 set dummy ${ac_tool_prefix}ld; ac_word=$2
6085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 printf %s "checking for $ac_word... " >&6; }
6087 if test ${ac_cv_prog_LD+y}
6088 then :
6089 printf %s "(cached) " >&6
6090 else $as_nop
6091 if test -n "$LD"; then
6092 ac_cv_prog_LD="$LD" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 case $as_dir in #(((
6099 '') as_dir=./ ;;
6100 */) ;;
6101 *) as_dir=$as_dir/ ;;
6102 esac
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6105 ac_cv_prog_LD="${ac_tool_prefix}ld"
6106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 LD=$ac_cv_prog_LD
6116 if test -n "$LD"; then
6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6118 printf "%s\n" "$LD" >&6; }
6119 else
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 printf "%s\n" "no" >&6; }
6126 if test -z "$ac_cv_prog_LD"; then
6127 ac_ct_LD=$LD
6128 # Extract the first word of "ld", so it can be a program name with args.
6129 set dummy ld; ac_word=$2
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 printf %s "checking for $ac_word... " >&6; }
6132 if test ${ac_cv_prog_ac_ct_LD+y}
6133 then :
6134 printf %s "(cached) " >&6
6135 else $as_nop
6136 if test -n "$ac_ct_LD"; then
6137 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6142 IFS=$as_save_IFS
6143 case $as_dir in #(((
6144 '') as_dir=./ ;;
6145 */) ;;
6146 *) as_dir=$as_dir/ ;;
6147 esac
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_ac_ct_LD="ld"
6151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6160 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6161 if test -n "$ac_ct_LD"; then
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6163 printf "%s\n" "$ac_ct_LD" >&6; }
6164 else
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 printf "%s\n" "no" >&6; }
6169 if test "x$ac_ct_LD" = x; then
6170 LD=""
6171 else
6172 case $cross_compiling:$ac_tool_warned in
6173 yes:)
6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6175 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6176 ac_tool_warned=yes ;;
6177 esac
6178 LD=$ac_ct_LD
6180 else
6181 LD="$ac_cv_prog_LD"
6185 case $host in
6186 *-darwin*)
6187 with_fontconfig=${with_fontconfig:-no}
6189 *-mingw32*|*-cygwin*)
6190 enable_win16=${enable_win16:-no}
6191 with_mingw=${with_mingw:-no}
6193 esac
6196 case $host in
6197 x86_64*|amd64*)
6198 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6199 then
6200 CC="$CC -m32"
6201 CXX="$CXX -m32"
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6204 printf %s "checking whether $CC works... " >&6; }
6205 if test ${wine_cv_cc_m32+y}
6206 then :
6207 printf %s "(cached) " >&6
6208 else $as_nop
6209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6213 main (void)
6217 return 0;
6219 _ACEOF
6220 if ac_fn_c_try_link "$LINENO"
6221 then :
6222 wine_cv_cc_m32=yes
6223 else $as_nop
6224 wine_cv_cc_m32=no
6226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6227 conftest$ac_exeext conftest.$ac_ext
6229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6230 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6231 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
6232 host_cpu="i386"
6233 notice_platform="32-bit "
6234 TARGETFLAGS="$TARGETFLAGS -m32"
6235 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6236 export PKG_CONFIG_LIBDIR
6237 with_unwind=${with_unwind:-no}
6238 else
6239 if test "x${GCC}" = "xyes"
6240 then
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6242 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6243 if test ${wine_cv_builtin_ms_va_list+y}
6244 then :
6245 printf %s "(cached) " >&6
6246 else $as_nop
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #include <stdarg.h>
6251 main (void)
6253 void func(__builtin_ms_va_list *args);
6255 return 0;
6257 _ACEOF
6258 if ac_fn_c_try_compile "$LINENO"
6259 then :
6260 wine_cv_builtin_ms_va_list=yes
6261 else $as_nop
6262 wine_cv_builtin_ms_va_list=no
6264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6267 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6268 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
6270 CC="$CC -m64"
6271 CXX="$CXX -m64"
6272 host_cpu="x86_64"
6273 notice_platform="64-bit "
6274 TARGETFLAGS="$TARGETFLAGS -m64"
6277 arm*)
6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6279 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6280 if test ${wine_cv_thumb2+y}
6281 then :
6282 printf %s "(cached) " >&6
6283 else $as_nop
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6288 main (void)
6290 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_link "$LINENO"
6296 then :
6297 wine_cv_thumb2=yes
6298 else $as_nop
6299 wine_cv_thumb2=no
6301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6302 conftest$ac_exeext conftest.$ac_ext
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6305 printf "%s\n" "$wine_cv_thumb2" >&6; }
6306 if test x"$wine_cv_thumb2" = xyes
6307 then
6308 CFLAGS="$CFLAGS -mthumb"
6309 TARGETFLAGS="$TARGETFLAGS -mthumb"
6310 else
6311 CFLAGS="$CFLAGS -marm"
6312 TARGETFLAGS="$TARGETFLAGS -marm"
6314 case $with_float_abi in
6315 soft|softfp|hard)
6316 float_abi=$with_float_abi ;;
6318 case $host_os in
6319 *eabihf)
6320 float_abi=hard ;;
6322 float_abi=softfp
6323 saved_CFLAGS=$CFLAGS
6324 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6326 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6327 if test ${wine_cv_float_abi+y}
6328 then :
6329 printf %s "(cached) " >&6
6330 else $as_nop
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6335 main (void)
6337 asm("vmrs r2,fpscr");
6339 return 0;
6341 _ACEOF
6342 if ac_fn_c_try_link "$LINENO"
6343 then :
6344 wine_cv_float_abi=yes
6345 else $as_nop
6346 wine_cv_float_abi=no
6348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6349 conftest$ac_exeext conftest.$ac_ext
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6352 printf "%s\n" "$wine_cv_float_abi" >&6; }
6353 if test $wine_cv_float_abi = no
6354 then
6355 float_abi=soft
6356 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6358 CFLAGS=$saved_CFLAGS
6359 esac
6361 esac
6362 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6363 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6365 i[3456789]86*)
6366 with_unwind=${with_unwind:-no}
6368 esac
6370 enable_win16=${enable_win16:-i386}
6371 enable_win64=${enable_win64:-no}
6372 enable_wow64=${enable_wow64:-aarch64,x86_64}
6373 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6374 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6376 enable_winetest=${enable_winetest:-$enable_tests}
6378 if test "x$enable_win64" = "xyes"
6379 then
6380 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6381 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6384 case $build_os in
6385 cygwin*|mingw32*) toolsext=".exe"
6387 *) toolsext=""
6389 esac
6391 HOST_ARCH=unknown
6392 case "$host_cpu" in
6393 aarch64*) HOST_ARCH=aarch64 ;;
6394 arm*) HOST_ARCH=arm ;;
6395 i[3456789]86*) HOST_ARCH=i386 ;;
6396 x86_64) HOST_ARCH=x86_64 ;;
6397 esac
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6401 printf %s "checking for the directory containing the Wine tools... " >&6; }
6402 if test ${wine_cv_toolsdir+y}
6403 then :
6404 printf %s "(cached) " >&6
6405 else $as_nop
6406 wine_cv_toolsdir="$with_wine_tools"
6407 if test -z "$with_wine_tools"; then
6408 if test "$cross_compiling" = "yes"; then
6409 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6410 elif test -n "$with_wine64"; then
6411 wine_cv_toolsdir="$with_wine64"
6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6416 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6417 if test -z "$wine_cv_toolsdir"; then
6418 wine_makedep=tools/makedep$toolsext
6419 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6420 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6421 enable_tools=${enable_tools:-no}
6422 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6423 else
6424 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6426 toolsdir=$wine_cv_toolsdir
6428 MAKEDEP=$wine_makedep
6430 RUNTESTFLAGS="-q -P wine"
6432 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'"
6435 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6436 then
6437 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6440 for ac_prog in flex
6442 # Extract the first word of "$ac_prog", so it can be a program name with args.
6443 set dummy $ac_prog; ac_word=$2
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 printf %s "checking for $ac_word... " >&6; }
6446 if test ${ac_cv_prog_FLEX+y}
6447 then :
6448 printf %s "(cached) " >&6
6449 else $as_nop
6450 if test -n "$FLEX"; then
6451 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6456 IFS=$as_save_IFS
6457 case $as_dir in #(((
6458 '') as_dir=./ ;;
6459 */) ;;
6460 *) as_dir=$as_dir/ ;;
6461 esac
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_FLEX="$ac_prog"
6465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6466 break 2
6468 done
6469 done
6470 IFS=$as_save_IFS
6474 FLEX=$ac_cv_prog_FLEX
6475 if test -n "$FLEX"; then
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6477 printf "%s\n" "$FLEX" >&6; }
6478 else
6479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 printf "%s\n" "no" >&6; }
6484 test -n "$FLEX" && break
6485 done
6486 test -n "$FLEX" || FLEX="none"
6488 if test "$FLEX" = "none"
6489 then
6490 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6493 printf %s "checking whether flex is recent enough... " >&6; }
6494 if test ${wine_cv_recent_flex+y}
6495 then :
6496 printf %s "(cached) " >&6
6497 else $as_nop
6498 cat >conftest.l <<EOF
6499 %top{
6500 #include "prediluvian.h"
6504 if $FLEX -t conftest.l >/dev/null 2>&5
6505 then
6506 wine_cv_recent_flex=yes
6507 else
6508 wine_cv_recent_flex=no
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6512 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6513 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
6515 for ac_prog in bison
6517 # Extract the first word of "$ac_prog", so it can be a program name with args.
6518 set dummy $ac_prog; ac_word=$2
6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 printf %s "checking for $ac_word... " >&6; }
6521 if test ${ac_cv_prog_BISON+y}
6522 then :
6523 printf %s "(cached) " >&6
6524 else $as_nop
6525 if test -n "$BISON"; then
6526 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6527 else
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $PATH
6531 IFS=$as_save_IFS
6532 case $as_dir in #(((
6533 '') as_dir=./ ;;
6534 */) ;;
6535 *) as_dir=$as_dir/ ;;
6536 esac
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_BISON="$ac_prog"
6540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 BISON=$ac_cv_prog_BISON
6550 if test -n "$BISON"; then
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6552 printf "%s\n" "$BISON" >&6; }
6553 else
6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 printf "%s\n" "no" >&6; }
6559 test -n "$BISON" && break
6560 done
6561 test -n "$BISON" || BISON="none"
6563 if test "$BISON" = "none"
6564 then
6565 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6568 printf %s "checking whether bison is recent enough... " >&6; }
6569 if test ${wine_cv_recent_bison+y}
6570 then :
6571 printf %s "(cached) " >&6
6572 else $as_nop
6573 cat >conftest.y <<EOF
6574 %define parse.error verbose
6576 empty: ;
6578 if $BISON conftest.y >/dev/null 2>&5
6579 then
6580 wine_cv_recent_bison=yes
6581 else
6582 wine_cv_recent_bison=no
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6586 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6587 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
6589 if test -n "$ac_tool_prefix"; then
6590 for ac_prog in ar gar
6592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 printf %s "checking for $ac_word... " >&6; }
6596 if test ${ac_cv_prog_AR+y}
6597 then :
6598 printf %s "(cached) " >&6
6599 else $as_nop
6600 if test -n "$AR"; then
6601 ac_cv_prog_AR="$AR" # Let the user override the test.
6602 else
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 for as_dir in $PATH
6606 IFS=$as_save_IFS
6607 case $as_dir in #(((
6608 '') as_dir=./ ;;
6609 */) ;;
6610 *) as_dir=$as_dir/ ;;
6611 esac
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6616 break 2
6618 done
6619 done
6620 IFS=$as_save_IFS
6624 AR=$ac_cv_prog_AR
6625 if test -n "$AR"; then
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6627 printf "%s\n" "$AR" >&6; }
6628 else
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 printf "%s\n" "no" >&6; }
6634 test -n "$AR" && break
6635 done
6637 if test -z "$AR"; then
6638 ac_ct_AR=$AR
6639 for ac_prog in ar gar
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 printf %s "checking for $ac_word... " >&6; }
6645 if test ${ac_cv_prog_ac_ct_AR+y}
6646 then :
6647 printf %s "(cached) " >&6
6648 else $as_nop
6649 if test -n "$ac_ct_AR"; then
6650 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 case $as_dir in #(((
6657 '') as_dir=./ ;;
6658 */) ;;
6659 *) as_dir=$as_dir/ ;;
6660 esac
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_ac_ct_AR="$ac_prog"
6664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6674 if test -n "$ac_ct_AR"; then
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6676 printf "%s\n" "$ac_ct_AR" >&6; }
6677 else
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 printf "%s\n" "no" >&6; }
6683 test -n "$ac_ct_AR" && break
6684 done
6686 if test "x$ac_ct_AR" = x; then
6687 AR="ar"
6688 else
6689 case $cross_compiling:$ac_tool_warned in
6690 yes:)
6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6692 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6693 ac_tool_warned=yes ;;
6694 esac
6695 AR=$ac_ct_AR
6699 if test -n "$ac_tool_prefix"; then
6700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6701 set dummy ${ac_tool_prefix}strip; ac_word=$2
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 printf %s "checking for $ac_word... " >&6; }
6704 if test ${ac_cv_prog_STRIP+y}
6705 then :
6706 printf %s "(cached) " >&6
6707 else $as_nop
6708 if test -n "$STRIP"; then
6709 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6710 else
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH
6714 IFS=$as_save_IFS
6715 case $as_dir in #(((
6716 '') as_dir=./ ;;
6717 */) ;;
6718 *) as_dir=$as_dir/ ;;
6719 esac
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 STRIP=$ac_cv_prog_STRIP
6733 if test -n "$STRIP"; then
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6735 printf "%s\n" "$STRIP" >&6; }
6736 else
6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 printf "%s\n" "no" >&6; }
6743 if test -z "$ac_cv_prog_STRIP"; then
6744 ac_ct_STRIP=$STRIP
6745 # Extract the first word of "strip", so it can be a program name with args.
6746 set dummy strip; ac_word=$2
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 printf %s "checking for $ac_word... " >&6; }
6749 if test ${ac_cv_prog_ac_ct_STRIP+y}
6750 then :
6751 printf %s "(cached) " >&6
6752 else $as_nop
6753 if test -n "$ac_ct_STRIP"; then
6754 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 case $as_dir in #(((
6761 '') as_dir=./ ;;
6762 */) ;;
6763 *) as_dir=$as_dir/ ;;
6764 esac
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_ac_ct_STRIP="strip"
6768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6769 break 2
6771 done
6772 done
6773 IFS=$as_save_IFS
6777 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6778 if test -n "$ac_ct_STRIP"; then
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6780 printf "%s\n" "$ac_ct_STRIP" >&6; }
6781 else
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 printf "%s\n" "no" >&6; }
6786 if test "x$ac_ct_STRIP" = x; then
6787 STRIP="strip"
6788 else
6789 case $cross_compiling:$ac_tool_warned in
6790 yes:)
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned=yes ;;
6794 esac
6795 STRIP=$ac_ct_STRIP
6797 else
6798 STRIP="$ac_cv_prog_STRIP"
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 printf %s "checking for $ac_word... " >&6; }
6806 if test ${ac_cv_prog_RANLIB+y}
6807 then :
6808 printf %s "(cached) " >&6
6809 else $as_nop
6810 if test -n "$RANLIB"; then
6811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6812 else
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 for as_dir in $PATH
6816 IFS=$as_save_IFS
6817 case $as_dir in #(((
6818 '') as_dir=./ ;;
6819 */) ;;
6820 *) as_dir=$as_dir/ ;;
6821 esac
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6826 break 2
6828 done
6829 done
6830 IFS=$as_save_IFS
6834 RANLIB=$ac_cv_prog_RANLIB
6835 if test -n "$RANLIB"; then
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6837 printf "%s\n" "$RANLIB" >&6; }
6838 else
6839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 printf "%s\n" "no" >&6; }
6845 if test -z "$ac_cv_prog_RANLIB"; then
6846 ac_ct_RANLIB=$RANLIB
6847 # Extract the first word of "ranlib", so it can be a program name with args.
6848 set dummy ranlib; ac_word=$2
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 printf %s "checking for $ac_word... " >&6; }
6851 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6852 then :
6853 printf %s "(cached) " >&6
6854 else $as_nop
6855 if test -n "$ac_ct_RANLIB"; then
6856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6857 else
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 for as_dir in $PATH
6861 IFS=$as_save_IFS
6862 case $as_dir in #(((
6863 '') as_dir=./ ;;
6864 */) ;;
6865 *) as_dir=$as_dir/ ;;
6866 esac
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_ac_ct_RANLIB="ranlib"
6870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6871 break 2
6873 done
6874 done
6875 IFS=$as_save_IFS
6879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6880 if test -n "$ac_ct_RANLIB"; then
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6882 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6883 else
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 printf "%s\n" "no" >&6; }
6888 if test "x$ac_ct_RANLIB" = x; then
6889 RANLIB=":"
6890 else
6891 case $cross_compiling:$ac_tool_warned in
6892 yes:)
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6894 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6895 ac_tool_warned=yes ;;
6896 esac
6897 RANLIB=$ac_ct_RANLIB
6899 else
6900 RANLIB="$ac_cv_prog_RANLIB"
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6904 printf %s "checking whether ln -s works... " >&6; }
6905 LN_S=$as_ln_s
6906 if test "$LN_S" = "ln -s"; then
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6908 printf "%s\n" "yes" >&6; }
6909 else
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6911 printf "%s\n" "no, using $LN_S" >&6; }
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6915 printf %s "checking for grep that handles long lines and -e... " >&6; }
6916 if test ${ac_cv_path_GREP+y}
6917 then :
6918 printf %s "(cached) " >&6
6919 else $as_nop
6920 if test -z "$GREP"; then
6921 ac_path_GREP_found=false
6922 # Loop through the user's path and test for each of PROGNAME-LIST
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6926 IFS=$as_save_IFS
6927 case $as_dir in #(((
6928 '') as_dir=./ ;;
6929 */) ;;
6930 *) as_dir=$as_dir/ ;;
6931 esac
6932 for ac_prog in grep ggrep
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6936 as_fn_executable_p "$ac_path_GREP" || continue
6937 # Check for GNU ac_path_GREP and select it if it is found.
6938 # Check for GNU $ac_path_GREP
6939 case `"$ac_path_GREP" --version 2>&1` in
6940 *GNU*)
6941 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6943 ac_count=0
6944 printf %s 0123456789 >"conftest.in"
6945 while :
6947 cat "conftest.in" "conftest.in" >"conftest.tmp"
6948 mv "conftest.tmp" "conftest.in"
6949 cp "conftest.in" "conftest.nl"
6950 printf "%s\n" 'GREP' >> "conftest.nl"
6951 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6953 as_fn_arith $ac_count + 1 && ac_count=$as_val
6954 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6955 # Best one so far, save it but keep looking for a better one
6956 ac_cv_path_GREP="$ac_path_GREP"
6957 ac_path_GREP_max=$ac_count
6959 # 10*(2^10) chars as input seems more than enough
6960 test $ac_count -gt 10 && break
6961 done
6962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6963 esac
6965 $ac_path_GREP_found && break 3
6966 done
6967 done
6968 done
6969 IFS=$as_save_IFS
6970 if test -z "$ac_cv_path_GREP"; then
6971 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6973 else
6974 ac_cv_path_GREP=$GREP
6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6979 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6980 GREP="$ac_cv_path_GREP"
6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6984 printf %s "checking for egrep... " >&6; }
6985 if test ${ac_cv_path_EGREP+y}
6986 then :
6987 printf %s "(cached) " >&6
6988 else $as_nop
6989 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6990 then ac_cv_path_EGREP="$GREP -E"
6991 else
6992 if test -z "$EGREP"; then
6993 ac_path_EGREP_found=false
6994 # Loop through the user's path and test for each of PROGNAME-LIST
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6998 IFS=$as_save_IFS
6999 case $as_dir in #(((
7000 '') as_dir=./ ;;
7001 */) ;;
7002 *) as_dir=$as_dir/ ;;
7003 esac
7004 for ac_prog in egrep
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7008 as_fn_executable_p "$ac_path_EGREP" || continue
7009 # Check for GNU ac_path_EGREP and select it if it is found.
7010 # Check for GNU $ac_path_EGREP
7011 case `"$ac_path_EGREP" --version 2>&1` in
7012 *GNU*)
7013 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7015 ac_count=0
7016 printf %s 0123456789 >"conftest.in"
7017 while :
7019 cat "conftest.in" "conftest.in" >"conftest.tmp"
7020 mv "conftest.tmp" "conftest.in"
7021 cp "conftest.in" "conftest.nl"
7022 printf "%s\n" 'EGREP' >> "conftest.nl"
7023 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7025 as_fn_arith $ac_count + 1 && ac_count=$as_val
7026 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7027 # Best one so far, save it but keep looking for a better one
7028 ac_cv_path_EGREP="$ac_path_EGREP"
7029 ac_path_EGREP_max=$ac_count
7031 # 10*(2^10) chars as input seems more than enough
7032 test $ac_count -gt 10 && break
7033 done
7034 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7035 esac
7037 $ac_path_EGREP_found && break 3
7038 done
7039 done
7040 done
7041 IFS=$as_save_IFS
7042 if test -z "$ac_cv_path_EGREP"; then
7043 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7045 else
7046 ac_cv_path_EGREP=$EGREP
7051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7052 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7053 EGREP="$ac_cv_path_EGREP"
7056 # Extract the first word of "ldconfig", so it can be a program name with args.
7057 set dummy ldconfig; ac_word=$2
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 printf %s "checking for $ac_word... " >&6; }
7060 if test ${ac_cv_path_LDCONFIG+y}
7061 then :
7062 printf %s "(cached) " >&6
7063 else $as_nop
7064 case $LDCONFIG in
7065 [\\/]* | ?:[\\/]*)
7066 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in /sbin /usr/sbin $PATH
7072 IFS=$as_save_IFS
7073 case $as_dir in #(((
7074 '') as_dir=./ ;;
7075 */) ;;
7076 *) as_dir=$as_dir/ ;;
7077 esac
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7080 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7082 break 2
7084 done
7085 done
7086 IFS=$as_save_IFS
7088 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7090 esac
7092 LDCONFIG=$ac_cv_path_LDCONFIG
7093 if test -n "$LDCONFIG"; then
7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7095 printf "%s\n" "$LDCONFIG" >&6; }
7096 else
7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098 printf "%s\n" "no" >&6; }
7102 for ac_prog in msgfmt
7104 # Extract the first word of "$ac_prog", so it can be a program name with args.
7105 set dummy $ac_prog; ac_word=$2
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 printf %s "checking for $ac_word... " >&6; }
7108 if test ${ac_cv_prog_MSGFMT+y}
7109 then :
7110 printf %s "(cached) " >&6
7111 else $as_nop
7112 if test -n "$MSGFMT"; then
7113 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7114 else
7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 for as_dir in $PATH
7118 IFS=$as_save_IFS
7119 case $as_dir in #(((
7120 '') as_dir=./ ;;
7121 */) ;;
7122 *) as_dir=$as_dir/ ;;
7123 esac
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7126 ac_cv_prog_MSGFMT="$ac_prog"
7127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7128 break 2
7130 done
7131 done
7132 IFS=$as_save_IFS
7136 MSGFMT=$ac_cv_prog_MSGFMT
7137 if test -n "$MSGFMT"; then
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7139 printf "%s\n" "$MSGFMT" >&6; }
7140 else
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 printf "%s\n" "no" >&6; }
7146 test -n "$MSGFMT" && break
7147 done
7148 test -n "$MSGFMT" || MSGFMT="false"
7150 if test ${ac_tool_prefix+y}
7151 then :
7152 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 printf %s "checking for $ac_word... " >&6; }
7156 if test ${ac_cv_prog_PKG_CONFIG+y}
7157 then :
7158 printf %s "(cached) " >&6
7159 else $as_nop
7160 if test -n "$PKG_CONFIG"; then
7161 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7162 else
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 for as_dir in $PATH
7166 IFS=$as_save_IFS
7167 case $as_dir in #(((
7168 '') as_dir=./ ;;
7169 */) ;;
7170 *) as_dir=$as_dir/ ;;
7171 esac
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7176 break 2
7178 done
7179 done
7180 IFS=$as_save_IFS
7184 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7185 if test -n "$PKG_CONFIG"; then
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7187 printf "%s\n" "$PKG_CONFIG" >&6; }
7188 else
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 printf "%s\n" "no" >&6; }
7195 if ${ac_cv_prog_PKG_CONFIG:+false} :
7196 then :
7197 if test "x$cross_compiling" = xyes
7198 then :
7200 else $as_nop
7201 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7202 # Extract the first word of "pkg-config", so it can be a program name with args.
7203 set dummy pkg-config; ac_word=$2
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 printf %s "checking for $ac_word... " >&6; }
7206 if test ${ac_cv_prog_PKG_CONFIG+y}
7207 then :
7208 printf %s "(cached) " >&6
7209 else $as_nop
7210 if test -n "$PKG_CONFIG"; then
7211 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7216 IFS=$as_save_IFS
7217 case $as_dir in #(((
7218 '') as_dir=./ ;;
7219 */) ;;
7220 *) as_dir=$as_dir/ ;;
7221 esac
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_PKG_CONFIG="pkg-config"
7225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7226 break 2
7228 done
7229 done
7230 IFS=$as_save_IFS
7234 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7235 if test -n "$PKG_CONFIG"; then
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7237 printf "%s\n" "$PKG_CONFIG" >&6; }
7238 else
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 printf "%s\n" "no" >&6; }
7245 else $as_nop
7246 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7249 if test "x$enable_maintainer_mode" != "xyes"
7250 then
7251 FONTFORGE=""
7252 RSVG=""
7253 CONVERT=""
7254 ICOTOOL=""
7255 else
7256 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7257 for ac_prog in fontforge
7259 # Extract the first word of "$ac_prog", so it can be a program name with args.
7260 set dummy $ac_prog; ac_word=$2
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 printf %s "checking for $ac_word... " >&6; }
7263 if test ${ac_cv_prog_FONTFORGE+y}
7264 then :
7265 printf %s "(cached) " >&6
7266 else $as_nop
7267 if test -n "$FONTFORGE"; then
7268 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7273 IFS=$as_save_IFS
7274 case $as_dir in #(((
7275 '') as_dir=./ ;;
7276 */) ;;
7277 *) as_dir=$as_dir/ ;;
7278 esac
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_FONTFORGE="$ac_prog"
7282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7283 break 2
7285 done
7286 done
7287 IFS=$as_save_IFS
7291 FONTFORGE=$ac_cv_prog_FONTFORGE
7292 if test -n "$FONTFORGE"; then
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7294 printf "%s\n" "$FONTFORGE" >&6; }
7295 else
7296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 printf "%s\n" "no" >&6; }
7301 test -n "$FONTFORGE" && break
7302 done
7303 test -n "$FONTFORGE" || FONTFORGE="false"
7305 for ac_prog in rsvg-convert rsvg
7307 # Extract the first word of "$ac_prog", so it can be a program name with args.
7308 set dummy $ac_prog; ac_word=$2
7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 printf %s "checking for $ac_word... " >&6; }
7311 if test ${ac_cv_prog_RSVG+y}
7312 then :
7313 printf %s "(cached) " >&6
7314 else $as_nop
7315 if test -n "$RSVG"; then
7316 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 case $as_dir in #(((
7323 '') as_dir=./ ;;
7324 */) ;;
7325 *) as_dir=$as_dir/ ;;
7326 esac
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_RSVG="$ac_prog"
7330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7331 break 2
7333 done
7334 done
7335 IFS=$as_save_IFS
7339 RSVG=$ac_cv_prog_RSVG
7340 if test -n "$RSVG"; then
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7342 printf "%s\n" "$RSVG" >&6; }
7343 else
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 printf "%s\n" "no" >&6; }
7349 test -n "$RSVG" && break
7350 done
7351 test -n "$RSVG" || RSVG="false"
7353 for ac_prog in convert
7355 # Extract the first word of "$ac_prog", so it can be a program name with args.
7356 set dummy $ac_prog; ac_word=$2
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 printf %s "checking for $ac_word... " >&6; }
7359 if test ${ac_cv_prog_CONVERT+y}
7360 then :
7361 printf %s "(cached) " >&6
7362 else $as_nop
7363 if test -n "$CONVERT"; then
7364 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7369 IFS=$as_save_IFS
7370 case $as_dir in #(((
7371 '') as_dir=./ ;;
7372 */) ;;
7373 *) as_dir=$as_dir/ ;;
7374 esac
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_CONVERT="$ac_prog"
7378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 CONVERT=$ac_cv_prog_CONVERT
7388 if test -n "$CONVERT"; then
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7390 printf "%s\n" "$CONVERT" >&6; }
7391 else
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 printf "%s\n" "no" >&6; }
7397 test -n "$CONVERT" && break
7398 done
7399 test -n "$CONVERT" || CONVERT="false"
7401 for ac_prog in icotool
7403 # Extract the first word of "$ac_prog", so it can be a program name with args.
7404 set dummy $ac_prog; ac_word=$2
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 printf %s "checking for $ac_word... " >&6; }
7407 if test ${ac_cv_prog_ICOTOOL+y}
7408 then :
7409 printf %s "(cached) " >&6
7410 else $as_nop
7411 if test -n "$ICOTOOL"; then
7412 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7413 else
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 for as_dir in $PATH
7417 IFS=$as_save_IFS
7418 case $as_dir in #(((
7419 '') as_dir=./ ;;
7420 */) ;;
7421 *) as_dir=$as_dir/ ;;
7422 esac
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_ICOTOOL="$ac_prog"
7426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7427 break 2
7429 done
7430 done
7431 IFS=$as_save_IFS
7435 ICOTOOL=$ac_cv_prog_ICOTOOL
7436 if test -n "$ICOTOOL"; then
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7438 printf "%s\n" "$ICOTOOL" >&6; }
7439 else
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 printf "%s\n" "no" >&6; }
7445 test -n "$ICOTOOL" && break
7446 done
7447 test -n "$ICOTOOL" || ICOTOOL="false"
7449 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7450 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7452 if test "$CONVERT" = false
7453 then
7454 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7455 else
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7457 printf %s "checking for recent enough imagemagick... " >&6; }
7458 convert_version=`convert --version | head -n1`
7459 if test "x$convert_version" != "x"
7460 then
7461 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7462 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7463 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7464 then
7465 CONVERT=false
7468 if test "$CONVERT" = false
7469 then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7471 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7472 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7473 else
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7475 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7479 if test "$ICOTOOL" = false
7480 then
7481 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7484 printf %s "checking for recent enough icotool... " >&6; }
7485 icotool_version=`icotool --version | head -n1`
7486 if test "x$icotool_version" != "x"
7487 then
7488 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7489 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7490 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7491 then
7492 ICOTOOL=false
7493 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7496 if test "$ICOTOOL" = false
7497 then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7499 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7500 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7501 else
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7503 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 with_gettext=yes
7508 with_gettextpo=yes
7510 enable_werror=yes
7513 test "x$with_gettext" != xno || MSGFMT=false
7514 if test "$MSGFMT" != "false"
7515 then
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7517 printf %s "checking whether msgfmt supports contexts... " >&6; }
7518 if test ${wine_cv_msgfmt_contexts+y}
7519 then :
7520 printf %s "(cached) " >&6
7521 else $as_nop
7522 cat >conftest.po <<EOF
7523 # comment
7524 msgctxt "ctxt"
7525 msgid "id"
7526 msgstr "str"
7528 if $MSGFMT -o /dev/null conftest.po 2>&5
7529 then
7530 wine_cv_msgfmt_contexts=yes
7531 else
7532 wine_cv_msgfmt_contexts=no
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7536 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7537 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7539 if test "$MSGFMT" = false
7540 then :
7541 case "x$with_gettext" in
7542 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7543 xno) ;;
7544 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7545 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7546 esac
7547 enable_po=${enable_po:-no}
7551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7552 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7553 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7554 then :
7555 printf %s "(cached) " >&6
7556 else $as_nop
7557 ac_check_lib_save_LIBS=$LIBS
7558 LIBS="-li386 $LIBS"
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7562 /* Override any GCC internal prototype to avoid an error.
7563 Use char because int might match the return type of a GCC
7564 builtin and then its argument prototype would still apply. */
7565 char i386_set_ldt ();
7567 main (void)
7569 return i386_set_ldt ();
7571 return 0;
7573 _ACEOF
7574 if ac_fn_c_try_link "$LINENO"
7575 then :
7576 ac_cv_lib_i386_i386_set_ldt=yes
7577 else $as_nop
7578 ac_cv_lib_i386_i386_set_ldt=no
7580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7581 conftest$ac_exeext conftest.$ac_ext
7582 LIBS=$ac_check_lib_save_LIBS
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7585 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7586 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7587 then :
7588 I386_LIBS="-li386"
7593 OPENGL_LIBS=""
7597 # Check whether --enable-largefile was given.
7598 if test ${enable_largefile+y}
7599 then :
7600 enableval=$enable_largefile;
7603 if test "$enable_largefile" != no; then
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7606 printf %s "checking for special C compiler options needed for large files... " >&6; }
7607 if test ${ac_cv_sys_largefile_CC+y}
7608 then :
7609 printf %s "(cached) " >&6
7610 else $as_nop
7611 ac_cv_sys_largefile_CC=no
7612 if test "$GCC" != yes; then
7613 ac_save_CC=$CC
7614 while :; do
7615 # IRIX 6.2 and later do not support large files by default,
7616 # so use the C compiler's -n32 option if that helps.
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7619 #include <sys/types.h>
7620 /* Check that off_t can represent 2**63 - 1 correctly.
7621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7622 since some C++ compilers masquerading as C compilers
7623 incorrectly reject 9223372036854775807. */
7624 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7626 && LARGE_OFF_T % 2147483647 == 1)
7627 ? 1 : -1];
7629 main (void)
7633 return 0;
7635 _ACEOF
7636 if ac_fn_c_try_compile "$LINENO"
7637 then :
7638 break
7640 rm -f core conftest.err conftest.$ac_objext conftest.beam
7641 CC="$CC -n32"
7642 if ac_fn_c_try_compile "$LINENO"
7643 then :
7644 ac_cv_sys_largefile_CC=' -n32'; break
7646 rm -f core conftest.err conftest.$ac_objext conftest.beam
7647 break
7648 done
7649 CC=$ac_save_CC
7650 rm -f conftest.$ac_ext
7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7654 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7655 if test "$ac_cv_sys_largefile_CC" != no; then
7656 CC=$CC$ac_cv_sys_largefile_CC
7659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7660 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7661 if test ${ac_cv_sys_file_offset_bits+y}
7662 then :
7663 printf %s "(cached) " >&6
7664 else $as_nop
7665 while :; do
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7668 #include <sys/types.h>
7669 /* Check that off_t can represent 2**63 - 1 correctly.
7670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7671 since some C++ compilers masquerading as C compilers
7672 incorrectly reject 9223372036854775807. */
7673 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7675 && LARGE_OFF_T % 2147483647 == 1)
7676 ? 1 : -1];
7678 main (void)
7682 return 0;
7684 _ACEOF
7685 if ac_fn_c_try_compile "$LINENO"
7686 then :
7687 ac_cv_sys_file_offset_bits=no; break
7689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #define _FILE_OFFSET_BITS 64
7693 #include <sys/types.h>
7694 /* Check that off_t can represent 2**63 - 1 correctly.
7695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7696 since some C++ compilers masquerading as C compilers
7697 incorrectly reject 9223372036854775807. */
7698 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7700 && LARGE_OFF_T % 2147483647 == 1)
7701 ? 1 : -1];
7703 main (void)
7707 return 0;
7709 _ACEOF
7710 if ac_fn_c_try_compile "$LINENO"
7711 then :
7712 ac_cv_sys_file_offset_bits=64; break
7714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7715 ac_cv_sys_file_offset_bits=unknown
7716 break
7717 done
7719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7720 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7721 case $ac_cv_sys_file_offset_bits in #(
7722 no | unknown) ;;
7724 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7726 esac
7727 rm -rf conftest*
7728 if test $ac_cv_sys_file_offset_bits = unknown; then
7729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7730 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7731 if test ${ac_cv_sys_large_files+y}
7732 then :
7733 printf %s "(cached) " >&6
7734 else $as_nop
7735 while :; do
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7738 #include <sys/types.h>
7739 /* Check that off_t can represent 2**63 - 1 correctly.
7740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7741 since some C++ compilers masquerading as C compilers
7742 incorrectly reject 9223372036854775807. */
7743 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7745 && LARGE_OFF_T % 2147483647 == 1)
7746 ? 1 : -1];
7748 main (void)
7752 return 0;
7754 _ACEOF
7755 if ac_fn_c_try_compile "$LINENO"
7756 then :
7757 ac_cv_sys_large_files=no; break
7759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7762 #define _LARGE_FILES 1
7763 #include <sys/types.h>
7764 /* Check that off_t can represent 2**63 - 1 correctly.
7765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7766 since some C++ compilers masquerading as C compilers
7767 incorrectly reject 9223372036854775807. */
7768 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7770 && LARGE_OFF_T % 2147483647 == 1)
7771 ? 1 : -1];
7773 main (void)
7777 return 0;
7779 _ACEOF
7780 if ac_fn_c_try_compile "$LINENO"
7781 then :
7782 ac_cv_sys_large_files=1; break
7784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7785 ac_cv_sys_large_files=unknown
7786 break
7787 done
7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7790 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7791 case $ac_cv_sys_large_files in #(
7792 no | unknown) ;;
7794 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7796 esac
7797 rm -rf conftest*
7802 ac_header= ac_cache=
7803 for ac_item in $ac_header_c_list
7805 if test $ac_cache; then
7806 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7807 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7808 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7810 ac_header= ac_cache=
7811 elif test $ac_header; then
7812 ac_cache=$ac_item
7813 else
7814 ac_header=$ac_item
7816 done
7825 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7826 then :
7828 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7831 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_CL_cl_h" = xyes
7833 then :
7834 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_EGL_egl_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_arpa_inet_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_asm_types_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_asm_user_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_elf_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_float_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_gettext_po_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_libproc_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_link_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_filter_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_input_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_major_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_param_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_serial_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_types_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_lwp_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mach_mach_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_machine_cpu_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_mntent_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_netdb_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netinet_in_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_port_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_pthread_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pwd_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_sched_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_scsi_sg_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_stdint_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_sys_attr_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_auxv_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_cdio_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_epoll_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_event_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_extattr_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_filio_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_ipc_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_link_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_modem_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_mtio_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_param_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_prctl_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_queue_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_random_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_resource_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_shm_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_signal_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_sockio_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_strtio_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_syscall_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_times_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_uio_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_user_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_utsname_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_vnode_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_xattr_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_syscall_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_utime_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8308 then :
8310 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8314 if test $ac_cv_header_sys_mkdev_h = no; then
8315 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8317 then :
8319 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8325 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8326 if test ${ac_cv_header_stat_broken+y}
8327 then :
8328 printf %s "(cached) " >&6
8329 else $as_nop
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 #include <sys/types.h>
8333 #include <sys/stat.h>
8335 #if defined S_ISBLK && defined S_IFDIR
8336 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8337 #endif
8339 #if defined S_ISBLK && defined S_IFCHR
8340 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8341 #endif
8343 #if defined S_ISLNK && defined S_IFREG
8344 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8345 #endif
8347 #if defined S_ISSOCK && defined S_IFREG
8348 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8349 #endif
8351 _ACEOF
8352 if ac_fn_c_try_compile "$LINENO"
8353 then :
8354 ac_cv_header_stat_broken=no
8355 else $as_nop
8356 ac_cv_header_stat_broken=yes
8358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8361 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8362 if test $ac_cv_header_stat_broken = yes; then
8364 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8370 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8371 #ifdef HAVE_SYS_PARAM_H
8372 # include <sys/param.h>
8373 #endif
8375 if test "x$ac_cv_header_sys_conf_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8381 #ifdef HAVE_SYS_PARAM_H
8382 # include <sys/param.h>
8383 #endif
8385 if test "x$ac_cv_header_sys_mount_h" = xyes
8386 then :
8387 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8390 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8391 #ifdef HAVE_SYS_PARAM_H
8392 # include <sys/param.h>
8393 #endif
8395 if test "x$ac_cv_header_sys_statfs_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8401 #ifdef HAVE_SYS_PARAM_H
8402 # include <sys/param.h>
8403 #endif
8405 if test "x$ac_cv_header_sys_user_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_vfs_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8422 saved_sysctl_h_CFLAGS=$CFLAGS
8423 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8424 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8435 CFLAGS=$saved_sysctl_h_CFLAGS
8437 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8438 #include <sys/socket.h>
8439 #ifdef HAVE_SYS_SOCKETVAR_H
8440 # include <sys/socketvar.h>
8441 #endif
8442 #ifdef HAVE_NET_ROUTE_H
8443 # include <net/route.h>
8444 #endif
8445 #ifdef HAVE_NETINET_IN_H
8446 # include <netinet/in.h>
8447 #endif
8448 #ifdef HAVE_NETINET_IN_SYSTM_H
8449 # include <netinet/in_systm.h>
8450 #endif
8451 #ifdef HAVE_NET_IF_H
8452 # include <net/if.h>
8453 #endif
8454 #ifdef HAVE_NETINET_IP_H
8455 # include <netinet/ip.h>
8456 #endif
8458 if test "x$ac_cv_header_netinet_ip_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8464 #include <sys/socket.h>
8465 #ifdef HAVE_SYS_SOCKETVAR_H
8466 # include <sys/socketvar.h>
8467 #endif
8468 #ifdef HAVE_NET_ROUTE_H
8469 # include <net/route.h>
8470 #endif
8471 #ifdef HAVE_NETINET_IN_H
8472 # include <netinet/in.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IN_SYSTM_H
8475 # include <netinet/in_systm.h>
8476 #endif
8477 #ifdef HAVE_NET_IF_H
8478 # include <net/if.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IP_H
8481 # include <netinet/ip.h>
8482 #endif
8484 if test "x$ac_cv_header_net_if_h" = xyes
8485 then :
8486 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8489 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8490 #include <sys/socket.h>
8491 #ifdef HAVE_SYS_SOCKETVAR_H
8492 # include <sys/socketvar.h>
8493 #endif
8494 #ifdef HAVE_NET_ROUTE_H
8495 # include <net/route.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IN_H
8498 # include <netinet/in.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IN_SYSTM_H
8501 # include <netinet/in_systm.h>
8502 #endif
8503 #ifdef HAVE_NET_IF_H
8504 # include <net/if.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IP_H
8507 # include <netinet/ip.h>
8508 #endif
8510 if test "x$ac_cv_header_net_if_arp_h" = xyes
8511 then :
8512 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8515 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8516 #include <sys/socket.h>
8517 #ifdef HAVE_SYS_SOCKETVAR_H
8518 # include <sys/socketvar.h>
8519 #endif
8520 #ifdef HAVE_NET_ROUTE_H
8521 # include <net/route.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IN_H
8524 # include <netinet/in.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IN_SYSTM_H
8527 # include <netinet/in_systm.h>
8528 #endif
8529 #ifdef HAVE_NET_IF_H
8530 # include <net/if.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IP_H
8533 # include <netinet/ip.h>
8534 #endif
8536 if test "x$ac_cv_header_net_if_dl_h" = xyes
8537 then :
8538 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8541 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8542 #include <sys/socket.h>
8543 #ifdef HAVE_SYS_SOCKETVAR_H
8544 # include <sys/socketvar.h>
8545 #endif
8546 #ifdef HAVE_NET_ROUTE_H
8547 # include <net/route.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IN_H
8550 # include <netinet/in.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IN_SYSTM_H
8553 # include <netinet/in_systm.h>
8554 #endif
8555 #ifdef HAVE_NET_IF_H
8556 # include <net/if.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IP_H
8559 # include <netinet/ip.h>
8560 #endif
8562 if test "x$ac_cv_header_net_if_types_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8568 #include <sys/socket.h>
8569 #ifdef HAVE_SYS_SOCKETVAR_H
8570 # include <sys/socketvar.h>
8571 #endif
8572 #ifdef HAVE_NET_ROUTE_H
8573 # include <net/route.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IN_H
8576 # include <netinet/in.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IN_SYSTM_H
8579 # include <netinet/in_systm.h>
8580 #endif
8581 #ifdef HAVE_NET_IF_H
8582 # include <net/if.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IP_H
8585 # include <netinet/ip.h>
8586 #endif
8588 if test "x$ac_cv_header_net_route_h" = xyes
8589 then :
8590 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8593 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8594 #include <sys/socket.h>
8595 #ifdef HAVE_SYS_SOCKETVAR_H
8596 # include <sys/socketvar.h>
8597 #endif
8598 #ifdef HAVE_NET_ROUTE_H
8599 # include <net/route.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IN_H
8602 # include <netinet/in.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IN_SYSTM_H
8605 # include <netinet/in_systm.h>
8606 #endif
8607 #ifdef HAVE_NET_IF_H
8608 # include <net/if.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IP_H
8611 # include <netinet/ip.h>
8612 #endif
8614 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8615 then :
8616 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8619 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8620 #include <sys/socket.h>
8621 #ifdef HAVE_SYS_SOCKETVAR_H
8622 # include <sys/socketvar.h>
8623 #endif
8624 #ifdef HAVE_NET_ROUTE_H
8625 # include <net/route.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IN_H
8628 # include <netinet/in.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IN_SYSTM_H
8631 # include <netinet/in_systm.h>
8632 #endif
8633 #ifdef HAVE_NET_IF_H
8634 # include <net/if.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IP_H
8637 # include <netinet/ip.h>
8638 #endif
8640 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8646 #include <sys/socket.h>
8647 #ifdef HAVE_SYS_SOCKETVAR_H
8648 # include <sys/socketvar.h>
8649 #endif
8650 #ifdef HAVE_NET_ROUTE_H
8651 # include <net/route.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IN_H
8654 # include <netinet/in.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IN_SYSTM_H
8657 # include <netinet/in_systm.h>
8658 #endif
8659 #ifdef HAVE_NET_IF_H
8660 # include <net/if.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IP_H
8663 # include <netinet/ip.h>
8664 #endif
8666 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8667 then :
8668 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8671 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8672 #include <sys/socket.h>
8673 #ifdef HAVE_SYS_SOCKETVAR_H
8674 # include <sys/socketvar.h>
8675 #endif
8676 #ifdef HAVE_NET_ROUTE_H
8677 # include <net/route.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IN_H
8680 # include <netinet/in.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IN_SYSTM_H
8683 # include <netinet/in_systm.h>
8684 #endif
8685 #ifdef HAVE_NET_IF_H
8686 # include <net/if.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IP_H
8689 # include <netinet/ip.h>
8690 #endif
8692 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8693 then :
8694 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8697 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8698 #include <sys/socket.h>
8699 #ifdef HAVE_SYS_SOCKETVAR_H
8700 # include <sys/socketvar.h>
8701 #endif
8702 #ifdef HAVE_NET_ROUTE_H
8703 # include <net/route.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IN_H
8706 # include <netinet/in.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IN_SYSTM_H
8709 # include <netinet/in_systm.h>
8710 #endif
8711 #ifdef HAVE_NET_IF_H
8712 # include <net/if.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IP_H
8715 # include <netinet/ip.h>
8716 #endif
8718 if test "x$ac_cv_header_netinet_udp_h" = xyes
8719 then :
8720 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8723 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8724 #include <sys/socket.h>
8725 #ifdef HAVE_SYS_SOCKETVAR_H
8726 # include <sys/socketvar.h>
8727 #endif
8728 #ifdef HAVE_NET_ROUTE_H
8729 # include <net/route.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IN_H
8732 # include <netinet/in.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IN_SYSTM_H
8735 # include <netinet/in_systm.h>
8736 #endif
8737 #ifdef HAVE_NET_IF_H
8738 # include <net/if.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IP_H
8741 # include <netinet/ip.h>
8742 #endif
8744 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8745 then :
8746 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8749 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8750 #include <sys/socket.h>
8751 #ifdef HAVE_SYS_SOCKETVAR_H
8752 # include <sys/socketvar.h>
8753 #endif
8754 #ifdef HAVE_NET_ROUTE_H
8755 # include <net/route.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IN_H
8758 # include <netinet/in.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IN_SYSTM_H
8761 # include <netinet/in_systm.h>
8762 #endif
8763 #ifdef HAVE_NET_IF_H
8764 # include <net/if.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IP_H
8767 # include <netinet/ip.h>
8768 #endif
8770 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8771 then :
8772 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8775 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8776 #include <sys/socket.h>
8777 #ifdef HAVE_SYS_SOCKETVAR_H
8778 # include <sys/socketvar.h>
8779 #endif
8780 #ifdef HAVE_NET_ROUTE_H
8781 # include <net/route.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IN_H
8784 # include <netinet/in.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IN_SYSTM_H
8787 # include <netinet/in_systm.h>
8788 #endif
8789 #ifdef HAVE_NET_IF_H
8790 # include <net/if.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IP_H
8793 # include <netinet/ip.h>
8794 #endif
8796 if test "x$ac_cv_header_sys_un_h" = xyes
8797 then :
8798 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8803 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8804 #include <sys/socket.h>
8805 #ifdef HAVE_SYS_SOCKETVAR_H
8806 # include <sys/socketvar.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IN_H
8809 # include <netinet/in.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IN_SYSTM_H
8812 # include <netinet/in_systm.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IP_H
8815 # include <netinet/ip.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IP_VAR_H
8818 # include <netinet/ip_var.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IP_ICMP_H
8821 # include <netinet/ip_icmp.h>
8822 #endif
8823 #ifdef HAVE_NETINET_UDP_H
8824 # include <netinet/udp.h>
8825 #endif
8826 #ifdef HAVE_NETINET_TCP_H
8827 # include <netinet/tcp.h>
8828 #endif
8830 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8831 then :
8832 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8835 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8836 #include <sys/socket.h>
8837 #ifdef HAVE_SYS_SOCKETVAR_H
8838 # include <sys/socketvar.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IN_H
8841 # include <netinet/in.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IN_SYSTM_H
8844 # include <netinet/in_systm.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IP_VAR_H
8850 # include <netinet/ip_var.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_ICMP_H
8853 # include <netinet/ip_icmp.h>
8854 #endif
8855 #ifdef HAVE_NETINET_UDP_H
8856 # include <netinet/udp.h>
8857 #endif
8858 #ifdef HAVE_NETINET_TCP_H
8859 # include <netinet/tcp.h>
8860 #endif
8862 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_H
8879 # include <netinet/ip.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_VAR_H
8882 # include <netinet/ip_var.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_ICMP_H
8885 # include <netinet/ip_icmp.h>
8886 #endif
8887 #ifdef HAVE_NETINET_UDP_H
8888 # include <netinet/udp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_TCP_H
8891 # include <netinet/tcp.h>
8892 #endif
8894 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8895 then :
8896 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8899 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8900 #include <sys/socket.h>
8901 #ifdef HAVE_SYS_SOCKETVAR_H
8902 # include <sys/socketvar.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_H
8905 # include <netinet/in.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_SYSTM_H
8908 # include <netinet/in_systm.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_VAR_H
8914 # include <netinet/ip_var.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_ICMP_H
8917 # include <netinet/ip_icmp.h>
8918 #endif
8919 #ifdef HAVE_NETINET_UDP_H
8920 # include <netinet/udp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_TCP_H
8923 # include <netinet/tcp.h>
8924 #endif
8926 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8933 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8934 #include <sys/socket.h>
8935 #ifdef HAVE_ASM_TYPES_H
8936 # include <asm/types.h>
8937 #endif
8938 #ifdef HAVE_LINUX_TYPES_H
8939 # include <linux/types.h>
8940 #endif
8942 if test "x$ac_cv_header_linux_ipx_h" = xyes
8943 then :
8944 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8947 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8948 #include <sys/socket.h>
8949 #ifdef HAVE_ASM_TYPES_H
8950 # include <asm/types.h>
8951 #endif
8952 #ifdef HAVE_LINUX_TYPES_H
8953 # include <linux/types.h>
8954 #endif
8956 if test "x$ac_cv_header_linux_irda_h" = xyes
8957 then :
8958 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8961 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8962 #include <sys/socket.h>
8963 #ifdef HAVE_ASM_TYPES_H
8964 # include <asm/types.h>
8965 #endif
8966 #ifdef HAVE_LINUX_TYPES_H
8967 # include <linux/types.h>
8968 #endif
8970 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_NETINET_IN_H
8980 # include <netinet/in.h>
8981 #endif
8982 #ifdef HAVE_ARPA_NAMESER_H
8983 # include <arpa/nameser.h>
8984 #endif
8986 if test "x$ac_cv_header_resolv_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8995 if test "x$ac_cv_header_ifaddrs_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9004 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9012 #ifdef HAVE_SYS_UCONTEXT_H
9013 #include <sys/ucontext.h>
9014 #endif
9016 if test "x$ac_cv_header_sys_thr_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9024 #include <pthread.h>
9025 #endif
9027 if test "x$ac_cv_header_pthread_np_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9035 #include <sys/types.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 #include <asm/types.h>
9038 #endif
9040 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9048 #include <sys/param.h>
9049 #endif
9050 #include <sys/socket.h>
9051 #ifdef HAVE_SYS_QUEUE_H
9052 #include <sys/queue.h>
9053 #endif
9055 if test "x$ac_cv_header_libprocstat_h" = xyes
9056 then :
9057 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9062 if test "x$ac_cv_header_sys_xattr_h" = xyes
9063 then
9064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9065 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9066 if test ${wine_cv_xattr_extra_args+y}
9067 then :
9068 printf %s "(cached) " >&6
9069 else $as_nop
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <sys/xattr.h>
9074 main (void)
9076 getxattr("", "", "", 0, 0, 0);
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_compile "$LINENO"
9082 then :
9083 wine_cv_xattr_extra_args=yes
9084 else $as_nop
9085 wine_cv_xattr_extra_args=no
9087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9090 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9091 test $wine_cv_xattr_extra_args != yes ||
9092 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9097 DLLFLAGS=""
9099 LDDLLFLAGS=""
9101 LDEXECFLAGS=""
9103 EXTRACFLAGS=""
9105 UNIXDLLFLAGS="-fPIC"
9107 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9109 TOP_INSTALL_LIB=""
9111 TOP_INSTALL_DEV=""
9113 WINELOADER_LDFLAGS=""
9115 WINEPRELOADER_LDFLAGS=""
9117 LIBEXT="so"
9118 # Extract the first word of "ldd", so it can be a program name with args.
9119 set dummy ldd; ac_word=$2
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9121 printf %s "checking for $ac_word... " >&6; }
9122 if test ${ac_cv_path_LDD+y}
9123 then :
9124 printf %s "(cached) " >&6
9125 else $as_nop
9126 case $LDD in
9127 [\\/]* | ?:[\\/]*)
9128 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132 as_dummy="/sbin:/usr/sbin:$PATH"
9133 for as_dir in $as_dummy
9135 IFS=$as_save_IFS
9136 case $as_dir in #(((
9137 '') as_dir=./ ;;
9138 */) ;;
9139 *) as_dir=$as_dir/ ;;
9140 esac
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9143 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9145 break 2
9147 done
9148 done
9149 IFS=$as_save_IFS
9151 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9153 esac
9155 LDD=$ac_cv_path_LDD
9156 if test -n "$LDD"; then
9157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9158 printf "%s\n" "$LDD" >&6; }
9159 else
9160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9161 printf "%s\n" "no" >&6; }
9165 if test -n "$ac_tool_prefix"; then
9166 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9167 set dummy ${ac_tool_prefix}otool; ac_word=$2
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9169 printf %s "checking for $ac_word... " >&6; }
9170 if test ${ac_cv_prog_OTOOL+y}
9171 then :
9172 printf %s "(cached) " >&6
9173 else $as_nop
9174 if test -n "$OTOOL"; then
9175 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9176 else
9177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 for as_dir in $PATH
9180 IFS=$as_save_IFS
9181 case $as_dir in #(((
9182 '') as_dir=./ ;;
9183 */) ;;
9184 *) as_dir=$as_dir/ ;;
9185 esac
9186 for ac_exec_ext in '' $ac_executable_extensions; do
9187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9188 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9190 break 2
9192 done
9193 done
9194 IFS=$as_save_IFS
9198 OTOOL=$ac_cv_prog_OTOOL
9199 if test -n "$OTOOL"; then
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9201 printf "%s\n" "$OTOOL" >&6; }
9202 else
9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9204 printf "%s\n" "no" >&6; }
9209 if test -z "$ac_cv_prog_OTOOL"; then
9210 ac_ct_OTOOL=$OTOOL
9211 # Extract the first word of "otool", so it can be a program name with args.
9212 set dummy otool; ac_word=$2
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9214 printf %s "checking for $ac_word... " >&6; }
9215 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9216 then :
9217 printf %s "(cached) " >&6
9218 else $as_nop
9219 if test -n "$ac_ct_OTOOL"; then
9220 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9221 else
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9223 for as_dir in $PATH
9225 IFS=$as_save_IFS
9226 case $as_dir in #(((
9227 '') as_dir=./ ;;
9228 */) ;;
9229 *) as_dir=$as_dir/ ;;
9230 esac
9231 for ac_exec_ext in '' $ac_executable_extensions; do
9232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9233 ac_cv_prog_ac_ct_OTOOL="otool"
9234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9235 break 2
9237 done
9238 done
9239 IFS=$as_save_IFS
9243 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9244 if test -n "$ac_ct_OTOOL"; then
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9246 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9247 else
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 printf "%s\n" "no" >&6; }
9252 if test "x$ac_ct_OTOOL" = x; then
9253 OTOOL="otool"
9254 else
9255 case $cross_compiling:$ac_tool_warned in
9256 yes:)
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9258 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9259 ac_tool_warned=yes ;;
9260 esac
9261 OTOOL=$ac_ct_OTOOL
9263 else
9264 OTOOL="$ac_cv_prog_OTOOL"
9267 if test -n "$ac_tool_prefix"; then
9268 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9269 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9271 printf %s "checking for $ac_word... " >&6; }
9272 if test ${ac_cv_prog_READELF+y}
9273 then :
9274 printf %s "(cached) " >&6
9275 else $as_nop
9276 if test -n "$READELF"; then
9277 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9278 else
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 for as_dir in $PATH
9282 IFS=$as_save_IFS
9283 case $as_dir in #(((
9284 '') as_dir=./ ;;
9285 */) ;;
9286 *) as_dir=$as_dir/ ;;
9287 esac
9288 for ac_exec_ext in '' $ac_executable_extensions; do
9289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9290 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9292 break 2
9294 done
9295 done
9296 IFS=$as_save_IFS
9300 READELF=$ac_cv_prog_READELF
9301 if test -n "$READELF"; then
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9303 printf "%s\n" "$READELF" >&6; }
9304 else
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306 printf "%s\n" "no" >&6; }
9311 if test -z "$ac_cv_prog_READELF"; then
9312 ac_ct_READELF=$READELF
9313 # Extract the first word of "readelf", so it can be a program name with args.
9314 set dummy readelf; ac_word=$2
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316 printf %s "checking for $ac_word... " >&6; }
9317 if test ${ac_cv_prog_ac_ct_READELF+y}
9318 then :
9319 printf %s "(cached) " >&6
9320 else $as_nop
9321 if test -n "$ac_ct_READELF"; then
9322 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9323 else
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325 for as_dir in $PATH
9327 IFS=$as_save_IFS
9328 case $as_dir in #(((
9329 '') as_dir=./ ;;
9330 */) ;;
9331 *) as_dir=$as_dir/ ;;
9332 esac
9333 for ac_exec_ext in '' $ac_executable_extensions; do
9334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9335 ac_cv_prog_ac_ct_READELF="readelf"
9336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9337 break 2
9339 done
9340 done
9341 IFS=$as_save_IFS
9345 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9346 if test -n "$ac_ct_READELF"; then
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9348 printf "%s\n" "$ac_ct_READELF" >&6; }
9349 else
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9351 printf "%s\n" "no" >&6; }
9354 if test "x$ac_ct_READELF" = x; then
9355 READELF="true"
9356 else
9357 case $cross_compiling:$ac_tool_warned in
9358 yes:)
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9360 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9361 ac_tool_warned=yes ;;
9362 esac
9363 READELF=$ac_ct_READELF
9365 else
9366 READELF="$ac_cv_prog_READELF"
9369 wine_rules="all:"
9370 SUBDIRS=""
9372 DISABLED_SUBDIRS=""
9374 CONFIGURE_TARGETS=""
9377 wine_fn_config_makefile ()
9379 as_fn_append SUBDIRS " \\$as_nl $1"
9380 eval enable=\$$2
9381 case "$enable" in
9382 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9383 *aarch64*|*arm*|*i386*|*x86_64*)
9384 if test -n "$PE_ARCHS"
9385 then
9386 for i in $PE_ARCHS
9388 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9389 done
9390 else
9391 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9392 fi;;
9393 esac
9396 wine_fn_config_symlink ()
9398 ac_links=$@
9399 as_fn_append wine_rules "
9400 $ac_links:
9401 @./config.status \$@"
9402 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9405 case $host_os in
9406 cygwin*|mingw32*)
9407 LIBEXT="dll"
9408 EXTRACFLAGS="-D__WINE_PE_BUILD"
9409 case $host_cpu in
9410 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9411 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9412 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9413 then :
9414 printf %s "(cached) " >&6
9415 else $as_nop
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"
9423 then :
9424 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9425 else $as_nop
9426 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9429 conftest$ac_exeext conftest.$ac_ext
9430 CFLAGS=$ac_wine_try_cflags_saved
9432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9433 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9434 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9435 then :
9436 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9437 fi ;;
9438 esac
9439 enable_loader=${enable_loader:-no}
9440 enable_server=${enable_server:-no}
9441 with_x=${with_x:-no}
9442 with_pthread=${with_pthread:-no}
9445 darwin*|macosx*)
9446 LIBEXT="dylib"
9447 DLLFLAGS="$DLLFLAGS -fPIC"
9448 LDDLLFLAGS="-fPIC"
9449 enable_winemac_drv=${enable_winemac_drv:-yes}
9450 CARBON_LIBS="-framework Carbon"
9452 COREFOUNDATION_LIBS="-framework CoreFoundation"
9454 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9456 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9458 METAL_LIBS="-framework Metal"
9460 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9462 CORESERVICES_LIBS="-framework CoreServices"
9464 APPKIT_LIBS="-framework AppKit"
9466 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9468 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9471 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9473 wine_can_build_preloader=yes
9474 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"
9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9476 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9477 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9478 then :
9479 printf %s "(cached) " >&6
9480 else $as_nop
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"
9488 then :
9489 ac_cv_cflags__Wl__no_new_main__e__main=yes
9490 else $as_nop
9491 ac_cv_cflags__Wl__no_new_main__e__main=no
9493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9498 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9499 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9500 then :
9501 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9502 { 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
9503 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9504 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9505 then :
9506 printf %s "(cached) " >&6
9507 else $as_nop
9508 ac_wine_try_cflags_saved=$CFLAGS
9509 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 int main(int argc, char **argv) { return 0; }
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"
9515 then :
9516 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9517 else $as_nop
9518 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { 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
9525 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9526 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9527 then :
9528 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9529 else $as_nop
9530 wine_can_build_preloader=no
9532 else $as_nop
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9534 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9535 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9536 then :
9537 printf %s "(cached) " >&6
9538 else $as_nop
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"
9546 then :
9547 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9548 else $as_nop
9549 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9556 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9557 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9558 then :
9559 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9560 else $as_nop
9561 wine_can_build_preloader=no
9564 if test "$wine_can_build_preloader" = "yes"
9565 then
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9567 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9568 if test ${ac_cv_cflags__Wl__no_pie+y}
9569 then :
9570 printf %s "(cached) " >&6
9571 else $as_nop
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,-no_pie"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"
9579 then :
9580 ac_cv_cflags__Wl__no_pie=yes
9581 else $as_nop
9582 ac_cv_cflags__Wl__no_pie=no
9584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9585 conftest$ac_exeext conftest.$ac_ext
9586 CFLAGS=$ac_wine_try_cflags_saved
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9589 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9590 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9591 then :
9592 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9594 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9595 else
9596 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9599 if test "x$with_coreaudio" != "xno";
9600 then
9601 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9603 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9605 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9606 then
9607 OPENCL_LIBS="-framework OpenCL"
9609 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9613 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9614 ac_ext=m
9615 ac_cpp='$OBJCPP $CPPFLAGS'
9616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9620 ac_ext=m
9621 ac_cpp='$OBJCPP $CPPFLAGS'
9622 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9623 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9624 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9625 if test -n "$ac_tool_prefix"; then
9626 for ac_prog in gcc objcc objc cc CC clang
9628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 printf %s "checking for $ac_word... " >&6; }
9632 if test ${ac_cv_prog_OBJC+y}
9633 then :
9634 printf %s "(cached) " >&6
9635 else $as_nop
9636 if test -n "$OBJC"; then
9637 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9638 else
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $PATH
9642 IFS=$as_save_IFS
9643 case $as_dir in #(((
9644 '') as_dir=./ ;;
9645 */) ;;
9646 *) as_dir=$as_dir/ ;;
9647 esac
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9652 break 2
9654 done
9655 done
9656 IFS=$as_save_IFS
9660 OBJC=$ac_cv_prog_OBJC
9661 if test -n "$OBJC"; then
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9663 printf "%s\n" "$OBJC" >&6; }
9664 else
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 printf "%s\n" "no" >&6; }
9670 test -n "$OBJC" && break
9671 done
9673 if test -z "$OBJC"; then
9674 ac_ct_OBJC=$OBJC
9675 for ac_prog in gcc objcc objc cc CC clang
9677 # Extract the first word of "$ac_prog", so it can be a program name with args.
9678 set dummy $ac_prog; ac_word=$2
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 printf %s "checking for $ac_word... " >&6; }
9681 if test ${ac_cv_prog_ac_ct_OBJC+y}
9682 then :
9683 printf %s "(cached) " >&6
9684 else $as_nop
9685 if test -n "$ac_ct_OBJC"; then
9686 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9687 else
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 for as_dir in $PATH
9691 IFS=$as_save_IFS
9692 case $as_dir in #(((
9693 '') as_dir=./ ;;
9694 */) ;;
9695 *) as_dir=$as_dir/ ;;
9696 esac
9697 for ac_exec_ext in '' $ac_executable_extensions; do
9698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9699 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9701 break 2
9703 done
9704 done
9705 IFS=$as_save_IFS
9709 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9710 if test -n "$ac_ct_OBJC"; then
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9712 printf "%s\n" "$ac_ct_OBJC" >&6; }
9713 else
9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9715 printf "%s\n" "no" >&6; }
9719 test -n "$ac_ct_OBJC" && break
9720 done
9722 if test "x$ac_ct_OBJC" = x; then
9723 OBJC="gcc"
9724 else
9725 case $cross_compiling:$ac_tool_warned in
9726 yes:)
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9728 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9729 ac_tool_warned=yes ;;
9730 esac
9731 OBJC=$ac_ct_OBJC
9735 # Provide some information about the compiler.
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9737 set X $ac_compile
9738 ac_compiler=$2
9739 for ac_option in --version -v -V -qversion; do
9740 { { ac_try="$ac_compiler $ac_option >&5"
9741 case "(($ac_try" in
9742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9744 esac
9745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9746 printf "%s\n" "$ac_try_echo"; } >&5
9747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9748 ac_status=$?
9749 if test -s conftest.err; then
9750 sed '10a\
9751 ... rest of stderr output deleted ...
9752 10q' conftest.err >conftest.er1
9753 cat conftest.er1 >&5
9755 rm -f conftest.er1 conftest.err
9756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9757 test $ac_status = 0; }
9758 done
9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9761 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9762 if test ${ac_cv_objc_compiler_gnu+y}
9763 then :
9764 printf %s "(cached) " >&6
9765 else $as_nop
9766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767 /* end confdefs.h. */
9770 main (void)
9772 #ifndef __GNUC__
9773 choke me
9774 #endif
9777 return 0;
9779 _ACEOF
9780 if ac_fn_objc_try_compile "$LINENO"
9781 then :
9782 ac_compiler_gnu=yes
9783 else $as_nop
9784 ac_compiler_gnu=no
9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9787 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9791 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9792 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9794 if test $ac_compiler_gnu = yes; then
9795 GOBJC=yes
9796 else
9797 GOBJC=
9799 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9800 ac_save_OBJCFLAGS=$OBJCFLAGS
9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9802 printf %s "checking whether $OBJC accepts -g... " >&6; }
9803 if test ${ac_cv_prog_objc_g+y}
9804 then :
9805 printf %s "(cached) " >&6
9806 else $as_nop
9807 ac_save_objc_werror_flag=$ac_objc_werror_flag
9808 ac_objc_werror_flag=yes
9809 ac_cv_prog_objc_g=no
9810 OBJCFLAGS="-g"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9815 main (void)
9819 return 0;
9821 _ACEOF
9822 if ac_fn_objc_try_compile "$LINENO"
9823 then :
9824 ac_cv_prog_objc_g=yes
9825 else $as_nop
9826 OBJCFLAGS=""
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9831 main (void)
9835 return 0;
9837 _ACEOF
9838 if ac_fn_objc_try_compile "$LINENO"
9839 then :
9841 else $as_nop
9842 ac_objc_werror_flag=$ac_save_objc_werror_flag
9843 OBJCFLAGS="-g"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9848 main (void)
9852 return 0;
9854 _ACEOF
9855 if ac_fn_objc_try_compile "$LINENO"
9856 then :
9857 ac_cv_prog_objc_g=yes
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9864 ac_objc_werror_flag=$ac_save_objc_werror_flag
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9867 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9868 if test $ac_test_OBJCFLAGS; then
9869 OBJCFLAGS=$ac_save_OBJCFLAGS
9870 elif test $ac_cv_prog_objc_g = yes; then
9871 if test "$GOBJC" = yes; then
9872 OBJCFLAGS="-g -O2"
9873 else
9874 OBJCFLAGS="-g"
9876 else
9877 if test "$GOBJC" = yes; then
9878 OBJCFLAGS="-O2"
9879 else
9880 OBJCFLAGS=
9883 ac_ext=m
9884 ac_cpp='$OBJCPP $CPPFLAGS'
9885 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 #include <Metal/Metal.h>
9894 main (void)
9896 id<MTLDevice> device; device.registryID;
9898 return 0;
9900 _ACEOF
9901 if ac_fn_objc_try_compile "$LINENO"
9902 then :
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9904 printf "%s\n" "yes" >&6; }
9906 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9908 else $as_nop
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 printf "%s\n" "no" >&6; }
9912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9913 ac_ext=c
9914 ac_cpp='$CPP $CPPFLAGS'
9915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9920 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9921 WINELOADER_DEPENDS="wine_info.plist"
9925 linux-android*)
9927 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9929 DLLFLAGS="$DLLFLAGS -fPIC"
9930 LDDLLFLAGS="-fPIC"
9931 LDEXECFLAGS="-Wl,-pie"
9932 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9934 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9935 if test ${ac_cv_cflags__Wl__z_defs+y}
9936 then :
9937 printf %s "(cached) " >&6
9938 else $as_nop
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 CFLAGS="$CFLAGS -Wl,-z,defs"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int main(int argc, char **argv) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"
9946 then :
9947 ac_cv_cflags__Wl__z_defs=yes
9948 else $as_nop
9949 ac_cv_cflags__Wl__z_defs=no
9951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9956 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9957 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9958 then :
9959 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9962 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9963 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9964 then :
9965 printf %s "(cached) " >&6
9966 else $as_nop
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int main(int argc, char **argv) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"
9974 then :
9975 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9976 else $as_nop
9977 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9984 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9985 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9986 then :
9987 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9989 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9992 printf %s "checking for -lEGL... " >&6; }
9993 if test ${ac_cv_lib_soname_EGL+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lEGL $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 char eglGetProcAddress ();
10007 main (void)
10009 return eglGetProcAddress ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"
10015 then :
10016 case "$LIBEXT" in
10017 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_EGL:+false} :
10021 then :
10022 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10025 else $as_nop
10026 ac_cv_lib_soname_EGL=
10028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_soname_save_LIBS
10032 if ${ac_cv_lib_soname_EGL:+false} :
10033 then :
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 printf "%s\n" "not found" >&6; }
10037 else $as_nop
10038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10039 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10041 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10046 printf %s "checking for -lGLESv2... " >&6; }
10047 if test ${ac_cv_lib_soname_GLESv2+y}
10048 then :
10049 printf %s "(cached) " >&6
10050 else $as_nop
10051 ac_check_soname_save_LIBS=$LIBS
10052 LIBS="-lGLESv2 $LIBS"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10059 char glFlush ();
10061 main (void)
10063 return glFlush ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"
10069 then :
10070 case "$LIBEXT" in
10071 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10072 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'` ;;
10073 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10074 if ${ac_cv_lib_soname_GLESv2:+false} :
10075 then :
10076 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10077 fi ;;
10078 esac
10079 else $as_nop
10080 ac_cv_lib_soname_GLESv2=
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_soname_save_LIBS
10086 if ${ac_cv_lib_soname_GLESv2:+false} :
10087 then :
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10089 printf "%s\n" "not found" >&6; }
10091 else $as_nop
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10093 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10095 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10100 if test "x$exec_prefix" = xNONE
10101 then
10102 case $host_cpu in
10103 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10104 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10105 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10106 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10107 esac
10113 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10115 test "$ac_cv_sys_file_offset_bits" = 64 &&
10116 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10118 case $host_cpu in
10119 *i[3456789]86*)
10120 DLLFLAGS="$DLLFLAGS -fno-PIC"
10121 LDDLLFLAGS="-fno-PIC"
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10123 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10124 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10125 then :
10126 printf %s "(cached) " >&6
10127 else $as_nop
10128 ac_wine_try_cflags_saved=$CFLAGS
10129 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int main(int argc, char **argv) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"
10135 then :
10136 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10137 else $as_nop
10138 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10145 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10146 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10147 then :
10148 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10152 DLLFLAGS="$DLLFLAGS -fPIC"
10153 LDDLLFLAGS="-fPIC" ;;
10154 esac
10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10157 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10158 if test ${ac_cv_cflags__Wl__z_defs+y}
10159 then :
10160 printf %s "(cached) " >&6
10161 else $as_nop
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 CFLAGS="$CFLAGS -Wl,-z,defs"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int main(int argc, char **argv) { return 0; }
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"
10169 then :
10170 ac_cv_cflags__Wl__z_defs=yes
10171 else $as_nop
10172 ac_cv_cflags__Wl__z_defs=no
10174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10179 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10180 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10181 then :
10182 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10185 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10186 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"
10197 then :
10198 ac_cv_cflags__Wl___export_dynamic=yes
10199 else $as_nop
10200 ac_cv_cflags__Wl___export_dynamic=no
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10207 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10208 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10209 then :
10210 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10212 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10214 case $host_cpu in
10215 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10217 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10218 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int main(int argc, char **argv) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"
10229 then :
10230 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10231 else $as_nop
10232 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10239 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10240 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10241 then :
10242 case $host_os in
10243 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10244 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10245 esac
10246 else $as_nop
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10248 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10249 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10250 then :
10251 printf %s "(cached) " >&6
10252 else $as_nop
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10262 else $as_nop
10263 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10271 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10272 then :
10273 case $host_os in
10274 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10275 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10276 esac
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10280 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10281 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else $as_nop
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"
10292 then :
10293 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10294 else $as_nop
10295 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10302 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10303 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10304 then :
10305 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10308 esac
10310 esac
10312 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10313 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10314 enable_winemac_drv=${enable_winemac_drv:-no}
10316 PE_ARCHS=""
10318 cross_archs=
10319 if test ${enable_archs+y}
10320 then :
10321 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10322 ac_save_IFS=$IFS
10323 IFS=' ,'
10324 set x $enable_archs
10325 IFS=$ac_save_IFS
10326 shift
10327 for arch
10329 case $arch in
10330 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10331 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10332 esac
10333 done
10334 else $as_nop
10335 if test "x$with_mingw" != xno
10336 then
10337 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10338 case "x$with_mingw" in
10339 x|xyes) ;;
10340 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10341 esac
10345 for wine_arch in $cross_archs
10347 if eval \${${wine_arch}_CC:+false} :
10348 then :
10349 case $wine_arch in
10350 aarch64)
10351 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10353 # Extract the first word of "$ac_prog", so it can be a program name with args.
10354 set dummy $ac_prog; ac_word=$2
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10356 printf %s "checking for $ac_word... " >&6; }
10357 if test ${ac_cv_prog_aarch64_CC+y}
10358 then :
10359 printf %s "(cached) " >&6
10360 else $as_nop
10361 if test -n "$aarch64_CC"; then
10362 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10363 else
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10367 IFS=$as_save_IFS
10368 case $as_dir in #(((
10369 '') as_dir=./ ;;
10370 */) ;;
10371 *) as_dir=$as_dir/ ;;
10372 esac
10373 for ac_exec_ext in '' $ac_executable_extensions; do
10374 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10375 ac_cv_prog_aarch64_CC="$ac_prog"
10376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10377 break 2
10379 done
10380 done
10381 IFS=$as_save_IFS
10385 aarch64_CC=$ac_cv_prog_aarch64_CC
10386 if test -n "$aarch64_CC"; then
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10388 printf "%s\n" "$aarch64_CC" >&6; }
10389 else
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10391 printf "%s\n" "no" >&6; }
10395 test -n "$aarch64_CC" && break
10396 done
10397 test -n "$aarch64_CC" || aarch64_CC="false"
10400 arm)
10401 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10403 # Extract the first word of "$ac_prog", so it can be a program name with args.
10404 set dummy $ac_prog; ac_word=$2
10405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10406 printf %s "checking for $ac_word... " >&6; }
10407 if test ${ac_cv_prog_arm_CC+y}
10408 then :
10409 printf %s "(cached) " >&6
10410 else $as_nop
10411 if test -n "$arm_CC"; then
10412 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10413 else
10414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10415 for as_dir in $PATH
10417 IFS=$as_save_IFS
10418 case $as_dir in #(((
10419 '') as_dir=./ ;;
10420 */) ;;
10421 *) as_dir=$as_dir/ ;;
10422 esac
10423 for ac_exec_ext in '' $ac_executable_extensions; do
10424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10425 ac_cv_prog_arm_CC="$ac_prog"
10426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10427 break 2
10429 done
10430 done
10431 IFS=$as_save_IFS
10435 arm_CC=$ac_cv_prog_arm_CC
10436 if test -n "$arm_CC"; then
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10438 printf "%s\n" "$arm_CC" >&6; }
10439 else
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10441 printf "%s\n" "no" >&6; }
10445 test -n "$arm_CC" && break
10446 done
10447 test -n "$arm_CC" || arm_CC="false"
10450 i386)
10451 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10452 for ac_prog in $ac_prefix_list clang
10454 # Extract the first word of "$ac_prog", so it can be a program name with args.
10455 set dummy $ac_prog; ac_word=$2
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 printf %s "checking for $ac_word... " >&6; }
10458 if test ${ac_cv_prog_i386_CC+y}
10459 then :
10460 printf %s "(cached) " >&6
10461 else $as_nop
10462 if test -n "$i386_CC"; then
10463 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10464 else
10465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10466 for as_dir in $PATH
10468 IFS=$as_save_IFS
10469 case $as_dir in #(((
10470 '') as_dir=./ ;;
10471 */) ;;
10472 *) as_dir=$as_dir/ ;;
10473 esac
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_i386_CC="$ac_prog"
10477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10478 break 2
10480 done
10481 done
10482 IFS=$as_save_IFS
10486 i386_CC=$ac_cv_prog_i386_CC
10487 if test -n "$i386_CC"; then
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10489 printf "%s\n" "$i386_CC" >&6; }
10490 else
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 printf "%s\n" "no" >&6; }
10496 test -n "$i386_CC" && break
10497 done
10498 test -n "$i386_CC" || i386_CC="false"
10501 x86_64)
10502 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10503 for ac_prog in $ac_prefix_list clang
10505 # Extract the first word of "$ac_prog", so it can be a program name with args.
10506 set dummy $ac_prog; ac_word=$2
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 printf %s "checking for $ac_word... " >&6; }
10509 if test ${ac_cv_prog_x86_64_CC+y}
10510 then :
10511 printf %s "(cached) " >&6
10512 else $as_nop
10513 if test -n "$x86_64_CC"; then
10514 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10515 else
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in $PATH
10519 IFS=$as_save_IFS
10520 case $as_dir in #(((
10521 '') as_dir=./ ;;
10522 */) ;;
10523 *) as_dir=$as_dir/ ;;
10524 esac
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_prog_x86_64_CC="$ac_prog"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10529 break 2
10531 done
10532 done
10533 IFS=$as_save_IFS
10537 x86_64_CC=$ac_cv_prog_x86_64_CC
10538 if test -n "$x86_64_CC"; then
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10540 printf "%s\n" "$x86_64_CC" >&6; }
10541 else
10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 printf "%s\n" "no" >&6; }
10547 test -n "$x86_64_CC" && break
10548 done
10549 test -n "$x86_64_CC" || x86_64_CC="false"
10552 esac
10555 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10556 then :
10557 continue
10560 saved_CC=$CC
10561 saved_CFLAGS=$CFLAGS
10563 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10564 eval CC=\$${wine_arch}_CC
10565 eval ${wine_arch}_CFLAGS=\$CFLAGS
10566 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10567 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10569 target=""
10570 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10573 printf %s "checking whether $CC works... " >&6; }
10574 if eval test \${$as_wine_cv_crosscc+y}
10575 then :
10576 printf %s "(cached) " >&6
10577 else $as_nop
10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10582 main (void)
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_compile "$LINENO"
10590 then :
10591 eval "$as_wine_cv_crosscc=yes"
10592 else $as_nop
10593 eval "$as_wine_cv_crosscc=no"
10595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10597 eval ac_res=\$$as_wine_cv_crosscc
10598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10599 printf "%s\n" "$ac_res" >&6; }
10600 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10601 then :
10602 set x $CC
10603 shift
10604 while test $# -ge 1
10606 case "$1" in
10607 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10608 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10609 esac
10610 shift
10611 done
10613 llvm_target=$target
10614 if test -z "$llvm_target"
10615 then
10616 case $wine_arch in
10617 i386) llvm_target=i686-windows ;;
10618 arm) llvm_target=armv7-windows ;;
10619 *) llvm_target=$wine_arch-windows ;;
10620 esac
10622 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10623 case $llvm_target in
10624 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10625 esac
10626 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10628 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10629 if eval test \${$as_ac_var+y}
10630 then :
10631 printf %s "(cached) " >&6
10632 else $as_nop
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 ac_wine_try_cflags_saved_exeext=$ac_exeext
10635 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10636 ac_exeext=".exe"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 int __cdecl mainCRTStartup(void) { return 0; }
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"
10642 then :
10643 eval "$as_ac_var=yes"
10644 else $as_nop
10645 eval "$as_ac_var=no"
10647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10650 ac_exeext=$ac_wine_try_cflags_saved_exeext
10652 eval ac_res=\$$as_ac_var
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10654 printf "%s\n" "$ac_res" >&6; }
10655 if eval test \"x\$"$as_ac_var"\" = x"yes"
10656 then :
10657 target=$llvm_target
10658 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10659 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10660 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10661 fi }
10662 eval "${wine_arch}_TARGET=\$target"
10666 if test -z "$target"
10667 then
10668 CC=$saved_CC
10669 CFLAGS=$saved_CFLAGS
10670 continue
10672 as_fn_append PE_ARCHS " $wine_arch"
10674 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10677 printf %s "checking for $CC option to enable C99 features... " >&6; }
10678 if eval test \${$as_wine_cv_crosscc_c99+y}
10679 then :
10680 printf %s "(cached) " >&6
10681 else $as_nop
10682 eval "$as_wine_cv_crosscc_c99=no"
10683 for arg in '' '-std=gnu99'
10685 test -z "$arg" || CC="$CC $arg"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 $ac_c_conftest_c99_program
10689 _ACEOF
10690 if ac_fn_c_try_compile "$LINENO"
10691 then :
10692 eval "$as_wine_cv_crosscc_c99=\$arg"
10693 else $as_nop
10694 eval "$as_wine_cv_crosscc_c99=no"
10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10697 eval CC=\$${wine_arch}_CC
10698 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10699 then :
10701 else $as_nop
10702 break
10704 done
10707 eval res=\$$as_wine_cv_crosscc_c99
10708 case "x$res" in
10709 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10710 printf "%s\n" "none needed" >&6; } ;;
10711 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10712 printf "%s\n" "unsupported" >&6; } ;;
10713 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10714 printf "%s\n" "$res" >&6; }
10715 as_fn_append ${wine_arch}_CC " $res" ;;
10716 esac
10719 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10721 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10722 if eval test \${$as_ac_var+y}
10723 then :
10724 printf %s "(cached) " >&6
10725 else $as_nop
10726 ac_wine_try_cflags_saved=$CFLAGS
10727 ac_wine_try_cflags_saved_exeext=$ac_exeext
10728 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10729 ac_exeext=".exe"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 int __cdecl mainCRTStartup(void) { return 0; }
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"
10735 then :
10736 eval "$as_ac_var=yes"
10737 else $as_nop
10738 eval "$as_ac_var=no"
10740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10741 conftest$ac_exeext conftest.$ac_ext
10742 CFLAGS=$ac_wine_try_cflags_saved
10743 ac_exeext=$ac_wine_try_cflags_saved_exeext
10745 eval ac_res=\$$as_ac_var
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10747 printf "%s\n" "$ac_res" >&6; }
10748 if eval test \"x\$"$as_ac_var"\" = x"yes"
10749 then :
10750 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10751 fi }
10752 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10754 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10755 if eval test \${$as_ac_var+y}
10756 then :
10757 printf %s "(cached) " >&6
10758 else $as_nop
10759 ac_wine_try_cflags_saved=$CFLAGS
10760 ac_wine_try_cflags_saved_exeext=$ac_exeext
10761 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10762 ac_exeext=".exe"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 int __cdecl mainCRTStartup(void) { return 0; }
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"
10768 then :
10769 eval "$as_ac_var=yes"
10770 else $as_nop
10771 eval "$as_ac_var=no"
10773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10774 conftest$ac_exeext conftest.$ac_ext
10775 CFLAGS=$ac_wine_try_cflags_saved
10776 ac_exeext=$ac_wine_try_cflags_saved_exeext
10778 eval ac_res=\$$as_ac_var
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10780 printf "%s\n" "$ac_res" >&6; }
10781 if eval test \"x\$"$as_ac_var"\" = x"yes"
10782 then :
10783 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10784 fi }
10785 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10787 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10788 if eval test \${$as_ac_var+y}
10789 then :
10790 printf %s "(cached) " >&6
10791 else $as_nop
10792 ac_wine_try_cflags_saved=$CFLAGS
10793 ac_wine_try_cflags_saved_exeext=$ac_exeext
10794 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10795 ac_exeext=".exe"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 int __cdecl mainCRTStartup(void) { return 0; }
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"
10801 then :
10802 eval "$as_ac_var=yes"
10803 else $as_nop
10804 eval "$as_ac_var=no"
10806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10807 conftest$ac_exeext conftest.$ac_ext
10808 CFLAGS=$ac_wine_try_cflags_saved
10809 ac_exeext=$ac_wine_try_cflags_saved_exeext
10811 eval ac_res=\$$as_ac_var
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10813 printf "%s\n" "$ac_res" >&6; }
10814 if eval test \"x\$"$as_ac_var"\" = x"yes"
10815 then :
10816 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10817 fi }
10818 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10820 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10821 if eval test \${$as_ac_var+y}
10822 then :
10823 printf %s "(cached) " >&6
10824 else $as_nop
10825 ac_wine_try_cflags_saved=$CFLAGS
10826 ac_wine_try_cflags_saved_exeext=$ac_exeext
10827 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10828 ac_exeext=".exe"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 int __cdecl mainCRTStartup(void) { return 0; }
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"
10834 then :
10835 eval "$as_ac_var=yes"
10836 else $as_nop
10837 eval "$as_ac_var=no"
10839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10840 conftest$ac_exeext conftest.$ac_ext
10841 CFLAGS=$ac_wine_try_cflags_saved
10842 ac_exeext=$ac_wine_try_cflags_saved_exeext
10844 eval ac_res=\$$as_ac_var
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10846 printf "%s\n" "$ac_res" >&6; }
10847 if eval test \"x\$"$as_ac_var"\" = x"yes"
10848 then :
10849 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10850 fi }
10851 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10853 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10854 if eval test \${$as_ac_var+y}
10855 then :
10856 printf %s "(cached) " >&6
10857 else $as_nop
10858 ac_wine_try_cflags_saved=$CFLAGS
10859 ac_wine_try_cflags_saved_exeext=$ac_exeext
10860 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10861 ac_exeext=".exe"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10864 int __cdecl mainCRTStartup(void) { return 0; }
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"
10867 then :
10868 eval "$as_ac_var=yes"
10869 else $as_nop
10870 eval "$as_ac_var=no"
10872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10873 conftest$ac_exeext conftest.$ac_ext
10874 CFLAGS=$ac_wine_try_cflags_saved
10875 ac_exeext=$ac_wine_try_cflags_saved_exeext
10877 eval ac_res=\$$as_ac_var
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10879 printf "%s\n" "$ac_res" >&6; }
10880 if eval test \"x\$"$as_ac_var"\" = x"yes"
10881 then :
10882 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10883 fi }
10884 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10886 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10887 if eval test \${$as_ac_var+y}
10888 then :
10889 printf %s "(cached) " >&6
10890 else $as_nop
10891 ac_wine_try_cflags_saved=$CFLAGS
10892 ac_wine_try_cflags_saved_exeext=$ac_exeext
10893 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 eval "$as_ac_var=yes"
10902 else $as_nop
10903 eval "$as_ac_var=no"
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 eval ac_res=\$$as_ac_var
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10912 printf "%s\n" "$ac_res" >&6; }
10913 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 then :
10915 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10916 fi }
10917 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10919 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10920 if eval test \${$as_ac_var+y}
10921 then :
10922 printf %s "(cached) " >&6
10923 else $as_nop
10924 ac_wine_try_cflags_saved=$CFLAGS
10925 ac_wine_try_cflags_saved_exeext=$ac_exeext
10926 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10927 ac_exeext=".exe"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 eval "$as_ac_var=yes"
10935 else $as_nop
10936 eval "$as_ac_var=no"
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 ac_exeext=$ac_wine_try_cflags_saved_exeext
10943 eval ac_res=\$$as_ac_var
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10945 printf "%s\n" "$ac_res" >&6; }
10946 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 then :
10948 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10949 fi }
10950 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10952 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10953 if eval test \${$as_ac_var+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10960 ac_exeext=".exe"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 int __cdecl mainCRTStartup(void) { return 0; }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"
10966 then :
10967 eval "$as_ac_var=yes"
10968 else $as_nop
10969 eval "$as_ac_var=no"
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 eval ac_res=\$$as_ac_var
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10978 printf "%s\n" "$ac_res" >&6; }
10979 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 then :
10981 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10982 fi }
10983 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10985 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10986 if eval test \${$as_ac_var+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10993 ac_exeext=".exe"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 eval "$as_ac_var=yes"
11001 else $as_nop
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 then :
11014 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11015 fi }
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11018 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11019 if eval test \${$as_ac_var+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 int __cdecl mainCRTStartup(void) { return 0; }
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"
11032 then :
11033 eval "$as_ac_var=yes"
11034 else $as_nop
11035 eval "$as_ac_var=no"
11037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11038 conftest$ac_exeext conftest.$ac_ext
11039 CFLAGS=$ac_wine_try_cflags_saved
11040 ac_exeext=$ac_wine_try_cflags_saved_exeext
11042 eval ac_res=\$$as_ac_var
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11044 printf "%s\n" "$ac_res" >&6; }
11045 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 then :
11047 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11048 fi }
11049 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11051 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11052 if eval test \${$as_ac_var+y}
11053 then :
11054 printf %s "(cached) " >&6
11055 else $as_nop
11056 ac_wine_try_cflags_saved=$CFLAGS
11057 ac_wine_try_cflags_saved_exeext=$ac_exeext
11058 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11059 ac_exeext=".exe"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11062 int __cdecl mainCRTStartup(void) { return 0; }
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"
11065 then :
11066 eval "$as_ac_var=yes"
11067 else $as_nop
11068 eval "$as_ac_var=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 eval ac_res=\$$as_ac_var
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11077 printf "%s\n" "$ac_res" >&6; }
11078 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 then :
11080 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11081 fi }
11082 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11084 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11085 if eval test \${$as_ac_var+y}
11086 then :
11087 printf %s "(cached) " >&6
11088 else $as_nop
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11092 ac_exeext=".exe"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 int __cdecl mainCRTStartup(void) { return 0; }
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"
11098 then :
11099 eval "$as_ac_var=yes"
11100 else $as_nop
11101 eval "$as_ac_var=no"
11103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 CFLAGS=$ac_wine_try_cflags_saved
11106 ac_exeext=$ac_wine_try_cflags_saved_exeext
11108 eval ac_res=\$$as_ac_var
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11110 printf "%s\n" "$ac_res" >&6; }
11111 if eval test \"x\$"$as_ac_var"\" = x"yes"
11112 then :
11113 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11114 fi }
11115 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11117 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11118 if eval test \${$as_ac_var+y}
11119 then :
11120 printf %s "(cached) " >&6
11121 else $as_nop
11122 ac_wine_try_cflags_saved=$CFLAGS
11123 ac_wine_try_cflags_saved_exeext=$ac_exeext
11124 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
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 eval "$as_ac_var=yes"
11133 else $as_nop
11134 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 eval ac_res=\$$as_ac_var
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11143 printf "%s\n" "$ac_res" >&6; }
11144 if eval test \"x\$"$as_ac_var"\" = x"yes"
11145 then :
11146 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11147 fi }
11148 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11150 printf %s "checking whether $CC supports -Wvla... " >&6; }
11151 if eval test \${$as_ac_var+y}
11152 then :
11153 printf %s "(cached) " >&6
11154 else $as_nop
11155 ac_wine_try_cflags_saved=$CFLAGS
11156 ac_wine_try_cflags_saved_exeext=$ac_exeext
11157 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11158 ac_exeext=".exe"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"
11164 then :
11165 eval "$as_ac_var=yes"
11166 else $as_nop
11167 eval "$as_ac_var=no"
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 ac_exeext=$ac_wine_try_cflags_saved_exeext
11174 eval ac_res=\$$as_ac_var
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11176 printf "%s\n" "$ac_res" >&6; }
11177 if eval test \"x\$"$as_ac_var"\" = x"yes"
11178 then :
11179 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11180 fi }
11181 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11183 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11184 if eval test \${$as_ac_var+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_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11191 ac_exeext=".exe"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 int __cdecl mainCRTStartup(void) { return 0; }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"
11197 then :
11198 eval "$as_ac_var=yes"
11199 else $as_nop
11200 eval "$as_ac_var=no"
11202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11203 conftest$ac_exeext conftest.$ac_ext
11204 CFLAGS=$ac_wine_try_cflags_saved
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 eval ac_res=\$$as_ac_var
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11209 printf "%s\n" "$ac_res" >&6; }
11210 if eval test \"x\$"$as_ac_var"\" = x"yes"
11211 then :
11212 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11213 fi }
11214 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11216 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11217 if eval test \${$as_ac_var+y}
11218 then :
11219 printf %s "(cached) " >&6
11220 else $as_nop
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_exeext=$ac_exeext
11223 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11224 ac_exeext=".exe"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"
11230 then :
11231 eval "$as_ac_var=yes"
11232 else $as_nop
11233 eval "$as_ac_var=no"
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 ac_exeext=$ac_wine_try_cflags_saved_exeext
11240 eval ac_res=\$$as_ac_var
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11242 printf "%s\n" "$ac_res" >&6; }
11243 if eval test \"x\$"$as_ac_var"\" = x"yes"
11244 then :
11245 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11246 fi }
11247 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11249 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11250 if eval test \${$as_ac_var+y}
11251 then :
11252 printf %s "(cached) " >&6
11253 else $as_nop
11254 ac_wine_try_cflags_saved=$CFLAGS
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11257 ac_exeext=".exe"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 eval "$as_ac_var=yes"
11265 else $as_nop
11266 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 eval ac_res=\$$as_ac_var
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11275 printf "%s\n" "$ac_res" >&6; }
11276 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 then :
11278 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11279 fi }
11280 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11282 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11283 if eval test \${$as_ac_var+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11290 ac_exeext=".exe"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 int __cdecl mainCRTStartup(void) { return 0; }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"
11296 then :
11297 eval "$as_ac_var=yes"
11298 else $as_nop
11299 eval "$as_ac_var=no"
11301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11302 conftest$ac_exeext conftest.$ac_ext
11303 CFLAGS=$ac_wine_try_cflags_saved
11304 ac_exeext=$ac_wine_try_cflags_saved_exeext
11306 eval ac_res=\$$as_ac_var
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11308 printf "%s\n" "$ac_res" >&6; }
11309 if eval test \"x\$"$as_ac_var"\" = x"yes"
11310 then :
11311 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11312 fi }
11314 case $wine_arch in
11315 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11317 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11318 if eval test \${$as_ac_var+y}
11319 then :
11320 printf %s "(cached) " >&6
11321 else $as_nop
11322 ac_wine_try_cflags_saved=$CFLAGS
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11347 fi }
11348 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11350 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11351 if eval test \${$as_ac_var+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 int __cdecl mainCRTStartup(void) { return 0; }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"
11364 then :
11365 eval "$as_ac_var=yes"
11366 else $as_nop
11367 eval "$as_ac_var=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 eval ac_res=\$$as_ac_var
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11376 printf "%s\n" "$ac_res" >&6; }
11377 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 then :
11379 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11380 fi } ;;
11381 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11383 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11384 if eval test \${$as_ac_var+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11391 ac_exeext=".exe"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 int __cdecl mainCRTStartup(void) { return 0; }
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"
11397 then :
11398 eval "$as_ac_var=yes"
11399 else $as_nop
11400 eval "$as_ac_var=no"
11402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11403 conftest$ac_exeext conftest.$ac_ext
11404 CFLAGS=$ac_wine_try_cflags_saved
11405 ac_exeext=$ac_wine_try_cflags_saved_exeext
11407 eval ac_res=\$$as_ac_var
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11409 printf "%s\n" "$ac_res" >&6; }
11410 if eval test \"x\$"$as_ac_var"\" = x"yes"
11411 then :
11412 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11413 fi }
11414 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11416 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11417 if eval test \${$as_ac_var+y}
11418 then :
11419 printf %s "(cached) " >&6
11420 else $as_nop
11421 ac_wine_try_cflags_saved=$CFLAGS
11422 ac_wine_try_cflags_saved_exeext=$ac_exeext
11423 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11424 ac_exeext=".exe"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11427 int __cdecl mainCRTStartup(void) { return 0; }
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"
11430 then :
11431 eval "$as_ac_var=yes"
11432 else $as_nop
11433 eval "$as_ac_var=no"
11435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11436 conftest$ac_exeext conftest.$ac_ext
11437 CFLAGS=$ac_wine_try_cflags_saved
11438 ac_exeext=$ac_wine_try_cflags_saved_exeext
11440 eval ac_res=\$$as_ac_var
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11442 printf "%s\n" "$ac_res" >&6; }
11443 if eval test \"x\$"$as_ac_var"\" = x"yes"
11444 then :
11445 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11446 fi }
11447 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11449 printf %s "checking whether $CC supports -mcx16... " >&6; }
11450 if eval test \${$as_ac_var+y}
11451 then :
11452 printf %s "(cached) " >&6
11453 else $as_nop
11454 ac_wine_try_cflags_saved=$CFLAGS
11455 ac_wine_try_cflags_saved_exeext=$ac_exeext
11456 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11457 ac_exeext=".exe"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 int __cdecl mainCRTStartup(void) { return 0; }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"
11463 then :
11464 eval "$as_ac_var=yes"
11465 else $as_nop
11466 eval "$as_ac_var=no"
11468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11469 conftest$ac_exeext conftest.$ac_ext
11470 CFLAGS=$ac_wine_try_cflags_saved
11471 ac_exeext=$ac_wine_try_cflags_saved_exeext
11473 eval ac_res=\$$as_ac_var
11474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11475 printf "%s\n" "$ac_res" >&6; }
11476 if eval test \"x\$"$as_ac_var"\" = x"yes"
11477 then :
11478 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11479 fi } ;;
11480 esac
11482 wine_crossdebug=$CROSSDEBUG
11483 if test -z "$wine_crossdebug"
11484 then
11485 for ac_flag in $CFLAGS; do
11486 case $ac_flag in
11487 -gdwarf*) wine_crossdebug=dwarf ;;
11488 -gcodeview) wine_crossdebug=pdb ;;
11489 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11490 esac
11491 done
11494 ac_debug_format_seen=""
11495 for ac_flag in $CFLAGS; do
11496 case $ac_flag in
11497 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11498 esac
11499 done
11500 if test "x$ac_debug_format_seen" = x
11501 then
11502 case $wine_crossdebug in
11503 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11505 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11506 if eval test \${$as_ac_var+y}
11507 then :
11508 printf %s "(cached) " >&6
11509 else $as_nop
11510 ac_wine_try_cflags_saved=$CFLAGS
11511 ac_wine_try_cflags_saved_exeext=$ac_exeext
11512 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11513 ac_exeext=".exe"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 int __cdecl mainCRTStartup(void) { return 0; }
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"
11519 then :
11520 eval "$as_ac_var=yes"
11521 else $as_nop
11522 eval "$as_ac_var=no"
11524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11525 conftest$ac_exeext conftest.$ac_ext
11526 CFLAGS=$ac_wine_try_cflags_saved
11527 ac_exeext=$ac_wine_try_cflags_saved_exeext
11529 eval ac_res=\$$as_ac_var
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11531 printf "%s\n" "$ac_res" >&6; }
11532 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 then :
11534 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11535 fi } ;;
11536 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11538 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11539 if eval test \${$as_ac_var+y}
11540 then :
11541 printf %s "(cached) " >&6
11542 else $as_nop
11543 ac_wine_try_cflags_saved=$CFLAGS
11544 ac_wine_try_cflags_saved_exeext=$ac_exeext
11545 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11546 ac_exeext=".exe"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 int __cdecl mainCRTStartup(void) { return 0; }
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"
11552 then :
11553 eval "$as_ac_var=yes"
11554 else $as_nop
11555 eval "$as_ac_var=no"
11557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11558 conftest$ac_exeext conftest.$ac_ext
11559 CFLAGS=$ac_wine_try_cflags_saved
11560 ac_exeext=$ac_wine_try_cflags_saved_exeext
11562 eval ac_res=\$$as_ac_var
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11564 printf "%s\n" "$ac_res" >&6; }
11565 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 then :
11567 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11568 fi } ;;
11569 esac
11571 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11573 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11575 printf %s "checking whether $CC supports -Werror... " >&6; }
11576 if eval test \${$as_ac_var+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11583 ac_exeext=".exe"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 int __cdecl mainCRTStartup(void) { return 0; }
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"
11589 then :
11590 eval "$as_ac_var=yes"
11591 else $as_nop
11592 eval "$as_ac_var=no"
11594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11595 conftest$ac_exeext conftest.$ac_ext
11596 CFLAGS=$ac_wine_try_cflags_saved
11597 ac_exeext=$ac_wine_try_cflags_saved_exeext
11599 eval ac_res=\$$as_ac_var
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11601 printf "%s\n" "$ac_res" >&6; }
11602 if eval test \"x\$"$as_ac_var"\" = x"yes"
11603 then :
11604 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11605 fi }
11606 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11608 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11609 if eval test \${$as_ac_var+y}
11610 then :
11611 printf %s "(cached) " >&6
11612 else $as_nop
11613 ac_wine_try_cflags_saved=$CFLAGS
11614 ac_wine_try_cflags_saved_exeext=$ac_exeext
11615 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11616 ac_exeext=".exe"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 int __cdecl mainCRTStartup(void) { return 0; }
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"
11622 then :
11623 eval "$as_ac_var=yes"
11624 else $as_nop
11625 eval "$as_ac_var=no"
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11628 conftest$ac_exeext conftest.$ac_ext
11629 CFLAGS=$ac_wine_try_cflags_saved
11630 ac_exeext=$ac_wine_try_cflags_saved_exeext
11632 eval ac_res=\$$as_ac_var
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11634 printf "%s\n" "$ac_res" >&6; }
11635 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 then :
11637 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11638 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11639 fi }
11641 CC=$saved_CC
11642 CFLAGS=$saved_CFLAGS
11643 done
11645 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11646 then
11647 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11650 if test "x$PE_ARCHS" = "x"
11651 then :
11652 case "x$with_mingw" in
11653 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11654 xno) ;;
11655 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11656 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11657 esac
11662 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11663 then
11664 case "$host_cpu" in
11665 i[3456789]86*)
11666 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11668 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11669 esac
11670 for ac_prog in $ac_prefix_list
11672 # Extract the first word of "$ac_prog", so it can be a program name with args.
11673 set dummy $ac_prog; ac_word=$2
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 printf %s "checking for $ac_word... " >&6; }
11676 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11677 then :
11678 printf %s "(cached) " >&6
11679 else $as_nop
11680 if test -n "$MINGW_PKG_CONFIG"; then
11681 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11682 else
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11686 IFS=$as_save_IFS
11687 case $as_dir in #(((
11688 '') as_dir=./ ;;
11689 */) ;;
11690 *) as_dir=$as_dir/ ;;
11691 esac
11692 for ac_exec_ext in '' $ac_executable_extensions; do
11693 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11694 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11696 break 2
11698 done
11699 done
11700 IFS=$as_save_IFS
11704 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11705 if test -n "$MINGW_PKG_CONFIG"; then
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11707 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11708 else
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 printf "%s\n" "no" >&6; }
11714 test -n "$MINGW_PKG_CONFIG" && break
11715 done
11716 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11718 if ${FAUDIO_PE_CFLAGS:+false} :
11719 then :
11720 if test ${MINGW_PKG_CONFIG+y}
11721 then :
11722 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11725 if ${FAUDIO_PE_LIBS:+false} :
11726 then :
11727 if test ${MINGW_PKG_CONFIG+y}
11728 then :
11729 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11732 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11733 ac_save_CPPFLAGS=$CPPFLAGS
11734 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11736 printf %s "checking for MinGW FAudio.h... " >&6; }
11737 if test ${ac_cv_mingw_header_FAudio_h+y}
11738 then :
11739 printf %s "(cached) " >&6
11740 else $as_nop
11741 ac_wine_check_headers_saved_cc=$CC
11742 ac_wine_check_headers_saved_exeext=$ac_exeext
11743 eval CC=\$${wine_arch}_CC
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 #include <FAudio.h>
11750 main (void)
11754 return 0;
11756 _ACEOF
11757 if ac_fn_c_try_compile "$LINENO"
11758 then :
11759 ac_cv_mingw_header_FAudio_h=yes
11760 else $as_nop
11761 ac_cv_mingw_header_FAudio_h=no
11763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11764 CC=$ac_wine_check_headers_saved_cc
11765 ac_exeext=$ac_wine_check_headers_saved_exeext
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11768 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11769 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11770 then :
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11772 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11773 if test ${ac_cv_mingw_lib_FAudio+y}
11774 then :
11775 printf %s "(cached) " >&6
11776 else $as_nop
11777 ac_wine_check_headers_saved_cc=$CC
11778 ac_wine_check_headers_saved_exeext=$ac_exeext
11779 ac_wine_check_headers_saved_libs=$LIBS
11780 eval CC=\$${wine_arch}_CC
11781 ac_exeext=".exe"
11782 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 char FAudio_CommitOperationSet ();
11791 main (void)
11793 return FAudio_CommitOperationSet ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"
11799 then :
11800 ac_cv_mingw_lib_FAudio=yes
11801 else $as_nop
11802 ac_cv_mingw_lib_FAudio=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11805 conftest$ac_exeext conftest.$ac_ext
11806 CC=$ac_wine_check_headers_saved_cc
11807 ac_exeext=$ac_wine_check_headers_saved_exeext
11808 LIBS=$ac_wine_check_headers_saved_libs
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11811 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11812 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11813 then :
11815 else $as_nop
11816 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11818 else $as_nop
11819 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11821 CPPFLAGS=$ac_save_CPPFLAGS
11823 if test "x$FAUDIO_PE_LIBS" = "x"
11824 then
11825 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11828 if ${JPEG_PE_CFLAGS:+false} :
11829 then :
11830 if test ${MINGW_PKG_CONFIG+y}
11831 then :
11832 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11835 if ${JPEG_PE_LIBS:+false} :
11836 then :
11837 if test ${MINGW_PKG_CONFIG+y}
11838 then :
11839 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11843 ac_save_CPPFLAGS=$CPPFLAGS
11844 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11846 printf %s "checking for MinGW jpeglib.h... " >&6; }
11847 if test ${ac_cv_mingw_header_jpeglib_h+y}
11848 then :
11849 printf %s "(cached) " >&6
11850 else $as_nop
11851 ac_wine_check_headers_saved_cc=$CC
11852 ac_wine_check_headers_saved_exeext=$ac_exeext
11853 eval CC=\$${wine_arch}_CC
11854 ac_exeext=".exe"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11857 #include <stddef.h>
11858 #include <stdio.h>
11859 #include <jpeglib.h>
11861 main (void)
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_compile "$LINENO"
11869 then :
11870 ac_cv_mingw_header_jpeglib_h=yes
11871 else $as_nop
11872 ac_cv_mingw_header_jpeglib_h=no
11874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11875 CC=$ac_wine_check_headers_saved_cc
11876 ac_exeext=$ac_wine_check_headers_saved_exeext
11878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11879 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11880 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11881 then :
11882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11883 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11884 if test ${ac_cv_mingw_lib_jpeg+y}
11885 then :
11886 printf %s "(cached) " >&6
11887 else $as_nop
11888 ac_wine_check_headers_saved_cc=$CC
11889 ac_wine_check_headers_saved_exeext=$ac_exeext
11890 ac_wine_check_headers_saved_libs=$LIBS
11891 eval CC=\$${wine_arch}_CC
11892 ac_exeext=".exe"
11893 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 char jpeg_start_decompress ();
11902 main (void)
11904 return jpeg_start_decompress ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"
11910 then :
11911 ac_cv_mingw_lib_jpeg=yes
11912 else $as_nop
11913 ac_cv_mingw_lib_jpeg=no
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11916 conftest$ac_exeext conftest.$ac_ext
11917 CC=$ac_wine_check_headers_saved_cc
11918 ac_exeext=$ac_wine_check_headers_saved_exeext
11919 LIBS=$ac_wine_check_headers_saved_libs
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11922 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11923 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11924 then :
11926 else $as_nop
11927 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11929 else $as_nop
11930 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11932 CPPFLAGS=$ac_save_CPPFLAGS
11934 if test "x$JPEG_PE_LIBS" = "x"
11935 then
11936 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11939 if ${LCMS2_PE_CFLAGS:+false} :
11940 then :
11941 if test ${MINGW_PKG_CONFIG+y}
11942 then :
11943 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11946 if ${LCMS2_PE_LIBS:+false} :
11947 then :
11948 if test ${MINGW_PKG_CONFIG+y}
11949 then :
11950 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11953 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11957 printf %s "checking for MinGW lcms2.h... " >&6; }
11958 if test ${ac_cv_mingw_header_lcms2_h+y}
11959 then :
11960 printf %s "(cached) " >&6
11961 else $as_nop
11962 ac_wine_check_headers_saved_cc=$CC
11963 ac_wine_check_headers_saved_exeext=$ac_exeext
11964 eval CC=\$${wine_arch}_CC
11965 ac_exeext=".exe"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 #include <lcms2.h>
11971 main (void)
11975 return 0;
11977 _ACEOF
11978 if ac_fn_c_try_compile "$LINENO"
11979 then :
11980 ac_cv_mingw_header_lcms2_h=yes
11981 else $as_nop
11982 ac_cv_mingw_header_lcms2_h=no
11984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11985 CC=$ac_wine_check_headers_saved_cc
11986 ac_exeext=$ac_wine_check_headers_saved_exeext
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11989 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11990 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11991 then :
11992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11993 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11994 if test ${ac_cv_mingw_lib_lcms2+y}
11995 then :
11996 printf %s "(cached) " >&6
11997 else $as_nop
11998 ac_wine_check_headers_saved_cc=$CC
11999 ac_wine_check_headers_saved_exeext=$ac_exeext
12000 ac_wine_check_headers_saved_libs=$LIBS
12001 eval CC=\$${wine_arch}_CC
12002 ac_exeext=".exe"
12003 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 char cmsOpenProfileFromFile ();
12012 main (void)
12014 return cmsOpenProfileFromFile ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"
12020 then :
12021 ac_cv_mingw_lib_lcms2=yes
12022 else $as_nop
12023 ac_cv_mingw_lib_lcms2=no
12025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12026 conftest$ac_exeext conftest.$ac_ext
12027 CC=$ac_wine_check_headers_saved_cc
12028 ac_exeext=$ac_wine_check_headers_saved_exeext
12029 LIBS=$ac_wine_check_headers_saved_libs
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12032 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12033 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12034 then :
12036 else $as_nop
12037 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12039 else $as_nop
12040 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12042 CPPFLAGS=$ac_save_CPPFLAGS
12044 if test "x$LCMS2_PE_LIBS" = "x"
12045 then
12046 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12049 if ${MPG123_PE_CFLAGS:+false} :
12050 then :
12051 if test ${MINGW_PKG_CONFIG+y}
12052 then :
12053 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12056 if ${MPG123_PE_LIBS:+false} :
12057 then :
12058 if test ${MINGW_PKG_CONFIG+y}
12059 then :
12060 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12063 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12064 ac_save_CPPFLAGS=$CPPFLAGS
12065 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12067 printf %s "checking for MinGW mpg123.h... " >&6; }
12068 if test ${ac_cv_mingw_header_mpg123_h+y}
12069 then :
12070 printf %s "(cached) " >&6
12071 else $as_nop
12072 ac_wine_check_headers_saved_cc=$CC
12073 ac_wine_check_headers_saved_exeext=$ac_exeext
12074 eval CC=\$${wine_arch}_CC
12075 ac_exeext=".exe"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 #include <mpg123.h>
12081 main (void)
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_compile "$LINENO"
12089 then :
12090 ac_cv_mingw_header_mpg123_h=yes
12091 else $as_nop
12092 ac_cv_mingw_header_mpg123_h=no
12094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12095 CC=$ac_wine_check_headers_saved_cc
12096 ac_exeext=$ac_wine_check_headers_saved_exeext
12098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12099 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12100 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12101 then :
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12103 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12104 if test ${ac_cv_mingw_lib_mpg123+y}
12105 then :
12106 printf %s "(cached) " >&6
12107 else $as_nop
12108 ac_wine_check_headers_saved_cc=$CC
12109 ac_wine_check_headers_saved_exeext=$ac_exeext
12110 ac_wine_check_headers_saved_libs=$LIBS
12111 eval CC=\$${wine_arch}_CC
12112 ac_exeext=".exe"
12113 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 char mpg123_feed ();
12122 main (void)
12124 return mpg123_feed ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"
12130 then :
12131 ac_cv_mingw_lib_mpg123=yes
12132 else $as_nop
12133 ac_cv_mingw_lib_mpg123=no
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12136 conftest$ac_exeext conftest.$ac_ext
12137 CC=$ac_wine_check_headers_saved_cc
12138 ac_exeext=$ac_wine_check_headers_saved_exeext
12139 LIBS=$ac_wine_check_headers_saved_libs
12141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12142 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12143 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12144 then :
12146 else $as_nop
12147 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12149 else $as_nop
12150 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12152 CPPFLAGS=$ac_save_CPPFLAGS
12154 if test "x$MPG123_PE_LIBS" = "x"
12155 then
12156 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12159 if ${PNG_PE_CFLAGS:+false} :
12160 then :
12161 if test ${MINGW_PKG_CONFIG+y}
12162 then :
12163 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12166 if ${PNG_PE_LIBS:+false} :
12167 then :
12168 if test ${MINGW_PKG_CONFIG+y}
12169 then :
12170 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12174 ac_save_CPPFLAGS=$CPPFLAGS
12175 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12177 printf %s "checking for MinGW png.h... " >&6; }
12178 if test ${ac_cv_mingw_header_png_h+y}
12179 then :
12180 printf %s "(cached) " >&6
12181 else $as_nop
12182 ac_wine_check_headers_saved_cc=$CC
12183 ac_wine_check_headers_saved_exeext=$ac_exeext
12184 eval CC=\$${wine_arch}_CC
12185 ac_exeext=".exe"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 #include <png.h>
12191 main (void)
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_compile "$LINENO"
12199 then :
12200 ac_cv_mingw_header_png_h=yes
12201 else $as_nop
12202 ac_cv_mingw_header_png_h=no
12204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12205 CC=$ac_wine_check_headers_saved_cc
12206 ac_exeext=$ac_wine_check_headers_saved_exeext
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12209 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12210 if test "x$ac_cv_mingw_header_png_h" = xyes
12211 then :
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12213 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12214 if test ${ac_cv_mingw_lib_png+y}
12215 then :
12216 printf %s "(cached) " >&6
12217 else $as_nop
12218 ac_wine_check_headers_saved_cc=$CC
12219 ac_wine_check_headers_saved_exeext=$ac_exeext
12220 ac_wine_check_headers_saved_libs=$LIBS
12221 eval CC=\$${wine_arch}_CC
12222 ac_exeext=".exe"
12223 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12230 char png_create_read_struct ();
12232 main (void)
12234 return png_create_read_struct ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"
12240 then :
12241 ac_cv_mingw_lib_png=yes
12242 else $as_nop
12243 ac_cv_mingw_lib_png=no
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12246 conftest$ac_exeext conftest.$ac_ext
12247 CC=$ac_wine_check_headers_saved_cc
12248 ac_exeext=$ac_wine_check_headers_saved_exeext
12249 LIBS=$ac_wine_check_headers_saved_libs
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12252 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12253 if test "x$ac_cv_mingw_lib_png" = xyes
12254 then :
12256 else $as_nop
12257 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12259 else $as_nop
12260 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12262 CPPFLAGS=$ac_save_CPPFLAGS
12264 if test "x$PNG_PE_LIBS" = "x"
12265 then
12266 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12269 if ${TIFF_PE_CFLAGS:+false} :
12270 then :
12271 if test ${MINGW_PKG_CONFIG+y}
12272 then :
12273 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12276 if ${TIFF_PE_LIBS:+false} :
12277 then :
12278 if test ${MINGW_PKG_CONFIG+y}
12279 then :
12280 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12284 ac_save_CPPFLAGS=$CPPFLAGS
12285 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12287 printf %s "checking for MinGW tiffio.h... " >&6; }
12288 if test ${ac_cv_mingw_header_tiffio_h+y}
12289 then :
12290 printf %s "(cached) " >&6
12291 else $as_nop
12292 ac_wine_check_headers_saved_cc=$CC
12293 ac_wine_check_headers_saved_exeext=$ac_exeext
12294 eval CC=\$${wine_arch}_CC
12295 ac_exeext=".exe"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 #include <tiffio.h>
12301 main (void)
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_compile "$LINENO"
12309 then :
12310 ac_cv_mingw_header_tiffio_h=yes
12311 else $as_nop
12312 ac_cv_mingw_header_tiffio_h=no
12314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12315 CC=$ac_wine_check_headers_saved_cc
12316 ac_exeext=$ac_wine_check_headers_saved_exeext
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12319 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12320 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12321 then :
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12323 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12324 if test ${ac_cv_mingw_lib_tiff+y}
12325 then :
12326 printf %s "(cached) " >&6
12327 else $as_nop
12328 ac_wine_check_headers_saved_cc=$CC
12329 ac_wine_check_headers_saved_exeext=$ac_exeext
12330 ac_wine_check_headers_saved_libs=$LIBS
12331 eval CC=\$${wine_arch}_CC
12332 ac_exeext=".exe"
12333 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12340 char TIFFClientOpen ();
12342 main (void)
12344 return TIFFClientOpen ();
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_link "$LINENO"
12350 then :
12351 ac_cv_mingw_lib_tiff=yes
12352 else $as_nop
12353 ac_cv_mingw_lib_tiff=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12356 conftest$ac_exeext conftest.$ac_ext
12357 CC=$ac_wine_check_headers_saved_cc
12358 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 LIBS=$ac_wine_check_headers_saved_libs
12361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12362 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12363 if test "x$ac_cv_mingw_lib_tiff" = xyes
12364 then :
12366 else $as_nop
12367 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12369 else $as_nop
12370 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12372 CPPFLAGS=$ac_save_CPPFLAGS
12374 if test "x$TIFF_PE_LIBS" = "x"
12375 then
12376 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12379 if ${XML2_PE_CFLAGS:+false} :
12380 then :
12381 if test ${MINGW_PKG_CONFIG+y}
12382 then :
12383 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12386 if ${XML2_PE_LIBS:+false} :
12387 then :
12388 if test ${MINGW_PKG_CONFIG+y}
12389 then :
12390 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12393 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12394 ac_save_CPPFLAGS=$CPPFLAGS
12395 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12397 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12398 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12399 then :
12400 printf %s "(cached) " >&6
12401 else $as_nop
12402 ac_wine_check_headers_saved_cc=$CC
12403 ac_wine_check_headers_saved_exeext=$ac_exeext
12404 eval CC=\$${wine_arch}_CC
12405 ac_exeext=".exe"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 #include <libxml/parser.h>
12411 main (void)
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_compile "$LINENO"
12419 then :
12420 ac_cv_mingw_header_libxml_parser_h=yes
12421 else $as_nop
12422 ac_cv_mingw_header_libxml_parser_h=no
12424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12425 CC=$ac_wine_check_headers_saved_cc
12426 ac_exeext=$ac_wine_check_headers_saved_exeext
12428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12429 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12430 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12431 then :
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12435 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12436 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12437 then :
12438 printf %s "(cached) " >&6
12439 else $as_nop
12440 ac_wine_check_headers_saved_cc=$CC
12441 ac_wine_check_headers_saved_exeext=$ac_exeext
12442 eval CC=\$${wine_arch}_CC
12443 ac_exeext=".exe"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 #include <libxml/xmlsave.h>
12449 main (void)
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_compile "$LINENO"
12457 then :
12458 ac_cv_mingw_header_libxml_xmlsave_h=yes
12459 else $as_nop
12460 ac_cv_mingw_header_libxml_xmlsave_h=no
12462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12463 CC=$ac_wine_check_headers_saved_cc
12464 ac_exeext=$ac_wine_check_headers_saved_exeext
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12467 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12468 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12469 then :
12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12473 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12474 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12475 then :
12476 printf %s "(cached) " >&6
12477 else $as_nop
12478 ac_wine_check_headers_saved_cc=$CC
12479 ac_wine_check_headers_saved_exeext=$ac_exeext
12480 eval CC=\$${wine_arch}_CC
12481 ac_exeext=".exe"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 #include <libxml/SAX2.h>
12487 main (void)
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_compile "$LINENO"
12495 then :
12496 ac_cv_mingw_header_libxml_SAX2_h=yes
12497 else $as_nop
12498 ac_cv_mingw_header_libxml_SAX2_h=no
12500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12501 CC=$ac_wine_check_headers_saved_cc
12502 ac_exeext=$ac_wine_check_headers_saved_exeext
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12505 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12506 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12507 then :
12510 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"
12511 then
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12513 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12514 if test ${ac_cv_mingw_lib_xml2+y}
12515 then :
12516 printf %s "(cached) " >&6
12517 else $as_nop
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12521 eval CC=\$${wine_arch}_CC
12522 ac_exeext=".exe"
12523 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char xmlFirstElementChild ();
12532 main (void)
12534 return xmlFirstElementChild ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"
12540 then :
12541 ac_cv_mingw_lib_xml2=yes
12542 else $as_nop
12543 ac_cv_mingw_lib_xml2=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12553 if test "x$ac_cv_mingw_lib_xml2" = xyes
12554 then :
12556 else $as_nop
12557 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12559 else
12560 XML2_PE_CFLAGS=""
12561 XML2_PE_LIBS=""
12563 CPPFLAGS=$ac_save_CPPFLAGS
12565 if test "x$XML2_PE_LIBS" = "x"
12566 then
12567 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12570 if ${XSLT_PE_CFLAGS:+false} :
12571 then :
12572 if test ${MINGW_PKG_CONFIG+y}
12573 then :
12574 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12577 if ${XSLT_PE_LIBS:+false} :
12578 then :
12579 if test ${MINGW_PKG_CONFIG+y}
12580 then :
12581 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12584 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12585 ac_save_CPPFLAGS=$CPPFLAGS
12586 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12588 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12589 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12590 then :
12591 printf %s "(cached) " >&6
12592 else $as_nop
12593 ac_wine_check_headers_saved_cc=$CC
12594 ac_wine_check_headers_saved_exeext=$ac_exeext
12595 eval CC=\$${wine_arch}_CC
12596 ac_exeext=".exe"
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 #include <libxslt/pattern.h>
12602 main (void)
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_compile "$LINENO"
12610 then :
12611 ac_cv_mingw_header_libxslt_pattern_h=yes
12612 else $as_nop
12613 ac_cv_mingw_header_libxslt_pattern_h=no
12615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12616 CC=$ac_wine_check_headers_saved_cc
12617 ac_exeext=$ac_wine_check_headers_saved_exeext
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12620 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12621 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12622 then :
12625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12626 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12627 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12628 then :
12629 printf %s "(cached) " >&6
12630 else $as_nop
12631 ac_wine_check_headers_saved_cc=$CC
12632 ac_wine_check_headers_saved_exeext=$ac_exeext
12633 eval CC=\$${wine_arch}_CC
12634 ac_exeext=".exe"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 #include <libxslt/transform.h>
12640 main (void)
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_compile "$LINENO"
12648 then :
12649 ac_cv_mingw_header_libxslt_transform_h=yes
12650 else $as_nop
12651 ac_cv_mingw_header_libxslt_transform_h=no
12653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12654 CC=$ac_wine_check_headers_saved_cc
12655 ac_exeext=$ac_wine_check_headers_saved_exeext
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12658 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12659 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12660 then :
12663 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12664 then
12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12666 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12667 if test ${ac_cv_mingw_lib_xslt+y}
12668 then :
12669 printf %s "(cached) " >&6
12670 else $as_nop
12671 ac_wine_check_headers_saved_cc=$CC
12672 ac_wine_check_headers_saved_exeext=$ac_exeext
12673 ac_wine_check_headers_saved_libs=$LIBS
12674 eval CC=\$${wine_arch}_CC
12675 ac_exeext=".exe"
12676 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 char xsltCompilePattern ();
12685 main (void)
12687 return xsltCompilePattern ();
12689 return 0;
12691 _ACEOF
12692 if ac_fn_c_try_link "$LINENO"
12693 then :
12694 ac_cv_mingw_lib_xslt=yes
12695 else $as_nop
12696 ac_cv_mingw_lib_xslt=no
12698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12699 conftest$ac_exeext conftest.$ac_ext
12700 CC=$ac_wine_check_headers_saved_cc
12701 ac_exeext=$ac_wine_check_headers_saved_exeext
12702 LIBS=$ac_wine_check_headers_saved_libs
12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12705 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12706 if test "x$ac_cv_mingw_lib_xslt" = xyes
12707 then :
12709 else $as_nop
12710 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12712 else
12713 XSLT_PE_CFLAGS=""
12714 XSLT_PE_LIBS=""
12716 CPPFLAGS=$ac_save_CPPFLAGS
12718 if test "x$XSLT_PE_LIBS" = "x"
12719 then
12720 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12723 if ${VKD3D_PE_CFLAGS:+false} :
12724 then :
12725 if test ${MINGW_PKG_CONFIG+y}
12726 then :
12727 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12730 if ${VKD3D_PE_LIBS:+false} :
12731 then :
12732 if test ${MINGW_PKG_CONFIG+y}
12733 then :
12734 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12737 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12738 ac_save_CPPFLAGS=$CPPFLAGS
12739 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12741 printf %s "checking for MinGW vkd3d.h... " >&6; }
12742 if test ${ac_cv_mingw_header_vkd3d_h+y}
12743 then :
12744 printf %s "(cached) " >&6
12745 else $as_nop
12746 ac_wine_check_headers_saved_cc=$CC
12747 ac_wine_check_headers_saved_exeext=$ac_exeext
12748 eval CC=\$${wine_arch}_CC
12749 ac_exeext=".exe"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 #include <vkd3d.h>
12755 main (void)
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_compile "$LINENO"
12763 then :
12764 ac_cv_mingw_header_vkd3d_h=yes
12765 else $as_nop
12766 ac_cv_mingw_header_vkd3d_h=no
12768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12769 CC=$ac_wine_check_headers_saved_cc
12770 ac_exeext=$ac_wine_check_headers_saved_exeext
12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12773 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12774 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12775 then :
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12779 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12780 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12781 then :
12782 printf %s "(cached) " >&6
12783 else $as_nop
12784 ac_wine_check_headers_saved_cc=$CC
12785 ac_wine_check_headers_saved_exeext=$ac_exeext
12786 eval CC=\$${wine_arch}_CC
12787 ac_exeext=".exe"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 #include <vkd3d_shader.h>
12793 main (void)
12797 return 0;
12799 _ACEOF
12800 if ac_fn_c_try_compile "$LINENO"
12801 then :
12802 ac_cv_mingw_header_vkd3d_shader_h=yes
12803 else $as_nop
12804 ac_cv_mingw_header_vkd3d_shader_h=no
12806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12807 CC=$ac_wine_check_headers_saved_cc
12808 ac_exeext=$ac_wine_check_headers_saved_exeext
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12811 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12812 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12813 then :
12816 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12817 then
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12819 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12820 if test ${ac_cv_mingw_lib_vkd3d+y}
12821 then :
12822 printf %s "(cached) " >&6
12823 else $as_nop
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 ac_wine_check_headers_saved_libs=$LIBS
12827 eval CC=\$${wine_arch}_CC
12828 ac_exeext=".exe"
12829 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12836 char vkd3d_set_log_callback ();
12838 main (void)
12840 return vkd3d_set_log_callback ();
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_link "$LINENO"
12846 then :
12847 ac_cv_mingw_lib_vkd3d=yes
12848 else $as_nop
12849 ac_cv_mingw_lib_vkd3d=no
12851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12852 conftest$ac_exeext conftest.$ac_ext
12853 CC=$ac_wine_check_headers_saved_cc
12854 ac_exeext=$ac_wine_check_headers_saved_exeext
12855 LIBS=$ac_wine_check_headers_saved_libs
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12858 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12859 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12860 then :
12862 else $as_nop
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12866 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12867 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12868 then :
12869 printf %s "(cached) " >&6
12870 else $as_nop
12871 ac_wine_check_headers_saved_cc=$CC
12872 ac_wine_check_headers_saved_exeext=$ac_exeext
12873 ac_wine_check_headers_saved_libs=$LIBS
12874 eval CC=\$${wine_arch}_CC
12875 ac_exeext=".exe"
12876 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 char vkd3d_shader_compile ();
12885 main (void)
12887 return vkd3d_shader_compile ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"
12893 then :
12894 ac_cv_mingw_lib_vkd3d_shader=yes
12895 else $as_nop
12896 ac_cv_mingw_lib_vkd3d_shader=no
12898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12899 conftest$ac_exeext conftest.$ac_ext
12900 CC=$ac_wine_check_headers_saved_cc
12901 ac_exeext=$ac_wine_check_headers_saved_exeext
12902 LIBS=$ac_wine_check_headers_saved_libs
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12905 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12906 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12907 then :
12909 else $as_nop
12912 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12913 then
12914 VKD3D_PE_CFLAGS=""
12915 VKD3D_PE_LIBS=""
12917 else
12918 VKD3D_PE_CFLAGS=""
12919 VKD3D_PE_LIBS=""
12921 CPPFLAGS=$ac_save_CPPFLAGS
12923 if test "x$VKD3D_PE_LIBS" = "x"
12924 then
12925 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12928 if ${ZLIB_PE_CFLAGS:+false} :
12929 then :
12930 if test ${MINGW_PKG_CONFIG+y}
12931 then :
12932 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12935 if ${ZLIB_PE_LIBS:+false} :
12936 then :
12937 if test ${MINGW_PKG_CONFIG+y}
12938 then :
12939 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12942 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12943 ac_save_CPPFLAGS=$CPPFLAGS
12944 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12946 printf %s "checking for MinGW zlib.h... " >&6; }
12947 if test ${ac_cv_mingw_header_zlib_h+y}
12948 then :
12949 printf %s "(cached) " >&6
12950 else $as_nop
12951 ac_wine_check_headers_saved_cc=$CC
12952 ac_wine_check_headers_saved_exeext=$ac_exeext
12953 eval CC=\$${wine_arch}_CC
12954 ac_exeext=".exe"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 #include <zlib.h>
12960 main (void)
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_compile "$LINENO"
12968 then :
12969 ac_cv_mingw_header_zlib_h=yes
12970 else $as_nop
12971 ac_cv_mingw_header_zlib_h=no
12973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12974 CC=$ac_wine_check_headers_saved_cc
12975 ac_exeext=$ac_wine_check_headers_saved_exeext
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12978 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12979 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12980 then :
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12982 printf %s "checking for inflate in MinGW -lz... " >&6; }
12983 if test ${ac_cv_mingw_lib_z+y}
12984 then :
12985 printf %s "(cached) " >&6
12986 else $as_nop
12987 ac_wine_check_headers_saved_cc=$CC
12988 ac_wine_check_headers_saved_exeext=$ac_exeext
12989 ac_wine_check_headers_saved_libs=$LIBS
12990 eval CC=\$${wine_arch}_CC
12991 ac_exeext=".exe"
12992 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
12999 char inflate ();
13001 main (void)
13003 return inflate ();
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_link "$LINENO"
13009 then :
13010 ac_cv_mingw_lib_z=yes
13011 else $as_nop
13012 ac_cv_mingw_lib_z=no
13014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13015 conftest$ac_exeext conftest.$ac_ext
13016 CC=$ac_wine_check_headers_saved_cc
13017 ac_exeext=$ac_wine_check_headers_saved_exeext
13018 LIBS=$ac_wine_check_headers_saved_libs
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13021 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13022 if test "x$ac_cv_mingw_lib_z" = xyes
13023 then :
13025 else $as_nop
13026 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13028 else $as_nop
13029 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13031 CPPFLAGS=$ac_save_CPPFLAGS
13033 if test "x$ZLIB_PE_LIBS" = "x"
13034 then
13035 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13039 if ${FAUDIO_PE_LIBS:+false} :
13040 then :
13041 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13042 if ${FAUDIO_PE_CFLAGS:+false} :
13043 then :
13044 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13045 else $as_nop
13046 enable_faudio=no
13048 else $as_nop
13049 enable_faudio=no
13051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13054 if ${GSM_PE_LIBS:+false} :
13055 then :
13056 GSM_PE_LIBS=gsm
13057 if ${GSM_PE_CFLAGS:+false} :
13058 then :
13059 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13060 else $as_nop
13061 enable_gsm=no
13063 else $as_nop
13064 enable_gsm=no
13066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13069 if ${JPEG_PE_LIBS:+false} :
13070 then :
13071 JPEG_PE_LIBS=jpeg
13072 if ${JPEG_PE_CFLAGS:+false} :
13073 then :
13074 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13075 else $as_nop
13076 enable_jpeg=no
13078 else $as_nop
13079 enable_jpeg=no
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13084 if ${JXR_PE_LIBS:+false} :
13085 then :
13086 JXR_PE_LIBS=jxr
13087 if ${JXR_PE_CFLAGS:+false} :
13088 then :
13089 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13090 else $as_nop
13091 enable_jxr=no
13093 else $as_nop
13094 enable_jxr=no
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13099 if ${LCMS2_PE_LIBS:+false} :
13100 then :
13101 LCMS2_PE_LIBS=lcms2
13102 if ${LCMS2_PE_CFLAGS:+false} :
13103 then :
13104 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13105 else $as_nop
13106 enable_lcms2=no
13108 else $as_nop
13109 enable_lcms2=no
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13114 if ${LDAP_PE_LIBS:+false} :
13115 then :
13116 LDAP_PE_LIBS=ldap
13117 if ${LDAP_PE_CFLAGS:+false} :
13118 then :
13119 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13120 else $as_nop
13121 enable_ldap=no
13123 else $as_nop
13124 enable_ldap=no
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13129 if ${MPG123_PE_LIBS:+false} :
13130 then :
13131 MPG123_PE_LIBS=mpg123
13132 if ${MPG123_PE_CFLAGS:+false} :
13133 then :
13134 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13135 else $as_nop
13136 enable_mpg123=no
13138 else $as_nop
13139 enable_mpg123=no
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13144 if ${PNG_PE_LIBS:+false} :
13145 then :
13146 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13147 if ${PNG_PE_CFLAGS:+false} :
13148 then :
13149 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13150 else $as_nop
13151 enable_png=no
13153 else $as_nop
13154 enable_png=no
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13159 if ${TIFF_PE_LIBS:+false} :
13160 then :
13161 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13162 if ${TIFF_PE_CFLAGS:+false} :
13163 then :
13164 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13165 else $as_nop
13166 enable_tiff=no
13168 else $as_nop
13169 enable_tiff=no
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13174 if ${VKD3D_PE_LIBS:+false} :
13175 then :
13176 VKD3D_PE_LIBS=vkd3d
13177 if ${VKD3D_PE_CFLAGS:+false} :
13178 then :
13179 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13180 else $as_nop
13181 enable_vkd3d=no
13183 else $as_nop
13184 enable_vkd3d=no
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13189 if ${XML2_PE_LIBS:+false} :
13190 then :
13191 XML2_PE_LIBS=xml2
13192 if ${XML2_PE_CFLAGS:+false} :
13193 then :
13194 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13195 else $as_nop
13196 enable_xml2=no
13198 else $as_nop
13199 enable_xml2=no
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13204 if ${XSLT_PE_LIBS:+false} :
13205 then :
13206 XSLT_PE_LIBS=xslt
13207 if ${XSLT_PE_CFLAGS:+false} :
13208 then :
13209 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13210 else $as_nop
13211 enable_xslt=no
13213 else $as_nop
13214 enable_xslt=no
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13219 if ${ZLIB_PE_LIBS:+false} :
13220 then :
13221 ZLIB_PE_LIBS=z
13222 if ${ZLIB_PE_CFLAGS:+false} :
13223 then :
13224 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13225 else $as_nop
13226 enable_zlib=no
13228 else $as_nop
13229 enable_zlib=no
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13234 if ${ZYDIS_PE_LIBS:+false} :
13235 then :
13236 ZYDIS_PE_LIBS=zydis
13237 if ${ZYDIS_PE_CFLAGS:+false} :
13238 then :
13239 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13240 else $as_nop
13241 enable_zydis=no
13243 else $as_nop
13244 enable_zydis=no
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13251 if test "$ac_cv_header_pthread_h" = "yes"
13252 then
13253 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13254 if test "x$ac_cv_func_pthread_create" = xyes
13255 then :
13257 else $as_nop
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13259 printf %s "checking for pthread_create in -lpthread... " >&6; }
13260 if test ${ac_cv_lib_pthread_pthread_create+y}
13261 then :
13262 printf %s "(cached) " >&6
13263 else $as_nop
13264 ac_check_lib_save_LIBS=$LIBS
13265 LIBS="-lpthread $LIBS"
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 /* Override any GCC internal prototype to avoid an error.
13270 Use char because int might match the return type of a GCC
13271 builtin and then its argument prototype would still apply. */
13272 char pthread_create ();
13274 main (void)
13276 return pthread_create ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"
13282 then :
13283 ac_cv_lib_pthread_pthread_create=yes
13284 else $as_nop
13285 ac_cv_lib_pthread_pthread_create=no
13287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_lib_save_LIBS
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13292 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13293 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13294 then :
13295 PTHREAD_LIBS="-lpthread"
13302 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13303 then :
13304 case "x$with_pthread" in
13305 xno) ;;
13306 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13307 Wine cannot support threads without libpthread.
13308 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13309 esac
13314 ac_ext=c
13315 ac_cpp='$CPP $CPPFLAGS'
13316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13320 printf %s "checking how to run the C preprocessor... " >&6; }
13321 # On Suns, sometimes $CPP names a directory.
13322 if test -n "$CPP" && test -d "$CPP"; then
13323 CPP=
13325 if test -z "$CPP"; then
13326 if test ${ac_cv_prog_CPP+y}
13327 then :
13328 printf %s "(cached) " >&6
13329 else $as_nop
13330 # Double quotes because $CC needs to be expanded
13331 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13333 ac_preproc_ok=false
13334 for ac_c_preproc_warn_flag in '' yes
13336 # Use a header file that comes with gcc, so configuring glibc
13337 # with a fresh cross-compiler works.
13338 # On the NeXT, cc -E runs the code through the compiler's parser,
13339 # not just through cpp. "Syntax error" is here to catch this case.
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13342 #include <limits.h>
13343 Syntax error
13344 _ACEOF
13345 if ac_fn_c_try_cpp "$LINENO"
13346 then :
13348 else $as_nop
13349 # Broken: fails on valid input.
13350 continue
13352 rm -f conftest.err conftest.i conftest.$ac_ext
13354 # OK, works on sane cases. Now check whether nonexistent headers
13355 # can be detected and how.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <ac_nonexistent.h>
13359 _ACEOF
13360 if ac_fn_c_try_cpp "$LINENO"
13361 then :
13362 # Broken: success on invalid input.
13363 continue
13364 else $as_nop
13365 # Passes both tests.
13366 ac_preproc_ok=:
13367 break
13369 rm -f conftest.err conftest.i conftest.$ac_ext
13371 done
13372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13373 rm -f conftest.i conftest.err conftest.$ac_ext
13374 if $ac_preproc_ok
13375 then :
13376 break
13379 done
13380 ac_cv_prog_CPP=$CPP
13383 CPP=$ac_cv_prog_CPP
13384 else
13385 ac_cv_prog_CPP=$CPP
13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13388 printf "%s\n" "$CPP" >&6; }
13389 ac_preproc_ok=false
13390 for ac_c_preproc_warn_flag in '' yes
13392 # Use a header file that comes with gcc, so configuring glibc
13393 # with a fresh cross-compiler works.
13394 # On the NeXT, cc -E runs the code through the compiler's parser,
13395 # not just through cpp. "Syntax error" is here to catch this case.
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13398 #include <limits.h>
13399 Syntax error
13400 _ACEOF
13401 if ac_fn_c_try_cpp "$LINENO"
13402 then :
13404 else $as_nop
13405 # Broken: fails on valid input.
13406 continue
13408 rm -f conftest.err conftest.i conftest.$ac_ext
13410 # OK, works on sane cases. Now check whether nonexistent headers
13411 # can be detected and how.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <ac_nonexistent.h>
13415 _ACEOF
13416 if ac_fn_c_try_cpp "$LINENO"
13417 then :
13418 # Broken: success on invalid input.
13419 continue
13420 else $as_nop
13421 # Passes both tests.
13422 ac_preproc_ok=:
13423 break
13425 rm -f conftest.err conftest.i conftest.$ac_ext
13427 done
13428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13429 rm -f conftest.i conftest.err conftest.$ac_ext
13430 if $ac_preproc_ok
13431 then :
13433 else $as_nop
13434 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13435 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13436 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13437 See \`config.log' for more details" "$LINENO" 5; }
13440 ac_ext=c
13441 ac_cpp='$CPP $CPPFLAGS'
13442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13448 printf %s "checking for X... " >&6; }
13451 # Check whether --with-x was given.
13452 if test ${with_x+y}
13453 then :
13454 withval=$with_x;
13457 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13458 if test "x$with_x" = xno; then
13459 # The user explicitly disabled X.
13460 have_x=disabled
13461 else
13462 case $x_includes,$x_libraries in #(
13463 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13464 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13465 then :
13466 printf %s "(cached) " >&6
13467 else $as_nop
13468 # One or both of the vars are not set, and there is no cached value.
13469 ac_x_includes=no
13470 ac_x_libraries=no
13471 # Do we need to do anything special at all?
13472 ac_save_LIBS=$LIBS
13473 LIBS="-lX11 $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <X11/Xlib.h>
13478 main (void)
13480 XrmInitialize ()
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"
13486 then :
13487 # We can compile and link X programs with no special options.
13488 ac_x_includes=
13489 ac_x_libraries=
13491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS="$ac_save_LIBS"
13494 # If that didn't work, only try xmkmf and file system searches
13495 # for native compilation.
13496 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13497 then :
13498 rm -f -r conftest.dir
13499 if mkdir conftest.dir; then
13500 cd conftest.dir
13501 cat >Imakefile <<'_ACEOF'
13502 incroot:
13503 @echo incroot='${INCROOT}'
13504 usrlibdir:
13505 @echo usrlibdir='${USRLIBDIR}'
13506 libdir:
13507 @echo libdir='${LIBDIR}'
13508 _ACEOF
13509 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13510 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13511 for ac_var in incroot usrlibdir libdir; do
13512 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13513 done
13514 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13515 for ac_extension in a so sl dylib la dll; do
13516 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13517 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13518 ac_im_usrlibdir=$ac_im_libdir; break
13520 done
13521 # Screen out bogus values from the imake configuration. They are
13522 # bogus both because they are the default anyway, and because
13523 # using them would break gcc on systems where it needs fixed includes.
13524 case $ac_im_incroot in
13525 /usr/include) ac_x_includes= ;;
13526 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13527 esac
13528 case $ac_im_usrlibdir in
13529 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13530 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13531 esac
13533 cd ..
13534 rm -f -r conftest.dir
13537 # Standard set of common directories for X headers.
13538 # Check X11 before X11Rn because it is often a symlink to the current release.
13539 ac_x_header_dirs='
13540 /usr/X11/include
13541 /usr/X11R7/include
13542 /usr/X11R6/include
13543 /usr/X11R5/include
13544 /usr/X11R4/include
13546 /usr/include/X11
13547 /usr/include/X11R7
13548 /usr/include/X11R6
13549 /usr/include/X11R5
13550 /usr/include/X11R4
13552 /usr/local/X11/include
13553 /usr/local/X11R7/include
13554 /usr/local/X11R6/include
13555 /usr/local/X11R5/include
13556 /usr/local/X11R4/include
13558 /usr/local/include/X11
13559 /usr/local/include/X11R7
13560 /usr/local/include/X11R6
13561 /usr/local/include/X11R5
13562 /usr/local/include/X11R4
13564 /opt/X11/include
13566 /usr/X386/include
13567 /usr/x386/include
13568 /usr/XFree86/include/X11
13570 /usr/include
13571 /usr/local/include
13572 /usr/unsupported/include
13573 /usr/athena/include
13574 /usr/local/x11r5/include
13575 /usr/lpp/Xamples/include
13577 /usr/openwin/include
13578 /usr/openwin/share/include'
13580 if test "$ac_x_includes" = no; then
13581 # Guess where to find include files, by looking for Xlib.h.
13582 # First, try using that file with no special directory specified.
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <X11/Xlib.h>
13586 _ACEOF
13587 if ac_fn_c_try_cpp "$LINENO"
13588 then :
13589 # We can compile using X headers with no special include directory.
13590 ac_x_includes=
13591 else $as_nop
13592 for ac_dir in $ac_x_header_dirs; do
13593 if test -r "$ac_dir/X11/Xlib.h"; then
13594 ac_x_includes=$ac_dir
13595 break
13597 done
13599 rm -f conftest.err conftest.i conftest.$ac_ext
13600 fi # $ac_x_includes = no
13602 if test "$ac_x_libraries" = no; then
13603 # Check for the libraries.
13604 # See if we find them without any special options.
13605 # Don't add to $LIBS permanently.
13606 ac_save_LIBS=$LIBS
13607 LIBS="-lX11 $LIBS"
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 #include <X11/Xlib.h>
13612 main (void)
13614 XrmInitialize ()
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"
13620 then :
13621 LIBS=$ac_save_LIBS
13622 # We can link X programs with no special library path.
13623 ac_x_libraries=
13624 else $as_nop
13625 LIBS=$ac_save_LIBS
13626 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13628 # Don't even attempt the hair of trying to link an X program!
13629 for ac_extension in a so sl dylib la dll; do
13630 if test -r "$ac_dir/libX11.$ac_extension"; then
13631 ac_x_libraries=$ac_dir
13632 break 2
13634 done
13635 done
13637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13638 conftest$ac_exeext conftest.$ac_ext
13639 fi # $ac_x_libraries = no
13642 # Record the results.
13643 case $ac_x_includes,$ac_x_libraries in #(
13644 no,* | *,no | *\'*) :
13645 # Didn't find X, or a directory has "'" in its name.
13646 ac_cv_have_x="have_x=no" ;; #(
13647 *) :
13648 # Record where we found X for the cache.
13649 ac_cv_have_x="have_x=yes\
13650 ac_x_includes='$ac_x_includes'\
13651 ac_x_libraries='$ac_x_libraries'" ;;
13652 esac
13654 ;; #(
13655 *) have_x=yes;;
13656 esac
13657 eval "$ac_cv_have_x"
13658 fi # $with_x != no
13660 if test "$have_x" != yes; then
13661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13662 printf "%s\n" "$have_x" >&6; }
13663 no_x=yes
13664 else
13665 # If each of the values was on the command line, it overrides each guess.
13666 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13667 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13668 # Update the cache value to reflect the command line values.
13669 ac_cv_have_x="have_x=yes\
13670 ac_x_includes='$x_includes'\
13671 ac_x_libraries='$x_libraries'"
13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13673 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13676 if test "$no_x" = yes; then
13677 # Not all programs may use this symbol, but it does not hurt to define it.
13679 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13681 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13682 else
13683 if test -n "$x_includes"; then
13684 X_CFLAGS="$X_CFLAGS -I$x_includes"
13687 # It would also be nice to do this for all -L options, not just this one.
13688 if test -n "$x_libraries"; then
13689 X_LIBS="$X_LIBS -L$x_libraries"
13690 # For Solaris; some versions of Sun CC require a space after -R and
13691 # others require no space. Words are not sufficient . . . .
13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13693 printf %s "checking whether -R must be followed by a space... " >&6; }
13694 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13695 ac_xsave_c_werror_flag=$ac_c_werror_flag
13696 ac_c_werror_flag=yes
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13701 main (void)
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"
13709 then :
13710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 printf "%s\n" "no" >&6; }
13712 X_LIBS="$X_LIBS -R$x_libraries"
13713 else $as_nop
13714 LIBS="$ac_xsave_LIBS -R $x_libraries"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13719 main (void)
13723 return 0;
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"
13727 then :
13728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13729 printf "%s\n" "yes" >&6; }
13730 X_LIBS="$X_LIBS -R $x_libraries"
13731 else $as_nop
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13733 printf "%s\n" "neither works" >&6; }
13735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13736 conftest$ac_exeext conftest.$ac_ext
13738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13739 conftest$ac_exeext conftest.$ac_ext
13740 ac_c_werror_flag=$ac_xsave_c_werror_flag
13741 LIBS=$ac_xsave_LIBS
13744 # Check for system-dependent libraries X programs must link with.
13745 # Do this before checking for the system-independent R6 libraries
13746 # (-lICE), since we may need -lsocket or whatever for X linking.
13748 if test "$ISC" = yes; then
13749 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13750 else
13751 # Martyn Johnson says this is needed for Ultrix, if the X
13752 # libraries were built with DECnet support. And Karl Berry says
13753 # the Alpha needs dnet_stub (dnet does not exist).
13754 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13761 char XOpenDisplay ();
13763 main (void)
13765 return XOpenDisplay ();
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13773 else $as_nop
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13775 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13776 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13777 then :
13778 printf %s "(cached) " >&6
13779 else $as_nop
13780 ac_check_lib_save_LIBS=$LIBS
13781 LIBS="-ldnet $LIBS"
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13785 /* Override any GCC internal prototype to avoid an error.
13786 Use char because int might match the return type of a GCC
13787 builtin and then its argument prototype would still apply. */
13788 char dnet_ntoa ();
13790 main (void)
13792 return dnet_ntoa ();
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"
13798 then :
13799 ac_cv_lib_dnet_dnet_ntoa=yes
13800 else $as_nop
13801 ac_cv_lib_dnet_dnet_ntoa=no
13803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13804 conftest$ac_exeext conftest.$ac_ext
13805 LIBS=$ac_check_lib_save_LIBS
13807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13808 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13809 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13810 then :
13811 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13814 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13816 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13817 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13818 then :
13819 printf %s "(cached) " >&6
13820 else $as_nop
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-ldnet_stub $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 char dnet_ntoa ();
13831 main (void)
13833 return dnet_ntoa ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"
13839 then :
13840 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13841 else $as_nop
13842 ac_cv_lib_dnet_stub_dnet_ntoa=no
13844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13849 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13850 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13851 then :
13852 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS="$ac_xsave_LIBS"
13861 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13862 # to get the SysV transport functions.
13863 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13864 # needs -lnsl.
13865 # The nsl library prevents programs from opening the X display
13866 # on Irix 5.2, according to T.E. Dickey.
13867 # The functions gethostbyname, getservbyname, and inet_addr are
13868 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13869 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13870 if test "x$ac_cv_func_gethostbyname" = xyes
13871 then :
13875 if test $ac_cv_func_gethostbyname = no; then
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13877 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13878 if test ${ac_cv_lib_nsl_gethostbyname+y}
13879 then :
13880 printf %s "(cached) " >&6
13881 else $as_nop
13882 ac_check_lib_save_LIBS=$LIBS
13883 LIBS="-lnsl $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 char gethostbyname ();
13892 main (void)
13894 return gethostbyname ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"
13900 then :
13901 ac_cv_lib_nsl_gethostbyname=yes
13902 else $as_nop
13903 ac_cv_lib_nsl_gethostbyname=no
13905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13910 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13911 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13912 then :
13913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13916 if test $ac_cv_lib_nsl_gethostbyname = no; then
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13918 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13919 if test ${ac_cv_lib_bsd_gethostbyname+y}
13920 then :
13921 printf %s "(cached) " >&6
13922 else $as_nop
13923 ac_check_lib_save_LIBS=$LIBS
13924 LIBS="-lbsd $LIBS"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13931 char gethostbyname ();
13933 main (void)
13935 return gethostbyname ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"
13941 then :
13942 ac_cv_lib_bsd_gethostbyname=yes
13943 else $as_nop
13944 ac_cv_lib_bsd_gethostbyname=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13947 conftest$ac_exeext conftest.$ac_ext
13948 LIBS=$ac_check_lib_save_LIBS
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13951 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13952 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13953 then :
13954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13961 # socket/setsockopt and other routines are undefined under SCO ODT
13962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13963 # on later versions), says Simon Leinen: it contains gethostby*
13964 # variants that don't use the name server (or something). -lsocket
13965 # must be given before -lnsl if both are needed. We assume that
13966 # if connect needs -lnsl, so does gethostbyname.
13967 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13968 if test "x$ac_cv_func_connect" = xyes
13969 then :
13973 if test $ac_cv_func_connect = no; then
13974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13975 printf %s "checking for connect in -lsocket... " >&6; }
13976 if test ${ac_cv_lib_socket_connect+y}
13977 then :
13978 printf %s "(cached) " >&6
13979 else $as_nop
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 char connect ();
13990 main (void)
13992 return connect ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"
13998 then :
13999 ac_cv_lib_socket_connect=yes
14000 else $as_nop
14001 ac_cv_lib_socket_connect=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14008 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14009 if test "x$ac_cv_lib_socket_connect" = xyes
14010 then :
14011 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14016 # Guillermo Gomez says -lposix is necessary on A/UX.
14017 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14018 if test "x$ac_cv_func_remove" = xyes
14019 then :
14023 if test $ac_cv_func_remove = no; then
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14025 printf %s "checking for remove in -lposix... " >&6; }
14026 if test ${ac_cv_lib_posix_remove+y}
14027 then :
14028 printf %s "(cached) " >&6
14029 else $as_nop
14030 ac_check_lib_save_LIBS=$LIBS
14031 LIBS="-lposix $LIBS"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14038 char remove ();
14040 main (void)
14042 return remove ();
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"
14048 then :
14049 ac_cv_lib_posix_remove=yes
14050 else $as_nop
14051 ac_cv_lib_posix_remove=no
14053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14054 conftest$ac_exeext conftest.$ac_ext
14055 LIBS=$ac_check_lib_save_LIBS
14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14058 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14059 if test "x$ac_cv_lib_posix_remove" = xyes
14060 then :
14061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14066 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14067 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14068 if test "x$ac_cv_func_shmat" = xyes
14069 then :
14073 if test $ac_cv_func_shmat = no; then
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14075 printf %s "checking for shmat in -lipc... " >&6; }
14076 if test ${ac_cv_lib_ipc_shmat+y}
14077 then :
14078 printf %s "(cached) " >&6
14079 else $as_nop
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lipc $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 char shmat ();
14090 main (void)
14092 return shmat ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"
14098 then :
14099 ac_cv_lib_ipc_shmat=yes
14100 else $as_nop
14101 ac_cv_lib_ipc_shmat=no
14103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14108 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14109 if test "x$ac_cv_lib_ipc_shmat" = xyes
14110 then :
14111 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14117 # Check for libraries that X11R6 Xt/Xaw programs need.
14118 ac_save_LDFLAGS=$LDFLAGS
14119 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14120 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14121 # check for ICE first), but we must link in the order -lSM -lICE or
14122 # we get undefined symbols. So assume we have SM if we have ICE.
14123 # These have to be linked with before -lX11, unlike the other
14124 # libraries we check for below, so use a different variable.
14125 # John Interrante, Karl Berry
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14127 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14128 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14129 then :
14130 printf %s "(cached) " >&6
14131 else $as_nop
14132 ac_check_lib_save_LIBS=$LIBS
14133 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 /* Override any GCC internal prototype to avoid an error.
14138 Use char because int might match the return type of a GCC
14139 builtin and then its argument prototype would still apply. */
14140 char IceConnectionNumber ();
14142 main (void)
14144 return IceConnectionNumber ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"
14150 then :
14151 ac_cv_lib_ICE_IceConnectionNumber=yes
14152 else $as_nop
14153 ac_cv_lib_ICE_IceConnectionNumber=no
14155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_lib_save_LIBS
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14160 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14161 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14162 then :
14163 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14166 LDFLAGS=$ac_save_LDFLAGS
14171 if test "$have_x" = "yes"
14172 then
14173 ac_save_CPPFLAGS="$CPPFLAGS"
14174 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14177 printf %s "checking for -lX11... " >&6; }
14178 if test ${ac_cv_lib_soname_X11+y}
14179 then :
14180 printf %s "(cached) " >&6
14181 else $as_nop
14182 ac_check_soname_save_LIBS=$LIBS
14183 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 char XCreateWindow ();
14192 main (void)
14194 return XCreateWindow ();
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"
14200 then :
14201 case "$LIBEXT" in
14202 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14203 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'` ;;
14204 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14205 if ${ac_cv_lib_soname_X11:+false} :
14206 then :
14207 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14208 fi ;;
14209 esac
14210 else $as_nop
14211 ac_cv_lib_soname_X11=
14213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_soname_save_LIBS
14217 if ${ac_cv_lib_soname_X11:+false} :
14218 then :
14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14220 printf "%s\n" "not found" >&6; }
14222 else $as_nop
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14224 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14226 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14231 printf %s "checking for -lXext... " >&6; }
14232 if test ${ac_cv_lib_soname_Xext+y}
14233 then :
14234 printf %s "(cached) " >&6
14235 else $as_nop
14236 ac_check_soname_save_LIBS=$LIBS
14237 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 char XextCreateExtension ();
14246 main (void)
14248 return XextCreateExtension ();
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"
14254 then :
14255 case "$LIBEXT" in
14256 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14257 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'` ;;
14258 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14259 if ${ac_cv_lib_soname_Xext:+false} :
14260 then :
14261 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14262 fi ;;
14263 esac
14264 else $as_nop
14265 ac_cv_lib_soname_Xext=
14267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14268 conftest$ac_exeext conftest.$ac_ext
14269 LIBS=$ac_check_soname_save_LIBS
14271 if ${ac_cv_lib_soname_Xext:+false} :
14272 then :
14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14274 printf "%s\n" "not found" >&6; }
14276 else $as_nop
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14278 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14280 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14282 X_LIBS="$X_LIBS -lXext"
14284 X_LIBS="$X_LIBS -lX11"
14286 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14287 # include <X11/Xlib.h>
14288 #endif
14289 #ifdef HAVE_X11_XUTIL_H
14290 # include <X11/Xutil.h>
14291 #endif
14293 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14294 then :
14295 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14298 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14299 # include <X11/Xlib.h>
14300 #endif
14301 #ifdef HAVE_X11_XUTIL_H
14302 # include <X11/Xutil.h>
14303 #endif
14305 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14306 then :
14307 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14310 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14311 # include <X11/Xlib.h>
14312 #endif
14313 #ifdef HAVE_X11_XUTIL_H
14314 # include <X11/Xutil.h>
14315 #endif
14317 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14318 then :
14319 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14322 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14323 # include <X11/Xlib.h>
14324 #endif
14325 #ifdef HAVE_X11_XUTIL_H
14326 # include <X11/Xutil.h>
14327 #endif
14329 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14330 then :
14331 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14334 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14335 # include <X11/Xlib.h>
14336 #endif
14337 #ifdef HAVE_X11_XUTIL_H
14338 # include <X11/Xutil.h>
14339 #endif
14341 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14342 then :
14343 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14346 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14347 # include <X11/Xlib.h>
14348 #endif
14349 #ifdef HAVE_X11_XUTIL_H
14350 # include <X11/Xutil.h>
14351 #endif
14353 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14354 then :
14355 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14358 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14360 #endif
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14363 #endif
14365 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14366 then :
14367 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14372 #endif
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14375 #endif
14377 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14378 then :
14379 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14384 #endif
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14387 #endif
14389 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14390 then :
14391 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14396 #endif
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14399 #endif
14401 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14402 then :
14403 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14408 #endif
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14411 #endif
14413 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14414 then :
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14420 #endif
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14423 #endif
14425 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14426 then :
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14432 #endif
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14435 #endif
14437 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14438 then :
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14444 #endif
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14447 #endif
14449 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14450 then :
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14456 #endif
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14459 #endif
14461 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14462 then :
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14468 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14469 then
14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14471 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14472 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14473 then :
14474 printf %s "(cached) " >&6
14475 else $as_nop
14476 ac_check_lib_save_LIBS=$LIBS
14477 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 char XkbQueryExtension ();
14486 main (void)
14488 return XkbQueryExtension ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"
14494 then :
14495 ac_cv_lib_X11_XkbQueryExtension=yes
14496 else $as_nop
14497 ac_cv_lib_X11_XkbQueryExtension=no
14499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14504 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14505 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14506 then :
14508 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14514 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14515 then
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14517 printf %s "checking for -lXcursor... " >&6; }
14518 if test ${ac_cv_lib_soname_Xcursor+y}
14519 then :
14520 printf %s "(cached) " >&6
14521 else $as_nop
14522 ac_check_soname_save_LIBS=$LIBS
14523 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 char XcursorImageLoadCursor ();
14532 main (void)
14534 return XcursorImageLoadCursor ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"
14540 then :
14541 case "$LIBEXT" in
14542 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14543 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'` ;;
14544 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14545 if ${ac_cv_lib_soname_Xcursor:+false} :
14546 then :
14547 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14548 fi ;;
14549 esac
14550 else $as_nop
14551 ac_cv_lib_soname_Xcursor=
14553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14554 conftest$ac_exeext conftest.$ac_ext
14555 LIBS=$ac_check_soname_save_LIBS
14557 if ${ac_cv_lib_soname_Xcursor:+false} :
14558 then :
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14560 printf "%s\n" "not found" >&6; }
14562 else $as_nop
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14564 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14566 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14571 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14572 then :
14573 case "x$with_xcursor" in
14574 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14575 xno) ;;
14576 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14577 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14578 esac
14582 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14583 then
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14585 printf %s "checking for -lXi... " >&6; }
14586 if test ${ac_cv_lib_soname_Xi+y}
14587 then :
14588 printf %s "(cached) " >&6
14589 else $as_nop
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 char XOpenDevice ();
14600 main (void)
14602 return XOpenDevice ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"
14608 then :
14609 case "$LIBEXT" in
14610 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14611 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'` ;;
14612 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14613 if ${ac_cv_lib_soname_Xi:+false} :
14614 then :
14615 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 fi ;;
14617 esac
14618 else $as_nop
14619 ac_cv_lib_soname_Xi=
14621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_soname_save_LIBS
14625 if ${ac_cv_lib_soname_Xi:+false} :
14626 then :
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14628 printf "%s\n" "not found" >&6; }
14630 else $as_nop
14631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14632 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14634 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14639 if test "x$ac_cv_lib_soname_Xi" = "x"
14640 then :
14641 case "x$with_xinput" in
14642 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14643 xno) ;;
14644 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14645 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14646 esac
14650 if test "x$ac_cv_lib_soname_Xi" != x
14651 then
14652 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14653 then :
14654 case "x$with_xinput2" in
14655 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14656 xno) ;;
14657 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14659 esac
14664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14665 then
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14667 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14668 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14669 then :
14670 printf %s "(cached) " >&6
14671 else $as_nop
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char XShmQueryExtension ();
14682 main (void)
14684 return XShmQueryExtension ();
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"
14690 then :
14691 ac_cv_lib_Xext_XShmQueryExtension=yes
14692 else $as_nop
14693 ac_cv_lib_Xext_XShmQueryExtension=no
14695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14700 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14702 then :
14704 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14710 then :
14711 case "x$with_xshm" in
14712 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14716 esac
14720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14721 then
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14723 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14725 then :
14726 printf %s "(cached) " >&6
14727 else $as_nop
14728 ac_check_lib_save_LIBS=$LIBS
14729 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShapeQueryExtension ();
14738 main (void)
14740 return XShapeQueryExtension ();
14742 return 0;
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"
14746 then :
14747 ac_cv_lib_Xext_XShapeQueryExtension=yes
14748 else $as_nop
14749 ac_cv_lib_Xext_XShapeQueryExtension=no
14751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14752 conftest$ac_exeext conftest.$ac_ext
14753 LIBS=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14758 then :
14760 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14766 then :
14767 case "x$with_xshape" in
14768 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14769 xno) ;;
14770 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14772 esac
14776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14777 then
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14779 printf %s "checking for -lXxf86vm... " >&6; }
14780 if test ${ac_cv_lib_soname_Xxf86vm+y}
14781 then :
14782 printf %s "(cached) " >&6
14783 else $as_nop
14784 ac_check_soname_save_LIBS=$LIBS
14785 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XF86VidModeQueryExtension ();
14794 main (void)
14796 return XF86VidModeQueryExtension ();
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"
14802 then :
14803 case "$LIBEXT" in
14804 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14808 then :
14809 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14810 fi ;;
14811 esac
14812 else $as_nop
14813 ac_cv_lib_soname_Xxf86vm=
14815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14820 then :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14824 else $as_nop
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14834 then :
14835 case "x$with_xxf86vm" in
14836 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14837 xno) ;;
14838 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14840 esac
14844 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14845 then
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14847 printf %s "checking for -lXrender... " >&6; }
14848 if test ${ac_cv_lib_soname_Xrender+y}
14849 then :
14850 printf %s "(cached) " >&6
14851 else $as_nop
14852 ac_check_soname_save_LIBS=$LIBS
14853 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 char XRenderQueryExtension ();
14862 main (void)
14864 return XRenderQueryExtension ();
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"
14870 then :
14871 case "$LIBEXT" in
14872 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14873 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'` ;;
14874 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14875 if ${ac_cv_lib_soname_Xrender:+false} :
14876 then :
14877 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14878 fi ;;
14879 esac
14880 else $as_nop
14881 ac_cv_lib_soname_Xrender=
14883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14884 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_check_soname_save_LIBS
14887 if ${ac_cv_lib_soname_Xrender:+false} :
14888 then :
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14890 printf "%s\n" "not found" >&6; }
14892 else $as_nop
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14894 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14896 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14899 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14900 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRenderSetPictureTransform ();
14914 main (void)
14916 return XRenderSetPictureTransform ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14924 else $as_nop
14925 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14928 conftest$ac_exeext conftest.$ac_ext
14929 LIBS=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14932 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14933 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14934 then :
14936 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14941 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14942 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14943 then :
14944 printf %s "(cached) " >&6
14945 else $as_nop
14946 ac_check_lib_save_LIBS=$LIBS
14947 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14954 char XRenderCreateLinearGradient ();
14956 main (void)
14958 return XRenderCreateLinearGradient ();
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"
14964 then :
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14966 else $as_nop
14967 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_lib_save_LIBS
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14974 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14975 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14976 then :
14978 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14985 if test "x$ac_cv_lib_soname_Xrender" = "x"
14986 then :
14987 case "x$with_xrender" in
14988 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14989 xno) ;;
14990 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14991 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14992 esac
14996 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14997 then
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #include <X11/Xlib.h>
15001 #include <X11/extensions/Xrandr.h>
15003 main (void)
15005 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_compile "$LINENO"
15011 then :
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15013 printf %s "checking for -lXrandr... " >&6; }
15014 if test ${ac_cv_lib_soname_Xrandr+y}
15015 then :
15016 printf %s "(cached) " >&6
15017 else $as_nop
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15026 char XRRQueryExtension ();
15028 main (void)
15030 return XRRQueryExtension ();
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"
15036 then :
15037 case "$LIBEXT" in
15038 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15039 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'` ;;
15040 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15041 if ${ac_cv_lib_soname_Xrandr:+false} :
15042 then :
15043 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15044 fi ;;
15045 esac
15046 else $as_nop
15047 ac_cv_lib_soname_Xrandr=
15049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_soname_save_LIBS
15053 if ${ac_cv_lib_soname_Xrandr:+false} :
15054 then :
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15056 printf "%s\n" "not found" >&6; }
15058 else $as_nop
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15060 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15062 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 #include <X11/Xlib.h>
15067 #include <X11/extensions/Xrandr.h>
15069 main (void)
15071 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_compile "$LINENO"
15077 then :
15079 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15081 else $as_nop
15082 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15089 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15090 then :
15091 case "x$with_xrandr" in
15092 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15093 xno) ;;
15094 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15095 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15096 esac
15100 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15101 then
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #include <X11/Xlib.h>
15105 #include <X11/extensions/Xfixes.h>
15107 main (void)
15109 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"
15115 then :
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15117 printf %s "checking for -lXfixes... " >&6; }
15118 if test ${ac_cv_lib_soname_Xfixes+y}
15119 then :
15120 printf %s "(cached) " >&6
15121 else $as_nop
15122 ac_check_soname_save_LIBS=$LIBS
15123 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XFixesQueryVersion ();
15132 main (void)
15134 return XFixesQueryVersion ();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"
15140 then :
15141 case "$LIBEXT" in
15142 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15143 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'` ;;
15144 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15145 if ${ac_cv_lib_soname_Xfixes:+false} :
15146 then :
15147 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15148 fi ;;
15149 esac
15150 else $as_nop
15151 ac_cv_lib_soname_Xfixes=
15153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LIBS=$ac_check_soname_save_LIBS
15157 if ${ac_cv_lib_soname_Xfixes:+false} :
15158 then :
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 printf "%s\n" "not found" >&6; }
15162 else $as_nop
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15164 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15166 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15173 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15174 then :
15175 case "x$with_xfixes" in
15176 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15177 xno) ;;
15178 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15179 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15180 esac
15184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15185 then
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xinerama.h>
15191 main (void)
15193 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_compile "$LINENO"
15199 then :
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15201 printf %s "checking for -lXinerama... " >&6; }
15202 if test ${ac_cv_lib_soname_Xinerama+y}
15203 then :
15204 printf %s "(cached) " >&6
15205 else $as_nop
15206 ac_check_soname_save_LIBS=$LIBS
15207 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15214 char XineramaQueryScreens ();
15216 main (void)
15218 return XineramaQueryScreens ();
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"
15224 then :
15225 case "$LIBEXT" in
15226 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 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'` ;;
15228 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_Xinerama:+false} :
15230 then :
15231 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15232 fi ;;
15233 esac
15234 else $as_nop
15235 ac_cv_lib_soname_Xinerama=
15237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_Xinerama:+false} :
15242 then :
15243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15244 printf "%s\n" "not found" >&6; }
15246 else $as_nop
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15248 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15250 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15257 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15258 then :
15259 case "x$with_xinerama" in
15260 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15263 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15269 then
15270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15271 printf %s "checking for -lXcomposite... " >&6; }
15272 if test ${ac_cv_lib_soname_Xcomposite+y}
15273 then :
15274 printf %s "(cached) " >&6
15275 else $as_nop
15276 ac_check_soname_save_LIBS=$LIBS
15277 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 char XCompositeRedirectWindow ();
15286 main (void)
15288 return XCompositeRedirectWindow ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"
15294 then :
15295 case "$LIBEXT" in
15296 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15297 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'` ;;
15298 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15299 if ${ac_cv_lib_soname_Xcomposite:+false} :
15300 then :
15301 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15302 fi ;;
15303 esac
15304 else $as_nop
15305 ac_cv_lib_soname_Xcomposite=
15307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_Xcomposite:+false} :
15312 then :
15313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15314 printf "%s\n" "not found" >&6; }
15316 else $as_nop
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15318 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15320 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15325 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15326 then :
15327 case "x$with_xcomposite" in
15328 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15329 xno) ;;
15330 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15331 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15332 esac
15336 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15337 #include <X11/Xlib.h>
15338 #endif
15340 if test "x$ac_cv_member_XICCallback_callback" = xyes
15341 then :
15343 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15347 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15348 #include <X11/Xlib.h>
15349 #endif
15351 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15352 then :
15354 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15361 opengl_msg=""
15362 if test "x$with_opengl" != "xno"
15363 then
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15365 printf %s "checking for -lGL... " >&6; }
15366 if test ${ac_cv_lib_soname_GL+y}
15367 then :
15368 printf %s "(cached) " >&6
15369 else $as_nop
15370 ac_check_soname_save_LIBS=$LIBS
15371 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 /* Override any GCC internal prototype to avoid an error.
15376 Use char because int might match the return type of a GCC
15377 builtin and then its argument prototype would still apply. */
15378 char glXCreateContext ();
15380 main (void)
15382 return glXCreateContext ();
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"
15388 then :
15389 case "$LIBEXT" in
15390 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15391 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'` ;;
15392 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15393 if ${ac_cv_lib_soname_GL:+false} :
15394 then :
15395 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15396 fi ;;
15397 esac
15398 else $as_nop
15399 ac_cv_lib_soname_GL=
15401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_soname_save_LIBS
15405 if ${ac_cv_lib_soname_GL:+false} :
15406 then :
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15408 printf "%s\n" "not found" >&6; }
15409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15410 printf %s "checking for -lGL... " >&6; }
15411 if test ${ac_cv_lib_soname_GL+y}
15412 then :
15413 printf %s "(cached) " >&6
15414 else $as_nop
15415 ac_check_soname_save_LIBS=$LIBS
15416 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"
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15423 char glXCreateContext ();
15425 main (void)
15427 return glXCreateContext ();
15429 return 0;
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"
15433 then :
15434 case "$LIBEXT" in
15435 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15436 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'` ;;
15437 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15438 if ${ac_cv_lib_soname_GL:+false} :
15439 then :
15440 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15441 fi ;;
15442 esac
15443 else $as_nop
15444 ac_cv_lib_soname_GL=
15446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15447 conftest$ac_exeext conftest.$ac_ext
15448 LIBS=$ac_check_soname_save_LIBS
15450 if ${ac_cv_lib_soname_GL:+false} :
15451 then :
15452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15453 printf "%s\n" "not found" >&6; }
15454 if test -f /usr/X11R6/lib/libGL.a
15455 then
15456 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15457 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15458 else
15459 opengl_msg="No OpenGL library found on this system."
15461 else $as_nop
15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15463 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15465 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15467 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"
15469 else $as_nop
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15471 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15473 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15475 OPENGL_LIBS="-lGL"
15477 if test "x$with_osmesa" != "xno"
15478 then
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15480 printf %s "checking for -lOSMesa... " >&6; }
15481 if test ${ac_cv_lib_soname_OSMesa+y}
15482 then :
15483 printf %s "(cached) " >&6
15484 else $as_nop
15485 ac_check_soname_save_LIBS=$LIBS
15486 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char OSMesaGetProcAddress ();
15495 main (void)
15497 return OSMesaGetProcAddress ();
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"
15503 then :
15504 case "$LIBEXT" in
15505 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15506 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'` ;;
15507 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15508 if ${ac_cv_lib_soname_OSMesa:+false} :
15509 then :
15510 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15511 fi ;;
15512 esac
15513 else $as_nop
15514 ac_cv_lib_soname_OSMesa=
15516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_soname_save_LIBS
15520 if ${ac_cv_lib_soname_OSMesa:+false} :
15521 then :
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15523 printf "%s\n" "not found" >&6; }
15525 else $as_nop
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15529 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15533 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15534 then :
15535 case "x$with_osmesa" in
15536 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15537 xno) ;;
15538 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15539 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15540 esac
15545 if test -n "$opengl_msg"
15546 then :
15547 case "x$with_opengl" in
15548 x) as_fn_append wine_warnings "|$opengl_msg
15549 OpenGL and Direct3D won't be supported." ;;
15550 xno) ;;
15551 *) as_fn_error $? "$opengl_msg
15552 OpenGL and Direct3D won't be supported.
15553 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15554 esac
15558 CPPFLAGS="$ac_save_CPPFLAGS"
15559 else
15560 X_CFLAGS=""
15561 X_LIBS=""
15564 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15565 then
15566 if test "x$X_LIBS" = "x"
15567 then :
15568 case "x$with_x" in
15569 xno) ;;
15570 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15571 without X support, which probably isn't what you want. You will need
15572 to install ${notice_platform}development packages of Xlib at the very least.
15573 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15574 esac
15575 enable_winex11_drv=${enable_winex11_drv:-no}
15577 else
15578 if test "x$X_LIBS" = "x"
15579 then :
15580 case "x$with_x" in
15581 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15582 xno) ;;
15583 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15584 This is an error since --with-x was requested." "$LINENO" 5 ;;
15585 esac
15586 enable_winex11_drv=${enable_winex11_drv:-no}
15590 if test "$ac_cv_header_CL_cl_h" = "yes"
15591 then
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15593 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15594 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15595 then :
15596 printf %s "(cached) " >&6
15597 else $as_nop
15598 ac_check_lib_save_LIBS=$LIBS
15599 LIBS="-lOpenCL $LIBS"
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15603 /* Override any GCC internal prototype to avoid an error.
15604 Use char because int might match the return type of a GCC
15605 builtin and then its argument prototype would still apply. */
15606 char clGetPlatformInfo ();
15608 main (void)
15610 return clGetPlatformInfo ();
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_link "$LINENO"
15616 then :
15617 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15618 else $as_nop
15619 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_lib_save_LIBS
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15626 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15627 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15628 then :
15629 OPENCL_LIBS="-lOpenCL"
15634 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15635 then :
15636 case "x$with_opencl" in
15637 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15638 xno) ;;
15639 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15640 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15641 esac
15642 enable_opencl=${enable_opencl:-no}
15645 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15646 then
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15648 printf %s "checking for pcap_init in -lpcap... " >&6; }
15649 if test ${ac_cv_lib_pcap_pcap_init+y}
15650 then :
15651 printf %s "(cached) " >&6
15652 else $as_nop
15653 ac_check_lib_save_LIBS=$LIBS
15654 LIBS="-lpcap $LIBS"
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 /* Override any GCC internal prototype to avoid an error.
15659 Use char because int might match the return type of a GCC
15660 builtin and then its argument prototype would still apply. */
15661 char pcap_init ();
15663 main (void)
15665 return pcap_init ();
15667 return 0;
15669 _ACEOF
15670 if ac_fn_c_try_link "$LINENO"
15671 then :
15672 ac_cv_lib_pcap_pcap_init=yes
15673 else $as_nop
15674 ac_cv_lib_pcap_pcap_init=no
15676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_check_lib_save_LIBS
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15681 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15682 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15683 then :
15684 PCAP_LIBS="-lpcap"
15689 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15690 then :
15691 case "x$with_pcap" in
15692 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15693 xno) ;;
15694 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15695 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15696 esac
15697 enable_wpcap=${enable_wpcap:-no}
15700 if test "x$with_pcsclite" != "xno"
15701 then
15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15703 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15704 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15705 then :
15706 printf %s "(cached) " >&6
15707 else $as_nop
15708 ac_check_lib_save_LIBS=$LIBS
15709 LIBS="-lpcsclite $LIBS"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 char SCardEstablishContext ();
15718 main (void)
15720 return SCardEstablishContext ();
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"
15726 then :
15727 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15728 else $as_nop
15729 ac_cv_lib_pcsclite_SCardEstablishContext=no
15731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15732 conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_lib_save_LIBS
15735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15736 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15737 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15738 then :
15739 PCSCLITE_LIBS="-lpcsclite"
15744 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15745 then :
15746 case "x$with_pcsclite" in
15747 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15748 xno) ;;
15749 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15750 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15751 esac
15752 enable_winscard=${enable_winscard:-no}
15755 if test "x$with_inotify" != "xno"
15756 then
15757 rm -f conftest.err
15758 if ${INOTIFY_CFLAGS:+false} :
15759 then :
15760 if test ${PKG_CONFIG+y}
15761 then :
15762 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15766 if ${INOTIFY_LIBS:+false} :
15767 then :
15768 if test ${PKG_CONFIG+y}
15769 then :
15770 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15777 if test -s conftest.err; then
15778 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15779 cat conftest.err >&5
15781 rm -f conftest.err
15782 ac_save_CPPFLAGS=$CPPFLAGS
15783 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15784 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15785 if test "x$ac_cv_header_sys_inotify_h" = xyes
15786 then :
15787 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15792 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15793 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15794 then :
15795 printf %s "(cached) " >&6
15796 else $as_nop
15797 ac_check_lib_save_LIBS=$LIBS
15798 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15802 /* Override any GCC internal prototype to avoid an error.
15803 Use char because int might match the return type of a GCC
15804 builtin and then its argument prototype would still apply. */
15805 char inotify_add_watch ();
15807 main (void)
15809 return inotify_add_watch ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"
15815 then :
15816 ac_cv_lib_inotify_inotify_add_watch=yes
15817 else $as_nop
15818 ac_cv_lib_inotify_inotify_add_watch=no
15820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15821 conftest$ac_exeext conftest.$ac_ext
15822 LIBS=$ac_check_lib_save_LIBS
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15825 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15826 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15827 then :
15829 else $as_nop
15830 INOTIFY_LIBS=""
15833 CPPFLAGS=$ac_save_CPPFLAGS
15836 if test "$ac_cv_header_sys_inotify_h" != "yes"
15837 then :
15838 case "x$with_inotify" in
15839 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15840 xno) ;;
15841 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15842 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15843 esac
15847 if test "x$with_dbus" != "xno"
15848 then
15849 rm -f conftest.err
15850 if ${DBUS_CFLAGS:+false} :
15851 then :
15852 if test ${PKG_CONFIG+y}
15853 then :
15854 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15858 if ${DBUS_LIBS:+false} :
15859 then :
15860 if test ${PKG_CONFIG+y}
15861 then :
15862 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15869 if test -s conftest.err; then
15870 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15871 cat conftest.err >&5
15873 rm -f conftest.err
15874 ac_save_CPPFLAGS=$CPPFLAGS
15875 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15876 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15877 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15878 then :
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15880 printf %s "checking for -ldbus-1... " >&6; }
15881 if test ${ac_cv_lib_soname_dbus_1+y}
15882 then :
15883 printf %s "(cached) " >&6
15884 else $as_nop
15885 ac_check_soname_save_LIBS=$LIBS
15886 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 char dbus_connection_close ();
15895 main (void)
15897 return dbus_connection_close ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"
15903 then :
15904 case "$LIBEXT" in
15905 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15906 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'` ;;
15907 *) 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'`
15908 if ${ac_cv_lib_soname_dbus_1:+false} :
15909 then :
15910 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15911 fi ;;
15912 esac
15913 else $as_nop
15914 ac_cv_lib_soname_dbus_1=
15916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LIBS=$ac_check_soname_save_LIBS
15920 if ${ac_cv_lib_soname_dbus_1:+false} :
15921 then :
15922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15923 printf "%s\n" "not found" >&6; }
15924 DBUS_CFLAGS=""
15925 else $as_nop
15926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15927 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15929 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15933 else $as_nop
15934 DBUS_CFLAGS=""
15937 CPPFLAGS=$ac_save_CPPFLAGS
15940 case $host_os in
15941 darwin*|macosx*) ;;
15942 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15943 then :
15944 case "x$with_dbus" in
15945 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15946 xno) ;;
15947 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15948 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15949 esac
15951 fi ;;
15952 esac
15954 if test "x$with_gnutls" != "xno"
15955 then
15956 rm -f conftest.err
15957 if ${GNUTLS_CFLAGS:+false} :
15958 then :
15959 if test ${PKG_CONFIG+y}
15960 then :
15961 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15965 if ${GNUTLS_LIBS:+false} :
15966 then :
15967 if test ${PKG_CONFIG+y}
15968 then :
15969 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15973 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15976 if test -s conftest.err; then
15977 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15978 cat conftest.err >&5
15980 rm -f conftest.err
15981 ac_save_CPPFLAGS=$CPPFLAGS
15982 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15983 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15984 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15985 then :
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15988 #include <gnutls/gnutls.h>
15989 #include <gnutls/crypto.h>
15991 main (void)
15993 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15995 return 0;
15997 _ACEOF
15998 if ac_fn_c_try_compile "$LINENO"
15999 then :
16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16001 printf %s "checking for -lgnutls... " >&6; }
16002 if test ${ac_cv_lib_soname_gnutls+y}
16003 then :
16004 printf %s "(cached) " >&6
16005 else $as_nop
16006 ac_check_soname_save_LIBS=$LIBS
16007 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16011 /* Override any GCC internal prototype to avoid an error.
16012 Use char because int might match the return type of a GCC
16013 builtin and then its argument prototype would still apply. */
16014 char gnutls_global_init ();
16016 main (void)
16018 return gnutls_global_init ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"
16024 then :
16025 case "$LIBEXT" in
16026 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16027 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'` ;;
16028 *) 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'`
16029 if ${ac_cv_lib_soname_gnutls:+false} :
16030 then :
16031 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'`
16032 fi ;;
16033 esac
16034 else $as_nop
16035 ac_cv_lib_soname_gnutls=
16037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16038 conftest$ac_exeext conftest.$ac_ext
16039 LIBS=$ac_check_soname_save_LIBS
16041 if ${ac_cv_lib_soname_gnutls:+false} :
16042 then :
16043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16044 printf "%s\n" "not found" >&6; }
16045 GNUTLS_CFLAGS=""
16046 else $as_nop
16047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16048 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16050 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16054 ac_wine_check_funcs_save_LIBS="$LIBS"
16055 LIBS="$LIBS $GNUTLS_LIBS"
16057 for ac_func in gnutls_cipher_init
16058 do :
16059 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16060 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16061 then :
16062 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16064 else $as_nop
16065 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16068 done
16069 LIBS="$ac_wine_check_funcs_save_LIBS"
16071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16072 else $as_nop
16073 GNUTLS_CFLAGS=""
16076 CPPFLAGS=$ac_save_CPPFLAGS
16079 if test "x$ac_cv_lib_soname_gnutls" = "x"
16080 then :
16081 case "x$with_gnutls" in
16082 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16083 xno) ;;
16084 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16085 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16086 esac
16090 if test "x$with_sane" != "xno"
16091 then
16092 rm -f conftest.err
16093 if ${SANE_CFLAGS:+false} :
16094 then :
16095 if test ${PKG_CONFIG+y}
16096 then :
16097 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16100 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16101 if ${SANE_LIBS:+false} :
16102 then :
16103 if test ${PKG_CONFIG+y}
16104 then :
16105 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16108 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16112 if test -s conftest.err; then
16113 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16114 cat conftest.err >&5
16116 rm -f conftest.err
16117 ac_save_CPPFLAGS=$CPPFLAGS
16118 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16119 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16120 if test "x$ac_cv_header_sane_sane_h" = xyes
16121 then :
16122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16123 printf %s "checking for sane_init in -lsane... " >&6; }
16124 if test ${ac_cv_lib_sane_sane_init+y}
16125 then :
16126 printf %s "(cached) " >&6
16127 else $as_nop
16128 ac_check_lib_save_LIBS=$LIBS
16129 LIBS="-lsane $SANE_LIBS $LIBS"
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16133 /* Override any GCC internal prototype to avoid an error.
16134 Use char because int might match the return type of a GCC
16135 builtin and then its argument prototype would still apply. */
16136 char sane_init ();
16138 main (void)
16140 return sane_init ();
16142 return 0;
16144 _ACEOF
16145 if ac_fn_c_try_link "$LINENO"
16146 then :
16147 ac_cv_lib_sane_sane_init=yes
16148 else $as_nop
16149 ac_cv_lib_sane_sane_init=no
16151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16152 conftest$ac_exeext conftest.$ac_ext
16153 LIBS=$ac_check_lib_save_LIBS
16155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16156 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16157 if test "x$ac_cv_lib_sane_sane_init" = xyes
16158 then :
16164 CPPFLAGS=$ac_save_CPPFLAGS
16167 if test "$ac_cv_lib_sane_sane_init" != "yes"
16168 then :
16169 case "x$with_sane" in
16170 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16171 xno) ;;
16172 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16173 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16174 esac
16175 enable_sane_ds=${enable_sane_ds:-no}
16178 if test "x$with_usb" != "xno"
16179 then
16180 rm -f conftest.err
16181 if ${USB_CFLAGS:+false} :
16182 then :
16183 if test ${PKG_CONFIG+y}
16184 then :
16185 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16189 if ${USB_LIBS:+false} :
16190 then :
16191 if test ${PKG_CONFIG+y}
16192 then :
16193 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16197 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16200 if test -s conftest.err; then
16201 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16202 cat conftest.err >&5
16204 rm -f conftest.err
16205 ac_save_CPPFLAGS=$CPPFLAGS
16206 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16207 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16208 if test "x$ac_cv_header_libusb_h" = xyes
16209 then :
16210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16211 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16212 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16213 then :
16214 printf %s "(cached) " >&6
16215 else $as_nop
16216 ac_check_lib_save_LIBS=$LIBS
16217 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 char libusb_interrupt_event_handler ();
16226 main (void)
16228 return libusb_interrupt_event_handler ();
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"
16234 then :
16235 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16236 else $as_nop
16237 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_lib_save_LIBS
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16244 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16245 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16246 then :
16248 else $as_nop
16249 USB_LIBS=""
16252 else $as_nop
16253 USB_LIBS=""
16256 CPPFLAGS=$ac_save_CPPFLAGS
16259 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16260 then :
16261 case "x$with_usb" in
16262 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16263 xno) ;;
16264 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16265 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16266 esac
16267 enable_wineusb_sys=${enable_wineusb_sys:-no}
16270 if test "x$with_v4l2" != "xno"
16271 then
16272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16273 printf %s "checking for -lv4l2... " >&6; }
16274 if test ${ac_cv_lib_soname_v4l2+y}
16275 then :
16276 printf %s "(cached) " >&6
16277 else $as_nop
16278 ac_check_soname_save_LIBS=$LIBS
16279 LIBS="-lv4l2 $LIBS"
16280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281 /* end confdefs.h. */
16283 /* Override any GCC internal prototype to avoid an error.
16284 Use char because int might match the return type of a GCC
16285 builtin and then its argument prototype would still apply. */
16286 char v4l2_open ();
16288 main (void)
16290 return v4l2_open ();
16292 return 0;
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"
16296 then :
16297 case "$LIBEXT" in
16298 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16299 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'` ;;
16300 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16301 if ${ac_cv_lib_soname_v4l2:+false} :
16302 then :
16303 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16304 fi ;;
16305 esac
16306 else $as_nop
16307 ac_cv_lib_soname_v4l2=
16309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16310 conftest$ac_exeext conftest.$ac_ext
16311 LIBS=$ac_check_soname_save_LIBS
16313 if ${ac_cv_lib_soname_v4l2:+false} :
16314 then :
16315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16316 printf "%s\n" "not found" >&6; }
16318 else $as_nop
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16320 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16322 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16327 if test "x$ac_cv_lib_soname_v4l2" = "x"
16328 then :
16329 case "x$with_v4l2" in
16330 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16331 xno) ;;
16332 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16333 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16334 esac
16338 if test "x$with_gphoto" != "xno"
16339 then
16340 rm -f conftest.err
16341 if ${GPHOTO2_CFLAGS:+false} :
16342 then :
16343 if test ${PKG_CONFIG+y}
16344 then :
16345 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16348 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16349 if ${GPHOTO2_LIBS:+false} :
16350 then :
16351 if test ${PKG_CONFIG+y}
16352 then :
16353 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16356 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16357 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16360 if test -s conftest.err; then
16361 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16362 cat conftest.err >&5
16364 rm -f conftest.err
16365 ac_save_CPPFLAGS=$CPPFLAGS
16366 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16367 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16368 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16369 then :
16370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16371 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16372 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16373 then :
16374 printf %s "(cached) " >&6
16375 else $as_nop
16376 ac_check_lib_save_LIBS=$LIBS
16377 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 char gp_camera_new ();
16386 main (void)
16388 return gp_camera_new ();
16390 return 0;
16392 _ACEOF
16393 if ac_fn_c_try_link "$LINENO"
16394 then :
16395 ac_cv_lib_gphoto2_gp_camera_new=yes
16396 else $as_nop
16397 ac_cv_lib_gphoto2_gp_camera_new=no
16399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_lib_save_LIBS
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16404 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16405 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16406 then :
16412 CPPFLAGS=$ac_save_CPPFLAGS
16414 rm -f conftest.err
16415 if ${GPHOTO2_PORT_CFLAGS:+false} :
16416 then :
16417 if test ${PKG_CONFIG+y}
16418 then :
16419 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16422 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16423 if ${GPHOTO2_PORT_LIBS:+false} :
16424 then :
16425 if test ${PKG_CONFIG+y}
16426 then :
16427 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16430 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16431 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16434 if test -s conftest.err; then
16435 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16436 cat conftest.err >&5
16438 rm -f conftest.err
16439 ac_save_CPPFLAGS=$CPPFLAGS
16440 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16441 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16442 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16443 then :
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16445 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16446 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16447 then :
16448 printf %s "(cached) " >&6
16449 else $as_nop
16450 ac_check_lib_save_LIBS=$LIBS
16451 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 char gp_port_info_list_new ();
16460 main (void)
16462 return gp_port_info_list_new ();
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"
16468 then :
16469 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16470 else $as_nop
16471 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16474 conftest$ac_exeext conftest.$ac_ext
16475 LIBS=$ac_check_lib_save_LIBS
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16478 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16479 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16480 then :
16482 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16484 else $as_nop
16485 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16488 else $as_nop
16489 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16492 CPPFLAGS=$ac_save_CPPFLAGS
16495 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16496 then :
16497 case "x$with_gphoto" in
16498 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16499 xno) ;;
16500 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16501 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16502 esac
16503 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16505 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16506 then :
16507 case "x$with_gphoto" in
16508 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16509 xno) ;;
16510 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16511 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16512 esac
16517 if test "$ac_cv_header_resolv_h" = "yes"
16518 then
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16520 printf %s "checking for resolver library... " >&6; }
16521 if test ${ac_cv_have_resolv+y}
16522 then :
16523 printf %s "(cached) " >&6
16524 else $as_nop
16525 ac_save_LIBS="$LIBS"
16526 for lib in '' -lresolv
16528 LIBS="$lib $ac_save_LIBS"
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #ifdef HAVE_NETINET_IN_H
16532 #include <netinet/in.h>
16533 #endif
16534 #include <resolv.h>
16536 main (void)
16538 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_link "$LINENO"
16544 then :
16545 ac_cv_have_resolv=${lib:-"none required"}
16546 else $as_nop
16547 ac_cv_have_resolv="not found"
16549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16550 conftest$ac_exeext conftest.$ac_ext
16551 test "x$ac_cv_have_resolv" = "xnot found" || break
16552 done
16553 LIBS="$ac_save_LIBS"
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16556 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16558 case "$ac_cv_have_resolv" in
16559 "not found") ;;
16560 "none required")
16562 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16565 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16567 RESOLV_LIBS=$ac_cv_have_resolv
16569 esac
16571 if test "x$ac_cv_have_resolv" != "xnot found"
16572 then
16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16574 printf %s "checking for res_getservers... " >&6; }
16575 if test ${ac_cv_have_res_getservers+y}
16576 then :
16577 printf %s "(cached) " >&6
16578 else $as_nop
16579 ac_save_LIBS="$LIBS"
16580 LIBS="$RESOLV_LIBS $LIBS"
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <resolv.h>
16585 main (void)
16587 res_getservers(NULL, NULL, 0);
16589 return 0;
16591 _ACEOF
16592 if ac_fn_c_try_link "$LINENO"
16593 then :
16594 ac_cv_have_res_getservers=yes
16595 else $as_nop
16596 ac_cv_have_res_getservers=no
16598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS="$ac_save_LIBS"
16602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16603 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16604 if test "$ac_cv_have_res_getservers" = "yes"
16605 then
16607 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16613 if test "x$with_freetype" != "xno"
16614 then
16615 rm -f conftest.err
16616 if ${FREETYPE_CFLAGS:+false} :
16617 then :
16618 if test ${PKG_CONFIG+y}
16619 then :
16620 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16623 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16624 if ${FREETYPE_LIBS:+false} :
16625 then :
16626 if test ${PKG_CONFIG+y}
16627 then :
16628 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16631 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16632 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16635 if test -s conftest.err; then
16636 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16637 cat conftest.err >&5
16639 rm -f conftest.err
16640 ac_save_CPPFLAGS=$CPPFLAGS
16641 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16642 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16643 if test "x$ac_cv_header_ft2build_h" = xyes
16644 then :
16645 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16649 if test "$ac_cv_header_ft2build_h" = "yes"
16650 then
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16652 printf %s "checking for -lfreetype... " >&6; }
16653 if test ${ac_cv_lib_soname_freetype+y}
16654 then :
16655 printf %s "(cached) " >&6
16656 else $as_nop
16657 ac_check_soname_save_LIBS=$LIBS
16658 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16662 /* Override any GCC internal prototype to avoid an error.
16663 Use char because int might match the return type of a GCC
16664 builtin and then its argument prototype would still apply. */
16665 char FT_Init_FreeType ();
16667 main (void)
16669 return FT_Init_FreeType ();
16671 return 0;
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"
16675 then :
16676 case "$LIBEXT" in
16677 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16678 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'` ;;
16679 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16680 if ${ac_cv_lib_soname_freetype:+false} :
16681 then :
16682 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16683 fi ;;
16684 esac
16685 else $as_nop
16686 ac_cv_lib_soname_freetype=
16688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16689 conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_soname_save_LIBS
16692 if ${ac_cv_lib_soname_freetype:+false} :
16693 then :
16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16695 printf "%s\n" "not found" >&6; }
16696 FREETYPE_LIBS=""
16697 else $as_nop
16698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16699 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16701 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16704 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16706 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16707 #include FT_MODULE_H
16709 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16710 then :
16712 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16718 else
16719 FREETYPE_CFLAGS=""
16720 FREETYPE_LIBS=""
16722 CPPFLAGS=$ac_save_CPPFLAGS
16725 if test "x$ac_cv_lib_soname_freetype" = x
16726 then :
16727 case "x$with_freetype" in
16728 xno) ;;
16729 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16730 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16731 esac
16732 enable_fonts=${enable_fonts:-no}
16735 ac_wine_check_funcs_save_LIBS="$LIBS"
16736 LIBS="$LIBS $PTHREAD_LIBS"
16737 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16738 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16739 then :
16740 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16744 LIBS="$ac_wine_check_funcs_save_LIBS"
16746 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16747 then
16748 if test "$ac_cv_header_gettext_po_h" = "yes"
16749 then
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16751 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16752 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16753 then :
16754 printf %s "(cached) " >&6
16755 else $as_nop
16756 ac_check_lib_save_LIBS=$LIBS
16757 LIBS="-lgettextpo $LIBS"
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16761 /* Override any GCC internal prototype to avoid an error.
16762 Use char because int might match the return type of a GCC
16763 builtin and then its argument prototype would still apply. */
16764 char po_message_msgctxt ();
16766 main (void)
16768 return po_message_msgctxt ();
16770 return 0;
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"
16774 then :
16775 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16776 else $as_nop
16777 ac_cv_lib_gettextpo_po_message_msgctxt=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16780 conftest$ac_exeext conftest.$ac_ext
16781 LIBS=$ac_check_lib_save_LIBS
16783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16784 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16785 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16786 then :
16788 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16790 GETTEXTPO_LIBS="-lgettextpo"
16795 if test "x$GETTEXTPO_LIBS" = "x"
16796 then :
16797 case "x$with_gettextpo" in
16798 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16799 xno) ;;
16800 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16801 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16802 esac
16805 if test "$srcdir" != .
16806 then :
16807 case "x$with_gettextpo" in
16808 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16809 xno) ;;
16810 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16811 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16812 esac
16817 if test "x$with_pulse" != "xno";
16818 then
16819 rm -f conftest.err
16820 if ${PULSE_CFLAGS:+false} :
16821 then :
16822 if test ${PKG_CONFIG+y}
16823 then :
16824 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16828 if ${PULSE_LIBS:+false} :
16829 then :
16830 if test ${PKG_CONFIG+y}
16831 then :
16832 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16839 if test -s conftest.err; then
16840 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16841 cat conftest.err >&5
16843 rm -f conftest.err
16844 ac_save_CPPFLAGS=$CPPFLAGS
16845 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16846 for ac_header in pulse/pulseaudio.h
16847 do :
16848 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16849 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16850 then :
16851 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16853 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16854 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16855 then :
16856 printf %s "(cached) " >&6
16857 else $as_nop
16858 ac_check_lib_save_LIBS=$LIBS
16859 LIBS="-lpulse $PULSE_LIBS $LIBS"
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16863 /* Override any GCC internal prototype to avoid an error.
16864 Use char because int might match the return type of a GCC
16865 builtin and then its argument prototype would still apply. */
16866 char pa_stream_is_corked ();
16868 main (void)
16870 return pa_stream_is_corked ();
16872 return 0;
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"
16876 then :
16877 ac_cv_lib_pulse_pa_stream_is_corked=yes
16878 else $as_nop
16879 ac_cv_lib_pulse_pa_stream_is_corked=no
16881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16882 conftest$ac_exeext conftest.$ac_ext
16883 LIBS=$ac_check_lib_save_LIBS
16885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16886 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16887 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16888 then :
16890 else $as_nop
16891 PULSE_LIBS=""
16894 else $as_nop
16895 PULSE_LIBS=""
16898 done
16899 CPPFLAGS=$ac_save_CPPFLAGS
16902 if test -z "$PULSE_LIBS"
16903 then :
16904 case "x$with_pulse" in
16905 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16906 xno) ;;
16907 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16908 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16909 esac
16910 enable_winepulse_drv=${enable_winepulse_drv:-no}
16913 if test "x$with_gstreamer" != "xno"
16914 then
16915 rm -f conftest.err
16916 if ${GSTREAMER_CFLAGS:+false} :
16917 then :
16918 if test ${PKG_CONFIG+y}
16919 then :
16920 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16924 if ${GSTREAMER_LIBS:+false} :
16925 then :
16926 if test ${PKG_CONFIG+y}
16927 then :
16928 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
16935 if test -s conftest.err; then
16936 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16937 cat conftest.err >&5
16939 rm -f conftest.err
16940 ac_save_CPPFLAGS=$CPPFLAGS
16941 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16942 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16943 if test "x$ac_cv_header_gst_gst_h" = xyes
16944 then :
16945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16946 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 #include <gst/gst.h>
16951 main (void)
16953 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16955 return 0;
16957 _ACEOF
16958 if ac_fn_c_try_compile "$LINENO"
16959 then :
16960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16961 printf "%s\n" "yes" >&6; }
16962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16963 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16964 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16965 then :
16966 printf %s "(cached) " >&6
16967 else $as_nop
16968 ac_check_lib_save_LIBS=$LIBS
16969 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16973 /* Override any GCC internal prototype to avoid an error.
16974 Use char because int might match the return type of a GCC
16975 builtin and then its argument prototype would still apply. */
16976 char gst_pad_new ();
16978 main (void)
16980 return gst_pad_new ();
16982 return 0;
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"
16986 then :
16987 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16988 else $as_nop
16989 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16992 conftest$ac_exeext conftest.$ac_ext
16993 LIBS=$ac_check_lib_save_LIBS
16995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16996 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16997 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16998 then :
17002 else $as_nop
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17004 printf "%s\n" "no" >&6; }
17005 ac_glib2_broken=yes
17006 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17011 CPPFLAGS=$ac_save_CPPFLAGS
17014 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17015 then :
17016 case "x$with_gstreamer" in
17017 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17018 xno) ;;
17019 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17020 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17021 esac
17022 enable_winegstreamer=${enable_winegstreamer:-no}
17025 ALSA_LIBS=""
17027 if test "x$with_alsa" != "xno"
17028 then
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17030 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17031 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17032 then :
17033 printf %s "(cached) " >&6
17034 else $as_nop
17035 ac_check_lib_save_LIBS=$LIBS
17036 LIBS="-lasound $LIBS"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17043 char snd_pcm_hw_params_get_access_mask ();
17045 main (void)
17047 return snd_pcm_hw_params_get_access_mask ();
17049 return 0;
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"
17053 then :
17054 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17055 else $as_nop
17056 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17059 conftest$ac_exeext conftest.$ac_ext
17060 LIBS=$ac_check_lib_save_LIBS
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17063 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17064 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17065 then :
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068 #include <alsa/asoundlib.h>
17070 main (void)
17072 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17074 return 0;
17076 _ACEOF
17077 if ac_fn_c_try_compile "$LINENO"
17078 then :
17079 ALSA_LIBS="-lasound"
17081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17085 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17087 if test "x$with_oss" != xno
17088 then
17089 ac_save_CPPFLAGS="$CPPFLAGS"
17090 if test -f /etc/oss.conf
17091 then
17092 . /etc/oss.conf
17094 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17095 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17096 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17097 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17098 then :
17099 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17101 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17102 then :
17104 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17106 OSS4_CFLAGS="$ac_oss_incl"
17108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17109 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17110 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17111 then :
17112 printf %s "(cached) " >&6
17113 else $as_nop
17114 ac_check_lib_save_LIBS=$LIBS
17115 LIBS="-lossaudio $LIBS"
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17122 char _oss_ioctl ();
17124 main (void)
17126 return _oss_ioctl ();
17128 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"
17132 then :
17133 ac_cv_lib_ossaudio__oss_ioctl=yes
17134 else $as_nop
17135 ac_cv_lib_ossaudio__oss_ioctl=no
17137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17138 conftest$ac_exeext conftest.$ac_ext
17139 LIBS=$ac_check_lib_save_LIBS
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17142 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17143 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17144 then :
17145 OSS4_LIBS="-lossaudio"
17153 CPPFLAGS="$ac_save_CPPFLAGS"
17155 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17156 then :
17157 case "x$with_oss" in
17158 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17159 xno) ;;
17160 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17161 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17162 esac
17163 enable_wineoss_drv=${enable_wineoss_drv:-no}
17166 if test "x$with_udev" != "xno"
17167 then
17168 rm -f conftest.err
17169 if ${UDEV_CFLAGS:+false} :
17170 then :
17171 if test ${PKG_CONFIG+y}
17172 then :
17173 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17177 if ${UDEV_LIBS:+false} :
17178 then :
17179 if test ${PKG_CONFIG+y}
17180 then :
17181 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17185 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17188 if test -s conftest.err; then
17189 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17190 cat conftest.err >&5
17192 rm -f conftest.err
17193 ac_save_CPPFLAGS=$CPPFLAGS
17194 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17195 for ac_header in libudev.h
17196 do :
17197 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17198 if test "x$ac_cv_header_libudev_h" = xyes
17199 then :
17200 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17202 printf %s "checking for udev_new in -ludev... " >&6; }
17203 if test ${ac_cv_lib_udev_udev_new+y}
17204 then :
17205 printf %s "(cached) " >&6
17206 else $as_nop
17207 ac_check_lib_save_LIBS=$LIBS
17208 LIBS="-ludev $UDEV_LIBS $LIBS"
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17212 /* Override any GCC internal prototype to avoid an error.
17213 Use char because int might match the return type of a GCC
17214 builtin and then its argument prototype would still apply. */
17215 char udev_new ();
17217 main (void)
17219 return udev_new ();
17221 return 0;
17223 _ACEOF
17224 if ac_fn_c_try_link "$LINENO"
17225 then :
17226 ac_cv_lib_udev_udev_new=yes
17227 else $as_nop
17228 ac_cv_lib_udev_udev_new=no
17230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17231 conftest$ac_exeext conftest.$ac_ext
17232 LIBS=$ac_check_lib_save_LIBS
17234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17235 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17236 if test "x$ac_cv_lib_udev_udev_new" = xyes
17237 then :
17239 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17241 else $as_nop
17242 UDEV_LIBS=""
17245 else $as_nop
17246 UDEV_LIBS=""
17249 done
17250 CPPFLAGS=$ac_save_CPPFLAGS
17253 if test "x$UDEV_LIBS" = "x"
17254 then :
17255 case "x$with_udev" in
17256 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17257 xno) ;;
17258 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17259 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17260 esac
17264 if test "x$with_unwind" != xno
17265 then
17266 rm -f conftest.err
17267 if ${UNWIND_CFLAGS:+false} :
17268 then :
17269 if test ${PKG_CONFIG+y}
17270 then :
17271 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17275 if ${UNWIND_LIBS:+false} :
17276 then :
17277 if test ${PKG_CONFIG+y}
17278 then :
17279 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17283 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17286 if test -s conftest.err; then
17287 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17288 cat conftest.err >&5
17290 rm -f conftest.err
17291 ac_save_CPPFLAGS=$CPPFLAGS
17292 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17294 printf %s "checking for unw_step... " >&6; }
17295 if test ${wine_cv_have_unw_step+y}
17296 then :
17297 printf %s "(cached) " >&6
17298 else $as_nop
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #define UNW_LOCAL_ONLY
17302 #include <libunwind.h>
17304 main (void)
17306 unw_cursor_t cursor; unw_step( &cursor );
17308 return 0;
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"
17312 then :
17313 wine_cv_have_unw_step="yes"
17314 else $as_nop
17315 wine_cv_have_unw_step="no"
17317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17318 conftest$ac_exeext conftest.$ac_ext
17320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17321 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17322 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17323 then
17324 save_libs=$LIBS
17325 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17326 LIBS="$UNWIND_LIBS $LIBS"
17327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17328 printf %s "checking for unw_step in libunwind... " >&6; }
17329 if test ${wine_cv_have_libunwind_unw_step+y}
17330 then :
17331 printf %s "(cached) " >&6
17332 else $as_nop
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 #define UNW_LOCAL_ONLY
17336 #include <libunwind.h>
17338 main (void)
17340 unw_cursor_t cursor; unw_step( &cursor );
17342 return 0;
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"
17346 then :
17347 wine_cv_have_libunwind_unw_step="yes"
17348 else $as_nop
17349 wine_cv_have_libunwind_unw_step="no"
17351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17352 conftest$ac_exeext conftest.$ac_ext
17354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17355 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17356 LIBS=$save_libs
17358 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17359 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17360 then
17362 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17365 CPPFLAGS=$ac_save_CPPFLAGS
17368 case $host in
17369 aarch64*|*-darwin*)
17370 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17371 then :
17372 case "x$with_unwind" in
17373 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17374 xno) ;;
17375 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17376 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17377 esac
17379 fi ;;
17380 esac
17382 if test "x$with_sdl" != "xno"
17383 then
17384 rm -f conftest.err
17385 if ${SDL2_CFLAGS:+false} :
17386 then :
17387 if test ${PKG_CONFIG+y}
17388 then :
17389 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17393 if ${SDL2_LIBS:+false} :
17394 then :
17395 if test ${PKG_CONFIG+y}
17396 then :
17397 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17401 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17404 if test -s conftest.err; then
17405 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17406 cat conftest.err >&5
17408 rm -f conftest.err
17409 ac_save_CPPFLAGS=$CPPFLAGS
17410 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17411 for ac_header in SDL.h
17412 do :
17413 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17414 if test "x$ac_cv_header_SDL_h" = xyes
17415 then :
17416 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17418 printf %s "checking for -lSDL2... " >&6; }
17419 if test ${ac_cv_lib_soname_SDL2+y}
17420 then :
17421 printf %s "(cached) " >&6
17422 else $as_nop
17423 ac_check_soname_save_LIBS=$LIBS
17424 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17428 /* Override any GCC internal prototype to avoid an error.
17429 Use char because int might match the return type of a GCC
17430 builtin and then its argument prototype would still apply. */
17431 char SDL_Init ();
17433 main (void)
17435 return SDL_Init ();
17437 return 0;
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"
17441 then :
17442 case "$LIBEXT" in
17443 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17444 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'` ;;
17445 *) 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'`
17446 if ${ac_cv_lib_soname_SDL2:+false} :
17447 then :
17448 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17449 fi ;;
17450 esac
17451 else $as_nop
17452 ac_cv_lib_soname_SDL2=
17454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17455 conftest$ac_exeext conftest.$ac_ext
17456 LIBS=$ac_check_soname_save_LIBS
17458 if ${ac_cv_lib_soname_SDL2:+false} :
17459 then :
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17461 printf "%s\n" "not found" >&6; }
17463 else $as_nop
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17465 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17467 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17473 done
17474 CPPFLAGS=$ac_save_CPPFLAGS
17477 if test "x$ac_cv_lib_soname_SDL2" = "x"
17478 then :
17479 case "x$with_sdl" in
17480 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17481 xno) ;;
17482 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17483 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17484 esac
17488 if test "x$with_capi" != "xno"
17489 then
17490 rm -f conftest.err
17491 if ${CAPI20_CFLAGS:+false} :
17492 then :
17493 if test ${PKG_CONFIG+y}
17494 then :
17495 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17499 if ${CAPI20_LIBS:+false} :
17500 then :
17501 if test ${PKG_CONFIG+y}
17502 then :
17503 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17510 if test -s conftest.err; then
17511 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17512 cat conftest.err >&5
17514 rm -f conftest.err
17515 ac_save_CPPFLAGS=$CPPFLAGS
17516 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17517 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17519 if test "x$ac_cv_header_capi20_h" = xyes
17520 then :
17521 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17524 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17526 if test "x$ac_cv_header_linux_capi_h" = xyes
17527 then :
17528 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17532 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17533 then
17534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17535 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17536 if test ${ac_cv_lib_capi20_capi20_register+y}
17537 then :
17538 printf %s "(cached) " >&6
17539 else $as_nop
17540 ac_check_lib_save_LIBS=$LIBS
17541 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17545 /* Override any GCC internal prototype to avoid an error.
17546 Use char because int might match the return type of a GCC
17547 builtin and then its argument prototype would still apply. */
17548 char capi20_register ();
17550 main (void)
17552 return capi20_register ();
17554 return 0;
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"
17558 then :
17559 ac_cv_lib_capi20_capi20_register=yes
17560 else $as_nop
17561 ac_cv_lib_capi20_capi20_register=no
17563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17564 conftest$ac_exeext conftest.$ac_ext
17565 LIBS=$ac_check_lib_save_LIBS
17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17568 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17569 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17570 then :
17572 else $as_nop
17573 CAPI20_LIBS=""
17577 CPPFLAGS=$ac_save_CPPFLAGS
17580 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17581 then :
17582 case "x$with_capi" in
17583 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17584 xno) ;;
17585 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17586 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17587 esac
17588 enable_capi2032=${enable_capi2032:-no}
17591 if test "x$with_cups" != "xno"
17592 then
17593 rm -f conftest.err
17594 if ${CUPS_CFLAGS:+false} :
17595 then :
17596 if test ${PKG_CONFIG+y}
17597 then :
17598 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17601 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17602 if ${CUPS_LIBS:+false} :
17603 then :
17604 if test ${PKG_CONFIG+y}
17605 then :
17606 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17609 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17610 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17613 if test -s conftest.err; then
17614 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17615 cat conftest.err >&5
17617 rm -f conftest.err
17618 ac_save_CPPFLAGS=$CPPFLAGS
17619 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17620 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17621 if test "x$ac_cv_header_cups_cups_h" = xyes
17622 then :
17623 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17626 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17627 if test "x$ac_cv_header_cups_ppd_h" = xyes
17628 then :
17629 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17633 if test "$ac_cv_header_cups_cups_h" = "yes"
17634 then
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17636 printf %s "checking for -lcups... " >&6; }
17637 if test ${ac_cv_lib_soname_cups+y}
17638 then :
17639 printf %s "(cached) " >&6
17640 else $as_nop
17641 ac_check_soname_save_LIBS=$LIBS
17642 LIBS="-lcups $CUPS_LIBS $LIBS"
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17646 /* Override any GCC internal prototype to avoid an error.
17647 Use char because int might match the return type of a GCC
17648 builtin and then its argument prototype would still apply. */
17649 char cupsGetDefault ();
17651 main (void)
17653 return cupsGetDefault ();
17655 return 0;
17657 _ACEOF
17658 if ac_fn_c_try_link "$LINENO"
17659 then :
17660 case "$LIBEXT" in
17661 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17662 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'` ;;
17663 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17664 if ${ac_cv_lib_soname_cups:+false} :
17665 then :
17666 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17667 fi ;;
17668 esac
17669 else $as_nop
17670 ac_cv_lib_soname_cups=
17672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17673 conftest$ac_exeext conftest.$ac_ext
17674 LIBS=$ac_check_soname_save_LIBS
17676 if ${ac_cv_lib_soname_cups:+false} :
17677 then :
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17679 printf "%s\n" "not found" >&6; }
17680 CUPS_LIBS=""
17681 else $as_nop
17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17683 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17685 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17689 else
17690 CUPS_CFLAGS=""
17691 CUPS_LIBS=""
17693 CPPFLAGS=$ac_save_CPPFLAGS
17696 if test "x$ac_cv_lib_soname_cups" = "x"
17697 then :
17698 case "x$with_cups" in
17699 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17700 xno) ;;
17701 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17702 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17703 esac
17707 if test "x$with_fontconfig" != "xno"
17708 then
17709 rm -f conftest.err
17710 if ${FONTCONFIG_CFLAGS:+false} :
17711 then :
17712 if test ${PKG_CONFIG+y}
17713 then :
17714 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17717 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17718 if ${FONTCONFIG_LIBS:+false} :
17719 then :
17720 if test ${PKG_CONFIG+y}
17721 then :
17722 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17725 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17729 if test -s conftest.err; then
17730 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17731 cat conftest.err >&5
17733 rm -f conftest.err
17734 ac_save_CPPFLAGS=$CPPFLAGS
17735 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17736 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17737 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17738 then :
17739 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17743 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17744 then
17745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17746 printf %s "checking for -lfontconfig... " >&6; }
17747 if test ${ac_cv_lib_soname_fontconfig+y}
17748 then :
17749 printf %s "(cached) " >&6
17750 else $as_nop
17751 ac_check_soname_save_LIBS=$LIBS
17752 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17756 /* Override any GCC internal prototype to avoid an error.
17757 Use char because int might match the return type of a GCC
17758 builtin and then its argument prototype would still apply. */
17759 char FcInit ();
17761 main (void)
17763 return FcInit ();
17765 return 0;
17767 _ACEOF
17768 if ac_fn_c_try_link "$LINENO"
17769 then :
17770 case "$LIBEXT" in
17771 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17772 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'` ;;
17773 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17774 if ${ac_cv_lib_soname_fontconfig:+false} :
17775 then :
17776 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17777 fi ;;
17778 esac
17779 else $as_nop
17780 ac_cv_lib_soname_fontconfig=
17782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17783 conftest$ac_exeext conftest.$ac_ext
17784 LIBS=$ac_check_soname_save_LIBS
17786 if ${ac_cv_lib_soname_fontconfig:+false} :
17787 then :
17788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17789 printf "%s\n" "not found" >&6; }
17790 FONTCONFIG_CFLAGS=""
17791 else $as_nop
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17793 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17795 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17799 else
17800 FONTCONFIG_CFLAGS=""
17802 CPPFLAGS=$ac_save_CPPFLAGS
17805 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17806 then :
17807 case "x$with_fontconfig" in
17808 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17809 xno) ;;
17810 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17811 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17812 esac
17816 if test "x$with_krb5" != "xno"
17817 then
17818 rm -f conftest.err
17819 if ${KRB5_CFLAGS:+false} :
17820 then :
17821 if test ${PKG_CONFIG+y}
17822 then :
17823 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17826 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17827 if ${KRB5_LIBS:+false} :
17828 then :
17829 if test ${PKG_CONFIG+y}
17830 then :
17831 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17834 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17838 if test -s conftest.err; then
17839 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17840 cat conftest.err >&5
17842 rm -f conftest.err
17843 ac_save_CPPFLAGS=$CPPFLAGS
17844 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17845 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17846 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17847 then :
17848 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17852 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17853 then
17854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17855 printf %s "checking for -lkrb5... " >&6; }
17856 if test ${ac_cv_lib_soname_krb5+y}
17857 then :
17858 printf %s "(cached) " >&6
17859 else $as_nop
17860 ac_check_soname_save_LIBS=$LIBS
17861 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 /* Override any GCC internal prototype to avoid an error.
17866 Use char because int might match the return type of a GCC
17867 builtin and then its argument prototype would still apply. */
17868 char krb5_is_config_principal ();
17870 main (void)
17872 return krb5_is_config_principal ();
17874 return 0;
17876 _ACEOF
17877 if ac_fn_c_try_link "$LINENO"
17878 then :
17879 case "$LIBEXT" in
17880 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17881 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'` ;;
17882 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17883 if ${ac_cv_lib_soname_krb5:+false} :
17884 then :
17885 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17886 fi ;;
17887 esac
17888 else $as_nop
17889 ac_cv_lib_soname_krb5=
17891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17892 conftest$ac_exeext conftest.$ac_ext
17893 LIBS=$ac_check_soname_save_LIBS
17895 if ${ac_cv_lib_soname_krb5:+false} :
17896 then :
17897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17898 printf "%s\n" "not found" >&6; }
17899 KRB5_CFLAGS=""
17900 else $as_nop
17901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17902 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17904 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17908 else
17909 KRB5_CFLAGS=""
17911 CPPFLAGS=$ac_save_CPPFLAGS
17914 if test "x$ac_cv_lib_soname_krb5" = "x"
17915 then :
17916 case "x$with_krb5" in
17917 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17918 xno) ;;
17919 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17920 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17921 esac
17924 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17926 if test "x$with_gssapi" != "xno"
17927 then
17928 rm -f conftest.err
17929 if ${GSSAPI_CFLAGS:+false} :
17930 then :
17931 if test ${PKG_CONFIG+y}
17932 then :
17933 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17936 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17937 if ${GSSAPI_LIBS:+false} :
17938 then :
17939 if test ${PKG_CONFIG+y}
17940 then :
17941 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17944 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17948 if test -s conftest.err; then
17949 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17950 cat conftest.err >&5
17952 rm -f conftest.err
17953 ac_save_CPPFLAGS=$CPPFLAGS
17954 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17955 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17956 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17957 then :
17958 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17961 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17963 then :
17964 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17968 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17969 then
17970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17971 printf %s "checking for -lgssapi_krb5... " >&6; }
17972 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17973 then :
17974 printf %s "(cached) " >&6
17975 else $as_nop
17976 ac_check_soname_save_LIBS=$LIBS
17977 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 char gss_init_sec_context ();
17986 main (void)
17988 return gss_init_sec_context ();
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"
17994 then :
17995 case "$LIBEXT" in
17996 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17997 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'` ;;
17998 *) 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'`
17999 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18000 then :
18001 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18002 fi ;;
18003 esac
18004 else $as_nop
18005 ac_cv_lib_soname_gssapi_krb5=
18007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_check_soname_save_LIBS
18011 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18012 then :
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18014 printf "%s\n" "not found" >&6; }
18015 GSSAPI_CFLAGS=""
18016 else $as_nop
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18018 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18020 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18024 else
18025 GSSAPI_CFLAGS=""
18027 CPPFLAGS=$ac_save_CPPFLAGS
18030 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18031 then :
18032 case "x$with_gssapi" in
18033 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18034 xno) ;;
18035 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18036 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18037 esac
18041 if test "$ac_cv_header_libprocstat_h" = "yes"
18042 then
18043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18044 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18045 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18046 then :
18047 printf %s "(cached) " >&6
18048 else $as_nop
18049 ac_check_lib_save_LIBS=$LIBS
18050 LIBS="-lprocstat $LIBS"
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18054 /* Override any GCC internal prototype to avoid an error.
18055 Use char because int might match the return type of a GCC
18056 builtin and then its argument prototype would still apply. */
18057 char procstat_open_sysctl ();
18059 main (void)
18061 return procstat_open_sysctl ();
18063 return 0;
18065 _ACEOF
18066 if ac_fn_c_try_link "$LINENO"
18067 then :
18068 ac_cv_lib_procstat_procstat_open_sysctl=yes
18069 else $as_nop
18070 ac_cv_lib_procstat_procstat_open_sysctl=no
18072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18073 conftest$ac_exeext conftest.$ac_ext
18074 LIBS=$ac_check_lib_save_LIBS
18076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18077 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18078 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18079 then :
18081 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18083 PROCSTAT_LIBS="-lprocstat"
18089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18090 printf %s "checking for -lodbc... " >&6; }
18091 if test ${ac_cv_lib_soname_odbc+y}
18092 then :
18093 printf %s "(cached) " >&6
18094 else $as_nop
18095 ac_check_soname_save_LIBS=$LIBS
18096 LIBS="-lodbc $LIBS"
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 char SQLConnect ();
18105 main (void)
18107 return SQLConnect ();
18109 return 0;
18111 _ACEOF
18112 if ac_fn_c_try_link "$LINENO"
18113 then :
18114 case "$LIBEXT" in
18115 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18116 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'` ;;
18117 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18118 if ${ac_cv_lib_soname_odbc:+false} :
18119 then :
18120 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18121 fi ;;
18122 esac
18123 else $as_nop
18124 ac_cv_lib_soname_odbc=
18126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18127 conftest$ac_exeext conftest.$ac_ext
18128 LIBS=$ac_check_soname_save_LIBS
18130 if ${ac_cv_lib_soname_odbc:+false} :
18131 then :
18132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18133 printf "%s\n" "not found" >&6; }
18134 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18136 else $as_nop
18137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18138 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18140 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18145 if test "x$with_netapi" != "xno"
18146 then
18147 rm -f conftest.err
18148 if ${NETAPI_CFLAGS:+false} :
18149 then :
18150 if test ${PKG_CONFIG+y}
18151 then :
18152 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18156 if ${NETAPI_LIBS:+false} :
18157 then :
18158 if test ${PKG_CONFIG+y}
18159 then :
18160 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18167 if test -s conftest.err; then
18168 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18169 cat conftest.err >&5
18171 rm -f conftest.err
18172 ac_save_CPPFLAGS=$CPPFLAGS
18173 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18175 printf %s "checking for -lnetapi... " >&6; }
18176 if test ${ac_cv_lib_soname_netapi+y}
18177 then :
18178 printf %s "(cached) " >&6
18179 else $as_nop
18180 ac_check_soname_save_LIBS=$LIBS
18181 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 /* Override any GCC internal prototype to avoid an error.
18186 Use char because int might match the return type of a GCC
18187 builtin and then its argument prototype would still apply. */
18188 char libnetapi_init ();
18190 main (void)
18192 return libnetapi_init ();
18194 return 0;
18196 _ACEOF
18197 if ac_fn_c_try_link "$LINENO"
18198 then :
18199 case "$LIBEXT" in
18200 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18201 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'` ;;
18202 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18203 if ${ac_cv_lib_soname_netapi:+false} :
18204 then :
18205 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18206 fi ;;
18207 esac
18208 else $as_nop
18209 ac_cv_lib_soname_netapi=
18211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18212 conftest$ac_exeext conftest.$ac_ext
18213 LIBS=$ac_check_soname_save_LIBS
18215 if ${ac_cv_lib_soname_netapi:+false} :
18216 then :
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18218 printf "%s\n" "not found" >&6; }
18219 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18221 else $as_nop
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18223 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18225 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18229 CPPFLAGS=$ac_save_CPPFLAGS
18232 if test "x$ac_cv_lib_soname_netapi" = "x"
18233 then :
18234 case "x$with_netapi" in
18235 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18236 xno) ;;
18237 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18238 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18239 esac
18240 enable_netapi=${enable_netapi:-no}
18244 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18245 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18246 then
18247 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18250 if test "x$with_vulkan" != "xno"
18251 then
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18253 printf %s "checking for -lvulkan... " >&6; }
18254 if test ${ac_cv_lib_soname_vulkan+y}
18255 then :
18256 printf %s "(cached) " >&6
18257 else $as_nop
18258 ac_check_soname_save_LIBS=$LIBS
18259 LIBS="-lvulkan $LIBS"
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18266 char vkGetInstanceProcAddr ();
18268 main (void)
18270 return vkGetInstanceProcAddr ();
18272 return 0;
18274 _ACEOF
18275 if ac_fn_c_try_link "$LINENO"
18276 then :
18277 case "$LIBEXT" in
18278 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18279 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'` ;;
18280 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18281 if ${ac_cv_lib_soname_vulkan:+false} :
18282 then :
18283 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18284 fi ;;
18285 esac
18286 else $as_nop
18287 ac_cv_lib_soname_vulkan=
18289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18290 conftest$ac_exeext conftest.$ac_ext
18291 LIBS=$ac_check_soname_save_LIBS
18293 if ${ac_cv_lib_soname_vulkan:+false} :
18294 then :
18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18296 printf "%s\n" "not found" >&6; }
18298 else $as_nop
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18300 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18302 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18306 if test "x$ac_cv_lib_soname_vulkan" = "x"
18307 then
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18309 printf %s "checking for -lMoltenVK... " >&6; }
18310 if test ${ac_cv_lib_soname_MoltenVK+y}
18311 then :
18312 printf %s "(cached) " >&6
18313 else $as_nop
18314 ac_check_soname_save_LIBS=$LIBS
18315 LIBS="-lMoltenVK $LIBS"
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18319 /* Override any GCC internal prototype to avoid an error.
18320 Use char because int might match the return type of a GCC
18321 builtin and then its argument prototype would still apply. */
18322 char vkGetInstanceProcAddr ();
18324 main (void)
18326 return vkGetInstanceProcAddr ();
18328 return 0;
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"
18332 then :
18333 case "$LIBEXT" in
18334 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18335 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'` ;;
18336 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18337 if ${ac_cv_lib_soname_MoltenVK:+false} :
18338 then :
18339 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18340 fi ;;
18341 esac
18342 else $as_nop
18343 ac_cv_lib_soname_MoltenVK=
18345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18346 conftest$ac_exeext conftest.$ac_ext
18347 LIBS=$ac_check_soname_save_LIBS
18349 if ${ac_cv_lib_soname_MoltenVK:+false} :
18350 then :
18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18352 printf "%s\n" "not found" >&6; }
18354 else $as_nop
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18356 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18358 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18364 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18365 then :
18366 case "x$with_vulkan" in
18367 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18368 xno) ;;
18369 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18370 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18371 esac
18376 if test "x${GCC}" = "xyes"
18377 then
18378 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18380 saved_CFLAGS=$CFLAGS
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18382 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18383 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18384 then :
18385 printf %s "(cached) " >&6
18386 else $as_nop
18387 ac_wine_try_cflags_saved=$CFLAGS
18388 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18391 int main(int argc, char **argv) { return 0; }
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"
18394 then :
18395 ac_cv_cflags__Werror_unknown_warning_option=yes
18396 else $as_nop
18397 ac_cv_cflags__Werror_unknown_warning_option=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18400 conftest$ac_exeext conftest.$ac_ext
18401 CFLAGS=$ac_wine_try_cflags_saved
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18404 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18405 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18406 then :
18407 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18410 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18411 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18412 then :
18413 printf %s "(cached) " >&6
18414 else $as_nop
18415 ac_wine_try_cflags_saved=$CFLAGS
18416 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18419 int main(int argc, char **argv) { return 0; }
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"
18422 then :
18423 ac_cv_cflags__Werror_unused_command_line_argument=yes
18424 else $as_nop
18425 ac_cv_cflags__Werror_unused_command_line_argument=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18428 conftest$ac_exeext conftest.$ac_ext
18429 CFLAGS=$ac_wine_try_cflags_saved
18431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18432 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18433 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18434 then :
18435 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18438 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18439 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18440 then :
18441 printf %s "(cached) " >&6
18442 else $as_nop
18443 ac_wine_try_cflags_saved=$CFLAGS
18444 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 int main(int argc, char **argv) { return 0; }
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"
18450 then :
18451 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18452 else $as_nop
18453 ac_cv_cflags__Werror_ignored_optimization_argument=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18456 conftest$ac_exeext conftest.$ac_ext
18457 CFLAGS=$ac_wine_try_cflags_saved
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18460 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18461 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18462 then :
18463 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18466 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18467 if test ${ac_cv_cflags__fcf_protection_none+y}
18468 then :
18469 printf %s "(cached) " >&6
18470 else $as_nop
18471 ac_wine_try_cflags_saved=$CFLAGS
18472 CFLAGS="$CFLAGS -fcf-protection=none"
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 int main(int argc, char **argv) { return 0; }
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"
18478 then :
18479 ac_cv_cflags__fcf_protection_none=yes
18480 else $as_nop
18481 ac_cv_cflags__fcf_protection_none=no
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 CFLAGS=$ac_wine_try_cflags_saved
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18488 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18489 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18490 then :
18491 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18494 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18495 if test ${ac_cv_cflags__fno_stack_protector+y}
18496 then :
18497 printf %s "(cached) " >&6
18498 else $as_nop
18499 ac_wine_try_cflags_saved=$CFLAGS
18500 CFLAGS="$CFLAGS -fno-stack-protector"
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 int main(int argc, char **argv) { return 0; }
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"
18506 then :
18507 ac_cv_cflags__fno_stack_protector=yes
18508 else $as_nop
18509 ac_cv_cflags__fno_stack_protector=no
18511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18512 conftest$ac_exeext conftest.$ac_ext
18513 CFLAGS=$ac_wine_try_cflags_saved
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18516 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18517 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18518 then :
18519 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18522 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18523 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18524 then :
18525 printf %s "(cached) " >&6
18526 else $as_nop
18527 ac_wine_try_cflags_saved=$CFLAGS
18528 CFLAGS="$CFLAGS -fno-strict-aliasing"
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 int main(int argc, char **argv) { return 0; }
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"
18534 then :
18535 ac_cv_cflags__fno_strict_aliasing=yes
18536 else $as_nop
18537 ac_cv_cflags__fno_strict_aliasing=no
18539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18540 conftest$ac_exeext conftest.$ac_ext
18541 CFLAGS=$ac_wine_try_cflags_saved
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18544 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18545 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18546 then :
18547 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18550 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18551 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18552 then :
18553 printf %s "(cached) " >&6
18554 else $as_nop
18555 ac_wine_try_cflags_saved=$CFLAGS
18556 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 int main(int argc, char **argv) { return 0; }
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"
18562 then :
18563 ac_cv_cflags__Wdeclaration_after_statement=yes
18564 else $as_nop
18565 ac_cv_cflags__Wdeclaration_after_statement=no
18567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18568 conftest$ac_exeext conftest.$ac_ext
18569 CFLAGS=$ac_wine_try_cflags_saved
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18572 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18573 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18574 then :
18575 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18578 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18579 if test ${ac_cv_cflags__Wempty_body+y}
18580 then :
18581 printf %s "(cached) " >&6
18582 else $as_nop
18583 ac_wine_try_cflags_saved=$CFLAGS
18584 CFLAGS="$CFLAGS -Wempty-body"
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 int main(int argc, char **argv) { return 0; }
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"
18590 then :
18591 ac_cv_cflags__Wempty_body=yes
18592 else $as_nop
18593 ac_cv_cflags__Wempty_body=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18596 conftest$ac_exeext conftest.$ac_ext
18597 CFLAGS=$ac_wine_try_cflags_saved
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18600 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18601 if test "x$ac_cv_cflags__Wempty_body" = xyes
18602 then :
18603 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18606 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18607 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18608 then :
18609 printf %s "(cached) " >&6
18610 else $as_nop
18611 ac_wine_try_cflags_saved=$CFLAGS
18612 CFLAGS="$CFLAGS -Wignored-qualifiers"
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 int main(int argc, char **argv) { return 0; }
18616 _ACEOF
18617 if ac_fn_c_try_link "$LINENO"
18618 then :
18619 ac_cv_cflags__Wignored_qualifiers=yes
18620 else $as_nop
18621 ac_cv_cflags__Wignored_qualifiers=no
18623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18624 conftest$ac_exeext conftest.$ac_ext
18625 CFLAGS=$ac_wine_try_cflags_saved
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18628 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18629 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18630 then :
18631 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18634 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18635 if test ${ac_cv_cflags__Winit_self+y}
18636 then :
18637 printf %s "(cached) " >&6
18638 else $as_nop
18639 ac_wine_try_cflags_saved=$CFLAGS
18640 CFLAGS="$CFLAGS -Winit-self"
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 int main(int argc, char **argv) { return 0; }
18644 _ACEOF
18645 if ac_fn_c_try_link "$LINENO"
18646 then :
18647 ac_cv_cflags__Winit_self=yes
18648 else $as_nop
18649 ac_cv_cflags__Winit_self=no
18651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18652 conftest$ac_exeext conftest.$ac_ext
18653 CFLAGS=$ac_wine_try_cflags_saved
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18656 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18657 if test "x$ac_cv_cflags__Winit_self" = xyes
18658 then :
18659 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18662 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18663 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18664 then :
18665 printf %s "(cached) " >&6
18666 else $as_nop
18667 ac_wine_try_cflags_saved=$CFLAGS
18668 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 int main(int argc, char **argv) { return 0; }
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"
18674 then :
18675 ac_cv_cflags__Wpacked_not_aligned=yes
18676 else $as_nop
18677 ac_cv_cflags__Wpacked_not_aligned=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18680 conftest$ac_exeext conftest.$ac_ext
18681 CFLAGS=$ac_wine_try_cflags_saved
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18684 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18685 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18686 then :
18687 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18690 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18691 if test ${ac_cv_cflags__Wpragma_pack+y}
18692 then :
18693 printf %s "(cached) " >&6
18694 else $as_nop
18695 ac_wine_try_cflags_saved=$CFLAGS
18696 CFLAGS="$CFLAGS -Wpragma-pack"
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 int main(int argc, char **argv) { return 0; }
18700 _ACEOF
18701 if ac_fn_c_try_link "$LINENO"
18702 then :
18703 ac_cv_cflags__Wpragma_pack=yes
18704 else $as_nop
18705 ac_cv_cflags__Wpragma_pack=no
18707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18708 conftest$ac_exeext conftest.$ac_ext
18709 CFLAGS=$ac_wine_try_cflags_saved
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18712 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18713 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18714 then :
18715 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18718 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18719 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18720 then :
18721 printf %s "(cached) " >&6
18722 else $as_nop
18723 ac_wine_try_cflags_saved=$CFLAGS
18724 CFLAGS="$CFLAGS -Wshift-overflow=2"
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727 int main(int argc, char **argv) { return 0; }
18728 _ACEOF
18729 if ac_fn_c_try_link "$LINENO"
18730 then :
18731 ac_cv_cflags__Wshift_overflow_2=yes
18732 else $as_nop
18733 ac_cv_cflags__Wshift_overflow_2=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18736 conftest$ac_exeext conftest.$ac_ext
18737 CFLAGS=$ac_wine_try_cflags_saved
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18740 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18741 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18742 then :
18743 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18746 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18747 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18748 then :
18749 printf %s "(cached) " >&6
18750 else $as_nop
18751 ac_wine_try_cflags_saved=$CFLAGS
18752 CFLAGS="$CFLAGS -Wstrict-prototypes"
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 int main(int argc, char **argv) { return 0; }
18756 _ACEOF
18757 if ac_fn_c_try_link "$LINENO"
18758 then :
18759 ac_cv_cflags__Wstrict_prototypes=yes
18760 else $as_nop
18761 ac_cv_cflags__Wstrict_prototypes=no
18763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18764 conftest$ac_exeext conftest.$ac_ext
18765 CFLAGS=$ac_wine_try_cflags_saved
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18768 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18769 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18770 then :
18771 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18774 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18775 if test ${ac_cv_cflags__Wtype_limits+y}
18776 then :
18777 printf %s "(cached) " >&6
18778 else $as_nop
18779 ac_wine_try_cflags_saved=$CFLAGS
18780 CFLAGS="$CFLAGS -Wtype-limits"
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 int main(int argc, char **argv) { return 0; }
18784 _ACEOF
18785 if ac_fn_c_try_link "$LINENO"
18786 then :
18787 ac_cv_cflags__Wtype_limits=yes
18788 else $as_nop
18789 ac_cv_cflags__Wtype_limits=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18792 conftest$ac_exeext conftest.$ac_ext
18793 CFLAGS=$ac_wine_try_cflags_saved
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18796 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18797 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18798 then :
18799 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18802 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18803 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18804 then :
18805 printf %s "(cached) " >&6
18806 else $as_nop
18807 ac_wine_try_cflags_saved=$CFLAGS
18808 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 int main(int argc, char **argv) { return 0; }
18812 _ACEOF
18813 if ac_fn_c_try_link "$LINENO"
18814 then :
18815 ac_cv_cflags__Wunused_but_set_parameter=yes
18816 else $as_nop
18817 ac_cv_cflags__Wunused_but_set_parameter=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18820 conftest$ac_exeext conftest.$ac_ext
18821 CFLAGS=$ac_wine_try_cflags_saved
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18824 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18825 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18826 then :
18827 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18830 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18831 if test ${ac_cv_cflags__Wvla+y}
18832 then :
18833 printf %s "(cached) " >&6
18834 else $as_nop
18835 ac_wine_try_cflags_saved=$CFLAGS
18836 CFLAGS="$CFLAGS -Wvla"
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 int main(int argc, char **argv) { return 0; }
18840 _ACEOF
18841 if ac_fn_c_try_link "$LINENO"
18842 then :
18843 ac_cv_cflags__Wvla=yes
18844 else $as_nop
18845 ac_cv_cflags__Wvla=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18848 conftest$ac_exeext conftest.$ac_ext
18849 CFLAGS=$ac_wine_try_cflags_saved
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18852 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18853 if test "x$ac_cv_cflags__Wvla" = xyes
18854 then :
18855 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18858 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18859 if test ${ac_cv_cflags__Wwrite_strings+y}
18860 then :
18861 printf %s "(cached) " >&6
18862 else $as_nop
18863 ac_wine_try_cflags_saved=$CFLAGS
18864 CFLAGS="$CFLAGS -Wwrite-strings"
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 int main(int argc, char **argv) { return 0; }
18868 _ACEOF
18869 if ac_fn_c_try_link "$LINENO"
18870 then :
18871 ac_cv_cflags__Wwrite_strings=yes
18872 else $as_nop
18873 ac_cv_cflags__Wwrite_strings=no
18875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18876 conftest$ac_exeext conftest.$ac_ext
18877 CFLAGS=$ac_wine_try_cflags_saved
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18880 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18881 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18882 then :
18883 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18887 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18888 if test ${ac_cv_cflags__Wpointer_arith+y}
18889 then :
18890 printf %s "(cached) " >&6
18891 else $as_nop
18892 ac_wine_try_cflags_saved=$CFLAGS
18893 CFLAGS="$CFLAGS -Wpointer-arith"
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18896 int main(int argc, char **argv) { return 0; }
18897 _ACEOF
18898 if ac_fn_c_try_link "$LINENO"
18899 then :
18900 ac_cv_cflags__Wpointer_arith=yes
18901 else $as_nop
18902 ac_cv_cflags__Wpointer_arith=no
18904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18905 conftest$ac_exeext conftest.$ac_ext
18906 CFLAGS=$ac_wine_try_cflags_saved
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18909 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18910 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18911 then :
18912 saved_string_h_CFLAGS=$CFLAGS
18913 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18915 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18916 if test ${ac_cv_c_string_h_warnings+y}
18917 then :
18918 printf %s "(cached) " >&6
18919 else $as_nop
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 #include <string.h>
18924 main (void)
18928 return 0;
18930 _ACEOF
18931 if ac_fn_c_try_compile "$LINENO"
18932 then :
18933 ac_cv_c_string_h_warnings=no
18934 else $as_nop
18935 ac_cv_c_string_h_warnings=yes
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18940 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18941 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18942 CFLAGS=$saved_string_h_CFLAGS
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18946 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18947 if test ${ac_cv_cflags__Wlogical_op+y}
18948 then :
18949 printf %s "(cached) " >&6
18950 else $as_nop
18951 ac_wine_try_cflags_saved=$CFLAGS
18952 CFLAGS="$CFLAGS -Wlogical-op"
18953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18954 /* end confdefs.h. */
18955 int main(int argc, char **argv) { return 0; }
18956 _ACEOF
18957 if ac_fn_c_try_link "$LINENO"
18958 then :
18959 ac_cv_cflags__Wlogical_op=yes
18960 else $as_nop
18961 ac_cv_cflags__Wlogical_op=no
18963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18964 conftest$ac_exeext conftest.$ac_ext
18965 CFLAGS=$ac_wine_try_cflags_saved
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18968 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18969 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18970 then :
18971 saved_string_h_CFLAGS=$CFLAGS
18972 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18974 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18975 if test ${ac_cv_c_logicalop_noisy+y}
18976 then :
18977 printf %s "(cached) " >&6
18978 else $as_nop
18979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18981 #include <string.h>
18982 char*f(const char *h,char n) {return strchr(h,n);}
18984 main (void)
18988 return 0;
18990 _ACEOF
18991 if ac_fn_c_try_compile "$LINENO"
18992 then :
18993 ac_cv_c_logicalop_noisy=no
18994 else $as_nop
18995 ac_cv_c_logicalop_noisy=yes
18997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19000 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19001 CFLAGS=$saved_string_h_CFLAGS
19002 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19006 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19007 if test ${wine_cv_64bit_compare_swap+y}
19008 then :
19009 printf %s "(cached) " >&6
19010 else $as_nop
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19014 #error no
19015 #endif
19017 main (void)
19021 return 0;
19023 _ACEOF
19024 if ac_fn_c_try_compile "$LINENO"
19025 then :
19026 wine_cv_64bit_compare_swap="none needed"
19027 else $as_nop
19028 case $host_cpu in
19029 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19030 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19031 *) wine_cv_64bit_compare_swap="unknown" ;;
19032 esac
19033 if test "x$wine_cv_64bit_compare_swap" != xunknown
19034 then
19035 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19039 #error no
19040 #endif
19042 main (void)
19046 return 0;
19048 _ACEOF
19049 if ac_fn_c_try_compile "$LINENO"
19050 then :
19052 else $as_nop
19053 wine_cv_64bit_compare_swap="unknown"
19055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19056 CFLAGS=$saved_CFLAGS
19059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19062 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19063 case "$wine_cv_64bit_compare_swap" in
19064 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19065 "none needed") ;;
19066 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19067 esac
19069 ac_debug_format_seen=""
19070 for ac_flag in $CFLAGS; do
19071 case $ac_flag in
19072 -gdwarf*) ac_debug_format_seen=yes ;;
19073 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19074 esac
19075 done
19076 if test "x$ac_debug_format_seen" = xdefault
19077 then
19078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19079 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19080 if test ${ac_cv_cflags__gdwarf_4+y}
19081 then :
19082 printf %s "(cached) " >&6
19083 else $as_nop
19084 ac_wine_try_cflags_saved=$CFLAGS
19085 CFLAGS="$CFLAGS -gdwarf-4"
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088 int main(int argc, char **argv) { return 0; }
19089 _ACEOF
19090 if ac_fn_c_try_link "$LINENO"
19091 then :
19092 ac_cv_cflags__gdwarf_4=yes
19093 else $as_nop
19094 ac_cv_cflags__gdwarf_4=no
19096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19097 conftest$ac_exeext conftest.$ac_ext
19098 CFLAGS=$ac_wine_try_cflags_saved
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19101 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19102 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19103 then :
19104 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19108 MSVCRTFLAGS=""
19110 case $host_os in
19111 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19112 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19113 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19114 then :
19115 printf %s "(cached) " >&6
19116 else $as_nop
19117 ac_wine_try_cflags_saved=$CFLAGS
19118 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121 int main(int argc, char **argv) { return 0; }
19122 _ACEOF
19123 if ac_fn_c_try_link "$LINENO"
19124 then :
19125 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19126 else $as_nop
19127 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19130 conftest$ac_exeext conftest.$ac_ext
19131 CFLAGS=$ac_wine_try_cflags_saved
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19134 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19135 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19136 then :
19137 DELAYLOADFLAG="-Wl,-delayload,"
19139 fi ;;
19140 *) MSVCRTFLAGS="-D_WIN32"
19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19142 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19143 if test ${ac_cv_cflags__fno_builtin+y}
19144 then :
19145 printf %s "(cached) " >&6
19146 else $as_nop
19147 ac_wine_try_cflags_saved=$CFLAGS
19148 CFLAGS="$CFLAGS -fno-builtin"
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 int main(int argc, char **argv) { return 0; }
19152 _ACEOF
19153 if ac_fn_c_try_link "$LINENO"
19154 then :
19155 ac_cv_cflags__fno_builtin=yes
19156 else $as_nop
19157 ac_cv_cflags__fno_builtin=no
19159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19160 conftest$ac_exeext conftest.$ac_ext
19161 CFLAGS=$ac_wine_try_cflags_saved
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19164 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19165 if test "x$ac_cv_cflags__fno_builtin" = xyes
19166 then :
19167 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19170 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19171 if test ${ac_cv_cflags__fshort_wchar+y}
19172 then :
19173 printf %s "(cached) " >&6
19174 else $as_nop
19175 ac_wine_try_cflags_saved=$CFLAGS
19176 CFLAGS="$CFLAGS -fshort-wchar"
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19179 int main(int argc, char **argv) { return 0; }
19180 _ACEOF
19181 if ac_fn_c_try_link "$LINENO"
19182 then :
19183 ac_cv_cflags__fshort_wchar=yes
19184 else $as_nop
19185 ac_cv_cflags__fshort_wchar=no
19187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19188 conftest$ac_exeext conftest.$ac_ext
19189 CFLAGS=$ac_wine_try_cflags_saved
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19192 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19193 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19194 then :
19195 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19198 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19199 if test ${ac_cv_cflags__Wno_format+y}
19200 then :
19201 printf %s "(cached) " >&6
19202 else $as_nop
19203 ac_wine_try_cflags_saved=$CFLAGS
19204 CFLAGS="$CFLAGS -Wno-format"
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 int main(int argc, char **argv) { return 0; }
19208 _ACEOF
19209 if ac_fn_c_try_link "$LINENO"
19210 then :
19211 ac_cv_cflags__Wno_format=yes
19212 else $as_nop
19213 ac_cv_cflags__Wno_format=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19216 conftest$ac_exeext conftest.$ac_ext
19217 CFLAGS=$ac_wine_try_cflags_saved
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19220 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19221 if test "x$ac_cv_cflags__Wno_format" = xyes
19222 then :
19223 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19224 fi ;;
19225 esac
19227 case $host_cpu in
19228 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19229 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19230 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19231 then :
19232 printf %s "(cached) " >&6
19233 else $as_nop
19234 ac_wine_try_cflags_saved=$CFLAGS
19235 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19237 /* end confdefs.h. */
19238 int main(int argc, char **argv) { return 0; }
19239 _ACEOF
19240 if ac_fn_c_try_link "$LINENO"
19241 then :
19242 ac_cv_cflags__fno_omit_frame_pointer=yes
19243 else $as_nop
19244 ac_cv_cflags__fno_omit_frame_pointer=no
19246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19247 conftest$ac_exeext conftest.$ac_ext
19248 CFLAGS=$ac_wine_try_cflags_saved
19250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19251 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19252 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19253 then :
19254 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19255 fi ;;
19256 *x86_64*)
19257 case $host_os in
19258 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19259 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19260 if test ${ac_cv_cflags__Wno_format+y}
19261 then :
19262 printf %s "(cached) " >&6
19263 else $as_nop
19264 ac_wine_try_cflags_saved=$CFLAGS
19265 CFLAGS="$CFLAGS -Wno-format"
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 int main(int argc, char **argv) { return 0; }
19269 _ACEOF
19270 if ac_fn_c_try_link "$LINENO"
19271 then :
19272 ac_cv_cflags__Wno_format=yes
19273 else $as_nop
19274 ac_cv_cflags__Wno_format=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19277 conftest$ac_exeext conftest.$ac_ext
19278 CFLAGS=$ac_wine_try_cflags_saved
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19281 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19282 if test "x$ac_cv_cflags__Wno_format" = xyes
19283 then :
19284 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19285 fi ;;
19286 *) if test -z "$PE_ARCHS"
19287 then
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19289 printf %s "checking for working -mabi=ms... " >&6; }
19290 if test ${ac_cv_mabi_ms+y}
19291 then :
19292 printf %s "(cached) " >&6
19293 else $as_nop
19294 CFLAGS="$CFLAGS -mabi=ms"
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 #include <stdarg.h>
19298 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19300 main (void)
19304 return 0;
19306 _ACEOF
19307 if ac_fn_c_try_compile "$LINENO"
19308 then :
19309 ac_cv_mabi_ms=yes
19310 else $as_nop
19311 ac_cv_mabi_ms=no
19313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19314 CFLAGS=$saved_CFLAGS
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19317 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19318 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19320 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19321 esac ;;
19322 arm*)
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19324 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19325 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19326 then :
19327 printf %s "(cached) " >&6
19328 else $as_nop
19329 ac_wine_try_cflags_saved=$CFLAGS
19330 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19333 int main(int argc, char **argv) { return 0; }
19334 _ACEOF
19335 if ac_fn_c_try_link "$LINENO"
19336 then :
19337 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19338 else $as_nop
19339 ac_cv_cflags__Wincompatible_function_pointer_types=no
19341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19342 conftest$ac_exeext conftest.$ac_ext
19343 CFLAGS=$ac_wine_try_cflags_saved
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19346 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19347 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19348 then :
19349 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19350 fi ;;
19351 esac
19353 CFLAGS=$saved_CFLAGS
19355 if test "x$enable_werror" = "xyes"
19356 then
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19358 printf %s "checking whether the compiler supports -Werror... " >&6; }
19359 if test ${ac_cv_cflags__Werror+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else $as_nop
19363 ac_wine_try_cflags_saved=$CFLAGS
19364 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
19372 else $as_nop
19373 ac_cv_cflags__Werror=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__Werror" >&5
19380 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19381 if test "x$ac_cv_cflags__Werror" = xyes
19382 then :
19383 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19386 if test "x$enable_build_id" = "xyes"
19387 then
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19389 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19390 if test ${ac_cv_cflags__Wl___build_id+y}
19391 then :
19392 printf %s "(cached) " >&6
19393 else $as_nop
19394 ac_wine_try_cflags_saved=$CFLAGS
19395 CFLAGS="$CFLAGS -Wl,--build-id"
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 int main(int argc, char **argv) { return 0; }
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"
19401 then :
19402 ac_cv_cflags__Wl___build_id=yes
19403 else $as_nop
19404 ac_cv_cflags__Wl___build_id=no
19406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19407 conftest$ac_exeext conftest.$ac_ext
19408 CFLAGS=$ac_wine_try_cflags_saved
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19411 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19412 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19413 then :
19414 CFLAGS="$CFLAGS -Wl,--build-id"
19415 LDFLAGS="$LDFLAGS -Wl,--build-id"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19422 printf %s "checking for the need to disable Fortify... " >&6; }
19423 if test ${ac_cv_c_fortify_enabled+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #include <string.h>
19431 main (void)
19433 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19434 #error Fortify enabled
19435 #endif
19437 return 0;
19439 _ACEOF
19440 if ac_fn_c_try_compile "$LINENO"
19441 then :
19442 ac_cv_c_fortify_enabled=no
19443 else $as_nop
19444 ac_cv_c_fortify_enabled=yes
19446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19449 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19450 if test "$ac_cv_c_fortify_enabled" = yes
19451 then
19452 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19457 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19458 if test ${ac_cv_c_cfi_support+y}
19459 then :
19460 printf %s "(cached) " >&6
19461 else $as_nop
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19466 main (void)
19470 return 0;
19472 _ACEOF
19473 if ac_fn_c_try_compile "$LINENO"
19474 then :
19475 ac_cv_c_cfi_support="yes"
19476 else $as_nop
19477 ac_cv_c_cfi_support="no"
19479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19482 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19483 if test "$ac_cv_c_cfi_support" = "yes"
19484 then
19485 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19486 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19487 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19488 elif test $HOST_ARCH = x86_64
19489 then
19490 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19494 case "$HOST_ARCH,$PE_ARCHS" in
19495 x86_64,*i386*) wine_binary="wine" ;;
19496 x86_64,*) wine_binary="wine64" ;;
19497 *) wine_binary="wine" ;;
19498 esac
19499 WINELOADER_PROGRAMS="$wine_binary"
19502 case $host_os in
19503 linux*)
19504 case $host_cpu in
19505 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19506 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19507 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19509 esac
19511 darwin*|macosx*)
19512 if test "$wine_can_build_preloader" = "yes"
19513 then
19514 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19515 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19518 esac
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19522 printf %s "checking for library containing dlopen... " >&6; }
19523 if test ${ac_cv_search_dlopen+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 ac_func_search_save_LIBS=$LIBS
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19531 /* Override any GCC internal prototype to avoid an error.
19532 Use char because int might match the return type of a GCC
19533 builtin and then its argument prototype would still apply. */
19534 char dlopen ();
19536 main (void)
19538 return dlopen ();
19540 return 0;
19542 _ACEOF
19543 for ac_lib in '' dl
19545 if test -z "$ac_lib"; then
19546 ac_res="none required"
19547 else
19548 ac_res=-l$ac_lib
19549 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19551 if ac_fn_c_try_link "$LINENO"
19552 then :
19553 ac_cv_search_dlopen=$ac_res
19555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19556 conftest$ac_exeext
19557 if test ${ac_cv_search_dlopen+y}
19558 then :
19559 break
19561 done
19562 if test ${ac_cv_search_dlopen+y}
19563 then :
19565 else $as_nop
19566 ac_cv_search_dlopen=no
19568 rm conftest.$ac_ext
19569 LIBS=$ac_func_search_save_LIBS
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19572 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19573 ac_res=$ac_cv_search_dlopen
19574 if test "$ac_res" != no
19575 then :
19576 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19582 printf %s "checking for library containing gethostbyname... " >&6; }
19583 if test ${ac_cv_search_gethostbyname+y}
19584 then :
19585 printf %s "(cached) " >&6
19586 else $as_nop
19587 ac_func_search_save_LIBS=$LIBS
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19591 /* Override any GCC internal prototype to avoid an error.
19592 Use char because int might match the return type of a GCC
19593 builtin and then its argument prototype would still apply. */
19594 char gethostbyname ();
19596 main (void)
19598 return gethostbyname ();
19600 return 0;
19602 _ACEOF
19603 for ac_lib in '' nsl
19605 if test -z "$ac_lib"; then
19606 ac_res="none required"
19607 else
19608 ac_res=-l$ac_lib
19609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19611 if ac_fn_c_try_link "$LINENO"
19612 then :
19613 ac_cv_search_gethostbyname=$ac_res
19615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19616 conftest$ac_exeext
19617 if test ${ac_cv_search_gethostbyname+y}
19618 then :
19619 break
19621 done
19622 if test ${ac_cv_search_gethostbyname+y}
19623 then :
19625 else $as_nop
19626 ac_cv_search_gethostbyname=no
19628 rm conftest.$ac_ext
19629 LIBS=$ac_func_search_save_LIBS
19631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19632 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19633 ac_res=$ac_cv_search_gethostbyname
19634 if test "$ac_res" != no
19635 then :
19636 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19642 printf %s "checking for library containing connect... " >&6; }
19643 if test ${ac_cv_search_connect+y}
19644 then :
19645 printf %s "(cached) " >&6
19646 else $as_nop
19647 ac_func_search_save_LIBS=$LIBS
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19651 /* Override any GCC internal prototype to avoid an error.
19652 Use char because int might match the return type of a GCC
19653 builtin and then its argument prototype would still apply. */
19654 char connect ();
19656 main (void)
19658 return connect ();
19660 return 0;
19662 _ACEOF
19663 for ac_lib in '' socket
19665 if test -z "$ac_lib"; then
19666 ac_res="none required"
19667 else
19668 ac_res=-l$ac_lib
19669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19671 if ac_fn_c_try_link "$LINENO"
19672 then :
19673 ac_cv_search_connect=$ac_res
19675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19676 conftest$ac_exeext
19677 if test ${ac_cv_search_connect+y}
19678 then :
19679 break
19681 done
19682 if test ${ac_cv_search_connect+y}
19683 then :
19685 else $as_nop
19686 ac_cv_search_connect=no
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19692 printf "%s\n" "$ac_cv_search_connect" >&6; }
19693 ac_res=$ac_cv_search_connect
19694 if test "$ac_res" != no
19695 then :
19696 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19702 printf %s "checking for library containing inet_aton... " >&6; }
19703 if test ${ac_cv_search_inet_aton+y}
19704 then :
19705 printf %s "(cached) " >&6
19706 else $as_nop
19707 ac_func_search_save_LIBS=$LIBS
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19711 /* Override any GCC internal prototype to avoid an error.
19712 Use char because int might match the return type of a GCC
19713 builtin and then its argument prototype would still apply. */
19714 char inet_aton ();
19716 main (void)
19718 return inet_aton ();
19720 return 0;
19722 _ACEOF
19723 for ac_lib in '' resolv
19725 if test -z "$ac_lib"; then
19726 ac_res="none required"
19727 else
19728 ac_res=-l$ac_lib
19729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19731 if ac_fn_c_try_link "$LINENO"
19732 then :
19733 ac_cv_search_inet_aton=$ac_res
19735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19736 conftest$ac_exeext
19737 if test ${ac_cv_search_inet_aton+y}
19738 then :
19739 break
19741 done
19742 if test ${ac_cv_search_inet_aton+y}
19743 then :
19745 else $as_nop
19746 ac_cv_search_inet_aton=no
19748 rm conftest.$ac_ext
19749 LIBS=$ac_func_search_save_LIBS
19751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19752 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19753 ac_res=$ac_cv_search_inet_aton
19754 if test "$ac_res" != no
19755 then :
19756 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19761 ac_save_CFLAGS="$CFLAGS"
19762 CFLAGS="$CFLAGS $BUILTINFLAG"
19763 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19764 if test "x$ac_cv_func_dladdr1" = xyes
19765 then :
19766 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19769 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19770 if test "x$ac_cv_func_dlinfo" = xyes
19771 then :
19772 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19775 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19776 if test "x$ac_cv_func_epoll_create" = xyes
19777 then :
19778 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19781 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19782 if test "x$ac_cv_func_fstatfs" = xyes
19783 then :
19784 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19787 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19788 if test "x$ac_cv_func_futimens" = xyes
19789 then :
19790 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19793 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19794 if test "x$ac_cv_func_futimes" = xyes
19795 then :
19796 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19799 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19800 if test "x$ac_cv_func_futimesat" = xyes
19801 then :
19802 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19805 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19806 if test "x$ac_cv_func_getaddrinfo" = xyes
19807 then :
19808 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19811 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19812 if test "x$ac_cv_func_getattrlist" = xyes
19813 then :
19814 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19817 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19818 if test "x$ac_cv_func_getauxval" = xyes
19819 then :
19820 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19823 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19824 if test "x$ac_cv_func_getifaddrs" = xyes
19825 then :
19826 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19829 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19830 if test "x$ac_cv_func_getrandom" = xyes
19831 then :
19832 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19835 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19836 if test "x$ac_cv_func_kqueue" = xyes
19837 then :
19838 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19841 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19842 if test "x$ac_cv_func_mach_continuous_time" = xyes
19843 then :
19844 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19847 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19848 if test "x$ac_cv_func_pipe2" = xyes
19849 then :
19850 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19853 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19854 if test "x$ac_cv_func_port_create" = xyes
19855 then :
19856 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19859 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19860 if test "x$ac_cv_func_posix_fadvise" = xyes
19861 then :
19862 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19865 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19866 if test "x$ac_cv_func_posix_fallocate" = xyes
19867 then :
19868 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19871 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19872 if test "x$ac_cv_func_prctl" = xyes
19873 then :
19874 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19877 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19878 if test "x$ac_cv_func_proc_pidinfo" = xyes
19879 then :
19880 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19883 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19884 if test "x$ac_cv_func_sched_yield" = xyes
19885 then :
19886 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19889 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19890 if test "x$ac_cv_func_setproctitle" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19895 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19896 if test "x$ac_cv_func_setprogname" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19902 if test "x$ac_cv_func_sigprocmask" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19908 if test "x$ac_cv_func_sysinfo" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19914 if test "x$ac_cv_func_tcdrain" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19920 if test "x$ac_cv_func_thr_kill2" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19926 CFLAGS="$ac_save_CFLAGS"
19928 case $host_os in
19929 darwin*|macosx*) ;;
19930 *) ac_save_LIBS=$LIBS
19931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19932 printf %s "checking for library containing clock_gettime... " >&6; }
19933 if test ${ac_cv_search_clock_gettime+y}
19934 then :
19935 printf %s "(cached) " >&6
19936 else $as_nop
19937 ac_func_search_save_LIBS=$LIBS
19938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h. */
19941 /* Override any GCC internal prototype to avoid an error.
19942 Use char because int might match the return type of a GCC
19943 builtin and then its argument prototype would still apply. */
19944 char clock_gettime ();
19946 main (void)
19948 return clock_gettime ();
19950 return 0;
19952 _ACEOF
19953 for ac_lib in '' rt
19955 if test -z "$ac_lib"; then
19956 ac_res="none required"
19957 else
19958 ac_res=-l$ac_lib
19959 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19961 if ac_fn_c_try_link "$LINENO"
19962 then :
19963 ac_cv_search_clock_gettime=$ac_res
19965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19966 conftest$ac_exeext
19967 if test ${ac_cv_search_clock_gettime+y}
19968 then :
19969 break
19971 done
19972 if test ${ac_cv_search_clock_gettime+y}
19973 then :
19975 else $as_nop
19976 ac_cv_search_clock_gettime=no
19978 rm conftest.$ac_ext
19979 LIBS=$ac_func_search_save_LIBS
19981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19982 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19983 ac_res=$ac_cv_search_clock_gettime
19984 if test "$ac_res" != no
19985 then :
19986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19988 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19990 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19994 LIBS=$ac_save_LIBS
19996 esac
19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19999 printf %s "checking for sched_setaffinity... " >&6; }
20000 if test ${wine_cv_have_sched_setaffinity+y}
20001 then :
20002 printf %s "(cached) " >&6
20003 else $as_nop
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 #include <sched.h>
20008 main (void)
20010 sched_setaffinity(0, 0, 0);
20012 return 0;
20014 _ACEOF
20015 if ac_fn_c_try_link "$LINENO"
20016 then :
20017 wine_cv_have_sched_setaffinity=yes
20018 else $as_nop
20019 wine_cv_have_sched_setaffinity=no
20021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20022 conftest$ac_exeext conftest.$ac_ext
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20025 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20026 if test "$wine_cv_have_sched_setaffinity" = "yes"
20027 then
20029 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20035 printf %s "checking for inline... " >&6; }
20036 if test ${ac_cv_c_inline+y}
20037 then :
20038 printf %s "(cached) " >&6
20039 else $as_nop
20040 ac_cv_c_inline=no
20041 for ac_kw in inline __inline__ __inline; do
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20044 #ifndef __cplusplus
20045 typedef int foo_t;
20046 static $ac_kw foo_t static_foo (void) {return 0; }
20047 $ac_kw foo_t foo (void) {return 0; }
20048 #endif
20050 _ACEOF
20051 if ac_fn_c_try_compile "$LINENO"
20052 then :
20053 ac_cv_c_inline=$ac_kw
20055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20056 test "$ac_cv_c_inline" != no && break
20057 done
20060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20061 printf "%s\n" "$ac_cv_c_inline" >&6; }
20063 case $ac_cv_c_inline in
20064 inline | yes) ;;
20066 case $ac_cv_c_inline in
20067 no) ac_val=;;
20068 *) ac_val=$ac_cv_c_inline;;
20069 esac
20070 cat >>confdefs.h <<_ACEOF
20071 #ifndef __cplusplus
20072 #define inline $ac_val
20073 #endif
20074 _ACEOF
20076 esac
20078 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20080 if test "x$ac_cv_type_request_sense" = xyes
20081 then :
20083 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20089 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20090 #include <sys/socket.h>
20091 #ifdef HAVE_SYS_SOCKETVAR_H
20092 #include <sys/socketvar.h>
20093 #endif
20094 #ifdef HAVE_NET_ROUTE_H
20095 #include <net/route.h>
20096 #endif
20097 #ifdef HAVE_NETINET_IN_H
20098 #include <netinet/in.h>
20099 #endif
20100 #ifdef HAVE_NETINET_IN_SYSTM_H
20101 #include <netinet/in_systm.h>
20102 #endif
20103 #ifdef HAVE_NETINET_IP_H
20104 #include <netinet/ip.h>
20105 #endif
20106 #ifdef HAVE_NETINET_IN_PCB_H
20107 #include <netinet/in_pcb.h>
20108 #endif
20110 if test "x$ac_cv_type_struct_xinpgen" = xyes
20111 then :
20113 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20120 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20121 if test ${wine_cv_linux_gethostbyname_r_6+y}
20122 then :
20123 printf %s "(cached) " >&6
20124 else $as_nop
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20127 #include <netdb.h>
20129 main (void)
20132 char *name=0;
20133 struct hostent he;
20134 struct hostent *result;
20135 char *buf=0;
20136 int bufsize=0;
20137 int errnr;
20138 char *addr=0;
20139 int addrlen=0;
20140 int addrtype=0;
20141 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20142 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20145 return 0;
20147 _ACEOF
20148 if ac_fn_c_try_link "$LINENO"
20149 then :
20150 wine_cv_linux_gethostbyname_r_6=yes
20151 else $as_nop
20152 wine_cv_linux_gethostbyname_r_6=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20156 conftest$ac_exeext conftest.$ac_ext
20159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20160 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20161 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20162 then
20164 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20168 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20169 #include <sys/socket.h>
20170 #ifdef HAVE_SYS_UN_H
20171 # include <sys/un.h>
20172 #endif
20174 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20175 then :
20177 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20181 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20182 #include <sys/socket.h>
20183 #ifdef HAVE_SYS_UN_H
20184 # include <sys/un.h>
20185 #endif
20187 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20188 then :
20190 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20196 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20197 #ifdef HAVE_SCSI_SG_H
20198 #include <scsi/sg.h>
20199 #endif
20201 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20202 then :
20204 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20208 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>
20209 #ifdef HAVE_SCSI_SG_H
20210 #include <scsi/sg.h>
20211 #endif
20213 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20214 then :
20216 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20222 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20224 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20225 then :
20227 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20233 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20234 #ifdef HAVE_SYS_MTIO_H
20235 #include <sys/mtio.h>
20236 #endif
20238 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20239 then :
20241 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20245 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20246 #ifdef HAVE_SYS_MTIO_H
20247 #include <sys/mtio.h>
20248 #endif
20250 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20251 then :
20253 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20257 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20258 #ifdef HAVE_SYS_MTIO_H
20259 #include <sys/mtio.h>
20260 #endif
20262 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20263 then :
20265 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20271 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20272 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20273 then :
20275 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20279 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20280 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20281 then :
20283 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20287 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20288 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20289 then :
20291 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20295 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20296 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20297 then :
20299 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20303 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20304 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20311 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20312 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20313 then :
20315 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20320 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20321 then :
20323 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20327 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20328 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20329 then :
20331 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20335 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20336 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20337 then :
20339 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20343 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20344 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20345 then :
20347 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20351 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20352 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20361 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>
20362 #ifdef HAVE_NETINET_IN_H
20363 #include <netinet/in.h>
20364 #endif
20366 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20367 then :
20369 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20375 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
20376 #include <resolv.h>
20377 #endif
20379 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20380 then :
20382 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20388 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20389 #include <netinet/in.h>
20390 #endif
20392 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20393 then :
20395 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20402 #ifdef HAVE_SYS_SOCKETVAR_H
20403 #include <sys/socketvar.h>
20404 #endif
20405 #ifdef HAVE_NETINET_IN_H
20406 #include <netinet/in.h>
20407 #endif
20408 #ifdef HAVE_NETINET_IP_VAR_H
20409 #include <netinet/ip_var.h>
20410 #endif
20412 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20421 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
20422 #include <netinet/ip_var.h>
20423 #endif
20425 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20434 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20435 #ifdef HAVE_SYS_SOCKETVAR_H
20436 #include <sys/socketvar.h>
20437 #endif
20438 #ifdef HAVE_NETINET_IN_H
20439 #include <netinet/in.h>
20440 #endif
20441 #ifdef HAVE_NETINET6_IP6_VAR_H
20442 #include <netinet6/ip6_var.h>
20443 #endif
20445 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20446 then :
20448 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20455 #ifdef HAVE_SYS_SOCKETVAR_H
20456 #include <sys/socketvar.h>
20457 #endif
20458 #ifdef HAVE_NETINET_IN_H
20459 #include <netinet/in.h>
20460 #endif
20461 #ifdef HAVE_NETINET_IP_H
20462 #include <netinet/ip.h>
20463 #endif
20464 #ifdef HAVE_NETINET_IP_ICMP_H
20465 #include <netinet/ip_icmp.h>
20466 #endif
20467 #ifdef HAVE_NETINET_ICMP_VAR_H
20468 #include <netinet/icmp_var.h>
20469 #endif
20471 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_SOCKETVAR_H
20482 #include <sys/socketvar.h>
20483 #endif
20484 #ifdef HAVE_NETINET_IN_H
20485 #include <netinet/in.h>
20486 #endif
20487 #ifdef HAVE_NETINET_ICMP6_H
20488 #include <netinet/icmp6.h>
20489 #endif
20491 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20500 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20501 #ifdef HAVE_SYS_SOCKETVAR_H
20502 #include <sys/socketvar.h>
20503 #endif
20504 #ifdef HAVE_NETINET_IN_H
20505 #include <netinet/in.h>
20506 #endif
20507 #ifdef HAVE_NETINET_TCP_H
20508 #include <netinet/tcp.h>
20509 #endif
20510 #ifdef HAVE_NETINET_TCP_VAR_H
20511 #include <netinet/tcp_var.h>
20512 #endif
20514 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20515 then :
20517 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20523 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
20524 #include <netinet/tcp_var.h>
20525 #endif
20527 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20536 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20537 #ifdef HAVE_NETINET_IN_H
20538 #include <netinet/in.h>
20539 #endif
20540 #ifdef HAVE_NETINET_IP_VAR_H
20541 #include <netinet/ip_var.h>
20542 #endif
20543 #ifdef HAVE_NETINET_UDP_H
20544 #include <netinet/udp.h>
20545 #endif
20546 #ifdef HAVE_NETINET_UDP_VAR_H
20547 #include <netinet/udp_var.h>
20548 #endif
20550 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20559 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20560 #ifdef HAVE_NET_IF_H
20561 # include <net/if.h>
20562 #endif
20564 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20565 then :
20567 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20574 # include <sys/sysinfo.h>
20575 #endif
20577 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20578 then :
20580 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20584 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20585 # include <sys/sysinfo.h>
20586 #endif
20588 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20589 then :
20591 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20597 LIBS="$ac_save_LIBS"
20599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20600 printf %s "checking for __builtin_popcount... " >&6; }
20601 if test ${ac_cv_have___builtin_popcount+y}
20602 then :
20603 printf %s "(cached) " >&6
20604 else $as_nop
20605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20606 /* end confdefs.h. */
20609 main (void)
20611 return __builtin_popcount(1)
20613 return 0;
20615 _ACEOF
20616 if ac_fn_c_try_link "$LINENO"
20617 then :
20618 ac_cv_have___builtin_popcount="yes"
20619 else $as_nop
20620 ac_cv_have___builtin_popcount="no"
20622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20623 conftest$ac_exeext conftest.$ac_ext
20625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20626 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20627 if test "$ac_cv_have___builtin_popcount" = "yes"
20628 then
20630 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20635 printf %s "checking for __clear_cache... " >&6; }
20636 if test ${ac_cv_have___clear_cache+y}
20637 then :
20638 printf %s "(cached) " >&6
20639 else $as_nop
20640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641 /* end confdefs.h. */
20644 main (void)
20646 __clear_cache((void*)0, (void*)0); return 0;
20648 return 0;
20650 _ACEOF
20651 if ac_fn_c_try_link "$LINENO"
20652 then :
20653 ac_cv_have___clear_cache="yes"
20654 else $as_nop
20655 ac_cv_have___clear_cache="no"
20657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20658 conftest$ac_exeext conftest.$ac_ext
20660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20661 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20662 if test "$ac_cv_have___clear_cache" = "yes"
20663 then
20665 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20670 case $host_cpu in
20671 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20672 printf %s "checking whether we need to define __i386__... " >&6; }
20673 if test ${ac_cv_cpp_def___i386__+y}
20674 then :
20675 printf %s "(cached) " >&6
20676 else $as_nop
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20679 #ifndef __i386__
20681 #endif
20682 _ACEOF
20683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20684 $EGREP "yes" >/dev/null 2>&1
20685 then :
20686 ac_cv_cpp_def___i386__=yes
20687 else $as_nop
20688 ac_cv_cpp_def___i386__=no
20690 rm -rf conftest*
20693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20694 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20695 if test "x$ac_cv_cpp_def___i386__" = xyes
20696 then :
20697 CFLAGS="$CFLAGS -D__i386__"
20698 LINTFLAGS="$LINTFLAGS -D__i386__"
20699 fi ;;
20700 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20701 printf %s "checking whether we need to define __x86_64__... " >&6; }
20702 if test ${ac_cv_cpp_def___x86_64__+y}
20703 then :
20704 printf %s "(cached) " >&6
20705 else $as_nop
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20708 #ifndef __x86_64__
20710 #endif
20711 _ACEOF
20712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20713 $EGREP "yes" >/dev/null 2>&1
20714 then :
20715 ac_cv_cpp_def___x86_64__=yes
20716 else $as_nop
20717 ac_cv_cpp_def___x86_64__=no
20719 rm -rf conftest*
20722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20723 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20724 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20725 then :
20726 CFLAGS="$CFLAGS -D__x86_64__"
20727 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20728 fi ;;
20729 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20730 printf %s "checking whether we need to define __sparc64__... " >&6; }
20731 if test ${ac_cv_cpp_def___sparc64__+y}
20732 then :
20733 printf %s "(cached) " >&6
20734 else $as_nop
20735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #ifndef __sparc64__
20739 #endif
20740 _ACEOF
20741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20742 $EGREP "yes" >/dev/null 2>&1
20743 then :
20744 ac_cv_cpp_def___sparc64__=yes
20745 else $as_nop
20746 ac_cv_cpp_def___sparc64__=no
20748 rm -rf conftest*
20751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20752 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20753 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20754 then :
20755 CFLAGS="$CFLAGS -D__sparc64__"
20756 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20757 fi ;;
20758 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20759 printf %s "checking whether we need to define __sparc__... " >&6; }
20760 if test ${ac_cv_cpp_def___sparc__+y}
20761 then :
20762 printf %s "(cached) " >&6
20763 else $as_nop
20764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h. */
20766 #ifndef __sparc__
20768 #endif
20769 _ACEOF
20770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20771 $EGREP "yes" >/dev/null 2>&1
20772 then :
20773 ac_cv_cpp_def___sparc__=yes
20774 else $as_nop
20775 ac_cv_cpp_def___sparc__=no
20777 rm -rf conftest*
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20781 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20782 if test "x$ac_cv_cpp_def___sparc__" = xyes
20783 then :
20784 CFLAGS="$CFLAGS -D__sparc__"
20785 LINTFLAGS="$LINTFLAGS -D__sparc__"
20786 fi ;;
20787 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20788 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20789 if test ${ac_cv_cpp_def___powerpc64__+y}
20790 then :
20791 printf %s "(cached) " >&6
20792 else $as_nop
20793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20794 /* end confdefs.h. */
20795 #ifndef __powerpc64__
20797 #endif
20798 _ACEOF
20799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20800 $EGREP "yes" >/dev/null 2>&1
20801 then :
20802 ac_cv_cpp_def___powerpc64__=yes
20803 else $as_nop
20804 ac_cv_cpp_def___powerpc64__=no
20806 rm -rf conftest*
20809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20810 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20811 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20812 then :
20813 CFLAGS="$CFLAGS -D__powerpc64__"
20814 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20815 fi ;;
20816 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20817 printf %s "checking whether we need to define __powerpc__... " >&6; }
20818 if test ${ac_cv_cpp_def___powerpc__+y}
20819 then :
20820 printf %s "(cached) " >&6
20821 else $as_nop
20822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #ifndef __powerpc__
20826 #endif
20827 _ACEOF
20828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20829 $EGREP "yes" >/dev/null 2>&1
20830 then :
20831 ac_cv_cpp_def___powerpc__=yes
20832 else $as_nop
20833 ac_cv_cpp_def___powerpc__=no
20835 rm -rf conftest*
20838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20839 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20840 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20841 then :
20842 CFLAGS="$CFLAGS -D__powerpc__"
20843 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20844 fi ;;
20845 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20846 printf %s "checking whether we need to define __aarch64__... " >&6; }
20847 if test ${ac_cv_cpp_def___aarch64__+y}
20848 then :
20849 printf %s "(cached) " >&6
20850 else $as_nop
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #ifndef __aarch64__
20855 #endif
20856 _ACEOF
20857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20858 $EGREP "yes" >/dev/null 2>&1
20859 then :
20860 ac_cv_cpp_def___aarch64__=yes
20861 else $as_nop
20862 ac_cv_cpp_def___aarch64__=no
20864 rm -rf conftest*
20867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20868 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20869 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20870 then :
20871 CFLAGS="$CFLAGS -D__aarch64__"
20872 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20873 fi ;;
20874 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20875 printf %s "checking whether we need to define __arm__... " >&6; }
20876 if test ${ac_cv_cpp_def___arm__+y}
20877 then :
20878 printf %s "(cached) " >&6
20879 else $as_nop
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #ifndef __arm__
20884 #endif
20885 _ACEOF
20886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20887 $EGREP "yes" >/dev/null 2>&1
20888 then :
20889 ac_cv_cpp_def___arm__=yes
20890 else $as_nop
20891 ac_cv_cpp_def___arm__=no
20893 rm -rf conftest*
20896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20897 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20898 if test "x$ac_cv_cpp_def___arm__" = xyes
20899 then :
20900 CFLAGS="$CFLAGS -D__arm__"
20901 LINTFLAGS="$LINTFLAGS -D__arm__"
20902 fi ;;
20903 esac
20905 case $host_vendor in
20906 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20907 printf %s "checking whether we need to define __sun__... " >&6; }
20908 if test ${ac_cv_cpp_def___sun__+y}
20909 then :
20910 printf %s "(cached) " >&6
20911 else $as_nop
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20914 #ifndef __sun__
20916 #endif
20917 _ACEOF
20918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20919 $EGREP "yes" >/dev/null 2>&1
20920 then :
20921 ac_cv_cpp_def___sun__=yes
20922 else $as_nop
20923 ac_cv_cpp_def___sun__=no
20925 rm -rf conftest*
20928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20929 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20930 if test "x$ac_cv_cpp_def___sun__" = xyes
20931 then :
20932 CFLAGS="$CFLAGS -D__sun__"
20933 LINTFLAGS="$LINTFLAGS -D__sun__"
20934 fi ;;
20935 esac
20941 ac_config_commands="$ac_config_commands include/stamp-h"
20943 printf %s "creating Makefile rules..." >&6
20945 makedep_flags=""
20946 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20948 wine_srcdir=
20949 test "$srcdir" = . || wine_srcdir="$srcdir/"
20951 ac_config_links="$ac_config_links wine:tools/winewrapper"
20952 wine_fn_config_symlink wine
20953 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20954 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20955 wine_fn_config_symlink wine64
20958 wine_fn_config_makefile dlls/acledit enable_acledit
20959 wine_fn_config_makefile dlls/aclui enable_aclui
20960 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20961 wine_fn_config_makefile dlls/activeds enable_activeds
20962 wine_fn_config_makefile dlls/activeds/tests enable_tests
20963 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20964 wine_fn_config_makefile dlls/adsldp enable_adsldp
20965 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20966 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20967 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20968 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20969 wine_fn_config_makefile dlls/advpack enable_advpack
20970 wine_fn_config_makefile dlls/advpack/tests enable_tests
20971 wine_fn_config_makefile dlls/amsi enable_amsi
20972 wine_fn_config_makefile dlls/amstream enable_amstream
20973 wine_fn_config_makefile dlls/amstream/tests enable_tests
20974 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20975 wine_fn_config_makefile dlls/apphelp enable_apphelp
20976 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20977 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20978 wine_fn_config_makefile dlls/atl enable_atl
20979 wine_fn_config_makefile dlls/atl/tests enable_tests
20980 wine_fn_config_makefile dlls/atl100 enable_atl100
20981 wine_fn_config_makefile dlls/atl100/tests enable_tests
20982 wine_fn_config_makefile dlls/atl110 enable_atl110
20983 wine_fn_config_makefile dlls/atl110/tests enable_tests
20984 wine_fn_config_makefile dlls/atl80 enable_atl80
20985 wine_fn_config_makefile dlls/atl80/tests enable_tests
20986 wine_fn_config_makefile dlls/atl90 enable_atl90
20987 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20988 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20989 wine_fn_config_makefile dlls/atmlib enable_atmlib
20990 wine_fn_config_makefile dlls/authz enable_authz
20991 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20992 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20993 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20994 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20995 wine_fn_config_makefile dlls/avrt enable_avrt
20996 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20997 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20998 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20999 wine_fn_config_makefile dlls/browseui enable_browseui
21000 wine_fn_config_makefile dlls/browseui/tests enable_tests
21001 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21002 wine_fn_config_makefile dlls/cabinet enable_cabinet
21003 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21004 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21005 wine_fn_config_makefile dlls/cards enable_cards
21006 wine_fn_config_makefile dlls/cdosys enable_cdosys
21007 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21008 wine_fn_config_makefile dlls/clusapi enable_clusapi
21009 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21010 wine_fn_config_makefile dlls/combase enable_combase
21011 wine_fn_config_makefile dlls/combase/tests enable_tests
21012 wine_fn_config_makefile dlls/comcat enable_comcat
21013 wine_fn_config_makefile dlls/comcat/tests enable_tests
21014 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21015 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21016 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21017 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21018 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21019 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21020 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21021 wine_fn_config_makefile dlls/compstui enable_compstui
21022 wine_fn_config_makefile dlls/compstui/tests enable_tests
21023 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21024 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21025 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21026 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21027 wine_fn_config_makefile dlls/connect enable_connect
21028 wine_fn_config_makefile dlls/credui enable_credui
21029 wine_fn_config_makefile dlls/credui/tests enable_tests
21030 wine_fn_config_makefile dlls/crtdll enable_crtdll
21031 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21032 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21033 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21034 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21035 wine_fn_config_makefile dlls/cryptext enable_cryptext
21036 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21037 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21038 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21039 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21040 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21041 wine_fn_config_makefile dlls/cryptui enable_cryptui
21042 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21043 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21044 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21045 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21046 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21047 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21048 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21049 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21050 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21051 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21052 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21053 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21054 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21055 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21056 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21057 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21058 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21059 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21060 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21061 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21062 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21063 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21064 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21065 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21066 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21067 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21068 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21069 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21070 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21071 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21072 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21073 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21074 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21075 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21076 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21077 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21078 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21079 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21080 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21081 wine_fn_config_makefile dlls/d3dim enable_d3dim
21082 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21083 wine_fn_config_makefile dlls/d3drm enable_d3drm
21084 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21085 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21086 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21087 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21088 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21089 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21090 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21091 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21092 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21093 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21094 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21095 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21096 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21097 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21098 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21099 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21100 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21101 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21102 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21103 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21104 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21105 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21107 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21108 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21109 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21110 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21111 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21112 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21113 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21114 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21115 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21116 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21117 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21118 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21119 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21120 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21121 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21122 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21123 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21124 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21125 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21126 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21127 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21128 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21129 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21130 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21131 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21132 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21133 wine_fn_config_makefile dlls/davclnt enable_davclnt
21134 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21135 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21136 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21137 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21138 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21139 wine_fn_config_makefile dlls/dcomp enable_dcomp
21140 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21141 wine_fn_config_makefile dlls/ddraw enable_ddraw
21142 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21143 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21144 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21145 wine_fn_config_makefile dlls/devenum enable_devenum
21146 wine_fn_config_makefile dlls/devenum/tests enable_tests
21147 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21148 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21149 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21150 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21151 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21152 wine_fn_config_makefile dlls/difxapi enable_difxapi
21153 wine_fn_config_makefile dlls/dinput enable_dinput
21154 wine_fn_config_makefile dlls/dinput/tests enable_tests
21155 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21156 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21157 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21158 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21159 wine_fn_config_makefile dlls/dispex enable_dispex
21160 wine_fn_config_makefile dlls/dispex/tests enable_tests
21161 wine_fn_config_makefile dlls/display.drv16 enable_win16
21162 wine_fn_config_makefile dlls/dmband enable_dmband
21163 wine_fn_config_makefile dlls/dmband/tests enable_tests
21164 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21165 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21166 wine_fn_config_makefile dlls/dmime enable_dmime
21167 wine_fn_config_makefile dlls/dmime/tests enable_tests
21168 wine_fn_config_makefile dlls/dmloader enable_dmloader
21169 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21170 wine_fn_config_makefile dlls/dmscript enable_dmscript
21171 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21172 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21173 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21174 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21175 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21176 wine_fn_config_makefile dlls/dmusic enable_dmusic
21177 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21178 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21179 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21180 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21181 wine_fn_config_makefile dlls/dplay enable_dplay
21182 wine_fn_config_makefile dlls/dplayx enable_dplayx
21183 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21184 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21185 wine_fn_config_makefile dlls/dpnet enable_dpnet
21186 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21187 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21188 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21189 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21190 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21191 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21192 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21193 wine_fn_config_makefile dlls/drmclien enable_drmclien
21194 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21195 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21196 wine_fn_config_makefile dlls/dsound enable_dsound
21197 wine_fn_config_makefile dlls/dsound/tests enable_tests
21198 wine_fn_config_makefile dlls/dsquery enable_dsquery
21199 wine_fn_config_makefile dlls/dssenh enable_dssenh
21200 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21201 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21202 wine_fn_config_makefile dlls/dswave enable_dswave
21203 wine_fn_config_makefile dlls/dswave/tests enable_tests
21204 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21205 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21206 wine_fn_config_makefile dlls/dwrite enable_dwrite
21207 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21208 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21209 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21210 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21211 wine_fn_config_makefile dlls/dxgi enable_dxgi
21212 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21213 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21214 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21215 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21216 wine_fn_config_makefile dlls/esent enable_esent
21217 wine_fn_config_makefile dlls/evr enable_evr
21218 wine_fn_config_makefile dlls/evr/tests enable_tests
21219 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21220 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21221 wine_fn_config_makefile dlls/faultrep enable_faultrep
21222 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21223 wine_fn_config_makefile dlls/feclient enable_feclient
21224 wine_fn_config_makefile dlls/fltlib enable_fltlib
21225 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21226 wine_fn_config_makefile dlls/fntcache enable_fntcache
21227 wine_fn_config_makefile dlls/fontsub enable_fontsub
21228 wine_fn_config_makefile dlls/fusion enable_fusion
21229 wine_fn_config_makefile dlls/fusion/tests enable_tests
21230 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21231 wine_fn_config_makefile dlls/gameux enable_gameux
21232 wine_fn_config_makefile dlls/gameux/tests enable_tests
21233 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21234 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21235 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21236 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21237 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21238 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21239 wine_fn_config_makefile dlls/glu32 enable_glu32
21240 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21241 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21242 wine_fn_config_makefile dlls/hal enable_hal
21243 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21244 wine_fn_config_makefile dlls/hid enable_hid
21245 wine_fn_config_makefile dlls/hid/tests enable_tests
21246 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21247 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21248 wine_fn_config_makefile dlls/hlink enable_hlink
21249 wine_fn_config_makefile dlls/hlink/tests enable_tests
21250 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21251 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21252 wine_fn_config_makefile dlls/http.sys enable_http_sys
21253 wine_fn_config_makefile dlls/httpapi enable_httpapi
21254 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21255 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21256 wine_fn_config_makefile dlls/iccvid enable_iccvid
21257 wine_fn_config_makefile dlls/icmp enable_icmp
21258 wine_fn_config_makefile dlls/ieframe enable_ieframe
21259 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21260 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21261 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21262 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21263 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21264 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21265 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21266 wine_fn_config_makefile dlls/imm32 enable_imm32
21267 wine_fn_config_makefile dlls/imm32/tests enable_tests
21268 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21269 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21270 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21271 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21272 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21273 wine_fn_config_makefile dlls/infosoft enable_infosoft
21274 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21275 wine_fn_config_makefile dlls/initpki enable_initpki
21276 wine_fn_config_makefile dlls/inkobj enable_inkobj
21277 wine_fn_config_makefile dlls/inseng enable_inseng
21278 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21279 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21280 wine_fn_config_makefile dlls/iprop enable_iprop
21281 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21282 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21283 wine_fn_config_makefile dlls/itircl enable_itircl
21284 wine_fn_config_makefile dlls/itss enable_itss
21285 wine_fn_config_makefile dlls/itss/tests enable_tests
21286 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21287 wine_fn_config_makefile dlls/jscript enable_jscript
21288 wine_fn_config_makefile dlls/jscript/tests enable_tests
21289 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21290 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21291 wine_fn_config_makefile dlls/kerberos enable_kerberos
21292 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21293 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21294 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21295 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21296 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21297 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21298 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21299 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21300 wine_fn_config_makefile dlls/ksuser enable_ksuser
21301 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21302 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21303 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21304 wine_fn_config_makefile dlls/loadperf enable_loadperf
21305 wine_fn_config_makefile dlls/localspl enable_localspl
21306 wine_fn_config_makefile dlls/localspl/tests enable_tests
21307 wine_fn_config_makefile dlls/localui enable_localui
21308 wine_fn_config_makefile dlls/localui/tests enable_tests
21309 wine_fn_config_makefile dlls/lz32 enable_lz32
21310 wine_fn_config_makefile dlls/lz32/tests enable_tests
21311 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21312 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21313 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21314 wine_fn_config_makefile dlls/mapistub enable_mapistub
21315 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21316 wine_fn_config_makefile dlls/mcicda enable_mcicda
21317 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21318 wine_fn_config_makefile dlls/mciseq enable_mciseq
21319 wine_fn_config_makefile dlls/mciwave enable_mciwave
21320 wine_fn_config_makefile dlls/mf enable_mf
21321 wine_fn_config_makefile dlls/mf/tests enable_tests
21322 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21323 wine_fn_config_makefile dlls/mferror enable_mferror
21324 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21325 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21326 wine_fn_config_makefile dlls/mfplat enable_mfplat
21327 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21328 wine_fn_config_makefile dlls/mfplay enable_mfplay
21329 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21330 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21331 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21332 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21333 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21334 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21335 wine_fn_config_makefile dlls/midimap enable_midimap
21336 wine_fn_config_makefile dlls/mlang enable_mlang
21337 wine_fn_config_makefile dlls/mlang/tests enable_tests
21338 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21339 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21340 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21341 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21342 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21343 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21344 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21345 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21346 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21347 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21348 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21349 wine_fn_config_makefile dlls/mpr enable_mpr
21350 wine_fn_config_makefile dlls/mpr/tests enable_tests
21351 wine_fn_config_makefile dlls/mprapi enable_mprapi
21352 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21353 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21354 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21355 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21356 wine_fn_config_makefile dlls/msado15 enable_msado15
21357 wine_fn_config_makefile dlls/msado15/tests enable_tests
21358 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21359 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21360 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21361 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21362 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21363 wine_fn_config_makefile dlls/mscms enable_mscms
21364 wine_fn_config_makefile dlls/mscms/tests enable_tests
21365 wine_fn_config_makefile dlls/mscoree enable_mscoree
21366 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21367 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21368 wine_fn_config_makefile dlls/msctf enable_msctf
21369 wine_fn_config_makefile dlls/msctf/tests enable_tests
21370 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21371 wine_fn_config_makefile dlls/msctfp enable_msctfp
21372 wine_fn_config_makefile dlls/msdaps enable_msdaps
21373 wine_fn_config_makefile dlls/msdasql enable_msdasql
21374 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21375 wine_fn_config_makefile dlls/msdelta enable_msdelta
21376 wine_fn_config_makefile dlls/msdmo enable_msdmo
21377 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21378 wine_fn_config_makefile dlls/msdrm enable_msdrm
21379 wine_fn_config_makefile dlls/msftedit enable_msftedit
21380 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21381 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21382 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21383 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21384 wine_fn_config_makefile dlls/mshtml enable_mshtml
21385 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21386 wine_fn_config_makefile dlls/msi enable_msi
21387 wine_fn_config_makefile dlls/msi/tests enable_tests
21388 wine_fn_config_makefile dlls/msident enable_msident
21389 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21390 wine_fn_config_makefile dlls/msimsg enable_msimsg
21391 wine_fn_config_makefile dlls/msimtf enable_msimtf
21392 wine_fn_config_makefile dlls/msisip enable_msisip
21393 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21394 wine_fn_config_makefile dlls/msls31 enable_msls31
21395 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21396 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21397 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21398 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21399 wine_fn_config_makefile dlls/msports enable_msports
21400 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21401 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21402 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21403 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21404 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21405 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21406 wine_fn_config_makefile dlls/mstask enable_mstask
21407 wine_fn_config_makefile dlls/mstask/tests enable_tests
21408 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21409 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21410 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21411 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21412 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21413 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21414 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21415 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21416 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21417 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21418 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21419 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21420 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21421 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21422 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21423 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21424 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21425 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21426 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21427 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21428 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21429 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21430 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21431 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21432 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21433 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21434 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21435 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21436 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21437 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21438 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21439 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21440 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21442 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21443 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21444 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21445 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21447 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21449 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21451 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21453 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21454 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21455 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21456 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21457 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21458 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21459 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21460 wine_fn_config_makefile dlls/mswsock enable_mswsock
21461 wine_fn_config_makefile dlls/msxml enable_msxml
21462 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21463 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21464 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21465 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21466 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21467 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21468 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21469 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21470 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21471 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21472 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21473 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21474 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21475 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21476 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21477 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21478 wine_fn_config_makefile dlls/netprofm enable_netprofm
21479 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21480 wine_fn_config_makefile dlls/netutils enable_netutils
21481 wine_fn_config_makefile dlls/newdev enable_newdev
21482 wine_fn_config_makefile dlls/ninput enable_ninput
21483 wine_fn_config_makefile dlls/ninput/tests enable_tests
21484 wine_fn_config_makefile dlls/normaliz enable_normaliz
21485 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21486 wine_fn_config_makefile dlls/npptools enable_npptools
21487 wine_fn_config_makefile dlls/nsi enable_nsi
21488 wine_fn_config_makefile dlls/nsi/tests enable_tests
21489 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21490 wine_fn_config_makefile dlls/ntdll enable_ntdll
21491 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21492 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21493 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21494 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21495 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21496 wine_fn_config_makefile dlls/ntprint enable_ntprint
21497 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21498 wine_fn_config_makefile dlls/objsel enable_objsel
21499 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21500 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21501 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21502 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21503 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21504 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21505 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21506 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21507 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21508 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21509 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21510 wine_fn_config_makefile dlls/ole32 enable_ole32
21511 wine_fn_config_makefile dlls/ole32/tests enable_tests
21512 wine_fn_config_makefile dlls/oleacc enable_oleacc
21513 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21514 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21515 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21516 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21517 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21518 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21519 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21520 wine_fn_config_makefile dlls/oledlg enable_oledlg
21521 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21522 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21523 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21524 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21525 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21526 wine_fn_config_makefile dlls/opcservices enable_opcservices
21527 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21528 wine_fn_config_makefile dlls/opencl enable_opencl
21529 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21530 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21531 wine_fn_config_makefile dlls/packager enable_packager
21532 wine_fn_config_makefile dlls/packager/tests enable_tests
21533 wine_fn_config_makefile dlls/pdh enable_pdh
21534 wine_fn_config_makefile dlls/pdh/tests enable_tests
21535 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21536 wine_fn_config_makefile dlls/pidgen enable_pidgen
21537 wine_fn_config_makefile dlls/powrprof enable_powrprof
21538 wine_fn_config_makefile dlls/printui enable_printui
21539 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21540 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21541 wine_fn_config_makefile dlls/propsys enable_propsys
21542 wine_fn_config_makefile dlls/propsys/tests enable_tests
21543 wine_fn_config_makefile dlls/psapi enable_psapi
21544 wine_fn_config_makefile dlls/psapi/tests enable_tests
21545 wine_fn_config_makefile dlls/pstorec enable_pstorec
21546 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21547 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21548 wine_fn_config_makefile dlls/qasf enable_qasf
21549 wine_fn_config_makefile dlls/qasf/tests enable_tests
21550 wine_fn_config_makefile dlls/qcap enable_qcap
21551 wine_fn_config_makefile dlls/qcap/tests enable_tests
21552 wine_fn_config_makefile dlls/qdvd enable_qdvd
21553 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21554 wine_fn_config_makefile dlls/qedit enable_qedit
21555 wine_fn_config_makefile dlls/qedit/tests enable_tests
21556 wine_fn_config_makefile dlls/qmgr enable_qmgr
21557 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21558 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21559 wine_fn_config_makefile dlls/quartz enable_quartz
21560 wine_fn_config_makefile dlls/quartz/tests enable_tests
21561 wine_fn_config_makefile dlls/query enable_query
21562 wine_fn_config_makefile dlls/qwave enable_qwave
21563 wine_fn_config_makefile dlls/qwave/tests enable_tests
21564 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21565 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21566 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21567 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21568 wine_fn_config_makefile dlls/regapi enable_regapi
21569 wine_fn_config_makefile dlls/resutils enable_resutils
21570 wine_fn_config_makefile dlls/riched20 enable_riched20
21571 wine_fn_config_makefile dlls/riched20/tests enable_tests
21572 wine_fn_config_makefile dlls/riched32 enable_riched32
21573 wine_fn_config_makefile dlls/riched32/tests enable_tests
21574 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21575 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21576 wine_fn_config_makefile dlls/rsabase enable_rsabase
21577 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21578 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21579 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21580 wine_fn_config_makefile dlls/rtutils enable_rtutils
21581 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21582 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21583 wine_fn_config_makefile dlls/samlib enable_samlib
21584 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21585 wine_fn_config_makefile dlls/sapi enable_sapi
21586 wine_fn_config_makefile dlls/sapi/tests enable_tests
21587 wine_fn_config_makefile dlls/sas enable_sas
21588 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21589 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21590 wine_fn_config_makefile dlls/sccbase enable_sccbase
21591 wine_fn_config_makefile dlls/schannel enable_schannel
21592 wine_fn_config_makefile dlls/schannel/tests enable_tests
21593 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21594 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21595 wine_fn_config_makefile dlls/scrobj enable_scrobj
21596 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21597 wine_fn_config_makefile dlls/scrrun enable_scrrun
21598 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21599 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21600 wine_fn_config_makefile dlls/sechost enable_sechost
21601 wine_fn_config_makefile dlls/secur32 enable_secur32
21602 wine_fn_config_makefile dlls/secur32/tests enable_tests
21603 wine_fn_config_makefile dlls/security enable_security
21604 wine_fn_config_makefile dlls/sensapi enable_sensapi
21605 wine_fn_config_makefile dlls/serialui enable_serialui
21606 wine_fn_config_makefile dlls/serialui/tests enable_tests
21607 wine_fn_config_makefile dlls/setupapi enable_setupapi
21608 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21609 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21610 wine_fn_config_makefile dlls/sfc enable_sfc
21611 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21612 wine_fn_config_makefile dlls/shcore enable_shcore
21613 wine_fn_config_makefile dlls/shcore/tests enable_tests
21614 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21615 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21616 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21617 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21618 wine_fn_config_makefile dlls/shell32 enable_shell32
21619 wine_fn_config_makefile dlls/shell32/tests enable_tests
21620 wine_fn_config_makefile dlls/shfolder enable_shfolder
21621 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21622 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21623 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21624 wine_fn_config_makefile dlls/slc enable_slc
21625 wine_fn_config_makefile dlls/slc/tests enable_tests
21626 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21627 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21628 wine_fn_config_makefile dlls/softpub enable_softpub
21629 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21630 wine_fn_config_makefile dlls/spoolss enable_spoolss
21631 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21632 wine_fn_config_makefile dlls/sppc enable_sppc
21633 wine_fn_config_makefile dlls/srclient enable_srclient
21634 wine_fn_config_makefile dlls/srvcli enable_srvcli
21635 wine_fn_config_makefile dlls/sspicli enable_sspicli
21636 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21637 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21638 wine_fn_config_makefile dlls/sti enable_sti
21639 wine_fn_config_makefile dlls/sti/tests enable_tests
21640 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21641 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21642 wine_fn_config_makefile dlls/strmdll enable_strmdll
21643 wine_fn_config_makefile dlls/svrapi enable_svrapi
21644 wine_fn_config_makefile dlls/sxs enable_sxs
21645 wine_fn_config_makefile dlls/sxs/tests enable_tests
21646 wine_fn_config_makefile dlls/system.drv16 enable_win16
21647 wine_fn_config_makefile dlls/t2embed enable_t2embed
21648 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21649 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21650 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21651 wine_fn_config_makefile dlls/taskschd enable_taskschd
21652 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21653 wine_fn_config_makefile dlls/tbs enable_tbs
21654 wine_fn_config_makefile dlls/tdh enable_tdh
21655 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21656 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21657 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21658 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21659 wine_fn_config_makefile dlls/traffic enable_traffic
21660 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21661 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21662 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21663 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21664 wine_fn_config_makefile dlls/tzres enable_tzres
21665 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21666 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21667 wine_fn_config_makefile dlls/uianimation enable_uianimation
21668 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21669 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21670 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21671 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21672 wine_fn_config_makefile dlls/unicows enable_unicows
21673 wine_fn_config_makefile dlls/updspapi enable_updspapi
21674 wine_fn_config_makefile dlls/url enable_url
21675 wine_fn_config_makefile dlls/urlmon enable_urlmon
21676 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21677 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21678 wine_fn_config_makefile dlls/user.exe16 enable_win16
21679 wine_fn_config_makefile dlls/user32 enable_user32
21680 wine_fn_config_makefile dlls/user32/tests enable_tests
21681 wine_fn_config_makefile dlls/userenv enable_userenv
21682 wine_fn_config_makefile dlls/userenv/tests enable_tests
21683 wine_fn_config_makefile dlls/usp10 enable_usp10
21684 wine_fn_config_makefile dlls/usp10/tests enable_tests
21685 wine_fn_config_makefile dlls/utildll enable_utildll
21686 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21687 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21688 wine_fn_config_makefile dlls/vbscript enable_vbscript
21689 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21690 wine_fn_config_makefile dlls/vcomp enable_vcomp
21691 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21692 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21693 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21694 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21695 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21696 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21697 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21698 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21699 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21700 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21701 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21702 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21703 wine_fn_config_makefile dlls/version enable_version
21704 wine_fn_config_makefile dlls/version/tests enable_tests
21705 wine_fn_config_makefile dlls/vga enable_vga
21706 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21707 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21708 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21709 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21710 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21711 wine_fn_config_makefile dlls/vssapi enable_vssapi
21712 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21713 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21714 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21715 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21716 wine_fn_config_makefile dlls/w32skrnl enable_win16
21717 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21718 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21719 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21720 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21721 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21722 wine_fn_config_makefile dlls/wdscore enable_wdscore
21723 wine_fn_config_makefile dlls/webservices enable_webservices
21724 wine_fn_config_makefile dlls/webservices/tests enable_tests
21725 wine_fn_config_makefile dlls/websocket enable_websocket
21726 wine_fn_config_makefile dlls/wer enable_wer
21727 wine_fn_config_makefile dlls/wer/tests enable_tests
21728 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21729 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21730 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21731 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21732 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21733 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21734 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21735 wine_fn_config_makefile dlls/win32u enable_win32u
21736 wine_fn_config_makefile dlls/win32u/tests enable_tests
21737 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21738 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21739 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21740 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21741 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21742 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21743 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21744 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21745 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21746 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21747 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21748 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21749 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21750 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21751 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21752 wine_fn_config_makefile dlls/windows.media enable_windows_media
21753 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21754 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21755 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21756 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21757 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21758 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21759 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21760 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21761 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21762 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21763 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21764 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21765 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21766 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21767 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21768 wine_fn_config_makefile dlls/wined3d enable_wined3d
21769 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21770 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21771 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21772 wine_fn_config_makefile dlls/winemapi enable_winemapi
21773 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21774 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21775 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21776 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21777 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21778 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21779 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21780 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21781 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21782 wine_fn_config_makefile dlls/wing32 enable_wing32
21783 wine_fn_config_makefile dlls/winhttp enable_winhttp
21784 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21785 wine_fn_config_makefile dlls/wininet enable_wininet
21786 wine_fn_config_makefile dlls/wininet/tests enable_tests
21787 wine_fn_config_makefile dlls/winmm enable_winmm
21788 wine_fn_config_makefile dlls/winmm/tests enable_tests
21789 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21790 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21791 wine_fn_config_makefile dlls/winprint enable_winprint
21792 wine_fn_config_makefile dlls/winscard enable_winscard
21793 wine_fn_config_makefile dlls/winscard/tests enable_tests
21794 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21795 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21796 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21797 wine_fn_config_makefile dlls/winsta enable_winsta
21798 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21799 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21800 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21801 wine_fn_config_makefile dlls/wintrust enable_wintrust
21802 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21803 wine_fn_config_makefile dlls/wintypes enable_wintypes
21804 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21805 wine_fn_config_makefile dlls/winusb enable_winusb
21806 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21807 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21808 wine_fn_config_makefile dlls/wlanui enable_wlanui
21809 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21810 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21811 wine_fn_config_makefile dlls/wmasf enable_wmasf
21812 wine_fn_config_makefile dlls/wmi enable_wmi
21813 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21814 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21815 wine_fn_config_makefile dlls/wmp enable_wmp
21816 wine_fn_config_makefile dlls/wmp/tests enable_tests
21817 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21818 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21819 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21820 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21821 wine_fn_config_makefile dlls/wofutil enable_wofutil
21822 wine_fn_config_makefile dlls/wow32 enable_win16
21823 wine_fn_config_makefile dlls/wow64 enable_wow64
21824 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21825 wine_fn_config_makefile dlls/wow64win enable_wow64win
21826 wine_fn_config_makefile dlls/wpc enable_wpc
21827 wine_fn_config_makefile dlls/wpc/tests enable_tests
21828 wine_fn_config_makefile dlls/wpcap enable_wpcap
21829 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21830 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21831 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21832 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21833 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21834 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21835 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21836 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21837 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21838 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21839 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21840 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21841 wine_fn_config_makefile dlls/wuapi enable_wuapi
21842 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21843 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21844 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21845 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21846 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21847 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21848 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21849 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21850 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21851 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21852 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21853 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21854 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21855 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21856 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21857 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21858 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21859 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21860 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21861 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21862 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21863 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21864 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21865 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21866 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21867 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21868 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21869 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21870 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21871 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21872 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21873 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21874 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21875 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21876 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21877 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21878 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21879 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21880 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21881 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21882 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21883 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21884 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21885 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21886 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21887 wine_fn_config_makefile dlls/xmllite enable_xmllite
21888 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21889 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21890 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21891 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21892 wine_fn_config_makefile fonts enable_fonts
21893 wine_fn_config_makefile include enable_include
21894 wine_fn_config_makefile libs/adsiid enable_adsiid
21895 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21896 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21897 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21898 wine_fn_config_makefile libs/dxguid enable_dxguid
21899 wine_fn_config_makefile libs/faudio enable_faudio
21900 wine_fn_config_makefile libs/gsm enable_gsm
21901 wine_fn_config_makefile libs/jpeg enable_jpeg
21902 wine_fn_config_makefile libs/jxr enable_jxr
21903 wine_fn_config_makefile libs/lcms2 enable_lcms2
21904 wine_fn_config_makefile libs/ldap enable_ldap
21905 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21906 wine_fn_config_makefile libs/mpg123 enable_mpg123
21907 wine_fn_config_makefile libs/png enable_png
21908 wine_fn_config_makefile libs/strmbase enable_strmbase
21909 wine_fn_config_makefile libs/strmiids enable_strmiids
21910 wine_fn_config_makefile libs/tiff enable_tiff
21911 wine_fn_config_makefile libs/uuid enable_uuid
21912 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21913 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21914 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21915 wine_fn_config_makefile libs/xml2 enable_xml2
21916 wine_fn_config_makefile libs/xslt enable_xslt
21917 wine_fn_config_makefile libs/zlib enable_zlib
21918 wine_fn_config_makefile libs/zydis enable_zydis
21919 wine_fn_config_makefile loader enable_loader
21920 wine_fn_config_makefile nls enable_nls
21921 wine_fn_config_makefile po enable_po
21922 wine_fn_config_makefile programs/arp enable_arp
21923 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21924 wine_fn_config_makefile programs/attrib enable_attrib
21925 wine_fn_config_makefile programs/cabarc enable_cabarc
21926 wine_fn_config_makefile programs/cacls enable_cacls
21927 wine_fn_config_makefile programs/certutil enable_certutil
21928 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21929 wine_fn_config_makefile programs/clock enable_clock
21930 wine_fn_config_makefile programs/cmd enable_cmd
21931 wine_fn_config_makefile programs/cmd/tests enable_tests
21932 wine_fn_config_makefile programs/conhost enable_conhost
21933 wine_fn_config_makefile programs/conhost/tests enable_tests
21934 wine_fn_config_makefile programs/control enable_control
21935 wine_fn_config_makefile programs/cscript enable_cscript
21936 wine_fn_config_makefile programs/dism enable_dism
21937 wine_fn_config_makefile programs/dllhost enable_dllhost
21938 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21939 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21940 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21941 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21942 wine_fn_config_makefile programs/eject enable_eject
21943 wine_fn_config_makefile programs/expand enable_expand
21944 wine_fn_config_makefile programs/explorer enable_explorer
21945 wine_fn_config_makefile programs/explorer/tests enable_tests
21946 wine_fn_config_makefile programs/extrac32 enable_extrac32
21947 wine_fn_config_makefile programs/fc enable_fc
21948 wine_fn_config_makefile programs/find enable_find
21949 wine_fn_config_makefile programs/find/tests enable_tests
21950 wine_fn_config_makefile programs/findstr enable_findstr
21951 wine_fn_config_makefile programs/fsutil enable_fsutil
21952 wine_fn_config_makefile programs/fsutil/tests enable_tests
21953 wine_fn_config_makefile programs/hh enable_hh
21954 wine_fn_config_makefile programs/hostname enable_hostname
21955 wine_fn_config_makefile programs/icacls enable_icacls
21956 wine_fn_config_makefile programs/icinfo enable_icinfo
21957 wine_fn_config_makefile programs/iexplore enable_iexplore
21958 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21959 wine_fn_config_makefile programs/lodctr enable_lodctr
21960 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21961 wine_fn_config_makefile programs/mshta enable_mshta
21962 wine_fn_config_makefile programs/msidb enable_msidb
21963 wine_fn_config_makefile programs/msiexec enable_msiexec
21964 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21965 wine_fn_config_makefile programs/net enable_net
21966 wine_fn_config_makefile programs/netsh enable_netsh
21967 wine_fn_config_makefile programs/netstat enable_netstat
21968 wine_fn_config_makefile programs/ngen enable_ngen
21969 wine_fn_config_makefile programs/notepad enable_notepad
21970 wine_fn_config_makefile programs/oleview enable_oleview
21971 wine_fn_config_makefile programs/ping enable_ping
21972 wine_fn_config_makefile programs/plugplay enable_plugplay
21973 wine_fn_config_makefile programs/powershell enable_powershell
21974 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21975 wine_fn_config_makefile programs/progman enable_progman
21976 wine_fn_config_makefile programs/reg enable_reg
21977 wine_fn_config_makefile programs/reg/tests enable_tests
21978 wine_fn_config_makefile programs/regasm enable_regasm
21979 wine_fn_config_makefile programs/regedit enable_regedit
21980 wine_fn_config_makefile programs/regedit/tests enable_tests
21981 wine_fn_config_makefile programs/regini enable_regini
21982 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21983 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21984 wine_fn_config_makefile programs/robocopy enable_robocopy
21985 wine_fn_config_makefile programs/rpcss enable_rpcss
21986 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21987 wine_fn_config_makefile programs/rundll32 enable_rundll32
21988 wine_fn_config_makefile programs/sc enable_sc
21989 wine_fn_config_makefile programs/sc/tests enable_tests
21990 wine_fn_config_makefile programs/schtasks enable_schtasks
21991 wine_fn_config_makefile programs/schtasks/tests enable_tests
21992 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21993 wine_fn_config_makefile programs/secedit enable_secedit
21994 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21995 wine_fn_config_makefile programs/services enable_services
21996 wine_fn_config_makefile programs/services/tests enable_tests
21997 wine_fn_config_makefile programs/setx enable_setx
21998 wine_fn_config_makefile programs/shutdown enable_shutdown
21999 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22000 wine_fn_config_makefile programs/start enable_start
22001 wine_fn_config_makefile programs/subst enable_subst
22002 wine_fn_config_makefile programs/svchost enable_svchost
22003 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22004 wine_fn_config_makefile programs/taskkill enable_taskkill
22005 wine_fn_config_makefile programs/tasklist enable_tasklist
22006 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22007 wine_fn_config_makefile programs/termsv enable_termsv
22008 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22009 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22010 wine_fn_config_makefile programs/view enable_view
22011 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22012 wine_fn_config_makefile programs/where enable_where
22013 wine_fn_config_makefile programs/whoami enable_whoami
22014 wine_fn_config_makefile programs/wineboot enable_wineboot
22015 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22016 wine_fn_config_makefile programs/winecfg enable_winecfg
22017 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22018 wine_fn_config_makefile programs/winedbg enable_winedbg
22019 wine_fn_config_makefile programs/winedevice enable_winedevice
22020 wine_fn_config_makefile programs/winefile enable_winefile
22021 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22022 wine_fn_config_makefile programs/winemine enable_winemine
22023 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22024 wine_fn_config_makefile programs/winepath enable_winepath
22025 wine_fn_config_makefile programs/winetest enable_winetest
22026 wine_fn_config_makefile programs/winevdm enable_win16
22027 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22028 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22029 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22030 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22031 wine_fn_config_makefile programs/winver enable_winver
22032 wine_fn_config_makefile programs/wmic enable_wmic
22033 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22034 wine_fn_config_makefile programs/wordpad enable_wordpad
22035 wine_fn_config_makefile programs/write enable_write
22036 wine_fn_config_makefile programs/wscript enable_wscript
22037 wine_fn_config_makefile programs/wscript/tests enable_tests
22038 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22039 wine_fn_config_makefile programs/wusa enable_wusa
22040 wine_fn_config_makefile programs/xcopy enable_xcopy
22041 wine_fn_config_makefile programs/xcopy/tests enable_tests
22042 wine_fn_config_makefile server enable_server
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22054 as_fn_append CONFIGURE_TARGETS " TAGS"
22055 as_fn_append CONFIGURE_TARGETS " tags"
22056 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22057 as_fn_append CONFIGURE_TARGETS " config.log"
22058 as_fn_append CONFIGURE_TARGETS " config.status"
22059 as_fn_append CONFIGURE_TARGETS " include/config.h"
22060 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22061 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22063 if test "x$enable_tools" != xno
22064 then
22065 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22066 ac_config_commands="$ac_config_commands tools/makedep"
22070 ac_config_commands="$ac_config_commands Makefile"
22074 SHELL=/bin/sh
22077 as_fn_append wine_rules "
22078 all: wine
22079 @echo \"Wine build complete.\"
22080 .INIT: Makefile
22081 .MAKEFILEDEPS:
22082 all: Makefile
22083 Makefile: config.status \$(MAKEDEP)
22084 @./config.status Makefile
22085 depend: \$(MAKEDEP)
22086 \$(MAKEDEP)$makedep_flags"
22089 as_fn_append wine_rules "
22090 config.status: ${wine_srcdir}configure
22091 @./config.status --recheck
22092 include/config.h: include/stamp-h
22093 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22094 @./config.status include/config.h include/stamp-h"
22096 if test "x$enable_maintainer_mode" = xyes
22097 then
22098 as_fn_append wine_rules "
22099 configure: configure.ac aclocal.m4
22100 autoconf --warnings=all
22101 include/config.h.in: include/stamp-h.in
22102 include/stamp-h.in: configure.ac aclocal.m4
22103 autoheader --warnings=all
22104 @echo timestamp > \$@"
22107 if test "x$enable_tools" != xno
22108 then
22109 as_fn_append wine_rules "
22110 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22111 @./config.status tools/makedep
22112 Makefile: tools/makedep$ac_exeext"
22113 else
22114 as_fn_append wine_rules "
22115 \$(MAKEDEP):
22116 @echo \"You need to run make in $toolsdir first\" && false"
22120 if test -n "$with_wine64"
22121 then
22122 case "$with_wine64" in
22123 /*) reldir="" ;;
22124 *) reldir="../" ;;
22125 esac
22126 rm -f fonts server 2>/dev/null
22127 as_fn_append wine_rules "
22128 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22129 loader/wine64 loader/wine64-preloader:
22130 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22131 $with_wine64/loader/wine:
22132 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22133 $with_wine64/loader/wine-preloader:
22134 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22135 clean::
22136 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22137 else
22138 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22139 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22140 fonts \
22141 loader/wine.inf \
22142 nls \
22143 programs/msidb/msidb \
22144 programs/msiexec/msiexec \
22145 programs/notepad/notepad \
22146 programs/regedit/regedit \
22147 programs/regsvr32/regsvr32 \
22148 programs/wineboot/wineboot \
22149 programs/winecfg/winecfg \
22150 programs/wineconsole/wineconsole \
22151 programs/winedbg/winedbg \
22152 programs/winefile/winefile \
22153 programs/winemine/winemine \
22154 programs/winepath/winepath \
22155 server/wineserver"
22157 case $host_os in
22158 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22159 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22160 esac
22164 as_fn_append wine_rules "
22165 distclean:: clean
22166 rm -rf autom4te.cache
22167 maintainer-clean::
22168 rm -f configure include/config.h.in"
22171 as_fn_append wine_rules "
22172 dlls/ntdll/unix/version.c: dummy
22173 @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)
22174 programs/winetest/build.rc: dummy
22175 @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)
22176 programs/winetest/build.nfo:
22177 @-\$(CC) -v 2>\$@
22178 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
22179 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22180 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22183 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22185 as_fn_append wine_rules "
22186 TAGS etags:
22187 rm -f TAGS
22188 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22189 tags ctags:
22190 rm -f tags
22191 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22192 dummy:
22193 .PHONY: depend dummy install-manpages"
22195 printf "%s\n" " done" >&6
22196 cat >confcache <<\_ACEOF
22197 # This file is a shell script that caches the results of configure
22198 # tests run on this system so they can be shared between configure
22199 # scripts and configure runs, see configure's option --config-cache.
22200 # It is not useful on other systems. If it contains results you don't
22201 # want to keep, you may remove or edit it.
22203 # config.status only pays attention to the cache file if you give it
22204 # the --recheck option to rerun configure.
22206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22208 # following values.
22210 _ACEOF
22212 # The following way of writing the cache mishandles newlines in values,
22213 # but we know of no workaround that is simple, portable, and efficient.
22214 # So, we kill variables containing newlines.
22215 # Ultrix sh set writes to stderr and can't be redirected directly,
22216 # and sets the high bit in the cache file unless we assign to the vars.
22218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22219 eval ac_val=\$$ac_var
22220 case $ac_val in #(
22221 *${as_nl}*)
22222 case $ac_var in #(
22223 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22224 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22225 esac
22226 case $ac_var in #(
22227 _ | IFS | as_nl) ;; #(
22228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22229 *) { eval $ac_var=; unset $ac_var;} ;;
22230 esac ;;
22231 esac
22232 done
22234 (set) 2>&1 |
22235 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22236 *${as_nl}ac_space=\ *)
22237 # `set' does not quote correctly, so add quotes: double-quote
22238 # substitution turns \\\\ into \\, and sed turns \\ into \.
22239 sed -n \
22240 "s/'/'\\\\''/g;
22241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22242 ;; #(
22244 # `set' quotes correctly as required by POSIX, so do not add quotes.
22245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22247 esac |
22248 sort
22250 sed '
22251 /^ac_cv_env_/b end
22252 t clear
22253 :clear
22254 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22255 t end
22256 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22257 :end' >>confcache
22258 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22259 if test -w "$cache_file"; then
22260 if test "x$cache_file" != "x/dev/null"; then
22261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22262 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22263 if test ! -f "$cache_file" || test -h "$cache_file"; then
22264 cat confcache >"$cache_file"
22265 else
22266 case $cache_file in #(
22267 */* | ?:*)
22268 mv -f confcache "$cache_file"$$ &&
22269 mv -f "$cache_file"$$ "$cache_file" ;; #(
22271 mv -f confcache "$cache_file" ;;
22272 esac
22275 else
22276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22277 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22280 rm -f confcache
22282 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22283 # Let make expand exec_prefix.
22284 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22286 DEFS=-DHAVE_CONFIG_H
22288 ac_libobjs=
22289 ac_ltlibobjs=
22291 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22292 # 1. Remove the extension, and $U if already installed.
22293 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22294 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22295 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22296 # will be set to the directory where LIBOBJS objects are built.
22297 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22298 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22299 done
22300 LIBOBJS=$ac_libobjs
22302 LTLIBOBJS=$ac_ltlibobjs
22306 : "${CONFIG_STATUS=./config.status}"
22307 ac_write_fail=0
22308 ac_clean_files_save=$ac_clean_files
22309 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22311 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22312 as_write_fail=0
22313 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22314 #! $SHELL
22315 # Generated by $as_me.
22316 # Run this file to recreate the current configuration.
22317 # Compiler output produced by configure, useful for debugging
22318 # configure, is in config.log if it exists.
22320 debug=false
22321 ac_cs_recheck=false
22322 ac_cs_silent=false
22324 SHELL=\${CONFIG_SHELL-$SHELL}
22325 export SHELL
22326 _ASEOF
22327 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22328 ## -------------------- ##
22329 ## M4sh Initialization. ##
22330 ## -------------------- ##
22332 # Be more Bourne compatible
22333 DUALCASE=1; export DUALCASE # for MKS sh
22334 as_nop=:
22335 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22336 then :
22337 emulate sh
22338 NULLCMD=:
22339 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22340 # is contrary to our usage. Disable this feature.
22341 alias -g '${1+"$@"}'='"$@"'
22342 setopt NO_GLOB_SUBST
22343 else $as_nop
22344 case `(set -o) 2>/dev/null` in #(
22345 *posix*) :
22346 set -o posix ;; #(
22347 *) :
22349 esac
22354 # Reset variables that may have inherited troublesome values from
22355 # the environment.
22357 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22358 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22359 # side effect of setting IFS to empty, thus disabling word splitting.)
22360 # Quoting is to prevent editors from complaining about space-tab.
22361 as_nl='
22363 export as_nl
22364 IFS=" "" $as_nl"
22366 PS1='$ '
22367 PS2='> '
22368 PS4='+ '
22370 # Ensure predictable behavior from utilities with locale-dependent output.
22371 LC_ALL=C
22372 export LC_ALL
22373 LANGUAGE=C
22374 export LANGUAGE
22376 # We cannot yet rely on "unset" to work, but we need these variables
22377 # to be unset--not just set to an empty or harmless value--now, to
22378 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22379 # also avoids known problems related to "unset" and subshell syntax
22380 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22381 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22382 do eval test \${$as_var+y} \
22383 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22384 done
22386 # Ensure that fds 0, 1, and 2 are open.
22387 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22388 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22389 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22391 # The user is always right.
22392 if ${PATH_SEPARATOR+false} :; then
22393 PATH_SEPARATOR=:
22394 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22395 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22396 PATH_SEPARATOR=';'
22401 # Find who we are. Look in the path if we contain no directory separator.
22402 as_myself=
22403 case $0 in #((
22404 *[\\/]* ) as_myself=$0 ;;
22405 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22406 for as_dir in $PATH
22408 IFS=$as_save_IFS
22409 case $as_dir in #(((
22410 '') as_dir=./ ;;
22411 */) ;;
22412 *) as_dir=$as_dir/ ;;
22413 esac
22414 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22415 done
22416 IFS=$as_save_IFS
22419 esac
22420 # We did not find ourselves, most probably we were run as `sh COMMAND'
22421 # in which case we are not to be found in the path.
22422 if test "x$as_myself" = x; then
22423 as_myself=$0
22425 if test ! -f "$as_myself"; then
22426 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22427 exit 1
22432 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22433 # ----------------------------------------
22434 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22435 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22436 # script with STATUS, using 1 if that was 0.
22437 as_fn_error ()
22439 as_status=$1; test $as_status -eq 0 && as_status=1
22440 if test "$4"; then
22441 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22444 printf "%s\n" "$as_me: error: $2" >&2
22445 as_fn_exit $as_status
22446 } # as_fn_error
22450 # as_fn_set_status STATUS
22451 # -----------------------
22452 # Set $? to STATUS, without forking.
22453 as_fn_set_status ()
22455 return $1
22456 } # as_fn_set_status
22458 # as_fn_exit STATUS
22459 # -----------------
22460 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22461 as_fn_exit ()
22463 set +e
22464 as_fn_set_status $1
22465 exit $1
22466 } # as_fn_exit
22468 # as_fn_unset VAR
22469 # ---------------
22470 # Portably unset VAR.
22471 as_fn_unset ()
22473 { eval $1=; unset $1;}
22475 as_unset=as_fn_unset
22477 # as_fn_append VAR VALUE
22478 # ----------------------
22479 # Append the text in VALUE to the end of the definition contained in VAR. Take
22480 # advantage of any shell optimizations that allow amortized linear growth over
22481 # repeated appends, instead of the typical quadratic growth present in naive
22482 # implementations.
22483 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22484 then :
22485 eval 'as_fn_append ()
22487 eval $1+=\$2
22489 else $as_nop
22490 as_fn_append ()
22492 eval $1=\$$1\$2
22494 fi # as_fn_append
22496 # as_fn_arith ARG...
22497 # ------------------
22498 # Perform arithmetic evaluation on the ARGs, and store the result in the
22499 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22500 # must be portable across $(()) and expr.
22501 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22502 then :
22503 eval 'as_fn_arith ()
22505 as_val=$(( $* ))
22507 else $as_nop
22508 as_fn_arith ()
22510 as_val=`expr "$@" || test $? -eq 1`
22512 fi # as_fn_arith
22515 if expr a : '\(a\)' >/dev/null 2>&1 &&
22516 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22517 as_expr=expr
22518 else
22519 as_expr=false
22522 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22523 as_basename=basename
22524 else
22525 as_basename=false
22528 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22529 as_dirname=dirname
22530 else
22531 as_dirname=false
22534 as_me=`$as_basename -- "$0" ||
22535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22536 X"$0" : 'X\(//\)$' \| \
22537 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22538 printf "%s\n" X/"$0" |
22539 sed '/^.*\/\([^/][^/]*\)\/*$/{
22540 s//\1/
22543 /^X\/\(\/\/\)$/{
22544 s//\1/
22547 /^X\/\(\/\).*/{
22548 s//\1/
22551 s/.*/./; q'`
22553 # Avoid depending upon Character Ranges.
22554 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22555 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22556 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22557 as_cr_digits='0123456789'
22558 as_cr_alnum=$as_cr_Letters$as_cr_digits
22561 # Determine whether it's possible to make 'echo' print without a newline.
22562 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22563 # for compatibility with existing Makefiles.
22564 ECHO_C= ECHO_N= ECHO_T=
22565 case `echo -n x` in #(((((
22566 -n*)
22567 case `echo 'xy\c'` in
22568 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22569 xy) ECHO_C='\c';;
22570 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22571 ECHO_T=' ';;
22572 esac;;
22574 ECHO_N='-n';;
22575 esac
22577 # For backward compatibility with old third-party macros, we provide
22578 # the shell variables $as_echo and $as_echo_n. New code should use
22579 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22580 as_echo='printf %s\n'
22581 as_echo_n='printf %s'
22583 rm -f conf$$ conf$$.exe conf$$.file
22584 if test -d conf$$.dir; then
22585 rm -f conf$$.dir/conf$$.file
22586 else
22587 rm -f conf$$.dir
22588 mkdir conf$$.dir 2>/dev/null
22590 if (echo >conf$$.file) 2>/dev/null; then
22591 if ln -s conf$$.file conf$$ 2>/dev/null; then
22592 as_ln_s='ln -s'
22593 # ... but there are two gotchas:
22594 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22595 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22596 # In both cases, we have to default to `cp -pR'.
22597 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22598 as_ln_s='cp -pR'
22599 elif ln conf$$.file conf$$ 2>/dev/null; then
22600 as_ln_s=ln
22601 else
22602 as_ln_s='cp -pR'
22604 else
22605 as_ln_s='cp -pR'
22607 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22608 rmdir conf$$.dir 2>/dev/null
22611 # as_fn_mkdir_p
22612 # -------------
22613 # Create "$as_dir" as a directory, including parents if necessary.
22614 as_fn_mkdir_p ()
22617 case $as_dir in #(
22618 -*) as_dir=./$as_dir;;
22619 esac
22620 test -d "$as_dir" || eval $as_mkdir_p || {
22621 as_dirs=
22622 while :; do
22623 case $as_dir in #(
22624 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22625 *) as_qdir=$as_dir;;
22626 esac
22627 as_dirs="'$as_qdir' $as_dirs"
22628 as_dir=`$as_dirname -- "$as_dir" ||
22629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22630 X"$as_dir" : 'X\(//\)[^/]' \| \
22631 X"$as_dir" : 'X\(//\)$' \| \
22632 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22633 printf "%s\n" X"$as_dir" |
22634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22635 s//\1/
22638 /^X\(\/\/\)[^/].*/{
22639 s//\1/
22642 /^X\(\/\/\)$/{
22643 s//\1/
22646 /^X\(\/\).*/{
22647 s//\1/
22650 s/.*/./; q'`
22651 test -d "$as_dir" && break
22652 done
22653 test -z "$as_dirs" || eval "mkdir $as_dirs"
22654 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22657 } # as_fn_mkdir_p
22658 if mkdir -p . 2>/dev/null; then
22659 as_mkdir_p='mkdir -p "$as_dir"'
22660 else
22661 test -d ./-p && rmdir ./-p
22662 as_mkdir_p=false
22666 # as_fn_executable_p FILE
22667 # -----------------------
22668 # Test if FILE is an executable regular file.
22669 as_fn_executable_p ()
22671 test -f "$1" && test -x "$1"
22672 } # as_fn_executable_p
22673 as_test_x='test -x'
22674 as_executable_p=as_fn_executable_p
22676 # Sed expression to map a string onto a valid CPP name.
22677 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22679 # Sed expression to map a string onto a valid variable name.
22680 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22683 exec 6>&1
22684 ## ----------------------------------- ##
22685 ## Main body of $CONFIG_STATUS script. ##
22686 ## ----------------------------------- ##
22687 _ASEOF
22688 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22691 # Save the log message, to keep $0 and so on meaningful, and to
22692 # report actual input values of CONFIG_FILES etc. instead of their
22693 # values after options handling.
22694 ac_log="
22695 This file was extended by Wine $as_me 8.2, which was
22696 generated by GNU Autoconf 2.71. Invocation command line was
22698 CONFIG_FILES = $CONFIG_FILES
22699 CONFIG_HEADERS = $CONFIG_HEADERS
22700 CONFIG_LINKS = $CONFIG_LINKS
22701 CONFIG_COMMANDS = $CONFIG_COMMANDS
22702 $ $0 $@
22704 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22707 _ACEOF
22710 case $ac_config_headers in *"
22711 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22712 esac
22715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22716 # Files that config.status was made for.
22717 config_headers="$ac_config_headers"
22718 config_links="$ac_config_links"
22719 config_commands="$ac_config_commands"
22721 _ACEOF
22723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22724 ac_cs_usage="\
22725 \`$as_me' instantiates files and other configuration actions
22726 from templates according to the current configuration. Unless the files
22727 and actions are specified as TAGs, all are instantiated by default.
22729 Usage: $0 [OPTION]... [TAG]...
22731 -h, --help print this help, then exit
22732 -V, --version print version number and configuration settings, then exit
22733 --config print configuration, then exit
22734 -q, --quiet, --silent
22735 do not print progress messages
22736 -d, --debug don't remove temporary files
22737 --recheck update $as_me by reconfiguring in the same conditions
22738 --header=FILE[:TEMPLATE]
22739 instantiate the configuration header FILE
22741 Configuration headers:
22742 $config_headers
22744 Configuration links:
22745 $config_links
22747 Configuration commands:
22748 $config_commands
22750 Report bugs to <wine-devel@winehq.org>.
22751 Wine home page: <https://www.winehq.org>."
22753 _ACEOF
22754 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22755 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22757 ac_cs_config='$ac_cs_config_escaped'
22758 ac_cs_version="\\
22759 Wine config.status 8.2
22760 configured by $0, generated by GNU Autoconf 2.71,
22761 with options \\"\$ac_cs_config\\"
22763 Copyright (C) 2021 Free Software Foundation, Inc.
22764 This config.status script is free software; the Free Software Foundation
22765 gives unlimited permission to copy, distribute and modify it."
22767 ac_pwd='$ac_pwd'
22768 srcdir='$srcdir'
22769 test -n "\$AWK" || AWK=awk
22770 _ACEOF
22772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22773 # The default lists apply if the user does not specify any file.
22774 ac_need_defaults=:
22775 while test $# != 0
22777 case $1 in
22778 --*=?*)
22779 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22780 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22781 ac_shift=:
22783 --*=)
22784 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22785 ac_optarg=
22786 ac_shift=:
22789 ac_option=$1
22790 ac_optarg=$2
22791 ac_shift=shift
22793 esac
22795 case $ac_option in
22796 # Handling of the options.
22797 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22798 ac_cs_recheck=: ;;
22799 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22800 printf "%s\n" "$ac_cs_version"; exit ;;
22801 --config | --confi | --conf | --con | --co | --c )
22802 printf "%s\n" "$ac_cs_config"; exit ;;
22803 --debug | --debu | --deb | --de | --d | -d )
22804 debug=: ;;
22805 --header | --heade | --head | --hea )
22806 $ac_shift
22807 case $ac_optarg in
22808 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22809 esac
22810 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22811 ac_need_defaults=false;;
22812 --he | --h)
22813 # Conflict between --help and --header
22814 as_fn_error $? "ambiguous option: \`$1'
22815 Try \`$0 --help' for more information.";;
22816 --help | --hel | -h )
22817 printf "%s\n" "$ac_cs_usage"; exit ;;
22818 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22819 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22820 ac_cs_silent=: ;;
22822 # This is an error.
22823 -*) as_fn_error $? "unrecognized option: \`$1'
22824 Try \`$0 --help' for more information." ;;
22826 *) as_fn_append ac_config_targets " $1"
22827 ac_need_defaults=false ;;
22829 esac
22830 shift
22831 done
22833 ac_configure_extra_args=
22835 if $ac_cs_silent; then
22836 exec 6>/dev/null
22837 ac_configure_extra_args="$ac_configure_extra_args --silent"
22840 _ACEOF
22841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22842 if \$ac_cs_recheck; then
22843 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22844 shift
22845 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22846 CONFIG_SHELL='$SHELL'
22847 export CONFIG_SHELL
22848 exec "\$@"
22851 _ACEOF
22852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22853 exec 5>>config.log
22855 echo
22856 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22857 ## Running $as_me. ##
22858 _ASBOX
22859 printf "%s\n" "$ac_log"
22860 } >&5
22862 _ACEOF
22863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22865 # INIT-COMMANDS
22867 wine_fn_output_makedep ()
22869 as_dir=tools; as_fn_mkdir_p
22870 $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
22872 wine_fn_output_makefile ()
22874 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22875 # This Makefile understands the following targets:
22877 # all (default): build wine
22878 # clean: remove all intermediate files
22879 # distclean: also remove all files created by configure
22880 # test: run tests
22881 # testclean: clean test results to force running all tests again
22882 # install-lib: install libraries needed to run applications
22883 # install-dev: install development environment
22884 # install: install everything
22885 # uninstall: uninstall everything
22886 # ctags: create a tags file for vim and others.
22887 # etags: create a TAGS file for Emacs.
22889 SHELL = $SHELL
22890 PATH_SEPARATOR = $PATH_SEPARATOR
22891 PACKAGE_NAME = $PACKAGE_NAME
22892 PACKAGE_TARNAME = $PACKAGE_TARNAME
22893 PACKAGE_VERSION = $PACKAGE_VERSION
22894 PACKAGE_STRING = $PACKAGE_STRING
22895 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22896 PACKAGE_URL = $PACKAGE_URL
22897 exec_prefix = $exec_prefix
22898 prefix = $prefix
22899 program_transform_name = $program_transform_name
22900 bindir = $bindir
22901 sbindir = $sbindir
22902 libexecdir = $libexecdir
22903 datarootdir = $datarootdir
22904 datadir = $datadir
22905 sysconfdir = $sysconfdir
22906 sharedstatedir = $sharedstatedir
22907 localstatedir = $localstatedir
22908 runstatedir = $runstatedir
22909 includedir = $includedir
22910 oldincludedir = $oldincludedir
22911 docdir = $docdir
22912 infodir = $infodir
22913 htmldir = $htmldir
22914 dvidir = $dvidir
22915 pdfdir = $pdfdir
22916 psdir = $psdir
22917 libdir = $libdir
22918 localedir = $localedir
22919 mandir = $mandir
22920 DEFS = $DEFS
22921 ECHO_C = $ECHO_C
22922 ECHO_N = $ECHO_N
22923 ECHO_T = $ECHO_T
22924 LIBS = $LIBS
22925 build_alias = $build_alias
22926 host_alias = $host_alias
22927 target_alias = $target_alias
22928 system_dllpath = $system_dllpath
22929 build = $build
22930 build_cpu = $build_cpu
22931 build_vendor = $build_vendor
22932 build_os = $build_os
22933 host = $host
22934 host_cpu = $host_cpu
22935 host_vendor = $host_vendor
22936 host_os = $host_os
22937 dlldir = $dlldir
22938 fontdir = $fontdir
22939 nlsdir = $nlsdir
22940 srcdir = $srcdir
22941 SET_MAKE = $SET_MAKE
22942 CC = $CC
22943 CFLAGS = $CFLAGS
22944 LDFLAGS = $LDFLAGS
22945 CPPFLAGS = $CPPFLAGS
22946 ac_ct_CC = $ac_ct_CC
22947 EXEEXT = $EXEEXT
22948 OBJEXT = $OBJEXT
22949 CXX = $CXX
22950 CXXFLAGS = $CXXFLAGS
22951 ac_ct_CXX = $ac_ct_CXX
22952 CPPBIN = $CPPBIN
22953 LD = $LD
22954 TARGETFLAGS = $TARGETFLAGS
22955 toolsext = $toolsext
22956 HOST_ARCH = $HOST_ARCH
22957 aarch64_CC = $aarch64_CC
22958 aarch64_CFLAGS = $aarch64_CFLAGS
22959 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22960 aarch64_LDFLAGS = $aarch64_LDFLAGS
22961 aarch64_DEBUG = $aarch64_DEBUG
22962 aarch64_TARGET = $aarch64_TARGET
22963 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22964 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22965 arm_CC = $arm_CC
22966 arm_CFLAGS = $arm_CFLAGS
22967 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22968 arm_LDFLAGS = $arm_LDFLAGS
22969 arm_DEBUG = $arm_DEBUG
22970 arm_TARGET = $arm_TARGET
22971 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22972 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22973 i386_CC = $i386_CC
22974 i386_CFLAGS = $i386_CFLAGS
22975 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22976 i386_LDFLAGS = $i386_LDFLAGS
22977 i386_DEBUG = $i386_DEBUG
22978 i386_TARGET = $i386_TARGET
22979 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22980 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22981 x86_64_CC = $x86_64_CC
22982 x86_64_CFLAGS = $x86_64_CFLAGS
22983 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22984 x86_64_LDFLAGS = $x86_64_LDFLAGS
22985 x86_64_DEBUG = $x86_64_DEBUG
22986 x86_64_TARGET = $x86_64_TARGET
22987 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22988 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22989 toolsdir = $toolsdir
22990 MAKEDEP = $MAKEDEP
22991 RUNTESTFLAGS = $RUNTESTFLAGS
22992 SED_CMD = $SED_CMD
22993 FLEX = $FLEX
22994 BISON = $BISON
22995 AR = $AR
22996 ac_ct_AR = $ac_ct_AR
22997 STRIP = $STRIP
22998 RANLIB = $RANLIB
22999 LN_S = $LN_S
23000 GREP = $GREP
23001 EGREP = $EGREP
23002 LDCONFIG = $LDCONFIG
23003 MSGFMT = $MSGFMT
23004 PKG_CONFIG = $PKG_CONFIG
23005 FONTFORGE = $FONTFORGE
23006 RSVG = $RSVG
23007 CONVERT = $CONVERT
23008 ICOTOOL = $ICOTOOL
23009 I386_LIBS = $I386_LIBS
23010 OPENGL_LIBS = $OPENGL_LIBS
23011 DLLFLAGS = $DLLFLAGS
23012 LDDLLFLAGS = $LDDLLFLAGS
23013 LDEXECFLAGS = $LDEXECFLAGS
23014 EXTRACFLAGS = $EXTRACFLAGS
23015 UNIXDLLFLAGS = $UNIXDLLFLAGS
23016 UNIXLDFLAGS = $UNIXLDFLAGS
23017 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23018 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23019 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23020 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23021 LDD = $LDD
23022 OTOOL = $OTOOL
23023 READELF = $READELF
23024 SUBDIRS = $SUBDIRS
23025 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23026 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23027 CARBON_LIBS = $CARBON_LIBS
23028 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23029 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23030 IOKIT_LIBS = $IOKIT_LIBS
23031 METAL_LIBS = $METAL_LIBS
23032 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23033 CORESERVICES_LIBS = $CORESERVICES_LIBS
23034 APPKIT_LIBS = $APPKIT_LIBS
23035 SECURITY_LIBS = $SECURITY_LIBS
23036 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23037 COREAUDIO_LIBS = $COREAUDIO_LIBS
23038 OPENCL_LIBS = $OPENCL_LIBS
23039 OBJC = $OBJC
23040 OBJCFLAGS = $OBJCFLAGS
23041 ac_ct_OBJC = $ac_ct_OBJC
23042 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23043 PE_ARCHS = $PE_ARCHS
23044 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23045 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23046 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23047 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23048 GSM_PE_LIBS = $GSM_PE_LIBS
23049 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23050 JPEG_PE_LIBS = $JPEG_PE_LIBS
23051 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23052 JXR_PE_LIBS = $JXR_PE_LIBS
23053 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23054 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23055 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23056 LDAP_PE_LIBS = $LDAP_PE_LIBS
23057 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23058 MPG123_PE_LIBS = $MPG123_PE_LIBS
23059 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23060 PNG_PE_LIBS = $PNG_PE_LIBS
23061 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23062 TIFF_PE_LIBS = $TIFF_PE_LIBS
23063 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23064 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23065 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23066 XML2_PE_LIBS = $XML2_PE_LIBS
23067 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23068 XSLT_PE_LIBS = $XSLT_PE_LIBS
23069 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23070 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23071 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23072 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23073 PTHREAD_LIBS = $PTHREAD_LIBS
23074 XMKMF = $XMKMF
23075 CPP = $CPP
23076 X_CFLAGS = $X_CFLAGS
23077 X_PRE_LIBS = $X_PRE_LIBS
23078 X_LIBS = $X_LIBS
23079 X_EXTRA_LIBS = $X_EXTRA_LIBS
23080 PCAP_LIBS = $PCAP_LIBS
23081 PCSCLITE_LIBS = $PCSCLITE_LIBS
23082 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23083 INOTIFY_LIBS = $INOTIFY_LIBS
23084 DBUS_CFLAGS = $DBUS_CFLAGS
23085 DBUS_LIBS = $DBUS_LIBS
23086 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23087 GNUTLS_LIBS = $GNUTLS_LIBS
23088 SANE_CFLAGS = $SANE_CFLAGS
23089 SANE_LIBS = $SANE_LIBS
23090 USB_CFLAGS = $USB_CFLAGS
23091 USB_LIBS = $USB_LIBS
23092 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23093 GPHOTO2_LIBS = $GPHOTO2_LIBS
23094 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23095 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23096 RESOLV_LIBS = $RESOLV_LIBS
23097 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23098 FREETYPE_LIBS = $FREETYPE_LIBS
23099 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23100 PULSE_CFLAGS = $PULSE_CFLAGS
23101 PULSE_LIBS = $PULSE_LIBS
23102 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23103 GSTREAMER_LIBS = $GSTREAMER_LIBS
23104 ALSA_LIBS = $ALSA_LIBS
23105 OSS4_CFLAGS = $OSS4_CFLAGS
23106 OSS4_LIBS = $OSS4_LIBS
23107 UDEV_CFLAGS = $UDEV_CFLAGS
23108 UDEV_LIBS = $UDEV_LIBS
23109 UNWIND_CFLAGS = $UNWIND_CFLAGS
23110 UNWIND_LIBS = $UNWIND_LIBS
23111 SDL2_CFLAGS = $SDL2_CFLAGS
23112 SDL2_LIBS = $SDL2_LIBS
23113 CAPI20_CFLAGS = $CAPI20_CFLAGS
23114 CAPI20_LIBS = $CAPI20_LIBS
23115 CUPS_CFLAGS = $CUPS_CFLAGS
23116 CUPS_LIBS = $CUPS_LIBS
23117 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23118 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23119 KRB5_CFLAGS = $KRB5_CFLAGS
23120 KRB5_LIBS = $KRB5_LIBS
23121 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23122 GSSAPI_LIBS = $GSSAPI_LIBS
23123 PROCSTAT_LIBS = $PROCSTAT_LIBS
23124 NETAPI_CFLAGS = $NETAPI_CFLAGS
23125 NETAPI_LIBS = $NETAPI_LIBS
23126 MSVCRTFLAGS = $MSVCRTFLAGS
23127 DELAYLOADFLAG = $DELAYLOADFLAG
23128 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23129 RT_LIBS = $RT_LIBS
23130 TAGSFLAGS = $TAGSFLAGS
23131 LIBOBJS = $LIBOBJS
23132 LTLIBOBJS = $LTLIBOBJS
23133 $SET_MAKE
23134 $wine_rules
23135 _WINE_EOF
23136 as_fn_error $? "could not create Makefile" "$LINENO" 5
23139 _ACEOF
23141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23143 # Handling of arguments.
23144 for ac_config_target in $ac_config_targets
23146 case $ac_config_target in
23147 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23148 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23149 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23150 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23151 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23152 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23154 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23155 esac
23156 done
23159 # If the user did not use the arguments to specify the items to instantiate,
23160 # then the envvar interface is used. Set only those that are not.
23161 # We use the long form for the default assignment because of an extremely
23162 # bizarre bug on SunOS 4.1.3.
23163 if $ac_need_defaults; then
23164 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23165 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23166 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23169 # Have a temporary directory for convenience. Make it in the build tree
23170 # simply because there is no reason against having it here, and in addition,
23171 # creating and moving files from /tmp can sometimes cause problems.
23172 # Hook for its removal unless debugging.
23173 # Note that there is a small window in which the directory will not be cleaned:
23174 # after its creation but before its name has been assigned to `$tmp'.
23175 $debug ||
23177 tmp= ac_tmp=
23178 trap 'exit_status=$?
23179 : "${ac_tmp:=$tmp}"
23180 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23182 trap 'as_fn_exit 1' 1 2 13 15
23184 # Create a (secure) tmp directory for tmp files.
23187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23188 test -d "$tmp"
23189 } ||
23191 tmp=./conf$$-$RANDOM
23192 (umask 077 && mkdir "$tmp")
23193 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23194 ac_tmp=$tmp
23196 # Set up the scripts for CONFIG_HEADERS section.
23197 # No need to generate them if there are no CONFIG_HEADERS.
23198 # This happens for instance with `./config.status Makefile'.
23199 if test -n "$CONFIG_HEADERS"; then
23200 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23201 BEGIN {
23202 _ACEOF
23204 # Transform confdefs.h into an awk script `defines.awk', embedded as
23205 # here-document in config.status, that substitutes the proper values into
23206 # config.h.in to produce config.h.
23208 # Create a delimiter string that does not exist in confdefs.h, to ease
23209 # handling of long lines.
23210 ac_delim='%!_!# '
23211 for ac_last_try in false false :; do
23212 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23213 if test -z "$ac_tt"; then
23214 break
23215 elif $ac_last_try; then
23216 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23217 else
23218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23220 done
23222 # For the awk script, D is an array of macro values keyed by name,
23223 # likewise P contains macro parameters if any. Preserve backslash
23224 # newline sequences.
23226 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23227 sed -n '
23228 s/.\{148\}/&'"$ac_delim"'/g
23229 t rset
23230 :rset
23231 s/^[ ]*#[ ]*define[ ][ ]*/ /
23232 t def
23234 :def
23235 s/\\$//
23236 t bsnl
23237 s/["\\]/\\&/g
23238 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23239 D["\1"]=" \3"/p
23240 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23242 :bsnl
23243 s/["\\]/\\&/g
23244 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23245 D["\1"]=" \3\\\\\\n"\\/p
23246 t cont
23247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23248 t cont
23250 :cont
23252 s/.\{148\}/&'"$ac_delim"'/g
23253 t clear
23254 :clear
23255 s/\\$//
23256 t bsnlc
23257 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23259 :bsnlc
23260 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23261 b cont
23262 ' <confdefs.h | sed '
23263 s/'"$ac_delim"'/"\\\
23264 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23267 for (key in D) D_is_set[key] = 1
23268 FS = "\a"
23270 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23271 line = \$ 0
23272 split(line, arg, " ")
23273 if (arg[1] == "#") {
23274 defundef = arg[2]
23275 mac1 = arg[3]
23276 } else {
23277 defundef = substr(arg[1], 2)
23278 mac1 = arg[2]
23280 split(mac1, mac2, "(") #)
23281 macro = mac2[1]
23282 prefix = substr(line, 1, index(line, defundef) - 1)
23283 if (D_is_set[macro]) {
23284 # Preserve the white space surrounding the "#".
23285 print prefix "define", macro P[macro] D[macro]
23286 next
23287 } else {
23288 # Replace #undef with comments. This is necessary, for example,
23289 # in the case of _POSIX_SOURCE, which is predefined and required
23290 # on some systems where configure will not decide to define it.
23291 if (defundef == "undef") {
23292 print "/*", prefix defundef, macro, "*/"
23293 next
23297 { print }
23298 _ACAWK
23299 _ACEOF
23300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23301 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23302 fi # test -n "$CONFIG_HEADERS"
23305 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23306 shift
23307 for ac_tag
23309 case $ac_tag in
23310 :[FHLC]) ac_mode=$ac_tag; continue;;
23311 esac
23312 case $ac_mode$ac_tag in
23313 :[FHL]*:*);;
23314 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23315 :[FH]-) ac_tag=-:-;;
23316 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23317 esac
23318 ac_save_IFS=$IFS
23319 IFS=:
23320 set x $ac_tag
23321 IFS=$ac_save_IFS
23322 shift
23323 ac_file=$1
23324 shift
23326 case $ac_mode in
23327 :L) ac_source=$1;;
23328 :[FH])
23329 ac_file_inputs=
23330 for ac_f
23332 case $ac_f in
23333 -) ac_f="$ac_tmp/stdin";;
23334 *) # Look for the file first in the build tree, then in the source tree
23335 # (if the path is not absolute). The absolute path cannot be DOS-style,
23336 # because $ac_f cannot contain `:'.
23337 test -f "$ac_f" ||
23338 case $ac_f in
23339 [\\/$]*) false;;
23340 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23341 esac ||
23342 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23343 esac
23344 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23345 as_fn_append ac_file_inputs " '$ac_f'"
23346 done
23348 # Let's still pretend it is `configure' which instantiates (i.e., don't
23349 # use $as_me), people would be surprised to read:
23350 # /* config.h. Generated by config.status. */
23351 configure_input='Generated from '`
23352 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23353 `' by configure.'
23354 if test x"$ac_file" != x-; then
23355 configure_input="$ac_file. $configure_input"
23356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23357 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23359 # Neutralize special characters interpreted by sed in replacement strings.
23360 case $configure_input in #(
23361 *\&* | *\|* | *\\* )
23362 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23363 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23364 *) ac_sed_conf_input=$configure_input;;
23365 esac
23367 case $ac_tag in
23368 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23370 esac
23372 esac
23374 ac_dir=`$as_dirname -- "$ac_file" ||
23375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23376 X"$ac_file" : 'X\(//\)[^/]' \| \
23377 X"$ac_file" : 'X\(//\)$' \| \
23378 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23379 printf "%s\n" X"$ac_file" |
23380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23381 s//\1/
23384 /^X\(\/\/\)[^/].*/{
23385 s//\1/
23388 /^X\(\/\/\)$/{
23389 s//\1/
23392 /^X\(\/\).*/{
23393 s//\1/
23396 s/.*/./; q'`
23397 as_dir="$ac_dir"; as_fn_mkdir_p
23398 ac_builddir=.
23400 case "$ac_dir" in
23401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23403 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23404 # A ".." for each directory in $ac_dir_suffix.
23405 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23406 case $ac_top_builddir_sub in
23407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23409 esac ;;
23410 esac
23411 ac_abs_top_builddir=$ac_pwd
23412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23413 # for backward compatibility:
23414 ac_top_builddir=$ac_top_build_prefix
23416 case $srcdir in
23417 .) # We are building in place.
23418 ac_srcdir=.
23419 ac_top_srcdir=$ac_top_builddir_sub
23420 ac_abs_top_srcdir=$ac_pwd ;;
23421 [\\/]* | ?:[\\/]* ) # Absolute name.
23422 ac_srcdir=$srcdir$ac_dir_suffix;
23423 ac_top_srcdir=$srcdir
23424 ac_abs_top_srcdir=$srcdir ;;
23425 *) # Relative name.
23426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23427 ac_top_srcdir=$ac_top_build_prefix$srcdir
23428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23429 esac
23430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23433 case $ac_mode in
23437 # CONFIG_HEADER
23439 if test x"$ac_file" != x-; then
23441 printf "%s\n" "/* $configure_input */" >&1 \
23442 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23443 } >"$ac_tmp/config.h" \
23444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23445 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23447 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23448 else
23449 rm -f "$ac_file"
23450 mv "$ac_tmp/config.h" "$ac_file" \
23451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23453 else
23454 printf "%s\n" "/* $configure_input */" >&1 \
23455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23456 || as_fn_error $? "could not create -" "$LINENO" 5
23461 # CONFIG_LINK
23464 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23466 else
23467 # Prefer the file from the source tree if names are identical.
23468 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23469 ac_source=$srcdir/$ac_source
23472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23473 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23475 if test ! -r "$ac_source"; then
23476 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23478 rm -f "$ac_file"
23480 # Try a relative symlink, then a hard link, then a copy.
23481 case $ac_source in
23482 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23483 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23484 esac
23485 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23486 ln "$ac_source" "$ac_file" 2>/dev/null ||
23487 cp -p "$ac_source" "$ac_file" ||
23488 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23491 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23492 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23494 esac
23497 case $ac_file$ac_mode in
23498 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23499 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23500 "Makefile":C) wine_fn_output_makefile Makefile ;;
23502 esac
23503 done # for ac_tag
23506 as_fn_exit 0
23507 _ACEOF
23508 ac_clean_files=$ac_clean_files_save
23510 test $ac_write_fail = 0 ||
23511 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23514 # configure is writing to config.log, and then calls config.status.
23515 # config.status does its own redirection, appending to config.log.
23516 # Unfortunately, on DOS this fails, as config.log is still kept open
23517 # by configure, so config.status won't be able to write to it; its
23518 # output is simply discarded. So we exec the FD to /dev/null,
23519 # effectively closing config.log, so it can be properly (re)opened and
23520 # appended to by config.status. When coming back to configure, we
23521 # need to make the FD available again.
23522 if test "$no_create" != yes; then
23523 ac_cs_success=:
23524 ac_config_status_args=
23525 test "$silent" = yes &&
23526 ac_config_status_args="$ac_config_status_args --quiet"
23527 exec 5>/dev/null
23528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23529 exec 5>>config.log
23530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23531 # would make configure fail if this is the last instruction.
23532 $ac_cs_success || as_fn_exit 1
23534 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23536 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23540 if test "$no_create" = "yes"
23541 then
23542 exit 0
23545 ac_save_IFS="$IFS"
23546 if test "x$wine_notices" != x; then
23547 echo >&6
23548 IFS="|"
23549 for msg in $wine_notices; do
23550 IFS="$ac_save_IFS"
23551 if ${msg:+false} :
23552 then :
23554 else $as_nop
23555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23556 printf "%s\n" "$as_me: $msg" >&6;}
23558 done
23560 IFS="|"
23561 for msg in $wine_warnings; do
23562 IFS="$ac_save_IFS"
23563 if ${msg:+false} :
23564 then :
23566 else $as_nop
23567 echo >&2
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23569 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23571 done
23572 IFS="$ac_save_IFS"
23574 printf "%s\n" "
23575 $as_me: Finished. Do '${ac_make}' to compile Wine.
23576 " >&6