gdiplus: In GdipImageSelectActiveFrame rely on codec->select_func() to fail.
[wine.git] / configure
blob80c27e92e3a63c10f5a9be1382d707a0293a3986
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.15.
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.15'
615 PACKAGE_STRING='Wine 8.15'
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 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxcore
1127 enable_dxdiagn
1128 enable_dxgi
1129 enable_dxtrans
1130 enable_dxva2
1131 enable_esent
1132 enable_evr
1133 enable_explorerframe
1134 enable_faultrep
1135 enable_feclient
1136 enable_fltlib
1137 enable_fltmgr_sys
1138 enable_fntcache
1139 enable_fontsub
1140 enable_fusion
1141 enable_fwpuclnt
1142 enable_gameux
1143 enable_gamingtcui
1144 enable_gdi32
1145 enable_gdiplus
1146 enable_geolocation
1147 enable_glu32
1148 enable_gphoto2_ds
1149 enable_gpkcsp
1150 enable_graphicscapture
1151 enable_hal
1152 enable_hhctrl_ocx
1153 enable_hid
1154 enable_hidclass_sys
1155 enable_hidparse_sys
1156 enable_hlink
1157 enable_hnetcfg
1158 enable_hrtfapo
1159 enable_http_sys
1160 enable_httpapi
1161 enable_hvsimanagementapi
1162 enable_ia2comproxy
1163 enable_iccvid
1164 enable_icmp
1165 enable_ieframe
1166 enable_ieproxy
1167 enable_imaadp32_acm
1168 enable_imagehlp
1169 enable_imm32
1170 enable_inetcomm
1171 enable_inetcpl_cpl
1172 enable_inetmib1
1173 enable_infosoft
1174 enable_initpki
1175 enable_inkobj
1176 enable_inseng
1177 enable_iphlpapi
1178 enable_iprop
1179 enable_ir50_32
1180 enable_irprops_cpl
1181 enable_itircl
1182 enable_itss
1183 enable_joy_cpl
1184 enable_jscript
1185 enable_jsproxy
1186 enable_kerberos
1187 enable_kernel32
1188 enable_kernelbase
1189 enable_ksecdd_sys
1190 enable_ksproxy_ax
1191 enable_ksuser
1192 enable_ktmw32
1193 enable_l3codeca_acm
1194 enable_light_msstyles
1195 enable_loadperf
1196 enable_localspl
1197 enable_localui
1198 enable_lz32
1199 enable_magnification
1200 enable_mapi32
1201 enable_mapistub
1202 enable_mciavi32
1203 enable_mcicda
1204 enable_mciqtz32
1205 enable_mciseq
1206 enable_mciwave
1207 enable_mf
1208 enable_mf3216
1209 enable_mferror
1210 enable_mfmediaengine
1211 enable_mfplat
1212 enable_mfplay
1213 enable_mfreadwrite
1214 enable_mfsrcsnk
1215 enable_mgmtapi
1216 enable_midimap
1217 enable_mlang
1218 enable_mmcndmgr
1219 enable_mmdevapi
1220 enable_mountmgr_sys
1221 enable_mp3dmod
1222 enable_mpr
1223 enable_mprapi
1224 enable_msacm32_drv
1225 enable_msacm32
1226 enable_msado15
1227 enable_msadp32_acm
1228 enable_msasn1
1229 enable_msauddecmft
1230 enable_mscat32
1231 enable_mscms
1232 enable_mscoree
1233 enable_mscorwks
1234 enable_msctf
1235 enable_msctfmonitor
1236 enable_msctfp
1237 enable_msdaps
1238 enable_msdasql
1239 enable_msdelta
1240 enable_msdmo
1241 enable_msdrm
1242 enable_msftedit
1243 enable_msg711_acm
1244 enable_msgsm32_acm
1245 enable_mshtml_tlb
1246 enable_mshtml
1247 enable_msi
1248 enable_msident
1249 enable_msimg32
1250 enable_msimsg
1251 enable_msimtf
1252 enable_msisip
1253 enable_msisys_ocx
1254 enable_msls31
1255 enable_msmpeg2vdec
1256 enable_msnet32
1257 enable_mspatcha
1258 enable_msports
1259 enable_msrle32
1260 enable_msscript_ocx
1261 enable_mssign32
1262 enable_mssip32
1263 enable_mstask
1264 enable_msv1_0
1265 enable_msvcirt
1266 enable_msvcm80
1267 enable_msvcm90
1268 enable_msvcp100
1269 enable_msvcp110
1270 enable_msvcp120
1271 enable_msvcp120_app
1272 enable_msvcp140
1273 enable_msvcp140_1
1274 enable_msvcp140_2
1275 enable_msvcp140_atomic_wait
1276 enable_msvcp140_codecvt_ids
1277 enable_msvcp60
1278 enable_msvcp70
1279 enable_msvcp71
1280 enable_msvcp80
1281 enable_msvcp90
1282 enable_msvcp_win
1283 enable_msvcr100
1284 enable_msvcr110
1285 enable_msvcr120
1286 enable_msvcr120_app
1287 enable_msvcr70
1288 enable_msvcr71
1289 enable_msvcr80
1290 enable_msvcr90
1291 enable_msvcrt
1292 enable_msvcrt20
1293 enable_msvcrt40
1294 enable_msvcrtd
1295 enable_msvfw32
1296 enable_msvidc32
1297 enable_mswsock
1298 enable_msxml
1299 enable_msxml2
1300 enable_msxml3
1301 enable_msxml4
1302 enable_msxml6
1303 enable_mtxdm
1304 enable_ncrypt
1305 enable_nddeapi
1306 enable_ndis_sys
1307 enable_netapi32
1308 enable_netcfgx
1309 enable_netio_sys
1310 enable_netprofm
1311 enable_netutils
1312 enable_newdev
1313 enable_ninput
1314 enable_normaliz
1315 enable_npmshtml
1316 enable_npptools
1317 enable_nsi
1318 enable_nsiproxy_sys
1319 enable_ntdll
1320 enable_ntdsapi
1321 enable_ntoskrnl_exe
1322 enable_ntprint
1323 enable_objsel
1324 enable_odbc32
1325 enable_odbcbcp
1326 enable_odbccp32
1327 enable_odbccu32
1328 enable_ole32
1329 enable_oleacc
1330 enable_oleaut32
1331 enable_olecli32
1332 enable_oledb32
1333 enable_oledlg
1334 enable_olepro32
1335 enable_olesvr32
1336 enable_olethk32
1337 enable_opcservices
1338 enable_opencl
1339 enable_opengl32
1340 enable_packager
1341 enable_pdh
1342 enable_photometadatahandler
1343 enable_pidgen
1344 enable_powrprof
1345 enable_printui
1346 enable_prntvpt
1347 enable_propsys
1348 enable_psapi
1349 enable_pstorec
1350 enable_pwrshplugin
1351 enable_qasf
1352 enable_qcap
1353 enable_qdvd
1354 enable_qedit
1355 enable_qmgr
1356 enable_qmgrprxy
1357 enable_quartz
1358 enable_query
1359 enable_qwave
1360 enable_rasapi32
1361 enable_rasdlg
1362 enable_regapi
1363 enable_resutils
1364 enable_riched20
1365 enable_riched32
1366 enable_rpcrt4
1367 enable_rsabase
1368 enable_rsaenh
1369 enable_rstrtmgr
1370 enable_rtutils
1371 enable_rtworkq
1372 enable_samlib
1373 enable_sane_ds
1374 enable_sapi
1375 enable_sas
1376 enable_scarddlg
1377 enable_scardsvr
1378 enable_sccbase
1379 enable_schannel
1380 enable_schedsvc
1381 enable_scrobj
1382 enable_scrrun
1383 enable_scsiport_sys
1384 enable_sechost
1385 enable_secur32
1386 enable_security
1387 enable_sensapi
1388 enable_serialui
1389 enable_setupapi
1390 enable_sfc
1391 enable_sfc_os
1392 enable_shcore
1393 enable_shdoclc
1394 enable_shdocvw
1395 enable_shell32
1396 enable_shfolder
1397 enable_shlwapi
1398 enable_slbcsp
1399 enable_slc
1400 enable_snmpapi
1401 enable_softpub
1402 enable_spoolss
1403 enable_sppc
1404 enable_srclient
1405 enable_srvcli
1406 enable_sspicli
1407 enable_stdole2_tlb
1408 enable_stdole32_tlb
1409 enable_sti
1410 enable_strmdll
1411 enable_svrapi
1412 enable_sxs
1413 enable_t2embed
1414 enable_tapi32
1415 enable_taskschd
1416 enable_tbs
1417 enable_tdh
1418 enable_tdi_sys
1419 enable_threadpoolwinrt
1420 enable_traffic
1421 enable_twain_32
1422 enable_twinapi_appcore
1423 enable_tzres
1424 enable_ucrtbase
1425 enable_uianimation
1426 enable_uiautomationcore
1427 enable_uiribbon
1428 enable_unicows
1429 enable_updspapi
1430 enable_url
1431 enable_urlmon
1432 enable_usbd_sys
1433 enable_user32
1434 enable_userenv
1435 enable_usp10
1436 enable_utildll
1437 enable_uxtheme
1438 enable_vbscript
1439 enable_vcomp
1440 enable_vcomp100
1441 enable_vcomp110
1442 enable_vcomp120
1443 enable_vcomp140
1444 enable_vcomp90
1445 enable_vcruntime140
1446 enable_vcruntime140_1
1447 enable_vdmdbg
1448 enable_version
1449 enable_vga
1450 enable_virtdisk
1451 enable_vssapi
1452 enable_vulkan_1
1453 enable_wbemdisp
1454 enable_wbemprox
1455 enable_wdscore
1456 enable_webservices
1457 enable_websocket
1458 enable_wer
1459 enable_wevtapi
1460 enable_wevtsvc
1461 enable_wiaservc
1462 enable_wimgapi
1463 enable_win32u
1464 enable_windows_applicationmodel
1465 enable_windows_devices_bluetooth
1466 enable_windows_devices_enumeration
1467 enable_windows_devices_usb
1468 enable_windows_gaming_input
1469 enable_windows_gaming_ui_gamebar
1470 enable_windows_globalization
1471 enable_windows_media_devices
1472 enable_windows_media_speech
1473 enable_windows_media
1474 enable_windows_networking_hostname
1475 enable_windows_networking
1476 enable_windows_perception_stub
1477 enable_windows_system_profile_systemmanufacturers
1478 enable_windows_ui
1479 enable_windowscodecs
1480 enable_windowscodecsext
1481 enable_winealsa_drv
1482 enable_wineandroid_drv
1483 enable_winebus_sys
1484 enable_winecoreaudio_drv
1485 enable_winecrt0
1486 enable_wined3d
1487 enable_winegstreamer
1488 enable_winehid_sys
1489 enable_winemac_drv
1490 enable_winemapi
1491 enable_wineoss_drv
1492 enable_wineps_drv
1493 enable_winepulse_drv
1494 enable_wineusb_sys
1495 enable_winevulkan
1496 enable_winewayland_drv
1497 enable_winex11_drv
1498 enable_winexinput_sys
1499 enable_wing32
1500 enable_winhttp
1501 enable_wininet
1502 enable_winmm
1503 enable_winnls32
1504 enable_winprint
1505 enable_winscard
1506 enable_winspool_drv
1507 enable_winsta
1508 enable_wintab32
1509 enable_wintrust
1510 enable_wintypes
1511 enable_winusb
1512 enable_wlanapi
1513 enable_wlanui
1514 enable_wldap32
1515 enable_wldp
1516 enable_wmasf
1517 enable_wmi
1518 enable_wmiutils
1519 enable_wmp
1520 enable_wmphoto
1521 enable_wmvcore
1522 enable_wnaspi32
1523 enable_wofutil
1524 enable_wow64
1525 enable_wow64cpu
1526 enable_wow64win
1527 enable_wpc
1528 enable_wpcap
1529 enable_ws2_32
1530 enable_wsdapi
1531 enable_wshom_ocx
1532 enable_wsnmp32
1533 enable_wsock32
1534 enable_wtsapi32
1535 enable_wuapi
1536 enable_wuaueng
1537 enable_x3daudio1_0
1538 enable_x3daudio1_1
1539 enable_x3daudio1_2
1540 enable_x3daudio1_3
1541 enable_x3daudio1_4
1542 enable_x3daudio1_5
1543 enable_x3daudio1_6
1544 enable_x3daudio1_7
1545 enable_xactengine2_0
1546 enable_xactengine2_4
1547 enable_xactengine2_7
1548 enable_xactengine2_9
1549 enable_xactengine3_0
1550 enable_xactengine3_1
1551 enable_xactengine3_2
1552 enable_xactengine3_3
1553 enable_xactengine3_4
1554 enable_xactengine3_5
1555 enable_xactengine3_6
1556 enable_xactengine3_7
1557 enable_xapofx1_1
1558 enable_xapofx1_2
1559 enable_xapofx1_3
1560 enable_xapofx1_4
1561 enable_xapofx1_5
1562 enable_xaudio2_0
1563 enable_xaudio2_1
1564 enable_xaudio2_2
1565 enable_xaudio2_3
1566 enable_xaudio2_4
1567 enable_xaudio2_5
1568 enable_xaudio2_6
1569 enable_xaudio2_7
1570 enable_xaudio2_8
1571 enable_xaudio2_9
1572 enable_xinput1_1
1573 enable_xinput1_2
1574 enable_xinput1_3
1575 enable_xinput1_4
1576 enable_xinput9_1_0
1577 enable_xinputuap
1578 enable_xmllite
1579 enable_xolehlp
1580 enable_xpsprint
1581 enable_xpssvcs
1582 enable_fonts
1583 enable_include
1584 enable_adsiid
1585 enable_dmoguids
1586 enable_dxerr8
1587 enable_dxerr9
1588 enable_dxguid
1589 enable_faudio
1590 enable_gsm
1591 enable_jpeg
1592 enable_jxr
1593 enable_lcms2
1594 enable_ldap
1595 enable_mfuuid
1596 enable_mpg123
1597 enable_musl
1598 enable_png
1599 enable_strmbase
1600 enable_strmiids
1601 enable_tiff
1602 enable_uuid
1603 enable_vkd3d
1604 enable_wbemuuid
1605 enable_wmcodecdspuuid
1606 enable_xml2
1607 enable_xslt
1608 enable_zlib
1609 enable_zydis
1610 enable_loader
1611 enable_nls
1612 enable_po
1613 enable_arp
1614 enable_aspnet_regiis
1615 enable_attrib
1616 enable_cabarc
1617 enable_cacls
1618 enable_certutil
1619 enable_chcp_com
1620 enable_clock
1621 enable_cmd
1622 enable_conhost
1623 enable_control
1624 enable_cscript
1625 enable_dism
1626 enable_dllhost
1627 enable_dplaysvr
1628 enable_dpnsvr
1629 enable_dpvsetup
1630 enable_dxdiag
1631 enable_eject
1632 enable_expand
1633 enable_explorer
1634 enable_extrac32
1635 enable_fc
1636 enable_find
1637 enable_findstr
1638 enable_fsutil
1639 enable_hh
1640 enable_hostname
1641 enable_icacls
1642 enable_icinfo
1643 enable_iexplore
1644 enable_ipconfig
1645 enable_klist
1646 enable_lodctr
1647 enable_mofcomp
1648 enable_mshta
1649 enable_msidb
1650 enable_msiexec
1651 enable_msinfo32
1652 enable_net
1653 enable_netsh
1654 enable_netstat
1655 enable_ngen
1656 enable_notepad
1657 enable_oleview
1658 enable_ping
1659 enable_plugplay
1660 enable_pnputil
1661 enable_powershell
1662 enable_presentationfontcache
1663 enable_progman
1664 enable_reg
1665 enable_regasm
1666 enable_regedit
1667 enable_regini
1668 enable_regsvcs
1669 enable_regsvr32
1670 enable_robocopy
1671 enable_rpcss
1672 enable_rundll32
1673 enable_sc
1674 enable_schtasks
1675 enable_sdbinst
1676 enable_secedit
1677 enable_servicemodelreg
1678 enable_services
1679 enable_setx
1680 enable_shutdown
1681 enable_spoolsv
1682 enable_start
1683 enable_subst
1684 enable_svchost
1685 enable_systeminfo
1686 enable_taskkill
1687 enable_tasklist
1688 enable_taskmgr
1689 enable_termsv
1690 enable_uninstaller
1691 enable_unlodctr
1692 enable_view
1693 enable_wevtutil
1694 enable_where
1695 enable_whoami
1696 enable_wineboot
1697 enable_winebrowser
1698 enable_winecfg
1699 enable_wineconsole
1700 enable_winedbg
1701 enable_winedevice
1702 enable_winefile
1703 enable_winemenubuilder
1704 enable_winemine
1705 enable_winemsibuilder
1706 enable_winepath
1707 enable_winetest
1708 enable_winhlp32
1709 enable_winmgmt
1710 enable_winver
1711 enable_wmic
1712 enable_wmplayer
1713 enable_wordpad
1714 enable_write
1715 enable_wscript
1716 enable_wuauserv
1717 enable_wusa
1718 enable_xcopy
1719 enable_server
1720 enable_tools
1721 enable_sfnt2fon
1722 enable_widl
1723 enable_winebuild
1724 enable_winedump
1725 enable_winegcc
1726 enable_winemaker
1727 enable_wmc
1728 enable_wrc
1730 ac_precious_vars='build_alias
1731 host_alias
1732 target_alias
1734 CFLAGS
1735 LDFLAGS
1736 LIBS
1737 CPPFLAGS
1739 CXXFLAGS
1741 OBJC
1742 OBJCFLAGS
1743 FAUDIO_PE_CFLAGS
1744 FAUDIO_PE_LIBS
1745 GSM_PE_CFLAGS
1746 GSM_PE_LIBS
1747 JPEG_PE_CFLAGS
1748 JPEG_PE_LIBS
1749 JXR_PE_CFLAGS
1750 JXR_PE_LIBS
1751 LCMS2_PE_CFLAGS
1752 LCMS2_PE_LIBS
1753 LDAP_PE_CFLAGS
1754 LDAP_PE_LIBS
1755 MPG123_PE_CFLAGS
1756 MPG123_PE_LIBS
1757 MUSL_PE_CFLAGS
1758 MUSL_PE_LIBS
1759 PNG_PE_CFLAGS
1760 PNG_PE_LIBS
1761 TIFF_PE_CFLAGS
1762 TIFF_PE_LIBS
1763 VKD3D_PE_CFLAGS
1764 VKD3D_PE_LIBS
1765 XML2_PE_CFLAGS
1766 XML2_PE_LIBS
1767 XSLT_PE_CFLAGS
1768 XSLT_PE_LIBS
1769 ZLIB_PE_CFLAGS
1770 ZLIB_PE_LIBS
1771 ZYDIS_PE_CFLAGS
1772 ZYDIS_PE_LIBS
1773 XMKMF
1775 WAYLAND_CLIENT_CFLAGS
1776 WAYLAND_CLIENT_LIBS
1777 INOTIFY_CFLAGS
1778 INOTIFY_LIBS
1779 DBUS_CFLAGS
1780 DBUS_LIBS
1781 GNUTLS_CFLAGS
1782 GNUTLS_LIBS
1783 SANE_CFLAGS
1784 SANE_LIBS
1785 USB_CFLAGS
1786 USB_LIBS
1787 GPHOTO2_CFLAGS
1788 GPHOTO2_LIBS
1789 GPHOTO2_PORT_CFLAGS
1790 GPHOTO2_PORT_LIBS
1791 FREETYPE_CFLAGS
1792 FREETYPE_LIBS
1793 PULSE_CFLAGS
1794 PULSE_LIBS
1795 GSTREAMER_CFLAGS
1796 GSTREAMER_LIBS
1797 UDEV_CFLAGS
1798 UDEV_LIBS
1799 UNWIND_CFLAGS
1800 UNWIND_LIBS
1801 SDL2_CFLAGS
1802 SDL2_LIBS
1803 CAPI20_CFLAGS
1804 CAPI20_LIBS
1805 CUPS_CFLAGS
1806 CUPS_LIBS
1807 FONTCONFIG_CFLAGS
1808 FONTCONFIG_LIBS
1809 KRB5_CFLAGS
1810 KRB5_LIBS
1811 GSSAPI_CFLAGS
1812 GSSAPI_LIBS
1813 NETAPI_CFLAGS
1814 NETAPI_LIBS'
1817 # Initialize some variables set by options.
1818 ac_init_help=
1819 ac_init_version=false
1820 ac_unrecognized_opts=
1821 ac_unrecognized_sep=
1822 # The variables have the same names as the options, with
1823 # dashes changed to underlines.
1824 cache_file=/dev/null
1825 exec_prefix=NONE
1826 no_create=
1827 no_recursion=
1828 prefix=NONE
1829 program_prefix=NONE
1830 program_suffix=NONE
1831 program_transform_name=s,x,x,
1832 silent=
1833 site=
1834 srcdir=
1835 verbose=
1836 x_includes=NONE
1837 x_libraries=NONE
1839 # Installation directory options.
1840 # These are left unexpanded so users can "make install exec_prefix=/foo"
1841 # and all the variables that are supposed to be based on exec_prefix
1842 # by default will actually change.
1843 # Use braces instead of parens because sh, perl, etc. also accept them.
1844 # (The list follows the same order as the GNU Coding Standards.)
1845 bindir='${exec_prefix}/bin'
1846 sbindir='${exec_prefix}/sbin'
1847 libexecdir='${exec_prefix}/libexec'
1848 datarootdir='${prefix}/share'
1849 datadir='${datarootdir}'
1850 sysconfdir='${prefix}/etc'
1851 sharedstatedir='${prefix}/com'
1852 localstatedir='${prefix}/var'
1853 runstatedir='${localstatedir}/run'
1854 includedir='${prefix}/include'
1855 oldincludedir='/usr/include'
1856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1857 infodir='${datarootdir}/info'
1858 htmldir='${docdir}'
1859 dvidir='${docdir}'
1860 pdfdir='${docdir}'
1861 psdir='${docdir}'
1862 libdir='${exec_prefix}/lib'
1863 localedir='${datarootdir}/locale'
1864 mandir='${datarootdir}/man'
1866 ac_prev=
1867 ac_dashdash=
1868 for ac_option
1870 # If the previous option needs an argument, assign it.
1871 if test -n "$ac_prev"; then
1872 eval $ac_prev=\$ac_option
1873 ac_prev=
1874 continue
1877 case $ac_option in
1878 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1879 *=) ac_optarg= ;;
1880 *) ac_optarg=yes ;;
1881 esac
1883 case $ac_dashdash$ac_option in
1885 ac_dashdash=yes ;;
1887 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1888 ac_prev=bindir ;;
1889 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1890 bindir=$ac_optarg ;;
1892 -build | --build | --buil | --bui | --bu)
1893 ac_prev=build_alias ;;
1894 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1895 build_alias=$ac_optarg ;;
1897 -cache-file | --cache-file | --cache-fil | --cache-fi \
1898 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1899 ac_prev=cache_file ;;
1900 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1901 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1902 cache_file=$ac_optarg ;;
1904 --config-cache | -C)
1905 cache_file=config.cache ;;
1907 -datadir | --datadir | --datadi | --datad)
1908 ac_prev=datadir ;;
1909 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1910 datadir=$ac_optarg ;;
1912 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1913 | --dataroo | --dataro | --datar)
1914 ac_prev=datarootdir ;;
1915 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1916 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1917 datarootdir=$ac_optarg ;;
1919 -disable-* | --disable-*)
1920 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1921 # Reject names that are not valid shell variable names.
1922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1923 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1924 ac_useropt_orig=$ac_useropt
1925 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1926 case $ac_user_opts in
1928 "enable_$ac_useropt"
1929 "*) ;;
1930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1931 ac_unrecognized_sep=', ';;
1932 esac
1933 eval enable_$ac_useropt=no ;;
1935 -docdir | --docdir | --docdi | --doc | --do)
1936 ac_prev=docdir ;;
1937 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1938 docdir=$ac_optarg ;;
1940 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1941 ac_prev=dvidir ;;
1942 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1943 dvidir=$ac_optarg ;;
1945 -enable-* | --enable-*)
1946 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1947 # Reject names that are not valid shell variable names.
1948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1949 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1950 ac_useropt_orig=$ac_useropt
1951 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1952 case $ac_user_opts in
1954 "enable_$ac_useropt"
1955 "*) ;;
1956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1957 ac_unrecognized_sep=', ';;
1958 esac
1959 eval enable_$ac_useropt=\$ac_optarg ;;
1961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1963 | --exec | --exe | --ex)
1964 ac_prev=exec_prefix ;;
1965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1967 | --exec=* | --exe=* | --ex=*)
1968 exec_prefix=$ac_optarg ;;
1970 -gas | --gas | --ga | --g)
1971 # Obsolete; use --with-gas.
1972 with_gas=yes ;;
1974 -help | --help | --hel | --he | -h)
1975 ac_init_help=long ;;
1976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1977 ac_init_help=recursive ;;
1978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1979 ac_init_help=short ;;
1981 -host | --host | --hos | --ho)
1982 ac_prev=host_alias ;;
1983 -host=* | --host=* | --hos=* | --ho=*)
1984 host_alias=$ac_optarg ;;
1986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1987 ac_prev=htmldir ;;
1988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1989 | --ht=*)
1990 htmldir=$ac_optarg ;;
1992 -includedir | --includedir | --includedi | --included | --include \
1993 | --includ | --inclu | --incl | --inc)
1994 ac_prev=includedir ;;
1995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1996 | --includ=* | --inclu=* | --incl=* | --inc=*)
1997 includedir=$ac_optarg ;;
1999 -infodir | --infodir | --infodi | --infod | --info | --inf)
2000 ac_prev=infodir ;;
2001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2002 infodir=$ac_optarg ;;
2004 -libdir | --libdir | --libdi | --libd)
2005 ac_prev=libdir ;;
2006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2007 libdir=$ac_optarg ;;
2009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2010 | --libexe | --libex | --libe)
2011 ac_prev=libexecdir ;;
2012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2013 | --libexe=* | --libex=* | --libe=*)
2014 libexecdir=$ac_optarg ;;
2016 -localedir | --localedir | --localedi | --localed | --locale)
2017 ac_prev=localedir ;;
2018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2019 localedir=$ac_optarg ;;
2021 -localstatedir | --localstatedir | --localstatedi | --localstated \
2022 | --localstate | --localstat | --localsta | --localst | --locals)
2023 ac_prev=localstatedir ;;
2024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2026 localstatedir=$ac_optarg ;;
2028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2029 ac_prev=mandir ;;
2030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2031 mandir=$ac_optarg ;;
2033 -nfp | --nfp | --nf)
2034 # Obsolete; use --without-fp.
2035 with_fp=no ;;
2037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2038 | --no-cr | --no-c | -n)
2039 no_create=yes ;;
2041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2043 no_recursion=yes ;;
2045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2047 | --oldin | --oldi | --old | --ol | --o)
2048 ac_prev=oldincludedir ;;
2049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2052 oldincludedir=$ac_optarg ;;
2054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2055 ac_prev=prefix ;;
2056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2057 prefix=$ac_optarg ;;
2059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2060 | --program-pre | --program-pr | --program-p)
2061 ac_prev=program_prefix ;;
2062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2064 program_prefix=$ac_optarg ;;
2066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2067 | --program-suf | --program-su | --program-s)
2068 ac_prev=program_suffix ;;
2069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2071 program_suffix=$ac_optarg ;;
2073 -program-transform-name | --program-transform-name \
2074 | --program-transform-nam | --program-transform-na \
2075 | --program-transform-n | --program-transform- \
2076 | --program-transform | --program-transfor \
2077 | --program-transfo | --program-transf \
2078 | --program-trans | --program-tran \
2079 | --progr-tra | --program-tr | --program-t)
2080 ac_prev=program_transform_name ;;
2081 -program-transform-name=* | --program-transform-name=* \
2082 | --program-transform-nam=* | --program-transform-na=* \
2083 | --program-transform-n=* | --program-transform-=* \
2084 | --program-transform=* | --program-transfor=* \
2085 | --program-transfo=* | --program-transf=* \
2086 | --program-trans=* | --program-tran=* \
2087 | --progr-tra=* | --program-tr=* | --program-t=*)
2088 program_transform_name=$ac_optarg ;;
2090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2091 ac_prev=pdfdir ;;
2092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2093 pdfdir=$ac_optarg ;;
2095 -psdir | --psdir | --psdi | --psd | --ps)
2096 ac_prev=psdir ;;
2097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2098 psdir=$ac_optarg ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2102 silent=yes ;;
2104 -runstatedir | --runstatedir | --runstatedi | --runstated \
2105 | --runstate | --runstat | --runsta | --runst | --runs \
2106 | --run | --ru | --r)
2107 ac_prev=runstatedir ;;
2108 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2109 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2110 | --run=* | --ru=* | --r=*)
2111 runstatedir=$ac_optarg ;;
2113 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2114 ac_prev=sbindir ;;
2115 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2116 | --sbi=* | --sb=*)
2117 sbindir=$ac_optarg ;;
2119 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2120 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2121 | --sharedst | --shareds | --shared | --share | --shar \
2122 | --sha | --sh)
2123 ac_prev=sharedstatedir ;;
2124 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2125 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2126 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2127 | --sha=* | --sh=*)
2128 sharedstatedir=$ac_optarg ;;
2130 -site | --site | --sit)
2131 ac_prev=site ;;
2132 -site=* | --site=* | --sit=*)
2133 site=$ac_optarg ;;
2135 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2136 ac_prev=srcdir ;;
2137 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2138 srcdir=$ac_optarg ;;
2140 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2141 | --syscon | --sysco | --sysc | --sys | --sy)
2142 ac_prev=sysconfdir ;;
2143 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2144 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2145 sysconfdir=$ac_optarg ;;
2147 -target | --target | --targe | --targ | --tar | --ta | --t)
2148 ac_prev=target_alias ;;
2149 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2150 target_alias=$ac_optarg ;;
2152 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2153 verbose=yes ;;
2155 -version | --version | --versio | --versi | --vers | -V)
2156 ac_init_version=: ;;
2158 -with-* | --with-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid package name: \`$ac_useropt'"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "with_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval with_$ac_useropt=\$ac_optarg ;;
2174 -without-* | --without-*)
2175 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2176 # Reject names that are not valid shell variable names.
2177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2178 as_fn_error $? "invalid package name: \`$ac_useropt'"
2179 ac_useropt_orig=$ac_useropt
2180 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2181 case $ac_user_opts in
2183 "with_$ac_useropt"
2184 "*) ;;
2185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2186 ac_unrecognized_sep=', ';;
2187 esac
2188 eval with_$ac_useropt=no ;;
2190 --x)
2191 # Obsolete; use --with-x.
2192 with_x=yes ;;
2194 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2195 | --x-incl | --x-inc | --x-in | --x-i)
2196 ac_prev=x_includes ;;
2197 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2198 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2199 x_includes=$ac_optarg ;;
2201 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2202 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2203 ac_prev=x_libraries ;;
2204 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2205 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2206 x_libraries=$ac_optarg ;;
2208 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2209 Try \`$0 --help' for more information"
2212 *=*)
2213 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2214 # Reject names that are not valid shell variable names.
2215 case $ac_envvar in #(
2216 '' | [0-9]* | *[!_$as_cr_alnum]* )
2217 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2218 esac
2219 eval $ac_envvar=\$ac_optarg
2220 export $ac_envvar ;;
2223 # FIXME: should be removed in autoconf 3.0.
2224 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2226 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2227 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2230 esac
2231 done
2233 if test -n "$ac_prev"; then
2234 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2235 as_fn_error $? "missing argument to $ac_option"
2238 if test -n "$ac_unrecognized_opts"; then
2239 case $enable_option_checking in
2240 no) ;;
2241 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2242 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2243 esac
2246 # Check all directory arguments for consistency.
2247 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2248 datadir sysconfdir sharedstatedir localstatedir includedir \
2249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2250 libdir localedir mandir runstatedir
2252 eval ac_val=\$$ac_var
2253 # Remove trailing slashes.
2254 case $ac_val in
2255 */ )
2256 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2257 eval $ac_var=\$ac_val;;
2258 esac
2259 # Be sure to have absolute directory names.
2260 case $ac_val in
2261 [\\/$]* | ?:[\\/]* ) continue;;
2262 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2263 esac
2264 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2265 done
2267 # There might be people who depend on the old broken behavior: `$host'
2268 # used to hold the argument of --host etc.
2269 # FIXME: To remove some day.
2270 build=$build_alias
2271 host=$host_alias
2272 target=$target_alias
2274 # FIXME: To remove some day.
2275 if test "x$host_alias" != x; then
2276 if test "x$build_alias" = x; then
2277 cross_compiling=maybe
2278 elif test "x$build_alias" != "x$host_alias"; then
2279 cross_compiling=yes
2283 ac_tool_prefix=
2284 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2286 test "$silent" = yes && exec 6>/dev/null
2289 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2290 ac_ls_di=`ls -di .` &&
2291 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2292 as_fn_error $? "working directory cannot be determined"
2293 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2294 as_fn_error $? "pwd does not report name of working directory"
2297 # Find the source files, if location was not specified.
2298 if test -z "$srcdir"; then
2299 ac_srcdir_defaulted=yes
2300 # Try the directory containing this script, then the parent directory.
2301 ac_confdir=`$as_dirname -- "$as_myself" ||
2302 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2303 X"$as_myself" : 'X\(//\)[^/]' \| \
2304 X"$as_myself" : 'X\(//\)$' \| \
2305 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2306 printf "%s\n" X"$as_myself" |
2307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2308 s//\1/
2311 /^X\(\/\/\)[^/].*/{
2312 s//\1/
2315 /^X\(\/\/\)$/{
2316 s//\1/
2319 /^X\(\/\).*/{
2320 s//\1/
2323 s/.*/./; q'`
2324 srcdir=$ac_confdir
2325 if test ! -r "$srcdir/$ac_unique_file"; then
2326 srcdir=..
2328 else
2329 ac_srcdir_defaulted=no
2331 if test ! -r "$srcdir/$ac_unique_file"; then
2332 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2333 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2335 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2336 ac_abs_confdir=`(
2337 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2338 pwd)`
2339 # When building in place, set srcdir=.
2340 if test "$ac_abs_confdir" = "$ac_pwd"; then
2341 srcdir=.
2343 # Remove unnecessary trailing slashes from srcdir.
2344 # Double slashes in file names in object file debugging info
2345 # mess up M-x gdb in Emacs.
2346 case $srcdir in
2347 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2348 esac
2349 for ac_var in $ac_precious_vars; do
2350 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2351 eval ac_env_${ac_var}_value=\$${ac_var}
2352 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2353 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2354 done
2357 # Report the --help message.
2359 if test "$ac_init_help" = "long"; then
2360 # Omit some internal or obsolete options to make the list less imposing.
2361 # This message is too long to be a string in the A/UX 3.1 sh.
2362 cat <<_ACEOF
2363 \`configure' configures Wine 8.15 to adapt to many kinds of systems.
2365 Usage: $0 [OPTION]... [VAR=VALUE]...
2367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2368 VAR=VALUE. See below for descriptions of some of the useful variables.
2370 Defaults for the options are specified in brackets.
2372 Configuration:
2373 -h, --help display this help and exit
2374 --help=short display options specific to this package
2375 --help=recursive display the short help of all the included packages
2376 -V, --version display version information and exit
2377 -q, --quiet, --silent do not print \`checking ...' messages
2378 --cache-file=FILE cache test results in FILE [disabled]
2379 -C, --config-cache alias for \`--cache-file=config.cache'
2380 -n, --no-create do not create output files
2381 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2383 Installation directories:
2384 --prefix=PREFIX install architecture-independent files in PREFIX
2385 [$ac_default_prefix]
2386 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2387 [PREFIX]
2389 By default, \`make install' will install all the files in
2390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2392 for instance \`--prefix=\$HOME'.
2394 For better control, use the options below.
2396 Fine tuning of the installation directories:
2397 --bindir=DIR user executables [EPREFIX/bin]
2398 --sbindir=DIR system admin executables [EPREFIX/sbin]
2399 --libexecdir=DIR program executables [EPREFIX/libexec]
2400 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2401 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2402 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2403 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2404 --libdir=DIR object code libraries [EPREFIX/lib]
2405 --includedir=DIR C header files [PREFIX/include]
2406 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2407 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2408 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2409 --infodir=DIR info documentation [DATAROOTDIR/info]
2410 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2411 --mandir=DIR man documentation [DATAROOTDIR/man]
2412 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2413 --htmldir=DIR html documentation [DOCDIR]
2414 --dvidir=DIR dvi documentation [DOCDIR]
2415 --pdfdir=DIR pdf documentation [DOCDIR]
2416 --psdir=DIR ps documentation [DOCDIR]
2417 _ACEOF
2419 cat <<\_ACEOF
2421 X features:
2422 --x-includes=DIR X include files are in DIR
2423 --x-libraries=DIR X library files are in DIR
2425 System types:
2426 --build=BUILD configure for building on BUILD [guessed]
2427 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2428 _ACEOF
2431 if test -n "$ac_init_help"; then
2432 case $ac_init_help in
2433 short | recursive ) echo "Configuration of Wine 8.15:";;
2434 esac
2435 cat <<\_ACEOF
2437 Optional Features:
2438 --disable-option-checking ignore unrecognized --enable/--with options
2439 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2440 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2441 --enable-archs={i386,x86_64,arm,aarch64}
2442 enable multiple architectures for PE compilation
2443 --disable-win16 do not include Win16 support
2444 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2445 binaries)
2446 --disable-tests do not build the regression tests
2447 --enable-build-id include .buildid section in output objects
2448 --enable-maintainer-mode
2449 enable maintainer-specific build rules
2450 --enable-silent-rules use silent build rules (override: "make V=1")
2451 --enable-werror treat compilation warnings as errors
2452 --disable-largefile omit support for large files
2454 Optional Packages:
2455 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2456 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2457 --without-alsa do not use the Alsa sound support
2458 --without-capi do not use CAPI (ISDN support)
2459 --without-coreaudio do not use the CoreAudio sound support
2460 --without-cups do not use CUPS
2461 --without-dbus do not use DBus (dynamic device support)
2462 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2463 --without-fontconfig do not use fontconfig
2464 --without-freetype do not use the FreeType library
2465 --without-gettext do not use gettext
2466 --with-gettextpo use the GetTextPO library to rebuild po files
2467 --without-gphoto do not use gphoto (Digital Camera support)
2468 --without-gnutls do not use GnuTLS (schannel support)
2469 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2470 --without-gstreamer do not use GStreamer (codecs support)
2471 --without-inotify do not use inotify (filesystem change notifications)
2472 --without-krb5 do not use krb5 (Kerberos)
2473 --without-mingw do not use the MinGW cross-compiler
2474 --without-netapi do not use the Samba NetAPI library
2475 --without-opencl do not use OpenCL
2476 --without-opengl do not use OpenGL
2477 --without-osmesa do not use the OSMesa library
2478 --without-oss do not use the OSS sound support
2479 --without-pcap do not use the Packet Capture library
2480 --without-pcsclite do not use PCSC lite
2481 --without-pthread do not use the pthread library
2482 --without-pulse do not use PulseAudio sound support
2483 --without-sane do not use SANE (scanner support)
2484 --without-sdl do not use SDL
2485 --without-udev do not use udev (plug and play support)
2486 --without-unwind do not use the libunwind library (exception
2487 handling)
2488 --without-usb do not use the libusb library
2489 --without-v4l2 do not use v4l2 (video capture)
2490 --without-vulkan do not use Vulkan
2491 --without-wayland do not build the Wayland driver
2492 --without-xcomposite do not use the Xcomposite extension
2493 --without-xcursor do not use the Xcursor extension
2494 --without-xfixes do not use Xfixes for clipboard change notifications
2495 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2496 --without-xinput do not use the Xinput extension
2497 --without-xinput2 do not use the Xinput 2 extension
2498 --without-xrandr do not use Xrandr (multi-monitor support)
2499 --without-xrender do not use the Xrender extension
2500 --without-xshape do not use the Xshape extension
2501 --without-xshm do not use XShm (shared memory extension)
2502 --without-xxf86vm do not use XFree video mode extension
2503 --with-system-dllpath=PATH
2504 load external PE dependencies from colon-separated
2505 path PATH
2506 --with-wine-tools=DIR use Wine tools from directory DIR
2507 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2508 --with-x use the X Window System
2510 Some influential environment variables:
2511 CC C compiler command
2512 CFLAGS C compiler flags
2513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2514 nonstandard directory <lib dir>
2515 LIBS libraries to pass to the linker, e.g. -l<library>
2516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2517 you have headers in a nonstandard directory <include dir>
2518 CXX C++ compiler command
2519 CXXFLAGS C++ compiler flags
2520 OBJC Objective C compiler command
2521 OBJCFLAGS Objective C compiler flags
2522 FAUDIO_PE_CFLAGS
2523 C compiler flags for the PE faudio, overriding the bundled
2524 version
2525 FAUDIO_PE_LIBS
2526 Linker flags for the PE faudio, overriding the bundled version
2527 GSM_PE_CFLAGS
2528 C compiler flags for the PE gsm, overriding the bundled version
2529 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2530 JPEG_PE_CFLAGS
2531 C compiler flags for the PE jpeg, overriding the bundled version
2532 JPEG_PE_LIBS
2533 Linker flags for the PE jpeg, overriding the bundled version
2534 JXR_PE_CFLAGS
2535 C compiler flags for the PE jxr, overriding the bundled version
2536 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2537 LCMS2_PE_CFLAGS
2538 C compiler flags for the PE lcms2, overriding the bundled
2539 version
2540 LCMS2_PE_LIBS
2541 Linker flags for the PE lcms2, overriding the bundled version
2542 LDAP_PE_CFLAGS
2543 C compiler flags for the PE ldap, overriding the bundled version
2544 LDAP_PE_LIBS
2545 Linker flags for the PE ldap, overriding the bundled version
2546 MPG123_PE_CFLAGS
2547 C compiler flags for the PE mpg123, overriding the bundled
2548 version
2549 MPG123_PE_LIBS
2550 Linker flags for the PE mpg123, overriding the bundled version
2551 MUSL_PE_CFLAGS
2552 C compiler flags for the PE musl, overriding the bundled version
2553 MUSL_PE_LIBS
2554 Linker flags for the PE musl, overriding the bundled version
2555 PNG_PE_CFLAGS
2556 C compiler flags for the PE png, overriding the bundled version
2557 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2558 TIFF_PE_CFLAGS
2559 C compiler flags for the PE tiff, overriding the bundled version
2560 TIFF_PE_LIBS
2561 Linker flags for the PE tiff, overriding the bundled version
2562 VKD3D_PE_CFLAGS
2563 C compiler flags for the PE vkd3d, overriding the bundled
2564 version
2565 VKD3D_PE_LIBS
2566 Linker flags for the PE vkd3d, overriding the bundled version
2567 XML2_PE_CFLAGS
2568 C compiler flags for the PE xml2, overriding the bundled version
2569 XML2_PE_LIBS
2570 Linker flags for the PE xml2, overriding the bundled version
2571 XSLT_PE_CFLAGS
2572 C compiler flags for the PE xslt, overriding the bundled version
2573 XSLT_PE_LIBS
2574 Linker flags for the PE xslt, overriding the bundled version
2575 ZLIB_PE_CFLAGS
2576 C compiler flags for the PE zlib, overriding the bundled version
2577 ZLIB_PE_LIBS
2578 Linker flags for the PE zlib, overriding the bundled version
2579 ZYDIS_PE_CFLAGS
2580 C compiler flags for the PE zydis, overriding the bundled
2581 version
2582 ZYDIS_PE_LIBS
2583 Linker flags for the PE zydis, overriding the bundled version
2584 XMKMF Path to xmkmf, Makefile generator for X Window System
2585 CPP C preprocessor
2586 WAYLAND_CLIENT_CFLAGS
2587 C compiler flags for wayland-client, overriding pkg-config
2588 WAYLAND_CLIENT_LIBS
2589 Linker flags for wayland-client, overriding pkg-config
2590 INOTIFY_CFLAGS
2591 C compiler flags for libinotify, overriding pkg-config
2592 INOTIFY_LIBS
2593 Linker flags for libinotify, overriding pkg-config
2594 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2595 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2596 GNUTLS_CFLAGS
2597 C compiler flags for gnutls, overriding pkg-config
2598 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2599 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2600 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2601 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2602 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2603 GPHOTO2_CFLAGS
2604 C compiler flags for libgphoto2, overriding pkg-config
2605 GPHOTO2_LIBS
2606 Linker flags for libgphoto2, overriding pkg-config
2607 GPHOTO2_PORT_CFLAGS
2608 C compiler flags for libgphoto2_port, overriding pkg-config
2609 GPHOTO2_PORT_LIBS
2610 Linker flags for libgphoto2_port, overriding pkg-config
2611 FREETYPE_CFLAGS
2612 C compiler flags for freetype2, overriding pkg-config
2613 FREETYPE_LIBS
2614 Linker flags for freetype2, overriding pkg-config
2615 PULSE_CFLAGS
2616 C compiler flags for libpulse, overriding pkg-config
2617 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2618 GSTREAMER_CFLAGS
2619 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2620 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2621 GSTREAMER_LIBS
2622 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2623 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2624 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2625 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2626 UNWIND_CFLAGS
2627 C compiler flags for libunwind, overriding pkg-config
2628 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2629 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2630 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2631 CAPI20_CFLAGS
2632 C compiler flags for capi20, overriding pkg-config
2633 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2634 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2635 CUPS_LIBS Linker flags for cups, overriding pkg-config
2636 FONTCONFIG_CFLAGS
2637 C compiler flags for fontconfig, overriding pkg-config
2638 FONTCONFIG_LIBS
2639 Linker flags for fontconfig, overriding pkg-config
2640 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2641 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2642 GSSAPI_CFLAGS
2643 C compiler flags for krb5-gssapi, overriding pkg-config
2644 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2645 NETAPI_CFLAGS
2646 C compiler flags for netapi, overriding pkg-config
2647 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2649 Use these variables to override the choices made by `configure' or to help
2650 it to find libraries and programs with nonstandard names/locations.
2652 Report bugs to <wine-devel@winehq.org>.
2653 Wine home page: <https://www.winehq.org>.
2654 _ACEOF
2655 ac_status=$?
2658 if test "$ac_init_help" = "recursive"; then
2659 # If there are subdirs, report their specific --help.
2660 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2661 test -d "$ac_dir" ||
2662 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2663 continue
2664 ac_builddir=.
2666 case "$ac_dir" in
2667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2669 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2670 # A ".." for each directory in $ac_dir_suffix.
2671 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2672 case $ac_top_builddir_sub in
2673 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2674 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2675 esac ;;
2676 esac
2677 ac_abs_top_builddir=$ac_pwd
2678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2679 # for backward compatibility:
2680 ac_top_builddir=$ac_top_build_prefix
2682 case $srcdir in
2683 .) # We are building in place.
2684 ac_srcdir=.
2685 ac_top_srcdir=$ac_top_builddir_sub
2686 ac_abs_top_srcdir=$ac_pwd ;;
2687 [\\/]* | ?:[\\/]* ) # Absolute name.
2688 ac_srcdir=$srcdir$ac_dir_suffix;
2689 ac_top_srcdir=$srcdir
2690 ac_abs_top_srcdir=$srcdir ;;
2691 *) # Relative name.
2692 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2693 ac_top_srcdir=$ac_top_build_prefix$srcdir
2694 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2695 esac
2696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2698 cd "$ac_dir" || { ac_status=$?; continue; }
2699 # Check for configure.gnu first; this name is used for a wrapper for
2700 # Metaconfig's "Configure" on case-insensitive file systems.
2701 if test -f "$ac_srcdir/configure.gnu"; then
2702 echo &&
2703 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2704 elif test -f "$ac_srcdir/configure"; then
2705 echo &&
2706 $SHELL "$ac_srcdir/configure" --help=recursive
2707 else
2708 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2709 fi || ac_status=$?
2710 cd "$ac_pwd" || { ac_status=$?; break; }
2711 done
2714 test -n "$ac_init_help" && exit $ac_status
2715 if $ac_init_version; then
2716 cat <<\_ACEOF
2717 Wine configure 8.15
2718 generated by GNU Autoconf 2.71
2720 Copyright (C) 2021 Free Software Foundation, Inc.
2721 This configure script is free software; the Free Software Foundation
2722 gives unlimited permission to copy, distribute and modify it.
2723 _ACEOF
2724 exit
2727 ## ------------------------ ##
2728 ## Autoconf initialization. ##
2729 ## ------------------------ ##
2731 # ac_fn_c_try_compile LINENO
2732 # --------------------------
2733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2734 ac_fn_c_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_c_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_c_try_compile
2770 # ac_fn_cxx_try_compile LINENO
2771 # ----------------------------
2772 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2773 ac_fn_cxx_try_compile ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 rm -f conftest.$ac_objext conftest.beam
2777 if { { ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest.$ac_objext
2796 then :
2797 ac_retval=0
2798 else $as_nop
2799 printf "%s\n" "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 ac_retval=1
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 as_fn_set_status $ac_retval
2807 } # ac_fn_cxx_try_compile
2809 # ac_fn_c_try_link LINENO
2810 # -----------------------
2811 # Try to link conftest.$ac_ext, and return whether this succeeded.
2812 ac_fn_c_try_link ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2816 if { { ac_try="$ac_link"
2817 case "(($ac_try" in
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2820 esac
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 printf "%s\n" "$ac_try_echo"; } >&5
2823 (eval "$ac_link") 2>conftest.err
2824 ac_status=$?
2825 if test -s conftest.err; then
2826 grep -v '^ *+' conftest.err >conftest.er1
2827 cat conftest.er1 >&5
2828 mv -f conftest.er1 conftest.err
2830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2831 test $ac_status = 0; } && {
2832 test -z "$ac_c_werror_flag" ||
2833 test ! -s conftest.err
2834 } && test -s conftest$ac_exeext && {
2835 test "$cross_compiling" = yes ||
2836 test -x conftest$ac_exeext
2838 then :
2839 ac_retval=0
2840 else $as_nop
2841 printf "%s\n" "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2847 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2848 # interfere with the next link command; also delete a directory that is
2849 # left behind by Apple's compiler. We do this before executing the actions.
2850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 as_fn_set_status $ac_retval
2854 } # ac_fn_c_try_link
2856 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2857 # -------------------------------------------------------
2858 # Tests whether HEADER exists and can be compiled using the include files in
2859 # INCLUDES, setting the cache variable VAR accordingly.
2860 ac_fn_c_check_header_compile ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2864 printf %s "checking for $2... " >&6; }
2865 if eval test \${$3+y}
2866 then :
2867 printf %s "(cached) " >&6
2868 else $as_nop
2869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2870 /* end confdefs.h. */
2872 #include <$2>
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"
2875 then :
2876 eval "$3=yes"
2877 else $as_nop
2878 eval "$3=no"
2880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2882 eval ac_res=\$$3
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2884 printf "%s\n" "$ac_res" >&6; }
2885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887 } # ac_fn_c_check_header_compile
2889 # ac_fn_objc_try_compile LINENO
2890 # -----------------------------
2891 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2892 ac_fn_objc_try_compile ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 rm -f conftest.$ac_objext conftest.beam
2896 if { { ac_try="$ac_compile"
2897 case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2900 esac
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 printf "%s\n" "$ac_try_echo"; } >&5
2903 (eval "$ac_compile") 2>conftest.err
2904 ac_status=$?
2905 if test -s conftest.err; then
2906 grep -v '^ *+' conftest.err >conftest.er1
2907 cat conftest.er1 >&5
2908 mv -f conftest.er1 conftest.err
2910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; } && {
2912 test -z "$ac_objc_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext
2915 then :
2916 ac_retval=0
2917 else $as_nop
2918 printf "%s\n" "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 ac_retval=1
2923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 as_fn_set_status $ac_retval
2926 } # ac_fn_objc_try_compile
2928 # ac_fn_c_check_func LINENO FUNC VAR
2929 # ----------------------------------
2930 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2931 ac_fn_c_check_func ()
2933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2935 printf %s "checking for $2... " >&6; }
2936 if eval test \${$3+y}
2937 then :
2938 printf %s "(cached) " >&6
2939 else $as_nop
2940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2941 /* end confdefs.h. */
2942 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2944 #define $2 innocuous_$2
2946 /* System header to define __stub macros and hopefully few prototypes,
2947 which can conflict with char $2 (); below. */
2949 #include <limits.h>
2950 #undef $2
2952 /* Override any GCC internal prototype to avoid an error.
2953 Use char because int might match the return type of a GCC
2954 builtin and then its argument prototype would still apply. */
2955 #ifdef __cplusplus
2956 extern "C"
2957 #endif
2958 char $2 ();
2959 /* The GNU C library defines this for functions which it implements
2960 to always fail with ENOSYS. Some functions are actually named
2961 something starting with __ and the normal name is an alias. */
2962 #if defined __stub_$2 || defined __stub___$2
2963 choke me
2964 #endif
2967 main (void)
2969 return $2 ();
2971 return 0;
2973 _ACEOF
2974 if ac_fn_c_try_link "$LINENO"
2975 then :
2976 eval "$3=yes"
2977 else $as_nop
2978 eval "$3=no"
2980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2981 conftest$ac_exeext conftest.$ac_ext
2983 eval ac_res=\$$3
2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2985 printf "%s\n" "$ac_res" >&6; }
2986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2988 } # ac_fn_c_check_func
2990 # ac_fn_c_try_cpp LINENO
2991 # ----------------------
2992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2993 ac_fn_c_try_cpp ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 if { { ac_try="$ac_cpp conftest.$ac_ext"
2997 case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3000 esac
3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 printf "%s\n" "$ac_try_echo"; } >&5
3003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3004 ac_status=$?
3005 if test -s conftest.err; then
3006 grep -v '^ *+' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3008 mv -f conftest.er1 conftest.err
3010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; } > conftest.i && {
3012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3015 then :
3016 ac_retval=0
3017 else $as_nop
3018 printf "%s\n" "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=1
3023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3024 as_fn_set_status $ac_retval
3026 } # ac_fn_c_try_cpp
3028 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3029 # ----------------------------------------------------
3030 # Tries to find if the field MEMBER exists in type AGGR, after including
3031 # INCLUDES, setting cache variable VAR accordingly.
3032 ac_fn_c_check_member ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3036 printf %s "checking for $2.$3... " >&6; }
3037 if eval test \${$4+y}
3038 then :
3039 printf %s "(cached) " >&6
3040 else $as_nop
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main (void)
3047 static $2 ac_aggr;
3048 if (ac_aggr.$3)
3049 return 0;
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"
3055 then :
3056 eval "$4=yes"
3057 else $as_nop
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 static $2 ac_aggr;
3065 if (sizeof ac_aggr.$3)
3066 return 0;
3068 return 0;
3070 _ACEOF
3071 if ac_fn_c_try_compile "$LINENO"
3072 then :
3073 eval "$4=yes"
3074 else $as_nop
3075 eval "$4=no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 eval ac_res=\$$4
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3083 printf "%s\n" "$ac_res" >&6; }
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3086 } # ac_fn_c_check_member
3088 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3089 # -------------------------------------------
3090 # Tests whether TYPE exists after having included INCLUDES, setting cache
3091 # variable VAR accordingly.
3092 ac_fn_c_check_type ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 printf %s "checking for $2... " >&6; }
3097 if eval test \${$3+y}
3098 then :
3099 printf %s "(cached) " >&6
3100 else $as_nop
3101 eval "$3=no"
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3106 main (void)
3108 if (sizeof ($2))
3109 return 0;
3111 return 0;
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"
3115 then :
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3120 main (void)
3122 if (sizeof (($2)))
3123 return 0;
3125 return 0;
3127 _ACEOF
3128 if ac_fn_c_try_compile "$LINENO"
3129 then :
3131 else $as_nop
3132 eval "$3=yes"
3134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3138 eval ac_res=\$$3
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3140 printf "%s\n" "$ac_res" >&6; }
3141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3143 } # ac_fn_c_check_type
3144 ac_configure_args_raw=
3145 for ac_arg
3147 case $ac_arg in
3148 *\'*)
3149 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3150 esac
3151 as_fn_append ac_configure_args_raw " '$ac_arg'"
3152 done
3154 case $ac_configure_args_raw in
3155 *$as_nl*)
3156 ac_safe_unquote= ;;
3158 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3159 ac_unsafe_a="$ac_unsafe_z#~"
3160 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3161 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3162 esac
3164 cat >config.log <<_ACEOF
3165 This file contains any messages produced by compilers while
3166 running configure, to aid debugging if configure makes a mistake.
3168 It was created by Wine $as_me 8.15, which was
3169 generated by GNU Autoconf 2.71. Invocation command line was
3171 $ $0$ac_configure_args_raw
3173 _ACEOF
3174 exec 5>>config.log
3176 cat <<_ASUNAME
3177 ## --------- ##
3178 ## Platform. ##
3179 ## --------- ##
3181 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3182 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3183 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3184 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3185 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3187 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3188 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3190 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3191 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3192 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3193 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3194 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3195 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3196 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3198 _ASUNAME
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3203 IFS=$as_save_IFS
3204 case $as_dir in #(((
3205 '') as_dir=./ ;;
3206 */) ;;
3207 *) as_dir=$as_dir/ ;;
3208 esac
3209 printf "%s\n" "PATH: $as_dir"
3210 done
3211 IFS=$as_save_IFS
3213 } >&5
3215 cat >&5 <<_ACEOF
3218 ## ----------- ##
3219 ## Core tests. ##
3220 ## ----------- ##
3222 _ACEOF
3225 # Keep a trace of the command line.
3226 # Strip out --no-create and --no-recursion so they do not pile up.
3227 # Strip out --silent because we don't want to record it for future runs.
3228 # Also quote any args containing shell meta-characters.
3229 # Make two passes to allow for proper duplicate-argument suppression.
3230 ac_configure_args=
3231 ac_configure_args0=
3232 ac_configure_args1=
3233 ac_must_keep_next=false
3234 for ac_pass in 1 2
3236 for ac_arg
3238 case $ac_arg in
3239 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3241 | -silent | --silent | --silen | --sile | --sil)
3242 continue ;;
3243 *\'*)
3244 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3245 esac
3246 case $ac_pass in
3247 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3249 as_fn_append ac_configure_args1 " '$ac_arg'"
3250 if test $ac_must_keep_next = true; then
3251 ac_must_keep_next=false # Got value, back to normal.
3252 else
3253 case $ac_arg in
3254 *=* | --config-cache | -C | -disable-* | --disable-* \
3255 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3256 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3257 | -with-* | --with-* | -without-* | --without-* | --x)
3258 case "$ac_configure_args0 " in
3259 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3260 esac
3262 -* ) ac_must_keep_next=true ;;
3263 esac
3265 as_fn_append ac_configure_args " '$ac_arg'"
3267 esac
3268 done
3269 done
3270 { ac_configure_args0=; unset ac_configure_args0;}
3271 { ac_configure_args1=; unset ac_configure_args1;}
3273 # When interrupted or exit'd, cleanup temporary files, and complete
3274 # config.log. We remove comments because anyway the quotes in there
3275 # would cause problems or look ugly.
3276 # WARNING: Use '\'' to represent an apostrophe within the trap.
3277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3278 trap 'exit_status=$?
3279 # Sanitize IFS.
3280 IFS=" "" $as_nl"
3281 # Save into config.log some information that might help in debugging.
3283 echo
3285 printf "%s\n" "## ---------------- ##
3286 ## Cache variables. ##
3287 ## ---------------- ##"
3288 echo
3289 # The following way of writing the cache mishandles newlines in values,
3291 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3292 eval ac_val=\$$ac_var
3293 case $ac_val in #(
3294 *${as_nl}*)
3295 case $ac_var in #(
3296 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3297 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3298 esac
3299 case $ac_var in #(
3300 _ | IFS | as_nl) ;; #(
3301 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3302 *) { eval $ac_var=; unset $ac_var;} ;;
3303 esac ;;
3304 esac
3305 done
3306 (set) 2>&1 |
3307 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3308 *${as_nl}ac_space=\ *)
3309 sed -n \
3310 "s/'\''/'\''\\\\'\'''\''/g;
3311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3312 ;; #(
3314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3316 esac |
3317 sort
3319 echo
3321 printf "%s\n" "## ----------------- ##
3322 ## Output variables. ##
3323 ## ----------------- ##"
3324 echo
3325 for ac_var in $ac_subst_vars
3327 eval ac_val=\$$ac_var
3328 case $ac_val in
3329 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3330 esac
3331 printf "%s\n" "$ac_var='\''$ac_val'\''"
3332 done | sort
3333 echo
3335 if test -n "$ac_subst_files"; then
3336 printf "%s\n" "## ------------------- ##
3337 ## File substitutions. ##
3338 ## ------------------- ##"
3339 echo
3340 for ac_var in $ac_subst_files
3342 eval ac_val=\$$ac_var
3343 case $ac_val in
3344 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3345 esac
3346 printf "%s\n" "$ac_var='\''$ac_val'\''"
3347 done | sort
3348 echo
3351 if test -s confdefs.h; then
3352 printf "%s\n" "## ----------- ##
3353 ## confdefs.h. ##
3354 ## ----------- ##"
3355 echo
3356 cat confdefs.h
3357 echo
3359 test "$ac_signal" != 0 &&
3360 printf "%s\n" "$as_me: caught signal $ac_signal"
3361 printf "%s\n" "$as_me: exit $exit_status"
3362 } >&5
3363 rm -f core *.core core.conftest.* &&
3364 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3365 exit $exit_status
3367 for ac_signal in 1 2 13 15; do
3368 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3369 done
3370 ac_signal=0
3372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3373 rm -f -r conftest* confdefs.h
3375 printf "%s\n" "/* confdefs.h */" > confdefs.h
3377 # Predefined preprocessor variables.
3379 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3381 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3383 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3385 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3387 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3389 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3392 # Let the site file select an alternate cache file if it wants to.
3393 # Prefer an explicitly selected file to automatically selected ones.
3394 if test -n "$CONFIG_SITE"; then
3395 ac_site_files="$CONFIG_SITE"
3396 elif test "x$prefix" != xNONE; then
3397 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3398 else
3399 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3402 for ac_site_file in $ac_site_files
3404 case $ac_site_file in #(
3405 */*) :
3406 ;; #(
3407 *) :
3408 ac_site_file=./$ac_site_file ;;
3409 esac
3410 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3412 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3413 sed 's/^/| /' "$ac_site_file" >&5
3414 . "$ac_site_file" \
3415 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "failed to load site script $ac_site_file
3418 See \`config.log' for more details" "$LINENO" 5; }
3420 done
3422 if test -r "$cache_file"; then
3423 # Some versions of bash will fail to source /dev/null (special files
3424 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3425 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3427 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3428 case $cache_file in
3429 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3430 *) . "./$cache_file";;
3431 esac
3433 else
3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3435 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3436 >$cache_file
3439 # Test code for whether the C compiler supports C89 (global declarations)
3440 ac_c_conftest_c89_globals='
3441 /* Does the compiler advertise C89 conformance?
3442 Do not test the value of __STDC__, because some compilers set it to 0
3443 while being otherwise adequately conformant. */
3444 #if !defined __STDC__
3445 # error "Compiler does not advertise C89 conformance"
3446 #endif
3448 #include <stddef.h>
3449 #include <stdarg.h>
3450 struct stat;
3451 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3452 struct buf { int x; };
3453 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3454 static char *e (p, i)
3455 char **p;
3456 int i;
3458 return p[i];
3460 static char *f (char * (*g) (char **, int), char **p, ...)
3462 char *s;
3463 va_list v;
3464 va_start (v,p);
3465 s = g (p, va_arg (v,int));
3466 va_end (v);
3467 return s;
3470 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3471 function prototypes and stuff, but not \xHH hex character constants.
3472 These do not provoke an error unfortunately, instead are silently treated
3473 as an "x". The following induces an error, until -std is added to get
3474 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3475 array size at least. It is necessary to write \x00 == 0 to get something
3476 that is true only with -std. */
3477 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3479 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3480 inside strings and character constants. */
3481 #define FOO(x) '\''x'\''
3482 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3484 int test (int i, double x);
3485 struct s1 {int (*f) (int a);};
3486 struct s2 {int (*f) (double a);};
3487 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3488 int, int);'
3490 # Test code for whether the C compiler supports C89 (body of main).
3491 ac_c_conftest_c89_main='
3492 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3495 # Test code for whether the C compiler supports C99 (global declarations)
3496 ac_c_conftest_c99_globals='
3497 // Does the compiler advertise C99 conformance?
3498 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3499 # error "Compiler does not advertise C99 conformance"
3500 #endif
3502 #include <stdbool.h>
3503 extern int puts (const char *);
3504 extern int printf (const char *, ...);
3505 extern int dprintf (int, const char *, ...);
3506 extern void *malloc (size_t);
3508 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3509 // dprintf is used instead of fprintf to avoid needing to declare
3510 // FILE and stderr.
3511 #define debug(...) dprintf (2, __VA_ARGS__)
3512 #define showlist(...) puts (#__VA_ARGS__)
3513 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3514 static void
3515 test_varargs_macros (void)
3517 int x = 1234;
3518 int y = 5678;
3519 debug ("Flag");
3520 debug ("X = %d\n", x);
3521 showlist (The first, second, and third items.);
3522 report (x>y, "x is %d but y is %d", x, y);
3525 // Check long long types.
3526 #define BIG64 18446744073709551615ull
3527 #define BIG32 4294967295ul
3528 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3529 #if !BIG_OK
3530 #error "your preprocessor is broken"
3531 #endif
3532 #if BIG_OK
3533 #else
3534 #error "your preprocessor is broken"
3535 #endif
3536 static long long int bignum = -9223372036854775807LL;
3537 static unsigned long long int ubignum = BIG64;
3539 struct incomplete_array
3541 int datasize;
3542 double data[];
3545 struct named_init {
3546 int number;
3547 const wchar_t *name;
3548 double average;
3551 typedef const char *ccp;
3553 static inline int
3554 test_restrict (ccp restrict text)
3556 // See if C++-style comments work.
3557 // Iterate through items via the restricted pointer.
3558 // Also check for declarations in for loops.
3559 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3560 continue;
3561 return 0;
3564 // Check varargs and va_copy.
3565 static bool
3566 test_varargs (const char *format, ...)
3568 va_list args;
3569 va_start (args, format);
3570 va_list args_copy;
3571 va_copy (args_copy, args);
3573 const char *str = "";
3574 int number = 0;
3575 float fnumber = 0;
3577 while (*format)
3579 switch (*format++)
3581 case '\''s'\'': // string
3582 str = va_arg (args_copy, const char *);
3583 break;
3584 case '\''d'\'': // int
3585 number = va_arg (args_copy, int);
3586 break;
3587 case '\''f'\'': // float
3588 fnumber = va_arg (args_copy, double);
3589 break;
3590 default:
3591 break;
3594 va_end (args_copy);
3595 va_end (args);
3597 return *str && number && fnumber;
3601 # Test code for whether the C compiler supports C99 (body of main).
3602 ac_c_conftest_c99_main='
3603 // Check bool.
3604 _Bool success = false;
3605 success |= (argc != 0);
3607 // Check restrict.
3608 if (test_restrict ("String literal") == 0)
3609 success = true;
3610 char *restrict newvar = "Another string";
3612 // Check varargs.
3613 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3614 test_varargs_macros ();
3616 // Check flexible array members.
3617 struct incomplete_array *ia =
3618 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3619 ia->datasize = 10;
3620 for (int i = 0; i < ia->datasize; ++i)
3621 ia->data[i] = i * 1.234;
3623 // Check named initializers.
3624 struct named_init ni = {
3625 .number = 34,
3626 .name = L"Test wide string",
3627 .average = 543.34343,
3630 ni.number = 58;
3632 int dynamic_array[ni.number];
3633 dynamic_array[0] = argv[0][0];
3634 dynamic_array[ni.number - 1] = 543;
3636 // work around unused variable warnings
3637 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3638 || dynamic_array[ni.number - 1] != 543);
3641 # Test code for whether the C compiler supports C11 (global declarations)
3642 ac_c_conftest_c11_globals='
3643 // Does the compiler advertise C11 conformance?
3644 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3645 # error "Compiler does not advertise C11 conformance"
3646 #endif
3648 // Check _Alignas.
3649 char _Alignas (double) aligned_as_double;
3650 char _Alignas (0) no_special_alignment;
3651 extern char aligned_as_int;
3652 char _Alignas (0) _Alignas (int) aligned_as_int;
3654 // Check _Alignof.
3655 enum
3657 int_alignment = _Alignof (int),
3658 int_array_alignment = _Alignof (int[100]),
3659 char_alignment = _Alignof (char)
3661 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3663 // Check _Noreturn.
3664 int _Noreturn does_not_return (void) { for (;;) continue; }
3666 // Check _Static_assert.
3667 struct test_static_assert
3669 int x;
3670 _Static_assert (sizeof (int) <= sizeof (long int),
3671 "_Static_assert does not work in struct");
3672 long int y;
3675 // Check UTF-8 literals.
3676 #define u8 syntax error!
3677 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3679 // Check duplicate typedefs.
3680 typedef long *long_ptr;
3681 typedef long int *long_ptr;
3682 typedef long_ptr long_ptr;
3684 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3685 struct anonymous
3687 union {
3688 struct { int i; int j; };
3689 struct { int k; long int l; } w;
3691 int m;
3692 } v1;
3695 # Test code for whether the C compiler supports C11 (body of main).
3696 ac_c_conftest_c11_main='
3697 _Static_assert ((offsetof (struct anonymous, i)
3698 == offsetof (struct anonymous, w.k)),
3699 "Anonymous union alignment botch");
3700 v1.i = 2;
3701 v1.w.k = 5;
3702 ok |= v1.i != 5;
3705 # Test code for whether the C compiler supports C11 (complete).
3706 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3707 ${ac_c_conftest_c99_globals}
3708 ${ac_c_conftest_c11_globals}
3711 main (int argc, char **argv)
3713 int ok = 0;
3714 ${ac_c_conftest_c89_main}
3715 ${ac_c_conftest_c99_main}
3716 ${ac_c_conftest_c11_main}
3717 return ok;
3721 # Test code for whether the C compiler supports C99 (complete).
3722 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3723 ${ac_c_conftest_c99_globals}
3726 main (int argc, char **argv)
3728 int ok = 0;
3729 ${ac_c_conftest_c89_main}
3730 ${ac_c_conftest_c99_main}
3731 return ok;
3735 # Test code for whether the C compiler supports C89 (complete).
3736 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3739 main (int argc, char **argv)
3741 int ok = 0;
3742 ${ac_c_conftest_c89_main}
3743 return ok;
3747 # Test code for whether the C++ compiler supports C++98 (global declarations)
3748 ac_cxx_conftest_cxx98_globals='
3749 // Does the compiler advertise C++98 conformance?
3750 #if !defined __cplusplus || __cplusplus < 199711L
3751 # error "Compiler does not advertise C++98 conformance"
3752 #endif
3754 // These inclusions are to reject old compilers that
3755 // lack the unsuffixed header files.
3756 #include <cstdlib>
3757 #include <exception>
3759 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3760 extern void assert (int);
3761 namespace std {
3762 extern int strcmp (const char *, const char *);
3765 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3766 using std::exception;
3767 using std::strcmp;
3769 namespace {
3771 void test_exception_syntax()
3773 try {
3774 throw "test";
3775 } catch (const char *s) {
3776 // Extra parentheses suppress a warning when building autoconf itself,
3777 // due to lint rules shared with more typical C programs.
3778 assert (!(strcmp) (s, "test"));
3782 template <typename T> struct test_template
3784 T const val;
3785 explicit test_template(T t) : val(t) {}
3786 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3789 } // anonymous namespace
3792 # Test code for whether the C++ compiler supports C++98 (body of main)
3793 ac_cxx_conftest_cxx98_main='
3794 assert (argc);
3795 assert (! argv[0]);
3797 test_exception_syntax ();
3798 test_template<double> tt (2.0);
3799 assert (tt.add (4) == 6.0);
3800 assert (true && !false);
3804 # Test code for whether the C++ compiler supports C++11 (global declarations)
3805 ac_cxx_conftest_cxx11_globals='
3806 // Does the compiler advertise C++ 2011 conformance?
3807 #if !defined __cplusplus || __cplusplus < 201103L
3808 # error "Compiler does not advertise C++11 conformance"
3809 #endif
3811 namespace cxx11test
3813 constexpr int get_val() { return 20; }
3815 struct testinit
3817 int i;
3818 double d;
3821 class delegate
3823 public:
3824 delegate(int n) : n(n) {}
3825 delegate(): delegate(2354) {}
3827 virtual int getval() { return this->n; };
3828 protected:
3829 int n;
3832 class overridden : public delegate
3834 public:
3835 overridden(int n): delegate(n) {}
3836 virtual int getval() override final { return this->n * 2; }
3839 class nocopy
3841 public:
3842 nocopy(int i): i(i) {}
3843 nocopy() = default;
3844 nocopy(const nocopy&) = delete;
3845 nocopy & operator=(const nocopy&) = delete;
3846 private:
3847 int i;
3850 // for testing lambda expressions
3851 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3853 return f(v);
3856 // for testing variadic templates and trailing return types
3857 template <typename V> auto sum(V first) -> V
3859 return first;
3861 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3863 return first + sum(rest...);
3868 # Test code for whether the C++ compiler supports C++11 (body of main)
3869 ac_cxx_conftest_cxx11_main='
3871 // Test auto and decltype
3872 auto a1 = 6538;
3873 auto a2 = 48573953.4;
3874 auto a3 = "String literal";
3876 int total = 0;
3877 for (auto i = a3; *i; ++i) { total += *i; }
3879 decltype(a2) a4 = 34895.034;
3882 // Test constexpr
3883 short sa[cxx11test::get_val()] = { 0 };
3886 // Test initializer lists
3887 cxx11test::testinit il = { 4323, 435234.23544 };
3890 // Test range-based for
3891 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3892 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3893 for (auto &x : array) { x += 23; }
3896 // Test lambda expressions
3897 using cxx11test::eval;
3898 assert (eval ([](int x) { return x*2; }, 21) == 42);
3899 double d = 2.0;
3900 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3901 assert (d == 5.0);
3902 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3903 assert (d == 5.0);
3906 // Test use of variadic templates
3907 using cxx11test::sum;
3908 auto a = sum(1);
3909 auto b = sum(1, 2);
3910 auto c = sum(1.0, 2.0, 3.0);
3913 // Test constructor delegation
3914 cxx11test::delegate d1;
3915 cxx11test::delegate d2();
3916 cxx11test::delegate d3(45);
3919 // Test override and final
3920 cxx11test::overridden o1(55464);
3923 // Test nullptr
3924 char *c = nullptr;
3927 // Test template brackets
3928 test_template<::test_template<int>> v(test_template<int>(12));
3931 // Unicode literals
3932 char const *utf8 = u8"UTF-8 string \u2500";
3933 char16_t const *utf16 = u"UTF-8 string \u2500";
3934 char32_t const *utf32 = U"UTF-32 string \u2500";
3938 # Test code for whether the C compiler supports C++11 (complete).
3939 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3940 ${ac_cxx_conftest_cxx11_globals}
3943 main (int argc, char **argv)
3945 int ok = 0;
3946 ${ac_cxx_conftest_cxx98_main}
3947 ${ac_cxx_conftest_cxx11_main}
3948 return ok;
3952 # Test code for whether the C compiler supports C++98 (complete).
3953 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3955 main (int argc, char **argv)
3957 int ok = 0;
3958 ${ac_cxx_conftest_cxx98_main}
3959 return ok;
3963 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3964 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3965 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3966 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3967 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3968 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3969 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3970 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3971 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3973 # Auxiliary files required by this configure script.
3974 ac_aux_files="config.guess config.sub"
3976 # Locations in which to look for auxiliary files.
3977 ac_aux_dir_candidates="${srcdir}/tools"
3979 # Search for a directory containing all of the required auxiliary files,
3980 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3981 # If we don't find one directory that contains all the files we need,
3982 # we report the set of missing files from the *first* directory in
3983 # $ac_aux_dir_candidates and give up.
3984 ac_missing_aux_files=""
3985 ac_first_candidate=:
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 as_found=false
3989 for as_dir in $ac_aux_dir_candidates
3991 IFS=$as_save_IFS
3992 case $as_dir in #(((
3993 '') as_dir=./ ;;
3994 */) ;;
3995 *) as_dir=$as_dir/ ;;
3996 esac
3997 as_found=:
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4000 ac_aux_dir_found=yes
4001 ac_install_sh=
4002 for ac_aux in $ac_aux_files
4004 # As a special case, if "install-sh" is required, that requirement
4005 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4006 # and $ac_install_sh is set appropriately for whichever one is found.
4007 if test x"$ac_aux" = x"install-sh"
4008 then
4009 if test -f "${as_dir}install-sh"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4011 ac_install_sh="${as_dir}install-sh -c"
4012 elif test -f "${as_dir}install.sh"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4014 ac_install_sh="${as_dir}install.sh -c"
4015 elif test -f "${as_dir}shtool"; then
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4017 ac_install_sh="${as_dir}shtool install -c"
4018 else
4019 ac_aux_dir_found=no
4020 if $ac_first_candidate; then
4021 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4022 else
4023 break
4026 else
4027 if test -f "${as_dir}${ac_aux}"; then
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4029 else
4030 ac_aux_dir_found=no
4031 if $ac_first_candidate; then
4032 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4033 else
4034 break
4038 done
4039 if test "$ac_aux_dir_found" = yes; then
4040 ac_aux_dir="$as_dir"
4041 break
4043 ac_first_candidate=false
4045 as_found=false
4046 done
4047 IFS=$as_save_IFS
4048 if $as_found
4049 then :
4051 else $as_nop
4052 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4056 # These three variables are undocumented and unsupported,
4057 # and are intended to be withdrawn in a future Autoconf release.
4058 # They can cause serious problems if a builder's source tree is in a directory
4059 # whose full name contains unusual characters.
4060 if test -f "${ac_aux_dir}config.guess"; then
4061 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4063 if test -f "${ac_aux_dir}config.sub"; then
4064 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4066 if test -f "$ac_aux_dir/configure"; then
4067 ac_configure="$SHELL ${ac_aux_dir}configure"
4070 # Check that the precious variables saved in the cache have kept the same
4071 # value.
4072 ac_cache_corrupted=false
4073 for ac_var in $ac_precious_vars; do
4074 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4075 eval ac_new_set=\$ac_env_${ac_var}_set
4076 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4077 eval ac_new_val=\$ac_env_${ac_var}_value
4078 case $ac_old_set,$ac_new_set in
4079 set,)
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4081 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4082 ac_cache_corrupted=: ;;
4083 ,set)
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4085 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4086 ac_cache_corrupted=: ;;
4087 ,);;
4089 if test "x$ac_old_val" != "x$ac_new_val"; then
4090 # differences in whitespace do not lead to failure.
4091 ac_old_val_w=`echo x $ac_old_val`
4092 ac_new_val_w=`echo x $ac_new_val`
4093 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4095 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4096 ac_cache_corrupted=:
4097 else
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4099 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4100 eval $ac_var=\$ac_old_val
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4103 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4105 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4106 fi;;
4107 esac
4108 # Pass precious variables to config.status.
4109 if test "$ac_new_set" = set; then
4110 case $ac_new_val in
4111 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4112 *) ac_arg=$ac_var=$ac_new_val ;;
4113 esac
4114 case " $ac_configure_args " in
4115 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4116 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4117 esac
4119 done
4120 if $ac_cache_corrupted; then
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4124 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4125 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4126 and start over" "$LINENO" 5
4128 ## -------------------- ##
4129 ## Main body of script. ##
4130 ## -------------------- ##
4132 ac_ext=c
4133 ac_cpp='$CPP $CPPFLAGS'
4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 ac_config_headers="$ac_config_headers include/config.h"
4144 libwine_version="1.0"
4147 # Check whether --enable-archs was given.
4148 if test ${enable_archs+y}
4149 then :
4150 enableval=$enable_archs;
4153 # Check whether --enable-win16 was given.
4154 if test ${enable_win16+y}
4155 then :
4156 enableval=$enable_win16;
4159 # Check whether --enable-win64 was given.
4160 if test ${enable_win64+y}
4161 then :
4162 enableval=$enable_win64;
4165 # Check whether --enable-tests was given.
4166 if test ${enable_tests+y}
4167 then :
4168 enableval=$enable_tests;
4171 # Check whether --enable-build-id was given.
4172 if test ${enable_build_id+y}
4173 then :
4174 enableval=$enable_build_id;
4177 # Check whether --enable-maintainer-mode was given.
4178 if test ${enable_maintainer_mode+y}
4179 then :
4180 enableval=$enable_maintainer_mode;
4183 # Check whether --enable-silent-rules was given.
4184 if test ${enable_silent_rules+y}
4185 then :
4186 enableval=$enable_silent_rules;
4189 # Check whether --enable-werror was given.
4190 if test ${enable_werror+y}
4191 then :
4192 enableval=$enable_werror;
4197 # Check whether --with-alsa was given.
4198 if test ${with_alsa+y}
4199 then :
4200 withval=$with_alsa;
4204 # Check whether --with-capi was given.
4205 if test ${with_capi+y}
4206 then :
4207 withval=$with_capi;
4211 # Check whether --with-coreaudio was given.
4212 if test ${with_coreaudio+y}
4213 then :
4214 withval=$with_coreaudio;
4218 # Check whether --with-cups was given.
4219 if test ${with_cups+y}
4220 then :
4221 withval=$with_cups;
4225 # Check whether --with-dbus was given.
4226 if test ${with_dbus+y}
4227 then :
4228 withval=$with_dbus;
4232 # Check whether --with-float-abi was given.
4233 if test ${with_float_abi+y}
4234 then :
4235 withval=$with_float_abi;
4239 # Check whether --with-fontconfig was given.
4240 if test ${with_fontconfig+y}
4241 then :
4242 withval=$with_fontconfig;
4246 # Check whether --with-freetype was given.
4247 if test ${with_freetype+y}
4248 then :
4249 withval=$with_freetype;
4253 # Check whether --with-gettext was given.
4254 if test ${with_gettext+y}
4255 then :
4256 withval=$with_gettext;
4260 # Check whether --with-gettextpo was given.
4261 if test ${with_gettextpo+y}
4262 then :
4263 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4267 # Check whether --with-gphoto was given.
4268 if test ${with_gphoto+y}
4269 then :
4270 withval=$with_gphoto;
4274 # Check whether --with-gnutls was given.
4275 if test ${with_gnutls+y}
4276 then :
4277 withval=$with_gnutls;
4281 # Check whether --with-gssapi was given.
4282 if test ${with_gssapi+y}
4283 then :
4284 withval=$with_gssapi;
4288 # Check whether --with-gstreamer was given.
4289 if test ${with_gstreamer+y}
4290 then :
4291 withval=$with_gstreamer;
4295 # Check whether --with-inotify was given.
4296 if test ${with_inotify+y}
4297 then :
4298 withval=$with_inotify;
4302 # Check whether --with-krb5 was given.
4303 if test ${with_krb5+y}
4304 then :
4305 withval=$with_krb5;
4309 # Check whether --with-mingw was given.
4310 if test ${with_mingw+y}
4311 then :
4312 withval=$with_mingw;
4316 # Check whether --with-netapi was given.
4317 if test ${with_netapi+y}
4318 then :
4319 withval=$with_netapi;
4323 # Check whether --with-opencl was given.
4324 if test ${with_opencl+y}
4325 then :
4326 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4330 # Check whether --with-opengl was given.
4331 if test ${with_opengl+y}
4332 then :
4333 withval=$with_opengl;
4337 # Check whether --with-osmesa was given.
4338 if test ${with_osmesa+y}
4339 then :
4340 withval=$with_osmesa;
4344 # Check whether --with-oss was given.
4345 if test ${with_oss+y}
4346 then :
4347 withval=$with_oss;
4351 # Check whether --with-pcap was given.
4352 if test ${with_pcap+y}
4353 then :
4354 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4358 # Check whether --with-pcsclite was given.
4359 if test ${with_pcsclite+y}
4360 then :
4361 withval=$with_pcsclite;
4365 # Check whether --with-pthread was given.
4366 if test ${with_pthread+y}
4367 then :
4368 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4372 # Check whether --with-pulse was given.
4373 if test ${with_pulse+y}
4374 then :
4375 withval=$with_pulse;
4379 # Check whether --with-sane was given.
4380 if test ${with_sane+y}
4381 then :
4382 withval=$with_sane;
4386 # Check whether --with-sdl was given.
4387 if test ${with_sdl+y}
4388 then :
4389 withval=$with_sdl;
4393 # Check whether --with-udev was given.
4394 if test ${with_udev+y}
4395 then :
4396 withval=$with_udev;
4400 # Check whether --with-unwind was given.
4401 if test ${with_unwind+y}
4402 then :
4403 withval=$with_unwind;
4407 # Check whether --with-usb was given.
4408 if test ${with_usb+y}
4409 then :
4410 withval=$with_usb;
4414 # Check whether --with-v4l2 was given.
4415 if test ${with_v4l2+y}
4416 then :
4417 withval=$with_v4l2;
4421 # Check whether --with-vulkan was given.
4422 if test ${with_vulkan+y}
4423 then :
4424 withval=$with_vulkan;
4428 # Check whether --with-wayland was given.
4429 if test ${with_wayland+y}
4430 then :
4431 withval=$with_wayland;
4435 # Check whether --with-xcomposite was given.
4436 if test ${with_xcomposite+y}
4437 then :
4438 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4442 # Check whether --with-xcursor was given.
4443 if test ${with_xcursor+y}
4444 then :
4445 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4449 # Check whether --with-xfixes was given.
4450 if test ${with_xfixes+y}
4451 then :
4452 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4456 # Check whether --with-xinerama was given.
4457 if test ${with_xinerama+y}
4458 then :
4459 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4463 # Check whether --with-xinput was given.
4464 if test ${with_xinput+y}
4465 then :
4466 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4470 # Check whether --with-xinput2 was given.
4471 if test ${with_xinput2+y}
4472 then :
4473 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4477 # Check whether --with-xrandr was given.
4478 if test ${with_xrandr+y}
4479 then :
4480 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4484 # Check whether --with-xrender was given.
4485 if test ${with_xrender+y}
4486 then :
4487 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4491 # Check whether --with-xshape was given.
4492 if test ${with_xshape+y}
4493 then :
4494 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4498 # Check whether --with-xshm was given.
4499 if test ${with_xshm+y}
4500 then :
4501 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4505 # Check whether --with-xxf86vm was given.
4506 if test ${with_xxf86vm+y}
4507 then :
4508 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
4513 # Check whether --with-system-dllpath was given.
4514 if test ${with_system_dllpath+y}
4515 then :
4516 withval=$with_system_dllpath; system_dllpath=$withval
4521 # Check whether --with-wine-tools was given.
4522 if test ${with_wine_tools+y}
4523 then :
4524 withval=$with_wine_tools;
4528 # Check whether --with-wine64 was given.
4529 if test ${with_wine64+y}
4530 then :
4531 withval=$with_wine64;
4538 # Make sure we can run config.sub.
4539 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4540 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4543 printf %s "checking build system type... " >&6; }
4544 if test ${ac_cv_build+y}
4545 then :
4546 printf %s "(cached) " >&6
4547 else $as_nop
4548 ac_build_alias=$build_alias
4549 test "x$ac_build_alias" = x &&
4550 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4551 test "x$ac_build_alias" = x &&
4552 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4553 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4554 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4558 printf "%s\n" "$ac_cv_build" >&6; }
4559 case $ac_cv_build in
4560 *-*-*) ;;
4561 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4562 esac
4563 build=$ac_cv_build
4564 ac_save_IFS=$IFS; IFS='-'
4565 set x $ac_cv_build
4566 shift
4567 build_cpu=$1
4568 build_vendor=$2
4569 shift; shift
4570 # Remember, the first character of IFS is used to create $*,
4571 # except with old shells:
4572 build_os=$*
4573 IFS=$ac_save_IFS
4574 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4578 printf %s "checking host system type... " >&6; }
4579 if test ${ac_cv_host+y}
4580 then :
4581 printf %s "(cached) " >&6
4582 else $as_nop
4583 if test "x$host_alias" = x; then
4584 ac_cv_host=$ac_cv_build
4585 else
4586 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4587 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4592 printf "%s\n" "$ac_cv_host" >&6; }
4593 case $ac_cv_host in
4594 *-*-*) ;;
4595 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4596 esac
4597 host=$ac_cv_host
4598 ac_save_IFS=$IFS; IFS='-'
4599 set x $ac_cv_host
4600 shift
4601 host_cpu=$1
4602 host_vendor=$2
4603 shift; shift
4604 # Remember, the first character of IFS is used to create $*,
4605 # except with old shells:
4606 host_os=$*
4607 IFS=$ac_save_IFS
4608 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4612 dlldir=\${libdir}/wine
4614 fontdir=\${datadir}/wine/fonts
4616 nlsdir=\${datadir}/wine/nls
4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4622 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4623 set x ${MAKE-make}
4624 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4625 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4626 then :
4627 printf %s "(cached) " >&6
4628 else $as_nop
4629 cat >conftest.make <<\_ACEOF
4630 SHELL = /bin/sh
4631 all:
4632 @echo '@@@%%%=$(MAKE)=@@@%%%'
4633 _ACEOF
4634 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4635 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4636 *@@@%%%=?*=@@@%%%*)
4637 eval ac_cv_prog_make_${ac_make}_set=yes;;
4639 eval ac_cv_prog_make_${ac_make}_set=no;;
4640 esac
4641 rm -f conftest.make
4643 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 printf "%s\n" "yes" >&6; }
4646 SET_MAKE=
4647 else
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 printf "%s\n" "no" >&6; }
4650 SET_MAKE="MAKE=${MAKE-make}"
4662 ac_ext=c
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4667 if test -n "$ac_tool_prefix"; then
4668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4669 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 printf %s "checking for $ac_word... " >&6; }
4672 if test ${ac_cv_prog_CC+y}
4673 then :
4674 printf %s "(cached) " >&6
4675 else $as_nop
4676 if test -n "$CC"; then
4677 ac_cv_prog_CC="$CC" # Let the user override the test.
4678 else
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4682 IFS=$as_save_IFS
4683 case $as_dir in #(((
4684 '') as_dir=./ ;;
4685 */) ;;
4686 *) as_dir=$as_dir/ ;;
4687 esac
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4692 break 2
4694 done
4695 done
4696 IFS=$as_save_IFS
4700 CC=$ac_cv_prog_CC
4701 if test -n "$CC"; then
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4703 printf "%s\n" "$CC" >&6; }
4704 else
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 printf "%s\n" "no" >&6; }
4711 if test -z "$ac_cv_prog_CC"; then
4712 ac_ct_CC=$CC
4713 # Extract the first word of "gcc", so it can be a program name with args.
4714 set dummy gcc; ac_word=$2
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 printf %s "checking for $ac_word... " >&6; }
4717 if test ${ac_cv_prog_ac_ct_CC+y}
4718 then :
4719 printf %s "(cached) " >&6
4720 else $as_nop
4721 if test -n "$ac_ct_CC"; then
4722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4723 else
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 for as_dir in $PATH
4727 IFS=$as_save_IFS
4728 case $as_dir in #(((
4729 '') as_dir=./ ;;
4730 */) ;;
4731 *) as_dir=$as_dir/ ;;
4732 esac
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_ac_ct_CC="gcc"
4736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4737 break 2
4739 done
4740 done
4741 IFS=$as_save_IFS
4745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4746 if test -n "$ac_ct_CC"; then
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4748 printf "%s\n" "$ac_ct_CC" >&6; }
4749 else
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 printf "%s\n" "no" >&6; }
4754 if test "x$ac_ct_CC" = x; then
4755 CC=""
4756 else
4757 case $cross_compiling:$ac_tool_warned in
4758 yes:)
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned=yes ;;
4762 esac
4763 CC=$ac_ct_CC
4765 else
4766 CC="$ac_cv_prog_CC"
4769 if test -z "$CC"; then
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4772 set dummy ${ac_tool_prefix}cc; ac_word=$2
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 printf %s "checking for $ac_word... " >&6; }
4775 if test ${ac_cv_prog_CC+y}
4776 then :
4777 printf %s "(cached) " >&6
4778 else $as_nop
4779 if test -n "$CC"; then
4780 ac_cv_prog_CC="$CC" # Let the user override the test.
4781 else
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 ac_cv_prog_CC="${ac_tool_prefix}cc"
4794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4795 break 2
4797 done
4798 done
4799 IFS=$as_save_IFS
4803 CC=$ac_cv_prog_CC
4804 if test -n "$CC"; then
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4806 printf "%s\n" "$CC" >&6; }
4807 else
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 printf "%s\n" "no" >&6; }
4815 if test -z "$CC"; then
4816 # Extract the first word of "cc", so it can be a program name with args.
4817 set dummy cc; ac_word=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s "checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4821 then :
4822 printf %s "(cached) " >&6
4823 else $as_nop
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC="$CC" # Let the user override the test.
4826 else
4827 ac_prog_rejected=no
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 case $as_dir in #(((
4833 '') as_dir=./ ;;
4834 */) ;;
4835 *) as_dir=$as_dir/ ;;
4836 esac
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4839 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4840 ac_prog_rejected=yes
4841 continue
4843 ac_cv_prog_CC="cc"
4844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4851 if test $ac_prog_rejected = yes; then
4852 # We found a bogon in the path, so make sure we never use it.
4853 set dummy $ac_cv_prog_CC
4854 shift
4855 if test $# != 0; then
4856 # We chose a different compiler from the bogus one.
4857 # However, it has the same basename, so the bogon will be chosen
4858 # first if we set CC to just the basename; use the full file name.
4859 shift
4860 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4865 CC=$ac_cv_prog_CC
4866 if test -n "$CC"; then
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4868 printf "%s\n" "$CC" >&6; }
4869 else
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 printf "%s\n" "no" >&6; }
4876 if test -z "$CC"; then
4877 if test -n "$ac_tool_prefix"; then
4878 for ac_prog in cl.exe
4880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4881 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 printf %s "checking for $ac_word... " >&6; }
4884 if test ${ac_cv_prog_CC+y}
4885 then :
4886 printf %s "(cached) " >&6
4887 else $as_nop
4888 if test -n "$CC"; then
4889 ac_cv_prog_CC="$CC" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 case $as_dir in #(((
4896 '') as_dir=./ ;;
4897 */) ;;
4898 *) as_dir=$as_dir/ ;;
4899 esac
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4904 break 2
4906 done
4907 done
4908 IFS=$as_save_IFS
4912 CC=$ac_cv_prog_CC
4913 if test -n "$CC"; then
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4915 printf "%s\n" "$CC" >&6; }
4916 else
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 printf "%s\n" "no" >&6; }
4922 test -n "$CC" && break
4923 done
4925 if test -z "$CC"; then
4926 ac_ct_CC=$CC
4927 for ac_prog in cl.exe
4929 # Extract the first word of "$ac_prog", so it can be a program name with args.
4930 set dummy $ac_prog; ac_word=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s "checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_ac_ct_CC+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else $as_nop
4937 if test -n "$ac_ct_CC"; then
4938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 case $as_dir in #(((
4945 '') as_dir=./ ;;
4946 */) ;;
4947 *) as_dir=$as_dir/ ;;
4948 esac
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_ac_ct_CC="$ac_prog"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4962 if test -n "$ac_ct_CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4964 printf "%s\n" "$ac_ct_CC" >&6; }
4965 else
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4971 test -n "$ac_ct_CC" && break
4972 done
4974 if test "x$ac_ct_CC" = x; then
4975 CC=""
4976 else
4977 case $cross_compiling:$ac_tool_warned in
4978 yes:)
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4980 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4981 ac_tool_warned=yes ;;
4982 esac
4983 CC=$ac_ct_CC
4988 if test -z "$CC"; then
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}clang; ac_word=$2
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 printf %s "checking for $ac_word... " >&6; }
4994 if test ${ac_cv_prog_CC+y}
4995 then :
4996 printf %s "(cached) " >&6
4997 else $as_nop
4998 if test -n "$CC"; then
4999 ac_cv_prog_CC="$CC" # Let the user override the test.
5000 else
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH
5004 IFS=$as_save_IFS
5005 case $as_dir in #(((
5006 '') as_dir=./ ;;
5007 */) ;;
5008 *) as_dir=$as_dir/ ;;
5009 esac
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_CC="${ac_tool_prefix}clang"
5013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 CC=$ac_cv_prog_CC
5023 if test -n "$CC"; then
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5025 printf "%s\n" "$CC" >&6; }
5026 else
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 printf "%s\n" "no" >&6; }
5033 if test -z "$ac_cv_prog_CC"; then
5034 ac_ct_CC=$CC
5035 # Extract the first word of "clang", so it can be a program name with args.
5036 set dummy clang; ac_word=$2
5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 printf %s "checking for $ac_word... " >&6; }
5039 if test ${ac_cv_prog_ac_ct_CC+y}
5040 then :
5041 printf %s "(cached) " >&6
5042 else $as_nop
5043 if test -n "$ac_ct_CC"; then
5044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 case $as_dir in #(((
5051 '') as_dir=./ ;;
5052 */) ;;
5053 *) as_dir=$as_dir/ ;;
5054 esac
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_CC="clang"
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5068 if test -n "$ac_ct_CC"; then
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5070 printf "%s\n" "$ac_ct_CC" >&6; }
5071 else
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 printf "%s\n" "no" >&6; }
5076 if test "x$ac_ct_CC" = x; then
5077 CC=""
5078 else
5079 case $cross_compiling:$ac_tool_warned in
5080 yes:)
5081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5083 ac_tool_warned=yes ;;
5084 esac
5085 CC=$ac_ct_CC
5087 else
5088 CC="$ac_cv_prog_CC"
5094 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5095 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5096 as_fn_error $? "no acceptable C compiler found in \$PATH
5097 See \`config.log' for more details" "$LINENO" 5; }
5099 # Provide some information about the compiler.
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5101 set X $ac_compile
5102 ac_compiler=$2
5103 for ac_option in --version -v -V -qversion -version; do
5104 { { ac_try="$ac_compiler $ac_option >&5"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5110 printf "%s\n" "$ac_try_echo"; } >&5
5111 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5112 ac_status=$?
5113 if test -s conftest.err; then
5114 sed '10a\
5115 ... rest of stderr output deleted ...
5116 10q' conftest.err >conftest.er1
5117 cat conftest.er1 >&5
5119 rm -f conftest.er1 conftest.err
5120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5121 test $ac_status = 0; }
5122 done
5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5128 main (void)
5132 return 0;
5134 _ACEOF
5135 ac_clean_files_save=$ac_clean_files
5136 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5137 # Try to create an executable without -o first, disregard a.out.
5138 # It will help us diagnose broken compilers, and finding out an intuition
5139 # of exeext.
5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5141 printf %s "checking whether the C compiler works... " >&6; }
5142 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5144 # The possible output files:
5145 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5147 ac_rmfiles=
5148 for ac_file in $ac_files
5150 case $ac_file in
5151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5153 esac
5154 done
5155 rm -f $ac_rmfiles
5157 if { { ac_try="$ac_link_default"
5158 case "(($ac_try" in
5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160 *) ac_try_echo=$ac_try;;
5161 esac
5162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5163 printf "%s\n" "$ac_try_echo"; } >&5
5164 (eval "$ac_link_default") 2>&5
5165 ac_status=$?
5166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5167 test $ac_status = 0; }
5168 then :
5169 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5170 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5171 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5172 # so that the user can short-circuit this test for compilers unknown to
5173 # Autoconf.
5174 for ac_file in $ac_files ''
5176 test -f "$ac_file" || continue
5177 case $ac_file in
5178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5180 [ab].out )
5181 # We found the default executable, but exeext='' is most
5182 # certainly right.
5183 break;;
5184 *.* )
5185 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5186 then :; else
5187 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5189 # We set ac_cv_exeext here because the later test for it is not
5190 # safe: cross compilers may not add the suffix if given an `-o'
5191 # argument, so we may need to know it at that point already.
5192 # Even if this section looks crufty: it has the advantage of
5193 # actually working.
5194 break;;
5196 break;;
5197 esac
5198 done
5199 test "$ac_cv_exeext" = no && ac_cv_exeext=
5201 else $as_nop
5202 ac_file=''
5204 if test -z "$ac_file"
5205 then :
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 printf "%s\n" "no" >&6; }
5208 printf "%s\n" "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5212 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5213 as_fn_error 77 "C compiler cannot create executables
5214 See \`config.log' for more details" "$LINENO" 5; }
5215 else $as_nop
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5217 printf "%s\n" "yes" >&6; }
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5220 printf %s "checking for C compiler default output file name... " >&6; }
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5222 printf "%s\n" "$ac_file" >&6; }
5223 ac_exeext=$ac_cv_exeext
5225 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5226 ac_clean_files=$ac_clean_files_save
5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5228 printf %s "checking for suffix of executables... " >&6; }
5229 if { { ac_try="$ac_link"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 printf "%s\n" "$ac_try_echo"; } >&5
5236 (eval "$ac_link") 2>&5
5237 ac_status=$?
5238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5239 test $ac_status = 0; }
5240 then :
5241 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5242 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5243 # work properly (i.e., refer to `conftest.exe'), while it won't with
5244 # `rm'.
5245 for ac_file in conftest.exe conftest conftest.*; do
5246 test -f "$ac_file" || continue
5247 case $ac_file in
5248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5249 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5250 break;;
5251 * ) break;;
5252 esac
5253 done
5254 else $as_nop
5255 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5256 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5257 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5258 See \`config.log' for more details" "$LINENO" 5; }
5260 rm -f conftest conftest$ac_cv_exeext
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5262 printf "%s\n" "$ac_cv_exeext" >&6; }
5264 rm -f conftest.$ac_ext
5265 EXEEXT=$ac_cv_exeext
5266 ac_exeext=$EXEEXT
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5269 #include <stdio.h>
5271 main (void)
5273 FILE *f = fopen ("conftest.out", "w");
5274 return ferror (f) || fclose (f) != 0;
5277 return 0;
5279 _ACEOF
5280 ac_clean_files="$ac_clean_files conftest.out"
5281 # Check that the compiler produces executables we can run. If not, either
5282 # the compiler is broken, or we cross compile.
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5284 printf %s "checking whether we are cross compiling... " >&6; }
5285 if test "$cross_compiling" != yes; then
5286 { { ac_try="$ac_link"
5287 case "(($ac_try" in
5288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5289 *) ac_try_echo=$ac_try;;
5290 esac
5291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5292 printf "%s\n" "$ac_try_echo"; } >&5
5293 (eval "$ac_link") 2>&5
5294 ac_status=$?
5295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }
5297 if { ac_try='./conftest$ac_cv_exeext'
5298 { { case "(($ac_try" in
5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5301 esac
5302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5303 printf "%s\n" "$ac_try_echo"; } >&5
5304 (eval "$ac_try") 2>&5
5305 ac_status=$?
5306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5307 test $ac_status = 0; }; }; then
5308 cross_compiling=no
5309 else
5310 if test "$cross_compiling" = maybe; then
5311 cross_compiling=yes
5312 else
5313 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5314 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5315 as_fn_error 77 "cannot run C compiled programs.
5316 If you meant to cross compile, use \`--host'.
5317 See \`config.log' for more details" "$LINENO" 5; }
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5322 printf "%s\n" "$cross_compiling" >&6; }
5324 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5325 ac_clean_files=$ac_clean_files_save
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5327 printf %s "checking for suffix of object files... " >&6; }
5328 if test ${ac_cv_objext+y}
5329 then :
5330 printf %s "(cached) " >&6
5331 else $as_nop
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main (void)
5340 return 0;
5342 _ACEOF
5343 rm -f conftest.o conftest.obj
5344 if { { ac_try="$ac_compile"
5345 case "(($ac_try" in
5346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347 *) ac_try_echo=$ac_try;;
5348 esac
5349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5350 printf "%s\n" "$ac_try_echo"; } >&5
5351 (eval "$ac_compile") 2>&5
5352 ac_status=$?
5353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354 test $ac_status = 0; }
5355 then :
5356 for ac_file in conftest.o conftest.obj conftest.*; do
5357 test -f "$ac_file" || continue;
5358 case $ac_file in
5359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5360 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5361 break;;
5362 esac
5363 done
5364 else $as_nop
5365 printf "%s\n" "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.$ac_ext >&5
5368 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5369 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5370 as_fn_error $? "cannot compute suffix of object files: cannot compile
5371 See \`config.log' for more details" "$LINENO" 5; }
5373 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5376 printf "%s\n" "$ac_cv_objext" >&6; }
5377 OBJEXT=$ac_cv_objext
5378 ac_objext=$OBJEXT
5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5380 printf %s "checking whether the compiler supports GNU C... " >&6; }
5381 if test ${ac_cv_c_compiler_gnu+y}
5382 then :
5383 printf %s "(cached) " >&6
5384 else $as_nop
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5389 main (void)
5391 #ifndef __GNUC__
5392 choke me
5393 #endif
5396 return 0;
5398 _ACEOF
5399 if ac_fn_c_try_compile "$LINENO"
5400 then :
5401 ac_compiler_gnu=yes
5402 else $as_nop
5403 ac_compiler_gnu=no
5405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5410 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5413 if test $ac_compiler_gnu = yes; then
5414 GCC=yes
5415 else
5416 GCC=
5418 ac_test_CFLAGS=${CFLAGS+y}
5419 ac_save_CFLAGS=$CFLAGS
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5421 printf %s "checking whether $CC accepts -g... " >&6; }
5422 if test ${ac_cv_prog_cc_g+y}
5423 then :
5424 printf %s "(cached) " >&6
5425 else $as_nop
5426 ac_save_c_werror_flag=$ac_c_werror_flag
5427 ac_c_werror_flag=yes
5428 ac_cv_prog_cc_g=no
5429 CFLAGS="-g"
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5434 main (void)
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5443 ac_cv_prog_cc_g=yes
5444 else $as_nop
5445 CFLAGS=""
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5450 main (void)
5454 return 0;
5456 _ACEOF
5457 if ac_fn_c_try_compile "$LINENO"
5458 then :
5460 else $as_nop
5461 ac_c_werror_flag=$ac_save_c_werror_flag
5462 CFLAGS="-g"
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5467 main (void)
5471 return 0;
5473 _ACEOF
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5476 ac_cv_prog_cc_g=yes
5478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5483 ac_c_werror_flag=$ac_save_c_werror_flag
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5486 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5487 if test $ac_test_CFLAGS; then
5488 CFLAGS=$ac_save_CFLAGS
5489 elif test $ac_cv_prog_cc_g = yes; then
5490 if test "$GCC" = yes; then
5491 CFLAGS="-g -O2"
5492 else
5493 CFLAGS="-g"
5495 else
5496 if test "$GCC" = yes; then
5497 CFLAGS="-O2"
5498 else
5499 CFLAGS=
5502 ac_prog_cc_stdc=no
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 C11 features" >&5
5506 printf %s "checking for $CC option to enable C11 features... " >&6; }
5507 if test ${ac_cv_prog_cc_c11+y}
5508 then :
5509 printf %s "(cached) " >&6
5510 else $as_nop
5511 ac_cv_prog_cc_c11=no
5512 ac_save_CC=$CC
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 $ac_c_conftest_c11_program
5516 _ACEOF
5517 for ac_arg in '' -std=gnu11
5519 CC="$ac_save_CC $ac_arg"
5520 if ac_fn_c_try_compile "$LINENO"
5521 then :
5522 ac_cv_prog_cc_c11=$ac_arg
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam
5525 test "x$ac_cv_prog_cc_c11" != "xno" && break
5526 done
5527 rm -f conftest.$ac_ext
5528 CC=$ac_save_CC
5531 if test "x$ac_cv_prog_cc_c11" = 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_c11" = 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_c11" >&5
5542 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5543 CC="$CC $ac_cv_prog_cc_c11"
5545 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5546 ac_prog_cc_stdc=c11
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 C99 features" >&5
5552 printf %s "checking for $CC option to enable C99 features... " >&6; }
5553 if test ${ac_cv_prog_cc_c99+y}
5554 then :
5555 printf %s "(cached) " >&6
5556 else $as_nop
5557 ac_cv_prog_cc_c99=no
5558 ac_save_CC=$CC
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5561 $ac_c_conftest_c99_program
5562 _ACEOF
5563 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5565 CC="$ac_save_CC $ac_arg"
5566 if ac_fn_c_try_compile "$LINENO"
5567 then :
5568 ac_cv_prog_cc_c99=$ac_arg
5570 rm -f core conftest.err conftest.$ac_objext conftest.beam
5571 test "x$ac_cv_prog_cc_c99" != "xno" && break
5572 done
5573 rm -f conftest.$ac_ext
5574 CC=$ac_save_CC
5577 if test "x$ac_cv_prog_cc_c99" = 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_c99" = 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_c99" >&5
5588 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5589 CC="$CC $ac_cv_prog_cc_c99"
5591 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5592 ac_prog_cc_stdc=c99
5595 if test x$ac_prog_cc_stdc = xno
5596 then :
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5598 printf %s "checking for $CC option to enable C89 features... " >&6; }
5599 if test ${ac_cv_prog_cc_c89+y}
5600 then :
5601 printf %s "(cached) " >&6
5602 else $as_nop
5603 ac_cv_prog_cc_c89=no
5604 ac_save_CC=$CC
5605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5607 $ac_c_conftest_c89_program
5608 _ACEOF
5609 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5611 CC="$ac_save_CC $ac_arg"
5612 if ac_fn_c_try_compile "$LINENO"
5613 then :
5614 ac_cv_prog_cc_c89=$ac_arg
5616 rm -f core conftest.err conftest.$ac_objext conftest.beam
5617 test "x$ac_cv_prog_cc_c89" != "xno" && break
5618 done
5619 rm -f conftest.$ac_ext
5620 CC=$ac_save_CC
5623 if test "x$ac_cv_prog_cc_c89" = xno
5624 then :
5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5626 printf "%s\n" "unsupported" >&6; }
5627 else $as_nop
5628 if test "x$ac_cv_prog_cc_c89" = x
5629 then :
5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5631 printf "%s\n" "none needed" >&6; }
5632 else $as_nop
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5634 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5635 CC="$CC $ac_cv_prog_cc_c89"
5637 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5638 ac_prog_cc_stdc=c89
5642 ac_ext=c
5643 ac_cpp='$CPP $CPPFLAGS'
5644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5654 ac_ext=cpp
5655 ac_cpp='$CXXCPP $CPPFLAGS'
5656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5659 if test -z "$CXX"; then
5660 if test -n "$CCC"; then
5661 CXX=$CCC
5662 else
5663 if test -n "$ac_tool_prefix"; then
5664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 printf %s "checking for $ac_word... " >&6; }
5670 if test ${ac_cv_prog_CXX+y}
5671 then :
5672 printf %s "(cached) " >&6
5673 else $as_nop
5674 if test -n "$CXX"; then
5675 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5680 IFS=$as_save_IFS
5681 case $as_dir in #(((
5682 '') as_dir=./ ;;
5683 */) ;;
5684 *) as_dir=$as_dir/ ;;
5685 esac
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 CXX=$ac_cv_prog_CXX
5699 if test -n "$CXX"; then
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5701 printf "%s\n" "$CXX" >&6; }
5702 else
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 printf "%s\n" "no" >&6; }
5708 test -n "$CXX" && break
5709 done
5711 if test -z "$CXX"; then
5712 ac_ct_CXX=$CXX
5713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5715 # Extract the first word of "$ac_prog", so it can be a program name with args.
5716 set dummy $ac_prog; ac_word=$2
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 printf %s "checking for $ac_word... " >&6; }
5719 if test ${ac_cv_prog_ac_ct_CXX+y}
5720 then :
5721 printf %s "(cached) " >&6
5722 else $as_nop
5723 if test -n "$ac_ct_CXX"; then
5724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 case $as_dir in #(((
5731 '') as_dir=./ ;;
5732 */) ;;
5733 *) as_dir=$as_dir/ ;;
5734 esac
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ac_ct_CXX="$ac_prog"
5738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5748 if test -n "$ac_ct_CXX"; then
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5750 printf "%s\n" "$ac_ct_CXX" >&6; }
5751 else
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 printf "%s\n" "no" >&6; }
5757 test -n "$ac_ct_CXX" && break
5758 done
5760 if test "x$ac_ct_CXX" = x; then
5761 CXX="g++"
5762 else
5763 case $cross_compiling:$ac_tool_warned in
5764 yes:)
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5766 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5767 ac_tool_warned=yes ;;
5768 esac
5769 CXX=$ac_ct_CXX
5775 # Provide some information about the compiler.
5776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5777 set X $ac_compile
5778 ac_compiler=$2
5779 for ac_option in --version -v -V -qversion; do
5780 { { ac_try="$ac_compiler $ac_option >&5"
5781 case "(($ac_try" in
5782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5783 *) ac_try_echo=$ac_try;;
5784 esac
5785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5786 printf "%s\n" "$ac_try_echo"; } >&5
5787 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5788 ac_status=$?
5789 if test -s conftest.err; then
5790 sed '10a\
5791 ... rest of stderr output deleted ...
5792 10q' conftest.err >conftest.er1
5793 cat conftest.er1 >&5
5795 rm -f conftest.er1 conftest.err
5796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5797 test $ac_status = 0; }
5798 done
5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5801 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5802 if test ${ac_cv_cxx_compiler_gnu+y}
5803 then :
5804 printf %s "(cached) " >&6
5805 else $as_nop
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5810 main (void)
5812 #ifndef __GNUC__
5813 choke me
5814 #endif
5817 return 0;
5819 _ACEOF
5820 if ac_fn_cxx_try_compile "$LINENO"
5821 then :
5822 ac_compiler_gnu=yes
5823 else $as_nop
5824 ac_compiler_gnu=no
5826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5827 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5831 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5834 if test $ac_compiler_gnu = yes; then
5835 GXX=yes
5836 else
5837 GXX=
5839 ac_test_CXXFLAGS=${CXXFLAGS+y}
5840 ac_save_CXXFLAGS=$CXXFLAGS
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5842 printf %s "checking whether $CXX accepts -g... " >&6; }
5843 if test ${ac_cv_prog_cxx_g+y}
5844 then :
5845 printf %s "(cached) " >&6
5846 else $as_nop
5847 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5848 ac_cxx_werror_flag=yes
5849 ac_cv_prog_cxx_g=no
5850 CXXFLAGS="-g"
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5855 main (void)
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5864 ac_cv_prog_cxx_g=yes
5865 else $as_nop
5866 CXXFLAGS=""
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5871 main (void)
5875 return 0;
5877 _ACEOF
5878 if ac_fn_cxx_try_compile "$LINENO"
5879 then :
5881 else $as_nop
5882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5883 CXXFLAGS="-g"
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5888 main (void)
5892 return 0;
5894 _ACEOF
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5897 ac_cv_prog_cxx_g=yes
5899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5907 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5908 if test $ac_test_CXXFLAGS; then
5909 CXXFLAGS=$ac_save_CXXFLAGS
5910 elif test $ac_cv_prog_cxx_g = yes; then
5911 if test "$GXX" = yes; then
5912 CXXFLAGS="-g -O2"
5913 else
5914 CXXFLAGS="-g"
5916 else
5917 if test "$GXX" = yes; then
5918 CXXFLAGS="-O2"
5919 else
5920 CXXFLAGS=
5923 ac_prog_cxx_stdcxx=no
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++11 features" >&5
5927 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5928 if test ${ac_cv_prog_cxx_cxx11+y}
5929 then :
5930 printf %s "(cached) " >&6
5931 else $as_nop
5932 ac_cv_prog_cxx_cxx11=no
5933 ac_save_CXX=$CXX
5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 $ac_cxx_conftest_cxx11_program
5937 _ACEOF
5938 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5940 CXX="$ac_save_CXX $ac_arg"
5941 if ac_fn_cxx_try_compile "$LINENO"
5942 then :
5943 ac_cv_prog_cxx_cxx11=$ac_arg
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam
5946 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5947 done
5948 rm -f conftest.$ac_ext
5949 CXX=$ac_save_CXX
5952 if test "x$ac_cv_prog_cxx_cxx11" = 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_cxx11" = 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_cxx11" >&5
5963 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5964 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5966 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5967 ac_prog_cxx_stdcxx=cxx11
5970 if test x$ac_prog_cxx_stdcxx = xno
5971 then :
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5973 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5974 if test ${ac_cv_prog_cxx_cxx98+y}
5975 then :
5976 printf %s "(cached) " >&6
5977 else $as_nop
5978 ac_cv_prog_cxx_cxx98=no
5979 ac_save_CXX=$CXX
5980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5982 $ac_cxx_conftest_cxx98_program
5983 _ACEOF
5984 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5986 CXX="$ac_save_CXX $ac_arg"
5987 if ac_fn_cxx_try_compile "$LINENO"
5988 then :
5989 ac_cv_prog_cxx_cxx98=$ac_arg
5991 rm -f core conftest.err conftest.$ac_objext conftest.beam
5992 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5993 done
5994 rm -f conftest.$ac_ext
5995 CXX=$ac_save_CXX
5998 if test "x$ac_cv_prog_cxx_cxx98" = xno
5999 then :
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6001 printf "%s\n" "unsupported" >&6; }
6002 else $as_nop
6003 if test "x$ac_cv_prog_cxx_cxx98" = x
6004 then :
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6006 printf "%s\n" "none needed" >&6; }
6007 else $as_nop
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6009 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6010 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6012 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6013 ac_prog_cxx_stdcxx=cxx98
6017 ac_ext=c
6018 ac_cpp='$CPP $CPPFLAGS'
6019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6023 if test -n "$ac_tool_prefix"; then
6024 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6025 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 printf %s "checking for $ac_word... " >&6; }
6028 if test ${ac_cv_prog_CPPBIN+y}
6029 then :
6030 printf %s "(cached) " >&6
6031 else $as_nop
6032 if test -n "$CPPBIN"; then
6033 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 case $as_dir in #(((
6040 '') as_dir=./ ;;
6041 */) ;;
6042 *) as_dir=$as_dir/ ;;
6043 esac
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 CPPBIN=$ac_cv_prog_CPPBIN
6057 if test -n "$CPPBIN"; then
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6059 printf "%s\n" "$CPPBIN" >&6; }
6060 else
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 printf "%s\n" "no" >&6; }
6067 if test -z "$ac_cv_prog_CPPBIN"; then
6068 ac_ct_CPPBIN=$CPPBIN
6069 # Extract the first word of "cpp", so it can be a program name with args.
6070 set dummy cpp; ac_word=$2
6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 printf %s "checking for $ac_word... " >&6; }
6073 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6074 then :
6075 printf %s "(cached) " >&6
6076 else $as_nop
6077 if test -n "$ac_ct_CPPBIN"; then
6078 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 case $as_dir in #(((
6085 '') as_dir=./ ;;
6086 */) ;;
6087 *) as_dir=$as_dir/ ;;
6088 esac
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_ac_ct_CPPBIN="cpp"
6092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6102 if test -n "$ac_ct_CPPBIN"; then
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6104 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6105 else
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 printf "%s\n" "no" >&6; }
6110 if test "x$ac_ct_CPPBIN" = x; then
6111 CPPBIN="cpp"
6112 else
6113 case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119 CPPBIN=$ac_ct_CPPBIN
6121 else
6122 CPPBIN="$ac_cv_prog_CPPBIN"
6126 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6128 if test -n "$ac_tool_prefix"; then
6129 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6130 set dummy ${ac_tool_prefix}ld; ac_word=$2
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 printf %s "checking for $ac_word... " >&6; }
6133 if test ${ac_cv_prog_LD+y}
6134 then :
6135 printf %s "(cached) " >&6
6136 else $as_nop
6137 if test -n "$LD"; then
6138 ac_cv_prog_LD="$LD" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 case $as_dir in #(((
6145 '') as_dir=./ ;;
6146 */) ;;
6147 *) as_dir=$as_dir/ ;;
6148 esac
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_LD="${ac_tool_prefix}ld"
6152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 LD=$ac_cv_prog_LD
6162 if test -n "$LD"; then
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6164 printf "%s\n" "$LD" >&6; }
6165 else
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 printf "%s\n" "no" >&6; }
6172 if test -z "$ac_cv_prog_LD"; then
6173 ac_ct_LD=$LD
6174 # Extract the first word of "ld", so it can be a program name with args.
6175 set dummy ld; ac_word=$2
6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 printf %s "checking for $ac_word... " >&6; }
6178 if test ${ac_cv_prog_ac_ct_LD+y}
6179 then :
6180 printf %s "(cached) " >&6
6181 else $as_nop
6182 if test -n "$ac_ct_LD"; then
6183 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6184 else
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH
6188 IFS=$as_save_IFS
6189 case $as_dir in #(((
6190 '') as_dir=./ ;;
6191 */) ;;
6192 *) as_dir=$as_dir/ ;;
6193 esac
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6196 ac_cv_prog_ac_ct_LD="ld"
6197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6198 break 2
6200 done
6201 done
6202 IFS=$as_save_IFS
6206 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6207 if test -n "$ac_ct_LD"; then
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6209 printf "%s\n" "$ac_ct_LD" >&6; }
6210 else
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 printf "%s\n" "no" >&6; }
6215 if test "x$ac_ct_LD" = x; then
6216 LD=""
6217 else
6218 case $cross_compiling:$ac_tool_warned in
6219 yes:)
6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6221 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6222 ac_tool_warned=yes ;;
6223 esac
6224 LD=$ac_ct_LD
6226 else
6227 LD="$ac_cv_prog_LD"
6231 case $host in
6232 *-darwin*)
6233 with_fontconfig=${with_fontconfig:-no}
6235 *-mingw32*|*-cygwin*)
6236 enable_win16=${enable_win16:-no}
6237 with_mingw=${with_mingw:-no}
6239 esac
6242 case $host in
6243 x86_64*|amd64*)
6244 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6245 then
6246 CC="$CC -m32"
6247 CXX="$CXX -m32"
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6250 printf %s "checking whether $CC works... " >&6; }
6251 if test ${wine_cv_cc_m32+y}
6252 then :
6253 printf %s "(cached) " >&6
6254 else $as_nop
6255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6259 main (void)
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_link "$LINENO"
6267 then :
6268 wine_cv_cc_m32=yes
6269 else $as_nop
6270 wine_cv_cc_m32=no
6272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6273 conftest$ac_exeext conftest.$ac_ext
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6276 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6277 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
6278 host_cpu="i386"
6279 notice_platform="32-bit "
6280 TARGETFLAGS="$TARGETFLAGS -m32"
6281 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6282 export PKG_CONFIG_LIBDIR
6283 with_unwind=${with_unwind:-no}
6284 else
6285 CC="$CC -m64"
6286 CXX="$CXX -m64"
6287 host_cpu="x86_64"
6288 notice_platform="64-bit "
6289 TARGETFLAGS="$TARGETFLAGS -m64"
6292 arm*)
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6294 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6295 if test ${wine_cv_thumb2+y}
6296 then :
6297 printf %s "(cached) " >&6
6298 else $as_nop
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6303 main (void)
6305 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"
6311 then :
6312 wine_cv_thumb2=yes
6313 else $as_nop
6314 wine_cv_thumb2=no
6316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6317 conftest$ac_exeext conftest.$ac_ext
6319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6320 printf "%s\n" "$wine_cv_thumb2" >&6; }
6321 if test x"$wine_cv_thumb2" = xyes
6322 then
6323 CFLAGS="$CFLAGS -mthumb"
6324 TARGETFLAGS="$TARGETFLAGS -mthumb"
6325 else
6326 CFLAGS="$CFLAGS -marm"
6327 TARGETFLAGS="$TARGETFLAGS -marm"
6329 case $with_float_abi in
6330 soft|softfp|hard)
6331 float_abi=$with_float_abi ;;
6333 case $host_os in
6334 *eabihf)
6335 float_abi=hard ;;
6337 float_abi=softfp
6338 saved_CFLAGS=$CFLAGS
6339 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6341 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6342 if test ${wine_cv_float_abi+y}
6343 then :
6344 printf %s "(cached) " >&6
6345 else $as_nop
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6350 main (void)
6352 asm("vmrs r2,fpscr");
6354 return 0;
6356 _ACEOF
6357 if ac_fn_c_try_link "$LINENO"
6358 then :
6359 wine_cv_float_abi=yes
6360 else $as_nop
6361 wine_cv_float_abi=no
6363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6364 conftest$ac_exeext conftest.$ac_ext
6366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6367 printf "%s\n" "$wine_cv_float_abi" >&6; }
6368 if test $wine_cv_float_abi = no
6369 then
6370 float_abi=soft
6371 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6373 CFLAGS=$saved_CFLAGS
6374 esac
6376 esac
6377 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6378 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6380 i[3456789]86*)
6381 with_unwind=${with_unwind:-no}
6383 esac
6385 enable_win16=${enable_win16:-i386}
6386 enable_win64=${enable_win64:-no}
6387 enable_wow64=${enable_wow64:-aarch64,x86_64}
6388 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6389 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6391 enable_winetest=${enable_winetest:-$enable_tests}
6393 if test "x$enable_win64" = "xyes"
6394 then
6395 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6396 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6399 case $build_os in
6400 cygwin*|mingw32*) toolsext=".exe"
6402 *) toolsext=""
6404 esac
6406 HOST_ARCH=unknown
6407 case "$host_cpu" in
6408 aarch64*) HOST_ARCH=aarch64 ;;
6409 arm*) HOST_ARCH=arm ;;
6410 i[3456789]86*) HOST_ARCH=i386 ;;
6411 x86_64) HOST_ARCH=x86_64 ;;
6412 esac
6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6416 printf %s "checking for the directory containing the Wine tools... " >&6; }
6417 if test ${wine_cv_toolsdir+y}
6418 then :
6419 printf %s "(cached) " >&6
6420 else $as_nop
6421 wine_cv_toolsdir="$with_wine_tools"
6422 if test -z "$with_wine_tools"; then
6423 if test "$cross_compiling" = "yes"; then
6424 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6425 elif test -n "$with_wine64"; then
6426 wine_cv_toolsdir="$with_wine64"
6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6431 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6432 if test -z "$wine_cv_toolsdir"; then
6433 wine_makedep=tools/makedep$toolsext
6434 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6435 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6436 enable_tools=${enable_tools:-no}
6437 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6438 else
6439 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6441 toolsdir=$wine_cv_toolsdir
6443 MAKEDEP=$wine_makedep
6445 RUNTESTFLAGS="-q -P wine"
6447 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'"
6450 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6451 then
6452 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6455 for ac_prog in flex
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 printf %s "checking for $ac_word... " >&6; }
6461 if test ${ac_cv_prog_FLEX+y}
6462 then :
6463 printf %s "(cached) " >&6
6464 else $as_nop
6465 if test -n "$FLEX"; then
6466 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6467 else
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $PATH
6471 IFS=$as_save_IFS
6472 case $as_dir in #(((
6473 '') as_dir=./ ;;
6474 */) ;;
6475 *) as_dir=$as_dir/ ;;
6476 esac
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_FLEX="$ac_prog"
6480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6489 FLEX=$ac_cv_prog_FLEX
6490 if test -n "$FLEX"; then
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6492 printf "%s\n" "$FLEX" >&6; }
6493 else
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 printf "%s\n" "no" >&6; }
6499 test -n "$FLEX" && break
6500 done
6501 test -n "$FLEX" || FLEX="none"
6503 if test "$FLEX" = "none"
6504 then
6505 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6508 printf %s "checking whether flex is recent enough... " >&6; }
6509 if test ${wine_cv_recent_flex+y}
6510 then :
6511 printf %s "(cached) " >&6
6512 else $as_nop
6513 cat >conftest.l <<EOF
6514 %top{
6515 #include "prediluvian.h"
6519 if $FLEX -t conftest.l >/dev/null 2>&5
6520 then
6521 wine_cv_recent_flex=yes
6522 else
6523 wine_cv_recent_flex=no
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6527 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6528 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
6530 for ac_prog in bison
6532 # Extract the first word of "$ac_prog", so it can be a program name with args.
6533 set dummy $ac_prog; ac_word=$2
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 printf %s "checking for $ac_word... " >&6; }
6536 if test ${ac_cv_prog_BISON+y}
6537 then :
6538 printf %s "(cached) " >&6
6539 else $as_nop
6540 if test -n "$BISON"; then
6541 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6546 IFS=$as_save_IFS
6547 case $as_dir in #(((
6548 '') as_dir=./ ;;
6549 */) ;;
6550 *) as_dir=$as_dir/ ;;
6551 esac
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6554 ac_cv_prog_BISON="$ac_prog"
6555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 BISON=$ac_cv_prog_BISON
6565 if test -n "$BISON"; then
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6567 printf "%s\n" "$BISON" >&6; }
6568 else
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 printf "%s\n" "no" >&6; }
6574 test -n "$BISON" && break
6575 done
6576 test -n "$BISON" || BISON="none"
6578 if test "$BISON" = "none"
6579 then
6580 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6583 printf %s "checking whether bison is recent enough... " >&6; }
6584 if test ${wine_cv_recent_bison+y}
6585 then :
6586 printf %s "(cached) " >&6
6587 else $as_nop
6588 cat >conftest.y <<EOF
6589 %define parse.error verbose
6591 empty: ;
6593 if $BISON conftest.y >/dev/null 2>&5
6594 then
6595 wine_cv_recent_bison=yes
6596 else
6597 wine_cv_recent_bison=no
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6601 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6602 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
6604 if test -n "$ac_tool_prefix"; then
6605 for ac_prog in ar gar
6607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 printf %s "checking for $ac_word... " >&6; }
6611 if test ${ac_cv_prog_AR+y}
6612 then :
6613 printf %s "(cached) " >&6
6614 else $as_nop
6615 if test -n "$AR"; then
6616 ac_cv_prog_AR="$AR" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6621 IFS=$as_save_IFS
6622 case $as_dir in #(((
6623 '') as_dir=./ ;;
6624 */) ;;
6625 *) as_dir=$as_dir/ ;;
6626 esac
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6629 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 AR=$ac_cv_prog_AR
6640 if test -n "$AR"; then
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6642 printf "%s\n" "$AR" >&6; }
6643 else
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 printf "%s\n" "no" >&6; }
6649 test -n "$AR" && break
6650 done
6652 if test -z "$AR"; then
6653 ac_ct_AR=$AR
6654 for ac_prog in ar gar
6656 # Extract the first word of "$ac_prog", so it can be a program name with args.
6657 set dummy $ac_prog; ac_word=$2
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 printf %s "checking for $ac_word... " >&6; }
6660 if test ${ac_cv_prog_ac_ct_AR+y}
6661 then :
6662 printf %s "(cached) " >&6
6663 else $as_nop
6664 if test -n "$ac_ct_AR"; then
6665 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 case $as_dir in #(((
6672 '') as_dir=./ ;;
6673 */) ;;
6674 *) as_dir=$as_dir/ ;;
6675 esac
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_ac_ct_AR="$ac_prog"
6679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6689 if test -n "$ac_ct_AR"; then
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6691 printf "%s\n" "$ac_ct_AR" >&6; }
6692 else
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 printf "%s\n" "no" >&6; }
6698 test -n "$ac_ct_AR" && break
6699 done
6701 if test "x$ac_ct_AR" = x; then
6702 AR="ar"
6703 else
6704 case $cross_compiling:$ac_tool_warned in
6705 yes:)
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned=yes ;;
6709 esac
6710 AR=$ac_ct_AR
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}strip; ac_word=$2
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 printf %s "checking for $ac_word... " >&6; }
6719 if test ${ac_cv_prog_STRIP+y}
6720 then :
6721 printf %s "(cached) " >&6
6722 else $as_nop
6723 if test -n "$STRIP"; then
6724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6729 IFS=$as_save_IFS
6730 case $as_dir in #(((
6731 '') as_dir=./ ;;
6732 */) ;;
6733 *) as_dir=$as_dir/ ;;
6734 esac
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6739 break 2
6741 done
6742 done
6743 IFS=$as_save_IFS
6747 STRIP=$ac_cv_prog_STRIP
6748 if test -n "$STRIP"; then
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6750 printf "%s\n" "$STRIP" >&6; }
6751 else
6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 printf "%s\n" "no" >&6; }
6758 if test -z "$ac_cv_prog_STRIP"; then
6759 ac_ct_STRIP=$STRIP
6760 # Extract the first word of "strip", so it can be a program name with args.
6761 set dummy strip; ac_word=$2
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 printf %s "checking for $ac_word... " >&6; }
6764 if test ${ac_cv_prog_ac_ct_STRIP+y}
6765 then :
6766 printf %s "(cached) " >&6
6767 else $as_nop
6768 if test -n "$ac_ct_STRIP"; then
6769 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6770 else
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 for as_dir in $PATH
6774 IFS=$as_save_IFS
6775 case $as_dir in #(((
6776 '') as_dir=./ ;;
6777 */) ;;
6778 *) as_dir=$as_dir/ ;;
6779 esac
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_STRIP="strip"
6783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6784 break 2
6786 done
6787 done
6788 IFS=$as_save_IFS
6792 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6793 if test -n "$ac_ct_STRIP"; then
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6795 printf "%s\n" "$ac_ct_STRIP" >&6; }
6796 else
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 printf "%s\n" "no" >&6; }
6801 if test "x$ac_ct_STRIP" = x; then
6802 STRIP="strip"
6803 else
6804 case $cross_compiling:$ac_tool_warned in
6805 yes:)
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808 ac_tool_warned=yes ;;
6809 esac
6810 STRIP=$ac_ct_STRIP
6812 else
6813 STRIP="$ac_cv_prog_STRIP"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6818 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 printf %s "checking for $ac_word... " >&6; }
6821 if test ${ac_cv_prog_RANLIB+y}
6822 then :
6823 printf %s "(cached) " >&6
6824 else $as_nop
6825 if test -n "$RANLIB"; then
6826 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6827 else
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 for as_dir in $PATH
6831 IFS=$as_save_IFS
6832 case $as_dir in #(((
6833 '') as_dir=./ ;;
6834 */) ;;
6835 *) as_dir=$as_dir/ ;;
6836 esac
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6839 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6841 break 2
6843 done
6844 done
6845 IFS=$as_save_IFS
6849 RANLIB=$ac_cv_prog_RANLIB
6850 if test -n "$RANLIB"; then
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6852 printf "%s\n" "$RANLIB" >&6; }
6853 else
6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 printf "%s\n" "no" >&6; }
6860 if test -z "$ac_cv_prog_RANLIB"; then
6861 ac_ct_RANLIB=$RANLIB
6862 # Extract the first word of "ranlib", so it can be a program name with args.
6863 set dummy ranlib; ac_word=$2
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 printf %s "checking for $ac_word... " >&6; }
6866 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6867 then :
6868 printf %s "(cached) " >&6
6869 else $as_nop
6870 if test -n "$ac_ct_RANLIB"; then
6871 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6872 else
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 for as_dir in $PATH
6876 IFS=$as_save_IFS
6877 case $as_dir in #(((
6878 '') as_dir=./ ;;
6879 */) ;;
6880 *) as_dir=$as_dir/ ;;
6881 esac
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_ac_ct_RANLIB="ranlib"
6885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6886 break 2
6888 done
6889 done
6890 IFS=$as_save_IFS
6894 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6895 if test -n "$ac_ct_RANLIB"; then
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6897 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6898 else
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 printf "%s\n" "no" >&6; }
6903 if test "x$ac_ct_RANLIB" = x; then
6904 RANLIB=":"
6905 else
6906 case $cross_compiling:$ac_tool_warned in
6907 yes:)
6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910 ac_tool_warned=yes ;;
6911 esac
6912 RANLIB=$ac_ct_RANLIB
6914 else
6915 RANLIB="$ac_cv_prog_RANLIB"
6918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6919 printf %s "checking whether ln -s works... " >&6; }
6920 LN_S=$as_ln_s
6921 if test "$LN_S" = "ln -s"; then
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6923 printf "%s\n" "yes" >&6; }
6924 else
6925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6926 printf "%s\n" "no, using $LN_S" >&6; }
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6930 printf %s "checking for grep that handles long lines and -e... " >&6; }
6931 if test ${ac_cv_path_GREP+y}
6932 then :
6933 printf %s "(cached) " >&6
6934 else $as_nop
6935 if test -z "$GREP"; then
6936 ac_path_GREP_found=false
6937 # Loop through the user's path and test for each of PROGNAME-LIST
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6941 IFS=$as_save_IFS
6942 case $as_dir in #(((
6943 '') as_dir=./ ;;
6944 */) ;;
6945 *) as_dir=$as_dir/ ;;
6946 esac
6947 for ac_prog in grep ggrep
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6951 as_fn_executable_p "$ac_path_GREP" || continue
6952 # Check for GNU ac_path_GREP and select it if it is found.
6953 # Check for GNU $ac_path_GREP
6954 case `"$ac_path_GREP" --version 2>&1` in
6955 *GNU*)
6956 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6958 ac_count=0
6959 printf %s 0123456789 >"conftest.in"
6960 while :
6962 cat "conftest.in" "conftest.in" >"conftest.tmp"
6963 mv "conftest.tmp" "conftest.in"
6964 cp "conftest.in" "conftest.nl"
6965 printf "%s\n" 'GREP' >> "conftest.nl"
6966 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6967 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6968 as_fn_arith $ac_count + 1 && ac_count=$as_val
6969 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6970 # Best one so far, save it but keep looking for a better one
6971 ac_cv_path_GREP="$ac_path_GREP"
6972 ac_path_GREP_max=$ac_count
6974 # 10*(2^10) chars as input seems more than enough
6975 test $ac_count -gt 10 && break
6976 done
6977 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6978 esac
6980 $ac_path_GREP_found && break 3
6981 done
6982 done
6983 done
6984 IFS=$as_save_IFS
6985 if test -z "$ac_cv_path_GREP"; then
6986 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6988 else
6989 ac_cv_path_GREP=$GREP
6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6994 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6995 GREP="$ac_cv_path_GREP"
6998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6999 printf %s "checking for egrep... " >&6; }
7000 if test ${ac_cv_path_EGREP+y}
7001 then :
7002 printf %s "(cached) " >&6
7003 else $as_nop
7004 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7005 then ac_cv_path_EGREP="$GREP -E"
7006 else
7007 if test -z "$EGREP"; then
7008 ac_path_EGREP_found=false
7009 # Loop through the user's path and test for each of PROGNAME-LIST
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7013 IFS=$as_save_IFS
7014 case $as_dir in #(((
7015 '') as_dir=./ ;;
7016 */) ;;
7017 *) as_dir=$as_dir/ ;;
7018 esac
7019 for ac_prog in egrep
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7023 as_fn_executable_p "$ac_path_EGREP" || continue
7024 # Check for GNU ac_path_EGREP and select it if it is found.
7025 # Check for GNU $ac_path_EGREP
7026 case `"$ac_path_EGREP" --version 2>&1` in
7027 *GNU*)
7028 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7030 ac_count=0
7031 printf %s 0123456789 >"conftest.in"
7032 while :
7034 cat "conftest.in" "conftest.in" >"conftest.tmp"
7035 mv "conftest.tmp" "conftest.in"
7036 cp "conftest.in" "conftest.nl"
7037 printf "%s\n" 'EGREP' >> "conftest.nl"
7038 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7039 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7040 as_fn_arith $ac_count + 1 && ac_count=$as_val
7041 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7042 # Best one so far, save it but keep looking for a better one
7043 ac_cv_path_EGREP="$ac_path_EGREP"
7044 ac_path_EGREP_max=$ac_count
7046 # 10*(2^10) chars as input seems more than enough
7047 test $ac_count -gt 10 && break
7048 done
7049 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7050 esac
7052 $ac_path_EGREP_found && break 3
7053 done
7054 done
7055 done
7056 IFS=$as_save_IFS
7057 if test -z "$ac_cv_path_EGREP"; then
7058 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7060 else
7061 ac_cv_path_EGREP=$EGREP
7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7067 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7068 EGREP="$ac_cv_path_EGREP"
7071 # Extract the first word of "ldconfig", so it can be a program name with args.
7072 set dummy ldconfig; ac_word=$2
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 printf %s "checking for $ac_word... " >&6; }
7075 if test ${ac_cv_path_LDCONFIG+y}
7076 then :
7077 printf %s "(cached) " >&6
7078 else $as_nop
7079 case $LDCONFIG in
7080 [\\/]* | ?:[\\/]*)
7081 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 for as_dir in /sbin /usr/sbin $PATH
7087 IFS=$as_save_IFS
7088 case $as_dir in #(((
7089 '') as_dir=./ ;;
7090 */) ;;
7091 *) as_dir=$as_dir/ ;;
7092 esac
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7095 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7103 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7105 esac
7107 LDCONFIG=$ac_cv_path_LDCONFIG
7108 if test -n "$LDCONFIG"; then
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7110 printf "%s\n" "$LDCONFIG" >&6; }
7111 else
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 printf "%s\n" "no" >&6; }
7117 for ac_prog in msgfmt
7119 # Extract the first word of "$ac_prog", so it can be a program name with args.
7120 set dummy $ac_prog; ac_word=$2
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 printf %s "checking for $ac_word... " >&6; }
7123 if test ${ac_cv_prog_MSGFMT+y}
7124 then :
7125 printf %s "(cached) " >&6
7126 else $as_nop
7127 if test -n "$MSGFMT"; then
7128 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7129 else
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 for as_dir in $PATH
7133 IFS=$as_save_IFS
7134 case $as_dir in #(((
7135 '') as_dir=./ ;;
7136 */) ;;
7137 *) as_dir=$as_dir/ ;;
7138 esac
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7141 ac_cv_prog_MSGFMT="$ac_prog"
7142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7143 break 2
7145 done
7146 done
7147 IFS=$as_save_IFS
7151 MSGFMT=$ac_cv_prog_MSGFMT
7152 if test -n "$MSGFMT"; then
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7154 printf "%s\n" "$MSGFMT" >&6; }
7155 else
7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 printf "%s\n" "no" >&6; }
7161 test -n "$MSGFMT" && break
7162 done
7163 test -n "$MSGFMT" || MSGFMT="false"
7165 if test ${ac_tool_prefix+y}
7166 then :
7167 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7168 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 printf %s "checking for $ac_word... " >&6; }
7171 if test ${ac_cv_prog_PKG_CONFIG+y}
7172 then :
7173 printf %s "(cached) " >&6
7174 else $as_nop
7175 if test -n "$PKG_CONFIG"; then
7176 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7181 IFS=$as_save_IFS
7182 case $as_dir in #(((
7183 '') as_dir=./ ;;
7184 */) ;;
7185 *) as_dir=$as_dir/ ;;
7186 esac
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7191 break 2
7193 done
7194 done
7195 IFS=$as_save_IFS
7199 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7200 if test -n "$PKG_CONFIG"; then
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7202 printf "%s\n" "$PKG_CONFIG" >&6; }
7203 else
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 printf "%s\n" "no" >&6; }
7210 if ${ac_cv_prog_PKG_CONFIG:+false} :
7211 then :
7212 if test "x$cross_compiling" = xyes
7213 then :
7215 else $as_nop
7216 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7217 # Extract the first word of "pkg-config", so it can be a program name with args.
7218 set dummy pkg-config; ac_word=$2
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 printf %s "checking for $ac_word... " >&6; }
7221 if test ${ac_cv_prog_PKG_CONFIG+y}
7222 then :
7223 printf %s "(cached) " >&6
7224 else $as_nop
7225 if test -n "$PKG_CONFIG"; then
7226 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7227 else
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229 for as_dir in $PATH
7231 IFS=$as_save_IFS
7232 case $as_dir in #(((
7233 '') as_dir=./ ;;
7234 */) ;;
7235 *) as_dir=$as_dir/ ;;
7236 esac
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_PKG_CONFIG="pkg-config"
7240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7241 break 2
7243 done
7244 done
7245 IFS=$as_save_IFS
7249 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7250 if test -n "$PKG_CONFIG"; then
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7252 printf "%s\n" "$PKG_CONFIG" >&6; }
7253 else
7254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7255 printf "%s\n" "no" >&6; }
7260 else $as_nop
7261 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7264 if test "x$enable_maintainer_mode" != "xyes"
7265 then
7266 FONTFORGE=""
7267 RSVG=""
7268 CONVERT=""
7269 ICOTOOL=""
7270 else
7271 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7272 for ac_prog in fontforge
7274 # Extract the first word of "$ac_prog", so it can be a program name with args.
7275 set dummy $ac_prog; ac_word=$2
7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 printf %s "checking for $ac_word... " >&6; }
7278 if test ${ac_cv_prog_FONTFORGE+y}
7279 then :
7280 printf %s "(cached) " >&6
7281 else $as_nop
7282 if test -n "$FONTFORGE"; then
7283 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7284 else
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 for as_dir in $PATH
7288 IFS=$as_save_IFS
7289 case $as_dir in #(((
7290 '') as_dir=./ ;;
7291 */) ;;
7292 *) as_dir=$as_dir/ ;;
7293 esac
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7296 ac_cv_prog_FONTFORGE="$ac_prog"
7297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7298 break 2
7300 done
7301 done
7302 IFS=$as_save_IFS
7306 FONTFORGE=$ac_cv_prog_FONTFORGE
7307 if test -n "$FONTFORGE"; then
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7309 printf "%s\n" "$FONTFORGE" >&6; }
7310 else
7311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 printf "%s\n" "no" >&6; }
7316 test -n "$FONTFORGE" && break
7317 done
7318 test -n "$FONTFORGE" || FONTFORGE="false"
7320 for ac_prog in rsvg-convert rsvg
7322 # Extract the first word of "$ac_prog", so it can be a program name with args.
7323 set dummy $ac_prog; ac_word=$2
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 printf %s "checking for $ac_word... " >&6; }
7326 if test ${ac_cv_prog_RSVG+y}
7327 then :
7328 printf %s "(cached) " >&6
7329 else $as_nop
7330 if test -n "$RSVG"; then
7331 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 case $as_dir in #(((
7338 '') as_dir=./ ;;
7339 */) ;;
7340 *) as_dir=$as_dir/ ;;
7341 esac
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_RSVG="$ac_prog"
7345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7346 break 2
7348 done
7349 done
7350 IFS=$as_save_IFS
7354 RSVG=$ac_cv_prog_RSVG
7355 if test -n "$RSVG"; then
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7357 printf "%s\n" "$RSVG" >&6; }
7358 else
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 printf "%s\n" "no" >&6; }
7364 test -n "$RSVG" && break
7365 done
7366 test -n "$RSVG" || RSVG="false"
7368 for ac_prog in convert
7370 # Extract the first word of "$ac_prog", so it can be a program name with args.
7371 set dummy $ac_prog; ac_word=$2
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 printf %s "checking for $ac_word... " >&6; }
7374 if test ${ac_cv_prog_CONVERT+y}
7375 then :
7376 printf %s "(cached) " >&6
7377 else $as_nop
7378 if test -n "$CONVERT"; then
7379 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7384 IFS=$as_save_IFS
7385 case $as_dir in #(((
7386 '') as_dir=./ ;;
7387 */) ;;
7388 *) as_dir=$as_dir/ ;;
7389 esac
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_CONVERT="$ac_prog"
7393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 CONVERT=$ac_cv_prog_CONVERT
7403 if test -n "$CONVERT"; then
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7405 printf "%s\n" "$CONVERT" >&6; }
7406 else
7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 printf "%s\n" "no" >&6; }
7412 test -n "$CONVERT" && break
7413 done
7414 test -n "$CONVERT" || CONVERT="false"
7416 for ac_prog in icotool
7418 # Extract the first word of "$ac_prog", so it can be a program name with args.
7419 set dummy $ac_prog; ac_word=$2
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 printf %s "checking for $ac_word... " >&6; }
7422 if test ${ac_cv_prog_ICOTOOL+y}
7423 then :
7424 printf %s "(cached) " >&6
7425 else $as_nop
7426 if test -n "$ICOTOOL"; then
7427 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7432 IFS=$as_save_IFS
7433 case $as_dir in #(((
7434 '') as_dir=./ ;;
7435 */) ;;
7436 *) as_dir=$as_dir/ ;;
7437 esac
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_ICOTOOL="$ac_prog"
7441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 ICOTOOL=$ac_cv_prog_ICOTOOL
7451 if test -n "$ICOTOOL"; then
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7453 printf "%s\n" "$ICOTOOL" >&6; }
7454 else
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 printf "%s\n" "no" >&6; }
7460 test -n "$ICOTOOL" && break
7461 done
7462 test -n "$ICOTOOL" || ICOTOOL="false"
7464 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7465 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7467 if test "$CONVERT" = false
7468 then
7469 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7470 else
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7472 printf %s "checking for recent enough imagemagick... " >&6; }
7473 convert_version=`convert --version | head -n1`
7474 if test "x$convert_version" != "x"
7475 then
7476 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7477 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7478 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7479 then
7480 CONVERT=false
7483 if test "$CONVERT" = false
7484 then
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7486 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7487 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7490 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7494 if test "$ICOTOOL" = false
7495 then
7496 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7497 else
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7499 printf %s "checking for recent enough icotool... " >&6; }
7500 icotool_version=`icotool --version | head -n1`
7501 if test "x$icotool_version" != "x"
7502 then
7503 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7504 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7505 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7506 then
7507 ICOTOOL=false
7508 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7511 if test "$ICOTOOL" = false
7512 then
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7514 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7515 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7516 else
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7518 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7522 with_gettext=yes
7523 with_gettextpo=yes
7525 enable_werror=yes
7528 test "x$with_gettext" != xno || MSGFMT=false
7529 if test "$MSGFMT" != "false"
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7532 printf %s "checking whether msgfmt supports contexts... " >&6; }
7533 if test ${wine_cv_msgfmt_contexts+y}
7534 then :
7535 printf %s "(cached) " >&6
7536 else $as_nop
7537 cat >conftest.po <<EOF
7538 # comment
7539 msgctxt "ctxt"
7540 msgid "id"
7541 msgstr "str"
7543 if $MSGFMT -o /dev/null conftest.po 2>&5
7544 then
7545 wine_cv_msgfmt_contexts=yes
7546 else
7547 wine_cv_msgfmt_contexts=no
7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7551 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7552 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7554 if test "$MSGFMT" = false
7555 then :
7556 case "x$with_gettext" in
7557 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7558 xno) ;;
7559 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7560 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7561 esac
7562 enable_po=${enable_po:-no}
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7567 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7568 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7569 then :
7570 printf %s "(cached) " >&6
7571 else $as_nop
7572 ac_check_lib_save_LIBS=$LIBS
7573 LIBS="-li386 $LIBS"
7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h. */
7577 /* Override any GCC internal prototype to avoid an error.
7578 Use char because int might match the return type of a GCC
7579 builtin and then its argument prototype would still apply. */
7580 char i386_set_ldt ();
7582 main (void)
7584 return i386_set_ldt ();
7586 return 0;
7588 _ACEOF
7589 if ac_fn_c_try_link "$LINENO"
7590 then :
7591 ac_cv_lib_i386_i386_set_ldt=yes
7592 else $as_nop
7593 ac_cv_lib_i386_i386_set_ldt=no
7595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7596 conftest$ac_exeext conftest.$ac_ext
7597 LIBS=$ac_check_lib_save_LIBS
7599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7600 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7601 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7602 then :
7603 I386_LIBS="-li386"
7608 OPENGL_LIBS=""
7612 # Check whether --enable-largefile was given.
7613 if test ${enable_largefile+y}
7614 then :
7615 enableval=$enable_largefile;
7618 if test "$enable_largefile" != no; then
7620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7621 printf %s "checking for special C compiler options needed for large files... " >&6; }
7622 if test ${ac_cv_sys_largefile_CC+y}
7623 then :
7624 printf %s "(cached) " >&6
7625 else $as_nop
7626 ac_cv_sys_largefile_CC=no
7627 if test "$GCC" != yes; then
7628 ac_save_CC=$CC
7629 while :; do
7630 # IRIX 6.2 and later do not support large files by default,
7631 # so use the C compiler's -n32 option if that helps.
7632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7633 /* end confdefs.h. */
7634 #include <sys/types.h>
7635 /* Check that off_t can represent 2**63 - 1 correctly.
7636 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7637 since some C++ compilers masquerading as C compilers
7638 incorrectly reject 9223372036854775807. */
7639 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7640 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7641 && LARGE_OFF_T % 2147483647 == 1)
7642 ? 1 : -1];
7644 main (void)
7648 return 0;
7650 _ACEOF
7651 if ac_fn_c_try_compile "$LINENO"
7652 then :
7653 break
7655 rm -f core conftest.err conftest.$ac_objext conftest.beam
7656 CC="$CC -n32"
7657 if ac_fn_c_try_compile "$LINENO"
7658 then :
7659 ac_cv_sys_largefile_CC=' -n32'; break
7661 rm -f core conftest.err conftest.$ac_objext conftest.beam
7662 break
7663 done
7664 CC=$ac_save_CC
7665 rm -f conftest.$ac_ext
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7669 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7670 if test "$ac_cv_sys_largefile_CC" != no; then
7671 CC=$CC$ac_cv_sys_largefile_CC
7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7675 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7676 if test ${ac_cv_sys_file_offset_bits+y}
7677 then :
7678 printf %s "(cached) " >&6
7679 else $as_nop
7680 while :; do
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7683 #include <sys/types.h>
7684 /* Check that off_t can represent 2**63 - 1 correctly.
7685 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7686 since some C++ compilers masquerading as C compilers
7687 incorrectly reject 9223372036854775807. */
7688 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7689 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7690 && LARGE_OFF_T % 2147483647 == 1)
7691 ? 1 : -1];
7693 main (void)
7697 return 0;
7699 _ACEOF
7700 if ac_fn_c_try_compile "$LINENO"
7701 then :
7702 ac_cv_sys_file_offset_bits=no; break
7704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7707 #define _FILE_OFFSET_BITS 64
7708 #include <sys/types.h>
7709 /* Check that off_t can represent 2**63 - 1 correctly.
7710 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7711 since some C++ compilers masquerading as C compilers
7712 incorrectly reject 9223372036854775807. */
7713 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7714 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7715 && LARGE_OFF_T % 2147483647 == 1)
7716 ? 1 : -1];
7718 main (void)
7722 return 0;
7724 _ACEOF
7725 if ac_fn_c_try_compile "$LINENO"
7726 then :
7727 ac_cv_sys_file_offset_bits=64; break
7729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7730 ac_cv_sys_file_offset_bits=unknown
7731 break
7732 done
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7735 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7736 case $ac_cv_sys_file_offset_bits in #(
7737 no | unknown) ;;
7739 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7741 esac
7742 rm -rf conftest*
7743 if test $ac_cv_sys_file_offset_bits = unknown; then
7744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7745 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7746 if test ${ac_cv_sys_large_files+y}
7747 then :
7748 printf %s "(cached) " >&6
7749 else $as_nop
7750 while :; do
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 #include <sys/types.h>
7754 /* Check that off_t can represent 2**63 - 1 correctly.
7755 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7756 since some C++ compilers masquerading as C compilers
7757 incorrectly reject 9223372036854775807. */
7758 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7759 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7760 && LARGE_OFF_T % 2147483647 == 1)
7761 ? 1 : -1];
7763 main (void)
7767 return 0;
7769 _ACEOF
7770 if ac_fn_c_try_compile "$LINENO"
7771 then :
7772 ac_cv_sys_large_files=no; break
7774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7776 /* end confdefs.h. */
7777 #define _LARGE_FILES 1
7778 #include <sys/types.h>
7779 /* Check that off_t can represent 2**63 - 1 correctly.
7780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7781 since some C++ compilers masquerading as C compilers
7782 incorrectly reject 9223372036854775807. */
7783 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7785 && LARGE_OFF_T % 2147483647 == 1)
7786 ? 1 : -1];
7788 main (void)
7792 return 0;
7794 _ACEOF
7795 if ac_fn_c_try_compile "$LINENO"
7796 then :
7797 ac_cv_sys_large_files=1; break
7799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7800 ac_cv_sys_large_files=unknown
7801 break
7802 done
7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7805 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7806 case $ac_cv_sys_large_files in #(
7807 no | unknown) ;;
7809 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7811 esac
7812 rm -rf conftest*
7817 ac_header= ac_cache=
7818 for ac_item in $ac_header_c_list
7820 if test $ac_cache; then
7821 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7822 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7823 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7825 ac_header= ac_cache=
7826 elif test $ac_header; then
7827 ac_cache=$ac_item
7828 else
7829 ac_header=$ac_item
7831 done
7840 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7841 then :
7843 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_CL_cl_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_EGL_egl_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_arpa_inet_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_asm_types_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_asm_user_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_elf_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_float_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_gettext_po_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_libproc_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_link_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_filter_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_input_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_major_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_param_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_serial_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_types_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_wireless_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_lwp_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_mach_mach_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_machine_cpu_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mntent_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_netdb_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_netinet_in_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_port_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pthread_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pwd_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sched_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_sg_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_stdint_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_attr_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_auxv_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_cdio_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_epoll_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_event_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_extattr_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_filio_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_ipc_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_link_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_modem_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_mtio_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_param_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_prctl_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_queue_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_random_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_resource_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_shm_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_signal_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_sockio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_strtio_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_syscall_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_times_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_uio_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_user_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_utsname_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_vnode_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_xattr_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_syscall_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_utime_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8329 then :
8331 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8335 if test $ac_cv_header_sys_mkdev_h = no; then
8336 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8338 then :
8340 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8346 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8347 if test ${ac_cv_header_stat_broken+y}
8348 then :
8349 printf %s "(cached) " >&6
8350 else $as_nop
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 #include <sys/types.h>
8354 #include <sys/stat.h>
8356 #if defined S_ISBLK && defined S_IFDIR
8357 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8358 #endif
8360 #if defined S_ISBLK && defined S_IFCHR
8361 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8362 #endif
8364 #if defined S_ISLNK && defined S_IFREG
8365 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8366 #endif
8368 #if defined S_ISSOCK && defined S_IFREG
8369 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8370 #endif
8372 _ACEOF
8373 if ac_fn_c_try_compile "$LINENO"
8374 then :
8375 ac_cv_header_stat_broken=no
8376 else $as_nop
8377 ac_cv_header_stat_broken=yes
8379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8382 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8383 if test $ac_cv_header_stat_broken = yes; then
8385 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8394 #endif
8396 if test "x$ac_cv_header_sys_conf_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8404 #endif
8406 if test "x$ac_cv_header_sys_mount_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_statfs_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_user_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_vfs_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8443 saved_sysctl_h_CFLAGS=$CFLAGS
8444 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8445 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8446 #ifdef HAVE_SYS_PARAM_H
8447 # include <sys/param.h>
8448 #endif
8450 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8451 then :
8452 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8456 CFLAGS=$saved_sysctl_h_CFLAGS
8458 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8459 #include <sys/socket.h>
8460 #ifdef HAVE_SYS_SOCKETVAR_H
8461 # include <sys/socketvar.h>
8462 #endif
8463 #ifdef HAVE_NET_ROUTE_H
8464 # include <net/route.h>
8465 #endif
8466 #ifdef HAVE_NETINET_IN_H
8467 # include <netinet/in.h>
8468 #endif
8469 #ifdef HAVE_NETINET_IN_SYSTM_H
8470 # include <netinet/in_systm.h>
8471 #endif
8472 #ifdef HAVE_NET_IF_H
8473 # include <net/if.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IP_H
8476 # include <netinet/ip.h>
8477 #endif
8479 if test "x$ac_cv_header_netinet_ip_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8488 #endif
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8497 #endif
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8503 #endif
8505 if test "x$ac_cv_header_net_if_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8514 #endif
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8523 #endif
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8529 #endif
8531 if test "x$ac_cv_header_net_if_arp_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8540 #endif
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8549 #endif
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8555 #endif
8557 if test "x$ac_cv_header_net_if_dl_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8566 #endif
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8575 #endif
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8581 #endif
8583 if test "x$ac_cv_header_net_if_types_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8592 #endif
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8601 #endif
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8607 #endif
8609 if test "x$ac_cv_header_net_route_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8618 #endif
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8627 #endif
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8633 #endif
8635 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8644 #endif
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8653 #endif
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8659 #endif
8661 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8670 #endif
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8679 #endif
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8685 #endif
8687 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8696 #endif
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8705 #endif
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8711 #endif
8713 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8722 #endif
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8731 #endif
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8737 #endif
8739 if test "x$ac_cv_header_netinet_udp_h" = xyes
8740 then :
8741 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8748 #endif
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8757 #endif
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8763 #endif
8765 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8774 #endif
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8783 #endif
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8789 #endif
8791 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8800 #endif
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8809 #endif
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8815 #endif
8817 if test "x$ac_cv_header_sys_un_h" = xyes
8818 then :
8819 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8824 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8825 #include <sys/socket.h>
8826 #ifdef HAVE_SYS_SOCKETVAR_H
8827 # include <sys/socketvar.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IN_H
8830 # include <netinet/in.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IN_SYSTM_H
8833 # include <netinet/in_systm.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_H
8836 # include <netinet/ip.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IP_VAR_H
8839 # include <netinet/ip_var.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IP_ICMP_H
8842 # include <netinet/ip_icmp.h>
8843 #endif
8844 #ifdef HAVE_NETINET_UDP_H
8845 # include <netinet/udp.h>
8846 #endif
8847 #ifdef HAVE_NETINET_TCP_H
8848 # include <netinet/tcp.h>
8849 #endif
8851 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8852 then :
8853 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8856 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8857 #include <sys/socket.h>
8858 #ifdef HAVE_SYS_SOCKETVAR_H
8859 # include <sys/socketvar.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IN_H
8862 # include <netinet/in.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IN_SYSTM_H
8865 # include <netinet/in_systm.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_H
8868 # include <netinet/ip.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_VAR_H
8871 # include <netinet/ip_var.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_ICMP_H
8874 # include <netinet/ip_icmp.h>
8875 #endif
8876 #ifdef HAVE_NETINET_UDP_H
8877 # include <netinet/udp.h>
8878 #endif
8879 #ifdef HAVE_NETINET_TCP_H
8880 # include <netinet/tcp.h>
8881 #endif
8883 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8884 then :
8885 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8888 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8889 #include <sys/socket.h>
8890 #ifdef HAVE_SYS_SOCKETVAR_H
8891 # include <sys/socketvar.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IN_H
8894 # include <netinet/in.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IN_SYSTM_H
8897 # include <netinet/in_systm.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_H
8900 # include <netinet/ip.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_VAR_H
8903 # include <netinet/ip_var.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_ICMP_H
8906 # include <netinet/ip_icmp.h>
8907 #endif
8908 #ifdef HAVE_NETINET_UDP_H
8909 # include <netinet/udp.h>
8910 #endif
8911 #ifdef HAVE_NETINET_TCP_H
8912 # include <netinet/tcp.h>
8913 #endif
8915 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8916 then :
8917 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8920 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8921 #include <sys/socket.h>
8922 #ifdef HAVE_SYS_SOCKETVAR_H
8923 # include <sys/socketvar.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_H
8926 # include <netinet/in.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IN_SYSTM_H
8929 # include <netinet/in_systm.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_H
8932 # include <netinet/ip.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_VAR_H
8935 # include <netinet/ip_var.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IP_ICMP_H
8938 # include <netinet/ip_icmp.h>
8939 #endif
8940 #ifdef HAVE_NETINET_UDP_H
8941 # include <netinet/udp.h>
8942 #endif
8943 #ifdef HAVE_NETINET_TCP_H
8944 # include <netinet/tcp.h>
8945 #endif
8947 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8948 then :
8949 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_ASM_TYPES_H
8957 # include <asm/types.h>
8958 #endif
8959 #ifdef HAVE_LINUX_TYPES_H
8960 # include <linux/types.h>
8961 #endif
8963 if test "x$ac_cv_header_linux_ipx_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_ASM_TYPES_H
8971 # include <asm/types.h>
8972 #endif
8973 #ifdef HAVE_LINUX_TYPES_H
8974 # include <linux/types.h>
8975 #endif
8977 if test "x$ac_cv_header_linux_irda_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8982 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8983 #include <sys/socket.h>
8984 #ifdef HAVE_ASM_TYPES_H
8985 # include <asm/types.h>
8986 #endif
8987 #ifdef HAVE_LINUX_TYPES_H
8988 # include <linux/types.h>
8989 #endif
8991 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8992 then :
8993 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8998 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8999 #include <sys/socket.h>
9000 #ifdef HAVE_NETINET_IN_H
9001 # include <netinet/in.h>
9002 #endif
9003 #ifdef HAVE_ARPA_NAMESER_H
9004 # include <arpa/nameser.h>
9005 #endif
9007 if test "x$ac_cv_header_resolv_h" = xyes
9008 then :
9009 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9016 if test "x$ac_cv_header_ifaddrs_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9025 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9033 #ifdef HAVE_SYS_UCONTEXT_H
9034 #include <sys/ucontext.h>
9035 #endif
9037 if test "x$ac_cv_header_sys_thr_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9045 #include <pthread.h>
9046 #endif
9048 if test "x$ac_cv_header_pthread_np_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9056 #include <sys/types.h>
9057 #ifdef HAVE_ASM_TYPES_H
9058 #include <asm/types.h>
9059 #endif
9061 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9062 then :
9063 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9068 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9069 #include <sys/param.h>
9070 #endif
9071 #include <sys/socket.h>
9072 #ifdef HAVE_SYS_QUEUE_H
9073 #include <sys/queue.h>
9074 #endif
9076 if test "x$ac_cv_header_libprocstat_h" = xyes
9077 then :
9078 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9083 if test "x$ac_cv_header_sys_xattr_h" = xyes
9084 then
9085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9086 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9087 if test ${wine_cv_xattr_extra_args+y}
9088 then :
9089 printf %s "(cached) " >&6
9090 else $as_nop
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 #include <sys/xattr.h>
9095 main (void)
9097 getxattr("", "", "", 0, 0, 0);
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_compile "$LINENO"
9103 then :
9104 wine_cv_xattr_extra_args=yes
9105 else $as_nop
9106 wine_cv_xattr_extra_args=no
9108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9111 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9112 test $wine_cv_xattr_extra_args != yes ||
9113 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9118 DLLFLAGS=""
9120 LDDLLFLAGS=""
9122 LDEXECFLAGS=""
9124 EXTRACFLAGS=""
9126 UNIXDLLFLAGS="-fPIC"
9128 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9130 TOP_INSTALL_LIB=""
9132 TOP_INSTALL_DEV=""
9134 WINELOADER_LDFLAGS=""
9136 WINEPRELOADER_LDFLAGS=""
9138 DLLEXT=".so"
9140 LIBEXT="so"
9141 # Extract the first word of "ldd", so it can be a program name with args.
9142 set dummy ldd; ac_word=$2
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 printf %s "checking for $ac_word... " >&6; }
9145 if test ${ac_cv_path_LDD+y}
9146 then :
9147 printf %s "(cached) " >&6
9148 else $as_nop
9149 case $LDD in
9150 [\\/]* | ?:[\\/]*)
9151 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 as_dummy="/sbin:/usr/sbin:$PATH"
9156 for as_dir in $as_dummy
9158 IFS=$as_save_IFS
9159 case $as_dir in #(((
9160 '') as_dir=./ ;;
9161 */) ;;
9162 *) as_dir=$as_dir/ ;;
9163 esac
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9166 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9168 break 2
9170 done
9171 done
9172 IFS=$as_save_IFS
9174 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9176 esac
9178 LDD=$ac_cv_path_LDD
9179 if test -n "$LDD"; then
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9181 printf "%s\n" "$LDD" >&6; }
9182 else
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9184 printf "%s\n" "no" >&6; }
9188 if test -n "$ac_tool_prefix"; then
9189 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9190 set dummy ${ac_tool_prefix}otool; ac_word=$2
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 printf %s "checking for $ac_word... " >&6; }
9193 if test ${ac_cv_prog_OTOOL+y}
9194 then :
9195 printf %s "(cached) " >&6
9196 else $as_nop
9197 if test -n "$OTOOL"; then
9198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9199 else
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 for as_dir in $PATH
9203 IFS=$as_save_IFS
9204 case $as_dir in #(((
9205 '') as_dir=./ ;;
9206 */) ;;
9207 *) as_dir=$as_dir/ ;;
9208 esac
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9213 break 2
9215 done
9216 done
9217 IFS=$as_save_IFS
9221 OTOOL=$ac_cv_prog_OTOOL
9222 if test -n "$OTOOL"; then
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9224 printf "%s\n" "$OTOOL" >&6; }
9225 else
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 printf "%s\n" "no" >&6; }
9232 if test -z "$ac_cv_prog_OTOOL"; then
9233 ac_ct_OTOOL=$OTOOL
9234 # Extract the first word of "otool", so it can be a program name with args.
9235 set dummy otool; ac_word=$2
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9237 printf %s "checking for $ac_word... " >&6; }
9238 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9239 then :
9240 printf %s "(cached) " >&6
9241 else $as_nop
9242 if test -n "$ac_ct_OTOOL"; then
9243 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9244 else
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 for as_dir in $PATH
9248 IFS=$as_save_IFS
9249 case $as_dir in #(((
9250 '') as_dir=./ ;;
9251 */) ;;
9252 *) as_dir=$as_dir/ ;;
9253 esac
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9256 ac_cv_prog_ac_ct_OTOOL="otool"
9257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9258 break 2
9260 done
9261 done
9262 IFS=$as_save_IFS
9266 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9267 if test -n "$ac_ct_OTOOL"; then
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9269 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9270 else
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 printf "%s\n" "no" >&6; }
9275 if test "x$ac_ct_OTOOL" = x; then
9276 OTOOL="otool"
9277 else
9278 case $cross_compiling:$ac_tool_warned in
9279 yes:)
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9282 ac_tool_warned=yes ;;
9283 esac
9284 OTOOL=$ac_ct_OTOOL
9286 else
9287 OTOOL="$ac_cv_prog_OTOOL"
9290 if test -n "$ac_tool_prefix"; then
9291 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9292 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 printf %s "checking for $ac_word... " >&6; }
9295 if test ${ac_cv_prog_READELF+y}
9296 then :
9297 printf %s "(cached) " >&6
9298 else $as_nop
9299 if test -n "$READELF"; then
9300 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9301 else
9302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 for as_dir in $PATH
9305 IFS=$as_save_IFS
9306 case $as_dir in #(((
9307 '') as_dir=./ ;;
9308 */) ;;
9309 *) as_dir=$as_dir/ ;;
9310 esac
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9313 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9315 break 2
9317 done
9318 done
9319 IFS=$as_save_IFS
9323 READELF=$ac_cv_prog_READELF
9324 if test -n "$READELF"; then
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9326 printf "%s\n" "$READELF" >&6; }
9327 else
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329 printf "%s\n" "no" >&6; }
9334 if test -z "$ac_cv_prog_READELF"; then
9335 ac_ct_READELF=$READELF
9336 # Extract the first word of "readelf", so it can be a program name with args.
9337 set dummy readelf; ac_word=$2
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9339 printf %s "checking for $ac_word... " >&6; }
9340 if test ${ac_cv_prog_ac_ct_READELF+y}
9341 then :
9342 printf %s "(cached) " >&6
9343 else $as_nop
9344 if test -n "$ac_ct_READELF"; then
9345 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9346 else
9347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9348 for as_dir in $PATH
9350 IFS=$as_save_IFS
9351 case $as_dir in #(((
9352 '') as_dir=./ ;;
9353 */) ;;
9354 *) as_dir=$as_dir/ ;;
9355 esac
9356 for ac_exec_ext in '' $ac_executable_extensions; do
9357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9358 ac_cv_prog_ac_ct_READELF="readelf"
9359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9360 break 2
9362 done
9363 done
9364 IFS=$as_save_IFS
9368 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9369 if test -n "$ac_ct_READELF"; then
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9371 printf "%s\n" "$ac_ct_READELF" >&6; }
9372 else
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9374 printf "%s\n" "no" >&6; }
9377 if test "x$ac_ct_READELF" = x; then
9378 READELF="true"
9379 else
9380 case $cross_compiling:$ac_tool_warned in
9381 yes:)
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9383 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9384 ac_tool_warned=yes ;;
9385 esac
9386 READELF=$ac_ct_READELF
9388 else
9389 READELF="$ac_cv_prog_READELF"
9392 wine_rules="all:"
9393 SUBDIRS=""
9395 DISABLED_SUBDIRS=""
9397 CONFIGURE_TARGETS=""
9400 wine_fn_config_makefile ()
9402 as_fn_append SUBDIRS " \\$as_nl $1"
9403 eval enable=\$$2
9404 case "$enable" in
9405 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9406 *aarch64*|*arm*|*i386*|*x86_64*)
9407 if test -n "$PE_ARCHS"
9408 then
9409 for i in $PE_ARCHS
9411 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9412 done
9413 else
9414 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9415 fi;;
9416 esac
9419 wine_fn_config_symlink ()
9421 ac_links=$@
9422 as_fn_append wine_rules "
9423 $ac_links:
9424 @./config.status \$@"
9425 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9428 case $host_os in
9429 cygwin*|mingw32*)
9430 LIBEXT="dll"
9431 DLLEXT=""
9432 EXTRACFLAGS="-D__WINE_PE_BUILD"
9433 case $host_cpu in
9434 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9435 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9436 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9437 then :
9438 printf %s "(cached) " >&6
9439 else $as_nop
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"
9447 then :
9448 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9449 else $as_nop
9450 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9457 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9458 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9459 then :
9460 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9461 fi ;;
9462 esac
9463 enable_loader=${enable_loader:-no}
9464 enable_server=${enable_server:-no}
9465 with_x=${with_x:-no}
9466 with_pthread=${with_pthread:-no}
9469 darwin*|macosx*)
9470 LIBEXT="dylib"
9471 DLLFLAGS="$DLLFLAGS -fPIC"
9472 LDDLLFLAGS="-fPIC"
9473 enable_winemac_drv=${enable_winemac_drv:-yes}
9474 CARBON_LIBS="-framework Carbon"
9476 COREFOUNDATION_LIBS="-framework CoreFoundation"
9478 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9480 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9482 METAL_LIBS="-framework Metal"
9484 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9486 CORESERVICES_LIBS="-framework CoreServices"
9488 APPKIT_LIBS="-framework AppKit"
9490 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9492 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9495 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9497 case $host_cpu in
9498 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9499 *) wine_can_build_preloader=no ;;
9500 esac
9502 if test "$wine_can_build_preloader" = "yes"
9503 then
9504 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9506 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9507 if test ${ac_cv_cflags__Wl__no_pie+y}
9508 then :
9509 printf %s "(cached) " >&6
9510 else $as_nop
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,-no_pie"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"
9518 then :
9519 ac_cv_cflags__Wl__no_pie=yes
9520 else $as_nop
9521 ac_cv_cflags__Wl__no_pie=no
9523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9528 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9529 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9530 then :
9531 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9533 case $host_cpu in
9534 *i[3456]86*)
9535 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9537 *x86_64*)
9538 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9540 esac
9541 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9542 else
9543 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9546 if test "x$with_coreaudio" != "xno";
9547 then
9548 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9550 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9552 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9553 then
9554 OPENCL_LIBS="-framework OpenCL"
9556 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9560 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9561 ac_ext=m
9562 ac_cpp='$OBJCPP $CPPFLAGS'
9563 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9567 ac_ext=m
9568 ac_cpp='$OBJCPP $CPPFLAGS'
9569 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9570 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9571 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9572 if test -n "$ac_tool_prefix"; then
9573 for ac_prog in gcc objcc objc cc CC clang
9575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 printf %s "checking for $ac_word... " >&6; }
9579 if test ${ac_cv_prog_OBJC+y}
9580 then :
9581 printf %s "(cached) " >&6
9582 else $as_nop
9583 if test -n "$OBJC"; then
9584 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9585 else
9586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 for as_dir in $PATH
9589 IFS=$as_save_IFS
9590 case $as_dir in #(((
9591 '') as_dir=./ ;;
9592 */) ;;
9593 *) as_dir=$as_dir/ ;;
9594 esac
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9599 break 2
9601 done
9602 done
9603 IFS=$as_save_IFS
9607 OBJC=$ac_cv_prog_OBJC
9608 if test -n "$OBJC"; then
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9610 printf "%s\n" "$OBJC" >&6; }
9611 else
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 printf "%s\n" "no" >&6; }
9617 test -n "$OBJC" && break
9618 done
9620 if test -z "$OBJC"; then
9621 ac_ct_OBJC=$OBJC
9622 for ac_prog in gcc objcc objc cc CC clang
9624 # Extract the first word of "$ac_prog", so it can be a program name with args.
9625 set dummy $ac_prog; ac_word=$2
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 printf %s "checking for $ac_word... " >&6; }
9628 if test ${ac_cv_prog_ac_ct_OBJC+y}
9629 then :
9630 printf %s "(cached) " >&6
9631 else $as_nop
9632 if test -n "$ac_ct_OBJC"; then
9633 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9634 else
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 for as_dir in $PATH
9638 IFS=$as_save_IFS
9639 case $as_dir in #(((
9640 '') as_dir=./ ;;
9641 */) ;;
9642 *) as_dir=$as_dir/ ;;
9643 esac
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9646 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9648 break 2
9650 done
9651 done
9652 IFS=$as_save_IFS
9656 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9657 if test -n "$ac_ct_OBJC"; then
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9659 printf "%s\n" "$ac_ct_OBJC" >&6; }
9660 else
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 printf "%s\n" "no" >&6; }
9666 test -n "$ac_ct_OBJC" && break
9667 done
9669 if test "x$ac_ct_OBJC" = x; then
9670 OBJC="gcc"
9671 else
9672 case $cross_compiling:$ac_tool_warned in
9673 yes:)
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9675 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9676 ac_tool_warned=yes ;;
9677 esac
9678 OBJC=$ac_ct_OBJC
9682 # Provide some information about the compiler.
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9684 set X $ac_compile
9685 ac_compiler=$2
9686 for ac_option in --version -v -V -qversion; do
9687 { { ac_try="$ac_compiler $ac_option >&5"
9688 case "(($ac_try" in
9689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9690 *) ac_try_echo=$ac_try;;
9691 esac
9692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9693 printf "%s\n" "$ac_try_echo"; } >&5
9694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9695 ac_status=$?
9696 if test -s conftest.err; then
9697 sed '10a\
9698 ... rest of stderr output deleted ...
9699 10q' conftest.err >conftest.er1
9700 cat conftest.er1 >&5
9702 rm -f conftest.er1 conftest.err
9703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9704 test $ac_status = 0; }
9705 done
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9708 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9709 if test ${ac_cv_objc_compiler_gnu+y}
9710 then :
9711 printf %s "(cached) " >&6
9712 else $as_nop
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9717 main (void)
9719 #ifndef __GNUC__
9720 choke me
9721 #endif
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9729 ac_compiler_gnu=yes
9730 else $as_nop
9731 ac_compiler_gnu=no
9733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9734 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9738 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9739 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9741 if test $ac_compiler_gnu = yes; then
9742 GOBJC=yes
9743 else
9744 GOBJC=
9746 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9747 ac_save_OBJCFLAGS=$OBJCFLAGS
9748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9749 printf %s "checking whether $OBJC accepts -g... " >&6; }
9750 if test ${ac_cv_prog_objc_g+y}
9751 then :
9752 printf %s "(cached) " >&6
9753 else $as_nop
9754 ac_save_objc_werror_flag=$ac_objc_werror_flag
9755 ac_objc_werror_flag=yes
9756 ac_cv_prog_objc_g=no
9757 OBJCFLAGS="-g"
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9762 main (void)
9766 return 0;
9768 _ACEOF
9769 if ac_fn_objc_try_compile "$LINENO"
9770 then :
9771 ac_cv_prog_objc_g=yes
9772 else $as_nop
9773 OBJCFLAGS=""
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9778 main (void)
9782 return 0;
9784 _ACEOF
9785 if ac_fn_objc_try_compile "$LINENO"
9786 then :
9788 else $as_nop
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9790 OBJCFLAGS="-g"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main (void)
9799 return 0;
9801 _ACEOF
9802 if ac_fn_objc_try_compile "$LINENO"
9803 then :
9804 ac_cv_prog_objc_g=yes
9806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 ac_objc_werror_flag=$ac_save_objc_werror_flag
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9814 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9815 if test $ac_test_OBJCFLAGS; then
9816 OBJCFLAGS=$ac_save_OBJCFLAGS
9817 elif test $ac_cv_prog_objc_g = yes; then
9818 if test "$GOBJC" = yes; then
9819 OBJCFLAGS="-g -O2"
9820 else
9821 OBJCFLAGS="-g"
9823 else
9824 if test "$GOBJC" = yes; then
9825 OBJCFLAGS="-O2"
9826 else
9827 OBJCFLAGS=
9830 ac_ext=m
9831 ac_cpp='$OBJCPP $CPPFLAGS'
9832 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 #include <Metal/Metal.h>
9841 main (void)
9843 id<MTLDevice> device; device.registryID;
9845 return 0;
9847 _ACEOF
9848 if ac_fn_objc_try_compile "$LINENO"
9849 then :
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9851 printf "%s\n" "yes" >&6; }
9853 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9855 else $as_nop
9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 printf "%s\n" "no" >&6; }
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 ac_ext=c
9861 ac_cpp='$CPP $CPPFLAGS'
9862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9867 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9868 WINELOADER_DEPENDS="wine_info.plist"
9872 linux-android*)
9874 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9876 DLLFLAGS="$DLLFLAGS -fPIC"
9877 LDDLLFLAGS="-fPIC"
9878 LDEXECFLAGS="-Wl,-pie"
9879 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9881 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9882 if test ${ac_cv_cflags__Wl__z_defs+y}
9883 then :
9884 printf %s "(cached) " >&6
9885 else $as_nop
9886 ac_wine_try_cflags_saved=$CFLAGS
9887 CFLAGS="$CFLAGS -Wl,-z,defs"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int main(int argc, char **argv) { return 0; }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"
9893 then :
9894 ac_cv_cflags__Wl__z_defs=yes
9895 else $as_nop
9896 ac_cv_cflags__Wl__z_defs=no
9898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9899 conftest$ac_exeext conftest.$ac_ext
9900 CFLAGS=$ac_wine_try_cflags_saved
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9903 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9904 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9905 then :
9906 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9909 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9910 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9911 then :
9912 printf %s "(cached) " >&6
9913 else $as_nop
9914 ac_wine_try_cflags_saved=$CFLAGS
9915 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 int main(int argc, char **argv) { return 0; }
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"
9921 then :
9922 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9923 else $as_nop
9924 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9927 conftest$ac_exeext conftest.$ac_ext
9928 CFLAGS=$ac_wine_try_cflags_saved
9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9931 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9932 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9933 then :
9934 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9936 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9939 printf %s "checking for -lEGL... " >&6; }
9940 if test ${ac_cv_lib_soname_EGL+y}
9941 then :
9942 printf %s "(cached) " >&6
9943 else $as_nop
9944 ac_check_soname_save_LIBS=$LIBS
9945 LIBS="-lEGL $LIBS"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 char eglGetProcAddress ();
9954 main (void)
9956 return eglGetProcAddress ();
9958 return 0;
9960 _ACEOF
9961 if ac_fn_c_try_link "$LINENO"
9962 then :
9963 case "$LIBEXT" in
9964 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9965 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'` ;;
9966 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9967 if ${ac_cv_lib_soname_EGL:+false} :
9968 then :
9969 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 fi ;;
9971 esac
9972 else $as_nop
9973 ac_cv_lib_soname_EGL=
9975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LIBS=$ac_check_soname_save_LIBS
9979 if ${ac_cv_lib_soname_EGL:+false} :
9980 then :
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 printf "%s\n" "not found" >&6; }
9984 else $as_nop
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9986 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9988 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9993 printf %s "checking for -lGLESv2... " >&6; }
9994 if test ${ac_cv_lib_soname_GLESv2+y}
9995 then :
9996 printf %s "(cached) " >&6
9997 else $as_nop
9998 ac_check_soname_save_LIBS=$LIBS
9999 LIBS="-lGLESv2 $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 char glFlush ();
10008 main (void)
10010 return glFlush ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"
10016 then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_GLESv2:+false} :
10022 then :
10023 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10026 else $as_nop
10027 ac_cv_lib_soname_GLESv2=
10029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_GLESv2:+false} :
10034 then :
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 printf "%s\n" "not found" >&6; }
10038 else $as_nop
10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10040 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10042 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10047 if test "x$exec_prefix" = xNONE
10048 then
10049 case $host_cpu in
10050 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10051 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10052 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10053 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10054 esac
10060 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10062 test "$ac_cv_sys_file_offset_bits" = 64 &&
10063 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10065 case $host_cpu in
10066 *i[3456789]86*)
10067 DLLFLAGS="$DLLFLAGS -fno-PIC"
10068 LDDLLFLAGS="-fno-PIC"
10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10070 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10071 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10072 then :
10073 printf %s "(cached) " >&6
10074 else $as_nop
10075 ac_wine_try_cflags_saved=$CFLAGS
10076 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int main(int argc, char **argv) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"
10082 then :
10083 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10084 else $as_nop
10085 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10088 conftest$ac_exeext conftest.$ac_ext
10089 CFLAGS=$ac_wine_try_cflags_saved
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10092 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10093 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10094 then :
10095 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10099 DLLFLAGS="$DLLFLAGS -fPIC"
10100 LDDLLFLAGS="-fPIC" ;;
10101 esac
10103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10104 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10105 if test ${ac_cv_cflags__Wl__z_defs+y}
10106 then :
10107 printf %s "(cached) " >&6
10108 else $as_nop
10109 ac_wine_try_cflags_saved=$CFLAGS
10110 CFLAGS="$CFLAGS -Wl,-z,defs"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int main(int argc, char **argv) { return 0; }
10114 _ACEOF
10115 if ac_fn_c_try_link "$LINENO"
10116 then :
10117 ac_cv_cflags__Wl__z_defs=yes
10118 else $as_nop
10119 ac_cv_cflags__Wl__z_defs=no
10121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10122 conftest$ac_exeext conftest.$ac_ext
10123 CFLAGS=$ac_wine_try_cflags_saved
10125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10126 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10127 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10128 then :
10129 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10132 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10133 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10134 then :
10135 printf %s "(cached) " >&6
10136 else $as_nop
10137 ac_wine_try_cflags_saved=$CFLAGS
10138 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"
10144 then :
10145 ac_cv_cflags__Wl___export_dynamic=yes
10146 else $as_nop
10147 ac_cv_cflags__Wl___export_dynamic=no
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 CFLAGS=$ac_wine_try_cflags_saved
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10154 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10155 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10156 then :
10157 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10159 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10161 case $host_os in
10162 linux*)
10163 as_fn_append WINELOADER_LDFLAGS " -pie"
10164 case $HOST_ARCH in
10165 i386|arm)
10166 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10169 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10170 if test ${ac_cv_cflags__static_pie+y}
10171 then :
10172 printf %s "(cached) " >&6
10173 else $as_nop
10174 ac_wine_try_cflags_saved=$CFLAGS
10175 CFLAGS="$CFLAGS -static-pie"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"
10181 then :
10182 ac_cv_cflags__static_pie=yes
10183 else $as_nop
10184 ac_cv_cflags__static_pie=no
10186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10187 conftest$ac_exeext conftest.$ac_ext
10188 CFLAGS=$ac_wine_try_cflags_saved
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10191 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10192 if test "x$ac_cv_cflags__static_pie" = xyes
10193 then :
10194 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10195 else $as_nop
10196 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10199 esac
10202 case $HOST_ARCH in
10203 i386|arm)
10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10205 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10206 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10207 then :
10208 printf %s "(cached) " >&6
10209 else $as_nop
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"
10217 then :
10218 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10219 else $as_nop
10220 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10227 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10228 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10229 then :
10230 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10231 else $as_nop
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10233 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10234 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10235 then :
10236 printf %s "(cached) " >&6
10237 else $as_nop
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"
10245 then :
10246 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10247 else $as_nop
10248 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10255 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10256 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10257 then :
10258 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10263 as_fn_append WINELOADER_LDFLAGS " -pie"
10265 esac
10267 esac
10269 esac
10271 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10272 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10273 enable_winemac_drv=${enable_winemac_drv:-no}
10275 PE_ARCHS=""
10277 cross_archs=
10278 if test ${enable_archs+y}
10279 then :
10280 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10281 ac_save_IFS=$IFS
10282 IFS=' ,'
10283 set x $enable_archs
10284 IFS=$ac_save_IFS
10285 shift
10286 for arch
10288 case $arch in
10289 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10290 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10291 esac
10292 done
10293 else $as_nop
10294 if test "x$with_mingw" != xno
10295 then
10296 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10300 for wine_arch in $cross_archs
10302 case "x$with_mingw" in
10303 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10304 esac
10305 if eval \${${wine_arch}_CC:+false} :
10306 then :
10307 case $wine_arch in
10308 aarch64)
10309 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10311 # Extract the first word of "$ac_prog", so it can be a program name with args.
10312 set dummy $ac_prog; ac_word=$2
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10314 printf %s "checking for $ac_word... " >&6; }
10315 if test ${ac_cv_prog_aarch64_CC+y}
10316 then :
10317 printf %s "(cached) " >&6
10318 else $as_nop
10319 if test -n "$aarch64_CC"; then
10320 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10321 else
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10325 IFS=$as_save_IFS
10326 case $as_dir in #(((
10327 '') as_dir=./ ;;
10328 */) ;;
10329 *) as_dir=$as_dir/ ;;
10330 esac
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10333 ac_cv_prog_aarch64_CC="$ac_prog"
10334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10335 break 2
10337 done
10338 done
10339 IFS=$as_save_IFS
10343 aarch64_CC=$ac_cv_prog_aarch64_CC
10344 if test -n "$aarch64_CC"; then
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10346 printf "%s\n" "$aarch64_CC" >&6; }
10347 else
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10349 printf "%s\n" "no" >&6; }
10353 test -n "$aarch64_CC" && break
10354 done
10355 test -n "$aarch64_CC" || aarch64_CC="false"
10358 arm)
10359 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10361 # Extract the first word of "$ac_prog", so it can be a program name with args.
10362 set dummy $ac_prog; ac_word=$2
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10364 printf %s "checking for $ac_word... " >&6; }
10365 if test ${ac_cv_prog_arm_CC+y}
10366 then :
10367 printf %s "(cached) " >&6
10368 else $as_nop
10369 if test -n "$arm_CC"; then
10370 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10371 else
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10375 IFS=$as_save_IFS
10376 case $as_dir in #(((
10377 '') as_dir=./ ;;
10378 */) ;;
10379 *) as_dir=$as_dir/ ;;
10380 esac
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_arm_CC="$ac_prog"
10384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10385 break 2
10387 done
10388 done
10389 IFS=$as_save_IFS
10393 arm_CC=$ac_cv_prog_arm_CC
10394 if test -n "$arm_CC"; then
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10396 printf "%s\n" "$arm_CC" >&6; }
10397 else
10398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 printf "%s\n" "no" >&6; }
10403 test -n "$arm_CC" && break
10404 done
10405 test -n "$arm_CC" || arm_CC="false"
10408 i386)
10409 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 "
10410 for ac_prog in $ac_prefix_list clang
10412 # Extract the first word of "$ac_prog", so it can be a program name with args.
10413 set dummy $ac_prog; ac_word=$2
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10415 printf %s "checking for $ac_word... " >&6; }
10416 if test ${ac_cv_prog_i386_CC+y}
10417 then :
10418 printf %s "(cached) " >&6
10419 else $as_nop
10420 if test -n "$i386_CC"; then
10421 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10422 else
10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 for as_dir in $PATH
10426 IFS=$as_save_IFS
10427 case $as_dir in #(((
10428 '') as_dir=./ ;;
10429 */) ;;
10430 *) as_dir=$as_dir/ ;;
10431 esac
10432 for ac_exec_ext in '' $ac_executable_extensions; do
10433 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10434 ac_cv_prog_i386_CC="$ac_prog"
10435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10436 break 2
10438 done
10439 done
10440 IFS=$as_save_IFS
10444 i386_CC=$ac_cv_prog_i386_CC
10445 if test -n "$i386_CC"; then
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10447 printf "%s\n" "$i386_CC" >&6; }
10448 else
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10450 printf "%s\n" "no" >&6; }
10454 test -n "$i386_CC" && break
10455 done
10456 test -n "$i386_CC" || i386_CC="false"
10459 x86_64)
10460 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10461 for ac_prog in $ac_prefix_list clang
10463 # Extract the first word of "$ac_prog", so it can be a program name with args.
10464 set dummy $ac_prog; ac_word=$2
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10466 printf %s "checking for $ac_word... " >&6; }
10467 if test ${ac_cv_prog_x86_64_CC+y}
10468 then :
10469 printf %s "(cached) " >&6
10470 else $as_nop
10471 if test -n "$x86_64_CC"; then
10472 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10473 else
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10477 IFS=$as_save_IFS
10478 case $as_dir in #(((
10479 '') as_dir=./ ;;
10480 */) ;;
10481 *) as_dir=$as_dir/ ;;
10482 esac
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10485 ac_cv_prog_x86_64_CC="$ac_prog"
10486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10487 break 2
10489 done
10490 done
10491 IFS=$as_save_IFS
10495 x86_64_CC=$ac_cv_prog_x86_64_CC
10496 if test -n "$x86_64_CC"; then
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10498 printf "%s\n" "$x86_64_CC" >&6; }
10499 else
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10501 printf "%s\n" "no" >&6; }
10505 test -n "$x86_64_CC" && break
10506 done
10507 test -n "$x86_64_CC" || x86_64_CC="false"
10510 esac
10513 saved_CC=$CC
10514 saved_CFLAGS=$CFLAGS
10515 saved_LDFLAGS=$LDFLAGS
10517 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10518 LDFLAGS=$CROSSLDFLAGS
10519 eval CC=\$${wine_arch}_CC
10520 eval ${wine_arch}_CFLAGS=\$CFLAGS
10521 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10522 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10524 target=""
10525 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10527 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10528 then :
10530 else $as_nop
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10532 printf %s "checking whether $CC works... " >&6; }
10533 if eval test \${$as_wine_cv_crosscc+y}
10534 then :
10535 printf %s "(cached) " >&6
10536 else $as_nop
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10541 main (void)
10545 return 0;
10547 _ACEOF
10548 if ac_fn_c_try_compile "$LINENO"
10549 then :
10550 eval "$as_wine_cv_crosscc=yes"
10551 else $as_nop
10552 eval "$as_wine_cv_crosscc=no"
10554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10556 eval ac_res=\$$as_wine_cv_crosscc
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10558 printf "%s\n" "$ac_res" >&6; }
10560 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10561 then :
10562 set x $CC
10563 shift
10564 while test $# -ge 1
10566 case "$1" in
10567 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10568 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10569 esac
10570 shift
10571 done
10573 llvm_target=$target
10574 if test -z "$llvm_target"
10575 then
10576 case $wine_arch in
10577 i386) llvm_target=i686-windows ;;
10578 arm) llvm_target=armv7-windows ;;
10579 *) llvm_target=$wine_arch-windows ;;
10580 esac
10582 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10583 case $llvm_target in
10584 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10585 esac
10586 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10588 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10589 if eval test \${$as_ac_var+y}
10590 then :
10591 printf %s "(cached) " >&6
10592 else $as_nop
10593 ac_wine_try_cflags_saved=$CFLAGS
10594 ac_wine_try_cflags_saved_exeext=$ac_exeext
10595 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10596 ac_exeext=".exe"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 int __cdecl mainCRTStartup(void) { return 0; }
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"
10602 then :
10603 eval "$as_ac_var=yes"
10604 else $as_nop
10605 eval "$as_ac_var=no"
10607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10610 ac_exeext=$ac_wine_try_cflags_saved_exeext
10612 eval ac_res=\$$as_ac_var
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10614 printf "%s\n" "$ac_res" >&6; }
10615 if eval test \"x\$"$as_ac_var"\" = x"yes"
10616 then :
10617 target=$llvm_target
10618 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10619 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10620 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10621 fi }
10622 eval "${wine_arch}_TARGET=\$target"
10626 if test -z "$target"
10627 then
10628 if test ${enable_archs+y}
10629 then :
10630 as_fn_error $? "MinGW $wine_arch compiler not found.
10631 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10633 CC=$saved_CC
10634 CFLAGS=$saved_CFLAGS
10635 LDFLAGS=$saved_LDFLAGS
10636 continue
10639 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10642 printf %s "checking for $CC option to enable C99 features... " >&6; }
10643 if eval test \${$as_wine_cv_crosscc_c99+y}
10644 then :
10645 printf %s "(cached) " >&6
10646 else $as_nop
10647 eval "$as_wine_cv_crosscc_c99=no"
10648 for arg in '' '-std=gnu99' '-D__STDC__'
10650 test -z "$arg" || CC="$CC $arg"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 $ac_c_conftest_c99_program
10654 _ACEOF
10655 if ac_fn_c_try_compile "$LINENO"
10656 then :
10657 eval "$as_wine_cv_crosscc_c99=\$arg"
10658 else $as_nop
10659 eval "$as_wine_cv_crosscc_c99=no"
10661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10662 eval CC=\$${wine_arch}_CC
10663 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10664 then :
10666 else $as_nop
10667 break
10669 done
10672 eval res=\$$as_wine_cv_crosscc_c99
10674 case "x$res" in
10675 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10676 printf "%s\n" "none needed" >&6; } ;;
10677 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10678 printf "%s\n" "unsupported" >&6; }
10679 CC=$saved_CC
10680 CFLAGS=$saved_CFLAGS
10681 LDFLAGS=$saved_LDFLAGS
10682 if test ${enable_archs+y}
10683 then :
10684 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10685 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10687 continue
10689 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10690 printf "%s\n" "$res" >&6; }
10691 as_fn_append ${wine_arch}_CC " $res" ;;
10692 esac
10694 as_fn_append PE_ARCHS " $wine_arch"
10695 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10697 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10698 if eval test \${$as_ac_var+y}
10699 then :
10700 printf %s "(cached) " >&6
10701 else $as_nop
10702 ac_wine_try_cflags_saved=$CFLAGS
10703 ac_wine_try_cflags_saved_exeext=$ac_exeext
10704 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10705 ac_exeext=".exe"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 int __cdecl mainCRTStartup(void) { return 0; }
10709 _ACEOF
10710 if ac_fn_c_try_link "$LINENO"
10711 then :
10712 eval "$as_ac_var=yes"
10713 else $as_nop
10714 eval "$as_ac_var=no"
10716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10717 conftest$ac_exeext conftest.$ac_ext
10718 CFLAGS=$ac_wine_try_cflags_saved
10719 ac_exeext=$ac_wine_try_cflags_saved_exeext
10721 eval ac_res=\$$as_ac_var
10722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10723 printf "%s\n" "$ac_res" >&6; }
10724 if eval test \"x\$"$as_ac_var"\" = x"yes"
10725 then :
10726 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10727 fi }
10728 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10730 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10731 if eval test \${$as_ac_var+y}
10732 then :
10733 printf %s "(cached) " >&6
10734 else $as_nop
10735 ac_wine_try_cflags_saved=$CFLAGS
10736 ac_wine_try_cflags_saved_exeext=$ac_exeext
10737 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10738 ac_exeext=".exe"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 int __cdecl mainCRTStartup(void) { return 0; }
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"
10744 then :
10745 eval "$as_ac_var=yes"
10746 else $as_nop
10747 eval "$as_ac_var=no"
10749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10750 conftest$ac_exeext conftest.$ac_ext
10751 CFLAGS=$ac_wine_try_cflags_saved
10752 ac_exeext=$ac_wine_try_cflags_saved_exeext
10754 eval ac_res=\$$as_ac_var
10755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10756 printf "%s\n" "$ac_res" >&6; }
10757 if eval test \"x\$"$as_ac_var"\" = x"yes"
10758 then :
10759 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10760 fi }
10761 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10763 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10764 if eval test \${$as_ac_var+y}
10765 then :
10766 printf %s "(cached) " >&6
10767 else $as_nop
10768 ac_wine_try_cflags_saved=$CFLAGS
10769 ac_wine_try_cflags_saved_exeext=$ac_exeext
10770 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10771 ac_exeext=".exe"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 int __cdecl mainCRTStartup(void) { return 0; }
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"
10777 then :
10778 eval "$as_ac_var=yes"
10779 else $as_nop
10780 eval "$as_ac_var=no"
10782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10783 conftest$ac_exeext conftest.$ac_ext
10784 CFLAGS=$ac_wine_try_cflags_saved
10785 ac_exeext=$ac_wine_try_cflags_saved_exeext
10787 eval ac_res=\$$as_ac_var
10788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10789 printf "%s\n" "$ac_res" >&6; }
10790 if eval test \"x\$"$as_ac_var"\" = x"yes"
10791 then :
10792 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10793 fi }
10794 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10796 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10797 if eval test \${$as_ac_var+y}
10798 then :
10799 printf %s "(cached) " >&6
10800 else $as_nop
10801 ac_wine_try_cflags_saved=$CFLAGS
10802 ac_wine_try_cflags_saved_exeext=$ac_exeext
10803 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10804 ac_exeext=".exe"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 int __cdecl mainCRTStartup(void) { return 0; }
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"
10810 then :
10811 eval "$as_ac_var=yes"
10812 else $as_nop
10813 eval "$as_ac_var=no"
10815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10816 conftest$ac_exeext conftest.$ac_ext
10817 CFLAGS=$ac_wine_try_cflags_saved
10818 ac_exeext=$ac_wine_try_cflags_saved_exeext
10820 eval ac_res=\$$as_ac_var
10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10822 printf "%s\n" "$ac_res" >&6; }
10823 if eval test \"x\$"$as_ac_var"\" = x"yes"
10824 then :
10825 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10826 fi }
10827 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10829 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10830 if eval test \${$as_ac_var+y}
10831 then :
10832 printf %s "(cached) " >&6
10833 else $as_nop
10834 ac_wine_try_cflags_saved=$CFLAGS
10835 ac_wine_try_cflags_saved_exeext=$ac_exeext
10836 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10837 ac_exeext=".exe"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 int __cdecl mainCRTStartup(void) { return 0; }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"
10843 then :
10844 eval "$as_ac_var=yes"
10845 else $as_nop
10846 eval "$as_ac_var=no"
10848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10849 conftest$ac_exeext conftest.$ac_ext
10850 CFLAGS=$ac_wine_try_cflags_saved
10851 ac_exeext=$ac_wine_try_cflags_saved_exeext
10853 eval ac_res=\$$as_ac_var
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 if eval test \"x\$"$as_ac_var"\" = x"yes"
10857 then :
10858 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10859 fi }
10860 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10862 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10863 if eval test \${$as_ac_var+y}
10864 then :
10865 printf %s "(cached) " >&6
10866 else $as_nop
10867 ac_wine_try_cflags_saved=$CFLAGS
10868 ac_wine_try_cflags_saved_exeext=$ac_exeext
10869 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10870 ac_exeext=".exe"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873 int __cdecl mainCRTStartup(void) { return 0; }
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"
10876 then :
10877 eval "$as_ac_var=yes"
10878 else $as_nop
10879 eval "$as_ac_var=no"
10881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10882 conftest$ac_exeext conftest.$ac_ext
10883 CFLAGS=$ac_wine_try_cflags_saved
10884 ac_exeext=$ac_wine_try_cflags_saved_exeext
10886 eval ac_res=\$$as_ac_var
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10888 printf "%s\n" "$ac_res" >&6; }
10889 if eval test \"x\$"$as_ac_var"\" = x"yes"
10890 then :
10891 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10892 fi }
10893 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10895 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10896 if eval test \${$as_ac_var+y}
10897 then :
10898 printf %s "(cached) " >&6
10899 else $as_nop
10900 ac_wine_try_cflags_saved=$CFLAGS
10901 ac_wine_try_cflags_saved_exeext=$ac_exeext
10902 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10903 ac_exeext=".exe"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10906 int __cdecl mainCRTStartup(void) { return 0; }
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"
10909 then :
10910 eval "$as_ac_var=yes"
10911 else $as_nop
10912 eval "$as_ac_var=no"
10914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10915 conftest$ac_exeext conftest.$ac_ext
10916 CFLAGS=$ac_wine_try_cflags_saved
10917 ac_exeext=$ac_wine_try_cflags_saved_exeext
10919 eval ac_res=\$$as_ac_var
10920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10921 printf "%s\n" "$ac_res" >&6; }
10922 if eval test \"x\$"$as_ac_var"\" = x"yes"
10923 then :
10924 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10925 fi }
10926 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10928 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10929 if eval test \${$as_ac_var+y}
10930 then :
10931 printf %s "(cached) " >&6
10932 else $as_nop
10933 ac_wine_try_cflags_saved=$CFLAGS
10934 ac_wine_try_cflags_saved_exeext=$ac_exeext
10935 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10936 ac_exeext=".exe"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 int __cdecl mainCRTStartup(void) { return 0; }
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"
10942 then :
10943 eval "$as_ac_var=yes"
10944 else $as_nop
10945 eval "$as_ac_var=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10948 conftest$ac_exeext conftest.$ac_ext
10949 CFLAGS=$ac_wine_try_cflags_saved
10950 ac_exeext=$ac_wine_try_cflags_saved_exeext
10952 eval ac_res=\$$as_ac_var
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10954 printf "%s\n" "$ac_res" >&6; }
10955 if eval test \"x\$"$as_ac_var"\" = x"yes"
10956 then :
10957 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10958 fi }
10959 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10961 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10962 if eval test \${$as_ac_var+y}
10963 then :
10964 printf %s "(cached) " >&6
10965 else $as_nop
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 ac_wine_try_cflags_saved_exeext=$ac_exeext
10968 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10969 ac_exeext=".exe"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 int __cdecl mainCRTStartup(void) { return 0; }
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"
10975 then :
10976 eval "$as_ac_var=yes"
10977 else $as_nop
10978 eval "$as_ac_var=no"
10980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10981 conftest$ac_exeext conftest.$ac_ext
10982 CFLAGS=$ac_wine_try_cflags_saved
10983 ac_exeext=$ac_wine_try_cflags_saved_exeext
10985 eval ac_res=\$$as_ac_var
10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10987 printf "%s\n" "$ac_res" >&6; }
10988 if eval test \"x\$"$as_ac_var"\" = x"yes"
10989 then :
10990 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10991 fi }
10992 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10994 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10995 if eval test \${$as_ac_var+y}
10996 then :
10997 printf %s "(cached) " >&6
10998 else $as_nop
10999 ac_wine_try_cflags_saved=$CFLAGS
11000 ac_wine_try_cflags_saved_exeext=$ac_exeext
11001 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11002 ac_exeext=".exe"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 int __cdecl mainCRTStartup(void) { return 0; }
11006 _ACEOF
11007 if ac_fn_c_try_link "$LINENO"
11008 then :
11009 eval "$as_ac_var=yes"
11010 else $as_nop
11011 eval "$as_ac_var=no"
11013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11014 conftest$ac_exeext conftest.$ac_ext
11015 CFLAGS=$ac_wine_try_cflags_saved
11016 ac_exeext=$ac_wine_try_cflags_saved_exeext
11018 eval ac_res=\$$as_ac_var
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11020 printf "%s\n" "$ac_res" >&6; }
11021 if eval test \"x\$"$as_ac_var"\" = x"yes"
11022 then :
11023 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11024 fi }
11025 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11027 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11028 if eval test \${$as_ac_var+y}
11029 then :
11030 printf %s "(cached) " >&6
11031 else $as_nop
11032 ac_wine_try_cflags_saved=$CFLAGS
11033 ac_wine_try_cflags_saved_exeext=$ac_exeext
11034 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11035 ac_exeext=".exe"
11036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11038 int __cdecl mainCRTStartup(void) { return 0; }
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"
11041 then :
11042 eval "$as_ac_var=yes"
11043 else $as_nop
11044 eval "$as_ac_var=no"
11046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11047 conftest$ac_exeext conftest.$ac_ext
11048 CFLAGS=$ac_wine_try_cflags_saved
11049 ac_exeext=$ac_wine_try_cflags_saved_exeext
11051 eval ac_res=\$$as_ac_var
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11053 printf "%s\n" "$ac_res" >&6; }
11054 if eval test \"x\$"$as_ac_var"\" = x"yes"
11055 then :
11056 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11057 fi }
11058 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11060 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11061 if eval test \${$as_ac_var+y}
11062 then :
11063 printf %s "(cached) " >&6
11064 else $as_nop
11065 ac_wine_try_cflags_saved=$CFLAGS
11066 ac_wine_try_cflags_saved_exeext=$ac_exeext
11067 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11068 ac_exeext=".exe"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11071 int __cdecl mainCRTStartup(void) { return 0; }
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"
11074 then :
11075 eval "$as_ac_var=yes"
11076 else $as_nop
11077 eval "$as_ac_var=no"
11079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11080 conftest$ac_exeext conftest.$ac_ext
11081 CFLAGS=$ac_wine_try_cflags_saved
11082 ac_exeext=$ac_wine_try_cflags_saved_exeext
11084 eval ac_res=\$$as_ac_var
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11086 printf "%s\n" "$ac_res" >&6; }
11087 if eval test \"x\$"$as_ac_var"\" = x"yes"
11088 then :
11089 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11090 fi }
11091 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11093 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11094 if eval test \${$as_ac_var+y}
11095 then :
11096 printf %s "(cached) " >&6
11097 else $as_nop
11098 ac_wine_try_cflags_saved=$CFLAGS
11099 ac_wine_try_cflags_saved_exeext=$ac_exeext
11100 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11101 ac_exeext=".exe"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11104 int __cdecl mainCRTStartup(void) { return 0; }
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"
11107 then :
11108 eval "$as_ac_var=yes"
11109 else $as_nop
11110 eval "$as_ac_var=no"
11112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11113 conftest$ac_exeext conftest.$ac_ext
11114 CFLAGS=$ac_wine_try_cflags_saved
11115 ac_exeext=$ac_wine_try_cflags_saved_exeext
11117 eval ac_res=\$$as_ac_var
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11119 printf "%s\n" "$ac_res" >&6; }
11120 if eval test \"x\$"$as_ac_var"\" = x"yes"
11121 then :
11122 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11123 fi }
11124 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11126 printf %s "checking whether $CC supports -Wvla... " >&6; }
11127 if eval test \${$as_ac_var+y}
11128 then :
11129 printf %s "(cached) " >&6
11130 else $as_nop
11131 ac_wine_try_cflags_saved=$CFLAGS
11132 ac_wine_try_cflags_saved_exeext=$ac_exeext
11133 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11134 ac_exeext=".exe"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11137 int __cdecl mainCRTStartup(void) { return 0; }
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"
11140 then :
11141 eval "$as_ac_var=yes"
11142 else $as_nop
11143 eval "$as_ac_var=no"
11145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11146 conftest$ac_exeext conftest.$ac_ext
11147 CFLAGS=$ac_wine_try_cflags_saved
11148 ac_exeext=$ac_wine_try_cflags_saved_exeext
11150 eval ac_res=\$$as_ac_var
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11152 printf "%s\n" "$ac_res" >&6; }
11153 if eval test \"x\$"$as_ac_var"\" = x"yes"
11154 then :
11155 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11156 fi }
11157 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11159 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11160 if eval test \${$as_ac_var+y}
11161 then :
11162 printf %s "(cached) " >&6
11163 else $as_nop
11164 ac_wine_try_cflags_saved=$CFLAGS
11165 ac_wine_try_cflags_saved_exeext=$ac_exeext
11166 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11167 ac_exeext=".exe"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11170 int __cdecl mainCRTStartup(void) { return 0; }
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"
11173 then :
11174 eval "$as_ac_var=yes"
11175 else $as_nop
11176 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11179 conftest$ac_exeext conftest.$ac_ext
11180 CFLAGS=$ac_wine_try_cflags_saved
11181 ac_exeext=$ac_wine_try_cflags_saved_exeext
11183 eval ac_res=\$$as_ac_var
11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11185 printf "%s\n" "$ac_res" >&6; }
11186 if eval test \"x\$"$as_ac_var"\" = x"yes"
11187 then :
11188 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11189 fi }
11190 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11192 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11193 if eval test \${$as_ac_var+y}
11194 then :
11195 printf %s "(cached) " >&6
11196 else $as_nop
11197 ac_wine_try_cflags_saved=$CFLAGS
11198 ac_wine_try_cflags_saved_exeext=$ac_exeext
11199 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11200 ac_exeext=".exe"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 int __cdecl mainCRTStartup(void) { return 0; }
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"
11206 then :
11207 eval "$as_ac_var=yes"
11208 else $as_nop
11209 eval "$as_ac_var=no"
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 CFLAGS=$ac_wine_try_cflags_saved
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 eval ac_res=\$$as_ac_var
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11218 printf "%s\n" "$ac_res" >&6; }
11219 if eval test \"x\$"$as_ac_var"\" = x"yes"
11220 then :
11221 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11222 fi }
11223 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11225 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11226 if eval test \${$as_ac_var+y}
11227 then :
11228 printf %s "(cached) " >&6
11229 else $as_nop
11230 ac_wine_try_cflags_saved=$CFLAGS
11231 ac_wine_try_cflags_saved_exeext=$ac_exeext
11232 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11233 ac_exeext=".exe"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"
11239 then :
11240 eval "$as_ac_var=yes"
11241 else $as_nop
11242 eval "$as_ac_var=no"
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 eval ac_res=\$$as_ac_var
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11251 printf "%s\n" "$ac_res" >&6; }
11252 if eval test \"x\$"$as_ac_var"\" = x"yes"
11253 then :
11254 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11255 fi }
11256 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11258 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11259 if eval test \${$as_ac_var+y}
11260 then :
11261 printf %s "(cached) " >&6
11262 else $as_nop
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11266 ac_exeext=".exe"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 int __cdecl mainCRTStartup(void) { return 0; }
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"
11272 then :
11273 eval "$as_ac_var=yes"
11274 else $as_nop
11275 eval "$as_ac_var=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 eval ac_res=\$$as_ac_var
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11284 printf "%s\n" "$ac_res" >&6; }
11285 if eval test \"x\$"$as_ac_var"\" = x"yes"
11286 then :
11287 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11288 fi }
11290 case $wine_arch in
11291 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11293 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11294 if eval test \${$as_ac_var+y}
11295 then :
11296 printf %s "(cached) " >&6
11297 else $as_nop
11298 ac_wine_try_cflags_saved=$CFLAGS
11299 ac_wine_try_cflags_saved_exeext=$ac_exeext
11300 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11301 ac_exeext=".exe"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 int __cdecl mainCRTStartup(void) { return 0; }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"
11307 then :
11308 eval "$as_ac_var=yes"
11309 else $as_nop
11310 eval "$as_ac_var=no"
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 ac_exeext=$ac_wine_try_cflags_saved_exeext
11317 eval ac_res=\$$as_ac_var
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11319 printf "%s\n" "$ac_res" >&6; }
11320 if eval test \"x\$"$as_ac_var"\" = x"yes"
11321 then :
11322 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11323 fi }
11324 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11326 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11327 if eval test \${$as_ac_var+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 eval "$as_ac_var=yes"
11342 else $as_nop
11343 eval "$as_ac_var=no"
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 ac_exeext=$ac_wine_try_cflags_saved_exeext
11350 eval ac_res=\$$as_ac_var
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11352 printf "%s\n" "$ac_res" >&6; }
11353 if eval test \"x\$"$as_ac_var"\" = x"yes"
11354 then :
11355 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11356 fi } ;;
11357 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11359 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11360 if eval test \${$as_ac_var+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11367 ac_exeext=".exe"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11370 int __cdecl mainCRTStartup(void) { return 0; }
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"
11373 then :
11374 eval "$as_ac_var=yes"
11375 else $as_nop
11376 eval "$as_ac_var=no"
11378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11379 conftest$ac_exeext conftest.$ac_ext
11380 CFLAGS=$ac_wine_try_cflags_saved
11381 ac_exeext=$ac_wine_try_cflags_saved_exeext
11383 eval ac_res=\$$as_ac_var
11384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11385 printf "%s\n" "$ac_res" >&6; }
11386 if eval test \"x\$"$as_ac_var"\" = x"yes"
11387 then :
11388 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11389 fi }
11390 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11392 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11393 if eval test \${$as_ac_var+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_exeext=$ac_exeext
11399 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11400 ac_exeext=".exe"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 int __cdecl mainCRTStartup(void) { return 0; }
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"
11406 then :
11407 eval "$as_ac_var=yes"
11408 else $as_nop
11409 eval "$as_ac_var=no"
11411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11412 conftest$ac_exeext conftest.$ac_ext
11413 CFLAGS=$ac_wine_try_cflags_saved
11414 ac_exeext=$ac_wine_try_cflags_saved_exeext
11416 eval ac_res=\$$as_ac_var
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11418 printf "%s\n" "$ac_res" >&6; }
11419 if eval test \"x\$"$as_ac_var"\" = x"yes"
11420 then :
11421 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11422 fi }
11423 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11425 printf %s "checking whether $CC supports -mcx16... " >&6; }
11426 if eval test \${$as_ac_var+y}
11427 then :
11428 printf %s "(cached) " >&6
11429 else $as_nop
11430 ac_wine_try_cflags_saved=$CFLAGS
11431 ac_wine_try_cflags_saved_exeext=$ac_exeext
11432 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11433 ac_exeext=".exe"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436 int __cdecl mainCRTStartup(void) { return 0; }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"
11439 then :
11440 eval "$as_ac_var=yes"
11441 else $as_nop
11442 eval "$as_ac_var=no"
11444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11445 conftest$ac_exeext conftest.$ac_ext
11446 CFLAGS=$ac_wine_try_cflags_saved
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 eval ac_res=\$$as_ac_var
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11451 printf "%s\n" "$ac_res" >&6; }
11452 if eval test \"x\$"$as_ac_var"\" = x"yes"
11453 then :
11454 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11455 fi }
11456 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11458 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11459 if eval test \${$as_ac_var+y}
11460 then :
11461 printf %s "(cached) " >&6
11462 else $as_nop
11463 ac_wine_try_cflags_saved=$CFLAGS
11464 ac_wine_try_cflags_saved_exeext=$ac_exeext
11465 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"
11472 then :
11473 eval "$as_ac_var=yes"
11474 else $as_nop
11475 eval "$as_ac_var=no"
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 ac_exeext=$ac_wine_try_cflags_saved_exeext
11482 eval ac_res=\$$as_ac_var
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11484 printf "%s\n" "$ac_res" >&6; }
11485 if eval test \"x\$"$as_ac_var"\" = x"yes"
11486 then :
11487 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11488 fi } ;;
11489 esac
11491 wine_crossdebug=$CROSSDEBUG
11492 if test -z "$wine_crossdebug"
11493 then
11494 for ac_flag in $CFLAGS; do
11495 case $ac_flag in
11496 -gdwarf*) wine_crossdebug=dwarf ;;
11497 -gcodeview) wine_crossdebug=pdb ;;
11498 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11499 esac
11500 done
11503 ac_debug_format_seen=""
11504 for ac_flag in $CFLAGS; do
11505 case $ac_flag in
11506 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11507 esac
11508 done
11509 if test "x$ac_debug_format_seen" = x
11510 then
11511 case $wine_crossdebug in
11512 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11514 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11515 if eval test \${$as_ac_var+y}
11516 then :
11517 printf %s "(cached) " >&6
11518 else $as_nop
11519 ac_wine_try_cflags_saved=$CFLAGS
11520 ac_wine_try_cflags_saved_exeext=$ac_exeext
11521 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11522 ac_exeext=".exe"
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11525 int __cdecl mainCRTStartup(void) { return 0; }
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"
11528 then :
11529 eval "$as_ac_var=yes"
11530 else $as_nop
11531 eval "$as_ac_var=no"
11533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11534 conftest$ac_exeext conftest.$ac_ext
11535 CFLAGS=$ac_wine_try_cflags_saved
11536 ac_exeext=$ac_wine_try_cflags_saved_exeext
11538 eval ac_res=\$$as_ac_var
11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11540 printf "%s\n" "$ac_res" >&6; }
11541 if eval test \"x\$"$as_ac_var"\" = x"yes"
11542 then :
11543 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11544 fi } ;;
11545 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11547 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11548 if eval test \${$as_ac_var+y}
11549 then :
11550 printf %s "(cached) " >&6
11551 else $as_nop
11552 ac_wine_try_cflags_saved=$CFLAGS
11553 ac_wine_try_cflags_saved_exeext=$ac_exeext
11554 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11555 ac_exeext=".exe"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11558 int __cdecl mainCRTStartup(void) { return 0; }
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"
11561 then :
11562 eval "$as_ac_var=yes"
11563 else $as_nop
11564 eval "$as_ac_var=no"
11566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11567 conftest$ac_exeext conftest.$ac_ext
11568 CFLAGS=$ac_wine_try_cflags_saved
11569 ac_exeext=$ac_wine_try_cflags_saved_exeext
11571 eval ac_res=\$$as_ac_var
11572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11573 printf "%s\n" "$ac_res" >&6; }
11574 if eval test \"x\$"$as_ac_var"\" = x"yes"
11575 then :
11576 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11577 fi } ;;
11578 esac
11580 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11582 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11584 printf %s "checking whether $CC supports -Werror... " >&6; }
11585 if eval test \${$as_ac_var+y}
11586 then :
11587 printf %s "(cached) " >&6
11588 else $as_nop
11589 ac_wine_try_cflags_saved=$CFLAGS
11590 ac_wine_try_cflags_saved_exeext=$ac_exeext
11591 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11592 ac_exeext=".exe"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11595 int __cdecl mainCRTStartup(void) { return 0; }
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"
11598 then :
11599 eval "$as_ac_var=yes"
11600 else $as_nop
11601 eval "$as_ac_var=no"
11603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11604 conftest$ac_exeext conftest.$ac_ext
11605 CFLAGS=$ac_wine_try_cflags_saved
11606 ac_exeext=$ac_wine_try_cflags_saved_exeext
11608 eval ac_res=\$$as_ac_var
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11610 printf "%s\n" "$ac_res" >&6; }
11611 if eval test \"x\$"$as_ac_var"\" = x"yes"
11612 then :
11613 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11614 fi }
11615 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11617 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11618 if eval test \${$as_ac_var+y}
11619 then :
11620 printf %s "(cached) " >&6
11621 else $as_nop
11622 ac_wine_try_cflags_saved=$CFLAGS
11623 ac_wine_try_cflags_saved_exeext=$ac_exeext
11624 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11625 ac_exeext=".exe"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11628 int __cdecl mainCRTStartup(void) { return 0; }
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"
11631 then :
11632 eval "$as_ac_var=yes"
11633 else $as_nop
11634 eval "$as_ac_var=no"
11636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11637 conftest$ac_exeext conftest.$ac_ext
11638 CFLAGS=$ac_wine_try_cflags_saved
11639 ac_exeext=$ac_wine_try_cflags_saved_exeext
11641 eval ac_res=\$$as_ac_var
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11643 printf "%s\n" "$ac_res" >&6; }
11644 if eval test \"x\$"$as_ac_var"\" = x"yes"
11645 then :
11646 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11647 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11648 fi }
11650 CC=$saved_CC
11651 CFLAGS=$saved_CFLAGS
11652 LDFLAGS=$saved_LDFLAGS
11653 done
11655 if test $HOST_ARCH = aarch64
11656 then
11657 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11658 DLLEXT=""
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_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12866 printf %s "checking for vkd3d_shader_serialize_dxbc 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_serialize_dxbc ();
12885 main (void)
12887 return vkd3d_shader_serialize_dxbc ();
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 ${MUSL_PE_LIBS:+false} :
13145 then :
13146 MUSL_PE_LIBS=musl
13147 if ${MUSL_PE_CFLAGS:+false} :
13148 then :
13149 MUSL_PE_CFLAGS=
13150 else $as_nop
13151 enable_musl=no
13153 else $as_nop
13154 enable_musl=no
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13159 if ${PNG_PE_LIBS:+false} :
13160 then :
13161 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13162 if ${PNG_PE_CFLAGS:+false} :
13163 then :
13164 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13165 else $as_nop
13166 enable_png=no
13168 else $as_nop
13169 enable_png=no
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13174 if ${TIFF_PE_LIBS:+false} :
13175 then :
13176 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13177 if ${TIFF_PE_CFLAGS:+false} :
13178 then :
13179 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13180 else $as_nop
13181 enable_tiff=no
13183 else $as_nop
13184 enable_tiff=no
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13189 if ${VKD3D_PE_LIBS:+false} :
13190 then :
13191 VKD3D_PE_LIBS=vkd3d
13192 if ${VKD3D_PE_CFLAGS:+false} :
13193 then :
13194 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13195 else $as_nop
13196 enable_vkd3d=no
13198 else $as_nop
13199 enable_vkd3d=no
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13204 if ${XML2_PE_LIBS:+false} :
13205 then :
13206 XML2_PE_LIBS=xml2
13207 if ${XML2_PE_CFLAGS:+false} :
13208 then :
13209 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13210 else $as_nop
13211 enable_xml2=no
13213 else $as_nop
13214 enable_xml2=no
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13219 if ${XSLT_PE_LIBS:+false} :
13220 then :
13221 XSLT_PE_LIBS=xslt
13222 if ${XSLT_PE_CFLAGS:+false} :
13223 then :
13224 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13225 else $as_nop
13226 enable_xslt=no
13228 else $as_nop
13229 enable_xslt=no
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13234 if ${ZLIB_PE_LIBS:+false} :
13235 then :
13236 ZLIB_PE_LIBS=z
13237 if ${ZLIB_PE_CFLAGS:+false} :
13238 then :
13239 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13240 else $as_nop
13241 enable_zlib=no
13243 else $as_nop
13244 enable_zlib=no
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13249 if ${ZYDIS_PE_LIBS:+false} :
13250 then :
13251 ZYDIS_PE_LIBS=zydis
13252 if ${ZYDIS_PE_CFLAGS:+false} :
13253 then :
13254 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13255 else $as_nop
13256 enable_zydis=no
13258 else $as_nop
13259 enable_zydis=no
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13266 if test "$ac_cv_header_pthread_h" = "yes"
13267 then
13268 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13269 if test "x$ac_cv_func_pthread_create" = xyes
13270 then :
13272 else $as_nop
13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13274 printf %s "checking for pthread_create in -lpthread... " >&6; }
13275 if test ${ac_cv_lib_pthread_pthread_create+y}
13276 then :
13277 printf %s "(cached) " >&6
13278 else $as_nop
13279 ac_check_lib_save_LIBS=$LIBS
13280 LIBS="-lpthread $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13287 char pthread_create ();
13289 main (void)
13291 return pthread_create ();
13293 return 0;
13295 _ACEOF
13296 if ac_fn_c_try_link "$LINENO"
13297 then :
13298 ac_cv_lib_pthread_pthread_create=yes
13299 else $as_nop
13300 ac_cv_lib_pthread_pthread_create=no
13302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13303 conftest$ac_exeext conftest.$ac_ext
13304 LIBS=$ac_check_lib_save_LIBS
13306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13307 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13308 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13309 then :
13310 PTHREAD_LIBS="-lpthread"
13317 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13318 then :
13319 case "x$with_pthread" in
13320 xno) ;;
13321 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13322 Wine cannot support threads without libpthread.
13323 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13324 esac
13329 ac_ext=c
13330 ac_cpp='$CPP $CPPFLAGS'
13331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13335 printf %s "checking how to run the C preprocessor... " >&6; }
13336 # On Suns, sometimes $CPP names a directory.
13337 if test -n "$CPP" && test -d "$CPP"; then
13338 CPP=
13340 if test -z "$CPP"; then
13341 if test ${ac_cv_prog_CPP+y}
13342 then :
13343 printf %s "(cached) " >&6
13344 else $as_nop
13345 # Double quotes because $CC needs to be expanded
13346 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13348 ac_preproc_ok=false
13349 for ac_c_preproc_warn_flag in '' yes
13351 # Use a header file that comes with gcc, so configuring glibc
13352 # with a fresh cross-compiler works.
13353 # On the NeXT, cc -E runs the code through the compiler's parser,
13354 # not just through cpp. "Syntax error" is here to catch this case.
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13357 #include <limits.h>
13358 Syntax error
13359 _ACEOF
13360 if ac_fn_c_try_cpp "$LINENO"
13361 then :
13363 else $as_nop
13364 # Broken: fails on valid input.
13365 continue
13367 rm -f conftest.err conftest.i conftest.$ac_ext
13369 # OK, works on sane cases. Now check whether nonexistent headers
13370 # can be detected and how.
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13373 #include <ac_nonexistent.h>
13374 _ACEOF
13375 if ac_fn_c_try_cpp "$LINENO"
13376 then :
13377 # Broken: success on invalid input.
13378 continue
13379 else $as_nop
13380 # Passes both tests.
13381 ac_preproc_ok=:
13382 break
13384 rm -f conftest.err conftest.i conftest.$ac_ext
13386 done
13387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13388 rm -f conftest.i conftest.err conftest.$ac_ext
13389 if $ac_preproc_ok
13390 then :
13391 break
13394 done
13395 ac_cv_prog_CPP=$CPP
13398 CPP=$ac_cv_prog_CPP
13399 else
13400 ac_cv_prog_CPP=$CPP
13402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13403 printf "%s\n" "$CPP" >&6; }
13404 ac_preproc_ok=false
13405 for ac_c_preproc_warn_flag in '' yes
13407 # Use a header file that comes with gcc, so configuring glibc
13408 # with a fresh cross-compiler works.
13409 # On the NeXT, cc -E runs the code through the compiler's parser,
13410 # not just through cpp. "Syntax error" is here to catch this case.
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13413 #include <limits.h>
13414 Syntax error
13415 _ACEOF
13416 if ac_fn_c_try_cpp "$LINENO"
13417 then :
13419 else $as_nop
13420 # Broken: fails on valid input.
13421 continue
13423 rm -f conftest.err conftest.i conftest.$ac_ext
13425 # OK, works on sane cases. Now check whether nonexistent headers
13426 # can be detected and how.
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13429 #include <ac_nonexistent.h>
13430 _ACEOF
13431 if ac_fn_c_try_cpp "$LINENO"
13432 then :
13433 # Broken: success on invalid input.
13434 continue
13435 else $as_nop
13436 # Passes both tests.
13437 ac_preproc_ok=:
13438 break
13440 rm -f conftest.err conftest.i conftest.$ac_ext
13442 done
13443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13444 rm -f conftest.i conftest.err conftest.$ac_ext
13445 if $ac_preproc_ok
13446 then :
13448 else $as_nop
13449 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13450 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13451 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13452 See \`config.log' for more details" "$LINENO" 5; }
13455 ac_ext=c
13456 ac_cpp='$CPP $CPPFLAGS'
13457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13463 printf %s "checking for X... " >&6; }
13466 # Check whether --with-x was given.
13467 if test ${with_x+y}
13468 then :
13469 withval=$with_x;
13472 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13473 if test "x$with_x" = xno; then
13474 # The user explicitly disabled X.
13475 have_x=disabled
13476 else
13477 case $x_includes,$x_libraries in #(
13478 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13479 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13480 then :
13481 printf %s "(cached) " >&6
13482 else $as_nop
13483 # One or both of the vars are not set, and there is no cached value.
13484 ac_x_includes=no
13485 ac_x_libraries=no
13486 # Do we need to do anything special at all?
13487 ac_save_LIBS=$LIBS
13488 LIBS="-lX11 $LIBS"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13491 #include <X11/Xlib.h>
13493 main (void)
13495 XrmInitialize ()
13497 return 0;
13499 _ACEOF
13500 if ac_fn_c_try_link "$LINENO"
13501 then :
13502 # We can compile and link X programs with no special options.
13503 ac_x_includes=
13504 ac_x_libraries=
13506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13507 conftest$ac_exeext conftest.$ac_ext
13508 LIBS="$ac_save_LIBS"
13509 # If that didn't work, only try xmkmf and file system searches
13510 # for native compilation.
13511 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13512 then :
13513 rm -f -r conftest.dir
13514 if mkdir conftest.dir; then
13515 cd conftest.dir
13516 cat >Imakefile <<'_ACEOF'
13517 incroot:
13518 @echo incroot='${INCROOT}'
13519 usrlibdir:
13520 @echo usrlibdir='${USRLIBDIR}'
13521 libdir:
13522 @echo libdir='${LIBDIR}'
13523 _ACEOF
13524 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13525 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13526 for ac_var in incroot usrlibdir libdir; do
13527 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13528 done
13529 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13530 for ac_extension in a so sl dylib la dll; do
13531 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13532 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13533 ac_im_usrlibdir=$ac_im_libdir; break
13535 done
13536 # Screen out bogus values from the imake configuration. They are
13537 # bogus both because they are the default anyway, and because
13538 # using them would break gcc on systems where it needs fixed includes.
13539 case $ac_im_incroot in
13540 /usr/include) ac_x_includes= ;;
13541 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13542 esac
13543 case $ac_im_usrlibdir in
13544 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13545 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13546 esac
13548 cd ..
13549 rm -f -r conftest.dir
13552 # Standard set of common directories for X headers.
13553 # Check X11 before X11Rn because it is often a symlink to the current release.
13554 ac_x_header_dirs='
13555 /usr/X11/include
13556 /usr/X11R7/include
13557 /usr/X11R6/include
13558 /usr/X11R5/include
13559 /usr/X11R4/include
13561 /usr/include/X11
13562 /usr/include/X11R7
13563 /usr/include/X11R6
13564 /usr/include/X11R5
13565 /usr/include/X11R4
13567 /usr/local/X11/include
13568 /usr/local/X11R7/include
13569 /usr/local/X11R6/include
13570 /usr/local/X11R5/include
13571 /usr/local/X11R4/include
13573 /usr/local/include/X11
13574 /usr/local/include/X11R7
13575 /usr/local/include/X11R6
13576 /usr/local/include/X11R5
13577 /usr/local/include/X11R4
13579 /opt/X11/include
13581 /usr/X386/include
13582 /usr/x386/include
13583 /usr/XFree86/include/X11
13585 /usr/include
13586 /usr/local/include
13587 /usr/unsupported/include
13588 /usr/athena/include
13589 /usr/local/x11r5/include
13590 /usr/lpp/Xamples/include
13592 /usr/openwin/include
13593 /usr/openwin/share/include'
13595 if test "$ac_x_includes" = no; then
13596 # Guess where to find include files, by looking for Xlib.h.
13597 # First, try using that file with no special directory specified.
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 #include <X11/Xlib.h>
13601 _ACEOF
13602 if ac_fn_c_try_cpp "$LINENO"
13603 then :
13604 # We can compile using X headers with no special include directory.
13605 ac_x_includes=
13606 else $as_nop
13607 for ac_dir in $ac_x_header_dirs; do
13608 if test -r "$ac_dir/X11/Xlib.h"; then
13609 ac_x_includes=$ac_dir
13610 break
13612 done
13614 rm -f conftest.err conftest.i conftest.$ac_ext
13615 fi # $ac_x_includes = no
13617 if test "$ac_x_libraries" = no; then
13618 # Check for the libraries.
13619 # See if we find them without any special options.
13620 # Don't add to $LIBS permanently.
13621 ac_save_LIBS=$LIBS
13622 LIBS="-lX11 $LIBS"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13625 #include <X11/Xlib.h>
13627 main (void)
13629 XrmInitialize ()
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"
13635 then :
13636 LIBS=$ac_save_LIBS
13637 # We can link X programs with no special library path.
13638 ac_x_libraries=
13639 else $as_nop
13640 LIBS=$ac_save_LIBS
13641 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13643 # Don't even attempt the hair of trying to link an X program!
13644 for ac_extension in a so sl dylib la dll; do
13645 if test -r "$ac_dir/libX11.$ac_extension"; then
13646 ac_x_libraries=$ac_dir
13647 break 2
13649 done
13650 done
13652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13653 conftest$ac_exeext conftest.$ac_ext
13654 fi # $ac_x_libraries = no
13657 # Record the results.
13658 case $ac_x_includes,$ac_x_libraries in #(
13659 no,* | *,no | *\'*) :
13660 # Didn't find X, or a directory has "'" in its name.
13661 ac_cv_have_x="have_x=no" ;; #(
13662 *) :
13663 # Record where we found X for the cache.
13664 ac_cv_have_x="have_x=yes\
13665 ac_x_includes='$ac_x_includes'\
13666 ac_x_libraries='$ac_x_libraries'" ;;
13667 esac
13669 ;; #(
13670 *) have_x=yes;;
13671 esac
13672 eval "$ac_cv_have_x"
13673 fi # $with_x != no
13675 if test "$have_x" != yes; then
13676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13677 printf "%s\n" "$have_x" >&6; }
13678 no_x=yes
13679 else
13680 # If each of the values was on the command line, it overrides each guess.
13681 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13682 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13683 # Update the cache value to reflect the command line values.
13684 ac_cv_have_x="have_x=yes\
13685 ac_x_includes='$x_includes'\
13686 ac_x_libraries='$x_libraries'"
13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13688 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13691 if test "$no_x" = yes; then
13692 # Not all programs may use this symbol, but it does not hurt to define it.
13694 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13696 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13697 else
13698 if test -n "$x_includes"; then
13699 X_CFLAGS="$X_CFLAGS -I$x_includes"
13702 # It would also be nice to do this for all -L options, not just this one.
13703 if test -n "$x_libraries"; then
13704 X_LIBS="$X_LIBS -L$x_libraries"
13705 # For Solaris; some versions of Sun CC require a space after -R and
13706 # others require no space. Words are not sufficient . . . .
13707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13708 printf %s "checking whether -R must be followed by a space... " >&6; }
13709 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13710 ac_xsave_c_werror_flag=$ac_c_werror_flag
13711 ac_c_werror_flag=yes
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13716 main (void)
13720 return 0;
13722 _ACEOF
13723 if ac_fn_c_try_link "$LINENO"
13724 then :
13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726 printf "%s\n" "no" >&6; }
13727 X_LIBS="$X_LIBS -R$x_libraries"
13728 else $as_nop
13729 LIBS="$ac_xsave_LIBS -R $x_libraries"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13734 main (void)
13738 return 0;
13740 _ACEOF
13741 if ac_fn_c_try_link "$LINENO"
13742 then :
13743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13744 printf "%s\n" "yes" >&6; }
13745 X_LIBS="$X_LIBS -R $x_libraries"
13746 else $as_nop
13747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13748 printf "%s\n" "neither works" >&6; }
13750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13751 conftest$ac_exeext conftest.$ac_ext
13753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13754 conftest$ac_exeext conftest.$ac_ext
13755 ac_c_werror_flag=$ac_xsave_c_werror_flag
13756 LIBS=$ac_xsave_LIBS
13759 # Check for system-dependent libraries X programs must link with.
13760 # Do this before checking for the system-independent R6 libraries
13761 # (-lICE), since we may need -lsocket or whatever for X linking.
13763 if test "$ISC" = yes; then
13764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13765 else
13766 # Martyn Johnson says this is needed for Ultrix, if the X
13767 # libraries were built with DECnet support. And Karl Berry says
13768 # the Alpha needs dnet_stub (dnet does not exist).
13769 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13776 char XOpenDisplay ();
13778 main (void)
13780 return XOpenDisplay ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"
13786 then :
13788 else $as_nop
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13790 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13791 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13792 then :
13793 printf %s "(cached) " >&6
13794 else $as_nop
13795 ac_check_lib_save_LIBS=$LIBS
13796 LIBS="-ldnet $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13803 char dnet_ntoa ();
13805 main (void)
13807 return dnet_ntoa ();
13809 return 0;
13811 _ACEOF
13812 if ac_fn_c_try_link "$LINENO"
13813 then :
13814 ac_cv_lib_dnet_dnet_ntoa=yes
13815 else $as_nop
13816 ac_cv_lib_dnet_dnet_ntoa=no
13818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13819 conftest$ac_exeext conftest.$ac_ext
13820 LIBS=$ac_check_lib_save_LIBS
13822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13823 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13824 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13825 then :
13826 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13829 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13831 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13832 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13833 then :
13834 printf %s "(cached) " >&6
13835 else $as_nop
13836 ac_check_lib_save_LIBS=$LIBS
13837 LIBS="-ldnet_stub $LIBS"
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 char dnet_ntoa ();
13846 main (void)
13848 return dnet_ntoa ();
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"
13854 then :
13855 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13856 else $as_nop
13857 ac_cv_lib_dnet_stub_dnet_ntoa=no
13859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_lib_save_LIBS
13863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13864 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13865 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13866 then :
13867 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS="$ac_xsave_LIBS"
13876 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13877 # to get the SysV transport functions.
13878 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13879 # needs -lnsl.
13880 # The nsl library prevents programs from opening the X display
13881 # on Irix 5.2, according to T.E. Dickey.
13882 # The functions gethostbyname, getservbyname, and inet_addr are
13883 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13884 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13885 if test "x$ac_cv_func_gethostbyname" = xyes
13886 then :
13890 if test $ac_cv_func_gethostbyname = no; then
13891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13892 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13893 if test ${ac_cv_lib_nsl_gethostbyname+y}
13894 then :
13895 printf %s "(cached) " >&6
13896 else $as_nop
13897 ac_check_lib_save_LIBS=$LIBS
13898 LIBS="-lnsl $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 char gethostbyname ();
13907 main (void)
13909 return gethostbyname ();
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"
13915 then :
13916 ac_cv_lib_nsl_gethostbyname=yes
13917 else $as_nop
13918 ac_cv_lib_nsl_gethostbyname=no
13920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13925 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13926 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13927 then :
13928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13931 if test $ac_cv_lib_nsl_gethostbyname = no; then
13932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13933 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13934 if test ${ac_cv_lib_bsd_gethostbyname+y}
13935 then :
13936 printf %s "(cached) " >&6
13937 else $as_nop
13938 ac_check_lib_save_LIBS=$LIBS
13939 LIBS="-lbsd $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13946 char gethostbyname ();
13948 main (void)
13950 return gethostbyname ();
13952 return 0;
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"
13956 then :
13957 ac_cv_lib_bsd_gethostbyname=yes
13958 else $as_nop
13959 ac_cv_lib_bsd_gethostbyname=no
13961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13962 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS
13965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13966 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13967 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13968 then :
13969 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13975 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13976 # socket/setsockopt and other routines are undefined under SCO ODT
13977 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13978 # on later versions), says Simon Leinen: it contains gethostby*
13979 # variants that don't use the name server (or something). -lsocket
13980 # must be given before -lnsl if both are needed. We assume that
13981 # if connect needs -lnsl, so does gethostbyname.
13982 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13983 if test "x$ac_cv_func_connect" = xyes
13984 then :
13988 if test $ac_cv_func_connect = no; then
13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13990 printf %s "checking for connect in -lsocket... " >&6; }
13991 if test ${ac_cv_lib_socket_connect+y}
13992 then :
13993 printf %s "(cached) " >&6
13994 else $as_nop
13995 ac_check_lib_save_LIBS=$LIBS
13996 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 char connect ();
14005 main (void)
14007 return connect ();
14009 return 0;
14011 _ACEOF
14012 if ac_fn_c_try_link "$LINENO"
14013 then :
14014 ac_cv_lib_socket_connect=yes
14015 else $as_nop
14016 ac_cv_lib_socket_connect=no
14018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_lib_save_LIBS
14022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14023 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14024 if test "x$ac_cv_lib_socket_connect" = xyes
14025 then :
14026 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14031 # Guillermo Gomez says -lposix is necessary on A/UX.
14032 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14033 if test "x$ac_cv_func_remove" = xyes
14034 then :
14038 if test $ac_cv_func_remove = no; then
14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14040 printf %s "checking for remove in -lposix... " >&6; }
14041 if test ${ac_cv_lib_posix_remove+y}
14042 then :
14043 printf %s "(cached) " >&6
14044 else $as_nop
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-lposix $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 char remove ();
14055 main (void)
14057 return remove ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"
14063 then :
14064 ac_cv_lib_posix_remove=yes
14065 else $as_nop
14066 ac_cv_lib_posix_remove=no
14068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14069 conftest$ac_exeext conftest.$ac_ext
14070 LIBS=$ac_check_lib_save_LIBS
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14073 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14074 if test "x$ac_cv_lib_posix_remove" = xyes
14075 then :
14076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14081 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14082 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14083 if test "x$ac_cv_func_shmat" = xyes
14084 then :
14088 if test $ac_cv_func_shmat = no; then
14089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14090 printf %s "checking for shmat in -lipc... " >&6; }
14091 if test ${ac_cv_lib_ipc_shmat+y}
14092 then :
14093 printf %s "(cached) " >&6
14094 else $as_nop
14095 ac_check_lib_save_LIBS=$LIBS
14096 LIBS="-lipc $LIBS"
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14100 /* Override any GCC internal prototype to avoid an error.
14101 Use char because int might match the return type of a GCC
14102 builtin and then its argument prototype would still apply. */
14103 char shmat ();
14105 main (void)
14107 return shmat ();
14109 return 0;
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"
14113 then :
14114 ac_cv_lib_ipc_shmat=yes
14115 else $as_nop
14116 ac_cv_lib_ipc_shmat=no
14118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14119 conftest$ac_exeext conftest.$ac_ext
14120 LIBS=$ac_check_lib_save_LIBS
14122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14123 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14124 if test "x$ac_cv_lib_ipc_shmat" = xyes
14125 then :
14126 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14132 # Check for libraries that X11R6 Xt/Xaw programs need.
14133 ac_save_LDFLAGS=$LDFLAGS
14134 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14135 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14136 # check for ICE first), but we must link in the order -lSM -lICE or
14137 # we get undefined symbols. So assume we have SM if we have ICE.
14138 # These have to be linked with before -lX11, unlike the other
14139 # libraries we check for below, so use a different variable.
14140 # John Interrante, Karl Berry
14141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14142 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14143 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14144 then :
14145 printf %s "(cached) " >&6
14146 else $as_nop
14147 ac_check_lib_save_LIBS=$LIBS
14148 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14152 /* Override any GCC internal prototype to avoid an error.
14153 Use char because int might match the return type of a GCC
14154 builtin and then its argument prototype would still apply. */
14155 char IceConnectionNumber ();
14157 main (void)
14159 return IceConnectionNumber ();
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"
14165 then :
14166 ac_cv_lib_ICE_IceConnectionNumber=yes
14167 else $as_nop
14168 ac_cv_lib_ICE_IceConnectionNumber=no
14170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LIBS=$ac_check_lib_save_LIBS
14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14175 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14176 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14177 then :
14178 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14181 LDFLAGS=$ac_save_LDFLAGS
14186 if test "$have_x" = "yes"
14187 then
14188 ac_save_CPPFLAGS="$CPPFLAGS"
14189 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14192 printf %s "checking for -lX11... " >&6; }
14193 if test ${ac_cv_lib_soname_X11+y}
14194 then :
14195 printf %s "(cached) " >&6
14196 else $as_nop
14197 ac_check_soname_save_LIBS=$LIBS
14198 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14202 /* Override any GCC internal prototype to avoid an error.
14203 Use char because int might match the return type of a GCC
14204 builtin and then its argument prototype would still apply. */
14205 char XCreateWindow ();
14207 main (void)
14209 return XCreateWindow ();
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"
14215 then :
14216 case "$LIBEXT" in
14217 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14218 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'` ;;
14219 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14220 if ${ac_cv_lib_soname_X11:+false} :
14221 then :
14222 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14223 fi ;;
14224 esac
14225 else $as_nop
14226 ac_cv_lib_soname_X11=
14228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_soname_save_LIBS
14232 if ${ac_cv_lib_soname_X11:+false} :
14233 then :
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14235 printf "%s\n" "not found" >&6; }
14237 else $as_nop
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14239 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14241 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14246 printf %s "checking for -lXext... " >&6; }
14247 if test ${ac_cv_lib_soname_Xext+y}
14248 then :
14249 printf %s "(cached) " >&6
14250 else $as_nop
14251 ac_check_soname_save_LIBS=$LIBS
14252 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14256 /* Override any GCC internal prototype to avoid an error.
14257 Use char because int might match the return type of a GCC
14258 builtin and then its argument prototype would still apply. */
14259 char XextCreateExtension ();
14261 main (void)
14263 return XextCreateExtension ();
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"
14269 then :
14270 case "$LIBEXT" in
14271 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14272 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'` ;;
14273 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14274 if ${ac_cv_lib_soname_Xext:+false} :
14275 then :
14276 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14277 fi ;;
14278 esac
14279 else $as_nop
14280 ac_cv_lib_soname_Xext=
14282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_soname_save_LIBS
14286 if ${ac_cv_lib_soname_Xext:+false} :
14287 then :
14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14289 printf "%s\n" "not found" >&6; }
14291 else $as_nop
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14293 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14295 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14297 X_LIBS="$X_LIBS -lXext"
14299 X_LIBS="$X_LIBS -lX11"
14301 xlib_includes="#include <X11/Xlib.h>
14302 #include <X11/Xutil.h>"
14304 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14306 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14307 then :
14308 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14311 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14313 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14314 then :
14315 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14318 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14320 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14321 then :
14322 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14325 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14327 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14328 then :
14329 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14332 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14334 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14335 then :
14336 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14339 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14341 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14342 then :
14343 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14346 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14348 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14349 then :
14350 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14353 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14355 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14356 then :
14357 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14362 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14363 then :
14364 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14369 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14371 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14372 then :
14373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14374 printf %s "checking for -lXcursor... " >&6; }
14375 if test ${ac_cv_lib_soname_Xcursor+y}
14376 then :
14377 printf %s "(cached) " >&6
14378 else $as_nop
14379 ac_check_soname_save_LIBS=$LIBS
14380 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14384 /* Override any GCC internal prototype to avoid an error.
14385 Use char because int might match the return type of a GCC
14386 builtin and then its argument prototype would still apply. */
14387 char XcursorImageLoadCursor ();
14389 main (void)
14391 return XcursorImageLoadCursor ();
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"
14397 then :
14398 case "$LIBEXT" in
14399 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14400 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'` ;;
14401 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14402 if ${ac_cv_lib_soname_Xcursor:+false} :
14403 then :
14404 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14405 fi ;;
14406 esac
14407 else $as_nop
14408 ac_cv_lib_soname_Xcursor=
14410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_soname_save_LIBS
14414 if ${ac_cv_lib_soname_Xcursor:+false} :
14415 then :
14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14417 printf "%s\n" "not found" >&6; }
14419 else $as_nop
14420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14421 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14423 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14429 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14430 then :
14431 case "x$with_xcursor" in
14432 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14433 xno) ;;
14434 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14435 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14436 esac
14440 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14442 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14443 then :
14444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14445 printf %s "checking for -lXi... " >&6; }
14446 if test ${ac_cv_lib_soname_Xi+y}
14447 then :
14448 printf %s "(cached) " >&6
14449 else $as_nop
14450 ac_check_soname_save_LIBS=$LIBS
14451 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14455 /* Override any GCC internal prototype to avoid an error.
14456 Use char because int might match the return type of a GCC
14457 builtin and then its argument prototype would still apply. */
14458 char XOpenDevice ();
14460 main (void)
14462 return XOpenDevice ();
14464 return 0;
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"
14468 then :
14469 case "$LIBEXT" in
14470 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14471 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'` ;;
14472 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14473 if ${ac_cv_lib_soname_Xi:+false} :
14474 then :
14475 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14476 fi ;;
14477 esac
14478 else $as_nop
14479 ac_cv_lib_soname_Xi=
14481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_soname_save_LIBS
14485 if ${ac_cv_lib_soname_Xi:+false} :
14486 then :
14487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14488 printf "%s\n" "not found" >&6; }
14490 else $as_nop
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14492 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14494 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14500 if test "x$ac_cv_lib_soname_Xi" = "x"
14501 then :
14502 case "x$with_xinput" in
14503 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14504 xno) ;;
14505 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14506 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14507 esac
14511 if test "x$ac_cv_lib_soname_Xi" != x
14512 then
14513 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14514 then :
14515 case "x$with_xinput2" in
14516 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14517 xno) ;;
14518 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14519 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14520 esac
14525 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14526 then
14527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14528 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14529 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14530 then :
14531 printf %s "(cached) " >&6
14532 else $as_nop
14533 ac_check_lib_save_LIBS=$LIBS
14534 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 char XShmQueryExtension ();
14543 main (void)
14545 return XShmQueryExtension ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"
14551 then :
14552 ac_cv_lib_Xext_XShmQueryExtension=yes
14553 else $as_nop
14554 ac_cv_lib_Xext_XShmQueryExtension=no
14556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14557 conftest$ac_exeext conftest.$ac_ext
14558 LIBS=$ac_check_lib_save_LIBS
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14561 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14562 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14563 then :
14565 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14570 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14571 then :
14572 case "x$with_xshm" in
14573 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14574 xno) ;;
14575 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14576 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14577 esac
14581 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14582 then
14583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14584 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14585 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14586 then :
14587 printf %s "(cached) " >&6
14588 else $as_nop
14589 ac_check_lib_save_LIBS=$LIBS
14590 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 char XShapeQueryExtension ();
14599 main (void)
14601 return XShapeQueryExtension ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"
14607 then :
14608 ac_cv_lib_Xext_XShapeQueryExtension=yes
14609 else $as_nop
14610 ac_cv_lib_Xext_XShapeQueryExtension=no
14612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LIBS=$ac_check_lib_save_LIBS
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14617 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14618 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14619 then :
14621 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14626 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14627 then :
14628 case "x$with_xshape" in
14629 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14630 xno) ;;
14631 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14632 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14633 esac
14637 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14638 then
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14640 printf %s "checking for -lXxf86vm... " >&6; }
14641 if test ${ac_cv_lib_soname_Xxf86vm+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_soname_save_LIBS=$LIBS
14646 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char XF86VidModeQueryExtension ();
14655 main (void)
14657 return XF86VidModeQueryExtension ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 case "$LIBEXT" in
14665 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14666 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'` ;;
14667 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14668 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14669 then :
14670 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14671 fi ;;
14672 esac
14673 else $as_nop
14674 ac_cv_lib_soname_Xxf86vm=
14676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_soname_save_LIBS
14680 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14681 then :
14682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14683 printf "%s\n" "not found" >&6; }
14685 else $as_nop
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14687 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14689 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14694 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14695 then :
14696 case "x$with_xxf86vm" in
14697 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14698 xno) ;;
14699 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14700 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14701 esac
14705 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14706 then
14707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14708 printf %s "checking for -lXrender... " >&6; }
14709 if test ${ac_cv_lib_soname_Xrender+y}
14710 then :
14711 printf %s "(cached) " >&6
14712 else $as_nop
14713 ac_check_soname_save_LIBS=$LIBS
14714 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14721 char XRenderQueryExtension ();
14723 main (void)
14725 return XRenderQueryExtension ();
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"
14731 then :
14732 case "$LIBEXT" in
14733 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14734 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'` ;;
14735 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14736 if ${ac_cv_lib_soname_Xrender:+false} :
14737 then :
14738 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14739 fi ;;
14740 esac
14741 else $as_nop
14742 ac_cv_lib_soname_Xrender=
14744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_soname_save_LIBS
14748 if ${ac_cv_lib_soname_Xrender:+false} :
14749 then :
14750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14751 printf "%s\n" "not found" >&6; }
14753 else $as_nop
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14755 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14757 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14760 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14761 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14762 then :
14763 printf %s "(cached) " >&6
14764 else $as_nop
14765 ac_check_lib_save_LIBS=$LIBS
14766 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14773 char XRenderSetPictureTransform ();
14775 main (void)
14777 return XRenderSetPictureTransform ();
14779 return 0;
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"
14783 then :
14784 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14785 else $as_nop
14786 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14793 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14794 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14795 then :
14797 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14802 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14803 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14804 then :
14805 printf %s "(cached) " >&6
14806 else $as_nop
14807 ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 char XRenderCreateLinearGradient ();
14817 main (void)
14819 return XRenderCreateLinearGradient ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"
14825 then :
14826 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14827 else $as_nop
14828 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_check_lib_save_LIBS
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14835 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14836 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14837 then :
14839 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14846 if test "x$ac_cv_lib_soname_Xrender" = "x"
14847 then :
14848 case "x$with_xrender" in
14849 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14852 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14853 esac
14857 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14858 then
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <X11/Xlib.h>
14862 #include <X11/extensions/Xrandr.h>
14864 main (void)
14866 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14868 return 0;
14870 _ACEOF
14871 if ac_fn_c_try_compile "$LINENO"
14872 then :
14873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14874 printf %s "checking for -lXrandr... " >&6; }
14875 if test ${ac_cv_lib_soname_Xrandr+y}
14876 then :
14877 printf %s "(cached) " >&6
14878 else $as_nop
14879 ac_check_soname_save_LIBS=$LIBS
14880 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14887 char XRRQueryExtension ();
14889 main (void)
14891 return XRRQueryExtension ();
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"
14897 then :
14898 case "$LIBEXT" in
14899 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14900 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'` ;;
14901 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14902 if ${ac_cv_lib_soname_Xrandr:+false} :
14903 then :
14904 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14905 fi ;;
14906 esac
14907 else $as_nop
14908 ac_cv_lib_soname_Xrandr=
14910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14911 conftest$ac_exeext conftest.$ac_ext
14912 LIBS=$ac_check_soname_save_LIBS
14914 if ${ac_cv_lib_soname_Xrandr:+false} :
14915 then :
14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14917 printf "%s\n" "not found" >&6; }
14919 else $as_nop
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14921 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14923 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 #include <X11/Xlib.h>
14928 #include <X11/extensions/Xrandr.h>
14930 main (void)
14932 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_compile "$LINENO"
14938 then :
14940 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14942 else $as_nop
14943 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14950 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14951 then :
14952 case "x$with_xrandr" in
14953 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14954 xno) ;;
14955 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14956 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14957 esac
14961 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14962 then
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #include <X11/Xlib.h>
14966 #include <X11/extensions/Xfixes.h>
14968 main (void)
14970 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_compile "$LINENO"
14976 then :
14977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14978 printf %s "checking for -lXfixes... " >&6; }
14979 if test ${ac_cv_lib_soname_Xfixes+y}
14980 then :
14981 printf %s "(cached) " >&6
14982 else $as_nop
14983 ac_check_soname_save_LIBS=$LIBS
14984 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14988 /* Override any GCC internal prototype to avoid an error.
14989 Use char because int might match the return type of a GCC
14990 builtin and then its argument prototype would still apply. */
14991 char XFixesQueryVersion ();
14993 main (void)
14995 return XFixesQueryVersion ();
14997 return 0;
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"
15001 then :
15002 case "$LIBEXT" in
15003 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15004 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'` ;;
15005 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15006 if ${ac_cv_lib_soname_Xfixes:+false} :
15007 then :
15008 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15009 fi ;;
15010 esac
15011 else $as_nop
15012 ac_cv_lib_soname_Xfixes=
15014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_check_soname_save_LIBS
15018 if ${ac_cv_lib_soname_Xfixes:+false} :
15019 then :
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15021 printf "%s\n" "not found" >&6; }
15023 else $as_nop
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15025 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15027 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15034 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15035 then :
15036 case "x$with_xfixes" in
15037 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15038 xno) ;;
15039 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15040 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15041 esac
15045 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15046 then
15047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15049 #include <X11/Xlib.h>
15050 #include <X11/extensions/Xinerama.h>
15052 main (void)
15054 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_compile "$LINENO"
15060 then :
15061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15062 printf %s "checking for -lXinerama... " >&6; }
15063 if test ${ac_cv_lib_soname_Xinerama+y}
15064 then :
15065 printf %s "(cached) " >&6
15066 else $as_nop
15067 ac_check_soname_save_LIBS=$LIBS
15068 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 char XineramaQueryScreens ();
15077 main (void)
15079 return XineramaQueryScreens ();
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"
15085 then :
15086 case "$LIBEXT" in
15087 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15088 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'` ;;
15089 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15090 if ${ac_cv_lib_soname_Xinerama:+false} :
15091 then :
15092 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15093 fi ;;
15094 esac
15095 else $as_nop
15096 ac_cv_lib_soname_Xinerama=
15098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_soname_save_LIBS
15102 if ${ac_cv_lib_soname_Xinerama:+false} :
15103 then :
15104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15105 printf "%s\n" "not found" >&6; }
15107 else $as_nop
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15109 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15111 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15118 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15119 then :
15120 case "x$with_xinerama" in
15121 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15122 xno) ;;
15123 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15124 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15125 esac
15129 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15131 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15132 then :
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15134 printf %s "checking for -lXcomposite... " >&6; }
15135 if test ${ac_cv_lib_soname_Xcomposite+y}
15136 then :
15137 printf %s "(cached) " >&6
15138 else $as_nop
15139 ac_check_soname_save_LIBS=$LIBS
15140 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 char XCompositeRedirectWindow ();
15149 main (void)
15151 return XCompositeRedirectWindow ();
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"
15157 then :
15158 case "$LIBEXT" in
15159 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15160 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'` ;;
15161 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15162 if ${ac_cv_lib_soname_Xcomposite:+false} :
15163 then :
15164 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15165 fi ;;
15166 esac
15167 else $as_nop
15168 ac_cv_lib_soname_Xcomposite=
15170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_soname_save_LIBS
15174 if ${ac_cv_lib_soname_Xcomposite:+false} :
15175 then :
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15177 printf "%s\n" "not found" >&6; }
15179 else $as_nop
15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15181 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15183 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15189 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15190 then :
15191 case "x$with_xcomposite" in
15192 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15193 xno) ;;
15194 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15195 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15196 esac
15200 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15202 if test "x$ac_cv_member_XICCallback_callback" = xyes
15203 then :
15205 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15209 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15211 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15212 then :
15214 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15221 opengl_msg=""
15222 if test "x$with_opengl" != "xno"
15223 then
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15225 printf %s "checking for -lGL... " >&6; }
15226 if test ${ac_cv_lib_soname_GL+y}
15227 then :
15228 printf %s "(cached) " >&6
15229 else $as_nop
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 char glXCreateContext ();
15240 main (void)
15242 return glXCreateContext ();
15244 return 0;
15246 _ACEOF
15247 if ac_fn_c_try_link "$LINENO"
15248 then :
15249 case "$LIBEXT" in
15250 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15251 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'` ;;
15252 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15253 if ${ac_cv_lib_soname_GL:+false} :
15254 then :
15255 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15256 fi ;;
15257 esac
15258 else $as_nop
15259 ac_cv_lib_soname_GL=
15261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15262 conftest$ac_exeext conftest.$ac_ext
15263 LIBS=$ac_check_soname_save_LIBS
15265 if ${ac_cv_lib_soname_GL:+false} :
15266 then :
15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15268 printf "%s\n" "not found" >&6; }
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15270 printf %s "checking for -lGL... " >&6; }
15271 if test ${ac_cv_lib_soname_GL+y}
15272 then :
15273 printf %s "(cached) " >&6
15274 else $as_nop
15275 ac_check_soname_save_LIBS=$LIBS
15276 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"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15283 char glXCreateContext ();
15285 main (void)
15287 return glXCreateContext ();
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_link "$LINENO"
15293 then :
15294 case "$LIBEXT" in
15295 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15296 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'` ;;
15297 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15298 if ${ac_cv_lib_soname_GL:+false} :
15299 then :
15300 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15301 fi ;;
15302 esac
15303 else $as_nop
15304 ac_cv_lib_soname_GL=
15306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15307 conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_check_soname_save_LIBS
15310 if ${ac_cv_lib_soname_GL:+false} :
15311 then :
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15313 printf "%s\n" "not found" >&6; }
15314 if test -f /usr/X11R6/lib/libGL.a
15315 then
15316 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15317 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15318 else
15319 opengl_msg="No OpenGL library found on this system."
15321 else $as_nop
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15323 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15325 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15327 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"
15329 else $as_nop
15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15331 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15333 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15335 OPENGL_LIBS="-lGL"
15337 if test "x$with_osmesa" != "xno"
15338 then
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15340 printf %s "checking for -lOSMesa... " >&6; }
15341 if test ${ac_cv_lib_soname_OSMesa+y}
15342 then :
15343 printf %s "(cached) " >&6
15344 else $as_nop
15345 ac_check_soname_save_LIBS=$LIBS
15346 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15350 /* Override any GCC internal prototype to avoid an error.
15351 Use char because int might match the return type of a GCC
15352 builtin and then its argument prototype would still apply. */
15353 char OSMesaGetProcAddress ();
15355 main (void)
15357 return OSMesaGetProcAddress ();
15359 return 0;
15361 _ACEOF
15362 if ac_fn_c_try_link "$LINENO"
15363 then :
15364 case "$LIBEXT" in
15365 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15366 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'` ;;
15367 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15368 if ${ac_cv_lib_soname_OSMesa:+false} :
15369 then :
15370 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15371 fi ;;
15372 esac
15373 else $as_nop
15374 ac_cv_lib_soname_OSMesa=
15376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_soname_save_LIBS
15380 if ${ac_cv_lib_soname_OSMesa:+false} :
15381 then :
15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15383 printf "%s\n" "not found" >&6; }
15385 else $as_nop
15386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15387 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15389 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15393 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15394 then :
15395 case "x$with_osmesa" in
15396 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15397 xno) ;;
15398 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15399 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15400 esac
15405 if test -n "$opengl_msg"
15406 then :
15407 case "x$with_opengl" in
15408 x) as_fn_append wine_warnings "|$opengl_msg
15409 OpenGL and Direct3D won't be supported." ;;
15410 xno) ;;
15411 *) as_fn_error $? "$opengl_msg
15412 OpenGL and Direct3D won't be supported.
15413 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15414 esac
15418 CPPFLAGS="$ac_save_CPPFLAGS"
15419 else
15420 X_CFLAGS=""
15421 X_LIBS=""
15424 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15425 then
15426 if test "x$X_LIBS" = "x"
15427 then :
15428 case "x$with_x" in
15429 xno) ;;
15430 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15431 without X support, which probably isn't what you want. You will need
15432 to install ${notice_platform}development packages of Xlib at the very least.
15433 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15434 esac
15435 enable_winex11_drv=${enable_winex11_drv:-no}
15437 else
15438 if test "x$X_LIBS" = "x"
15439 then :
15440 case "x$with_x" in
15441 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15442 xno) ;;
15443 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15444 This is an error since --with-x was requested." "$LINENO" 5 ;;
15445 esac
15446 enable_winex11_drv=${enable_winex11_drv:-no}
15450 if test "x$with_wayland" != "xno"
15451 then
15452 rm -f conftest.err
15453 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15454 then :
15455 if test ${PKG_CONFIG+y}
15456 then :
15457 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15461 if ${WAYLAND_CLIENT_LIBS:+false} :
15462 then :
15463 if test ${PKG_CONFIG+y}
15464 then :
15465 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15472 if test -s conftest.err; then
15473 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15474 cat conftest.err >&5
15476 rm -f conftest.err
15477 ac_save_CPPFLAGS=$CPPFLAGS
15478 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15479 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15480 if test "x$ac_cv_header_wayland_client_h" = xyes
15481 then :
15482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15483 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15484 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15485 then :
15486 printf %s "(cached) " >&6
15487 else $as_nop
15488 ac_check_lib_save_LIBS=$LIBS
15489 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15493 /* Override any GCC internal prototype to avoid an error.
15494 Use char because int might match the return type of a GCC
15495 builtin and then its argument prototype would still apply. */
15496 char wl_display_connect ();
15498 main (void)
15500 return wl_display_connect ();
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_link "$LINENO"
15506 then :
15507 ac_cv_lib_wayland_client_wl_display_connect=yes
15508 else $as_nop
15509 ac_cv_lib_wayland_client_wl_display_connect=no
15511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15512 conftest$ac_exeext conftest.$ac_ext
15513 LIBS=$ac_check_lib_save_LIBS
15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15516 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15517 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15518 then :
15519 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15520 set dummy wayland-scanner; ac_word=$2
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15522 printf %s "checking for $ac_word... " >&6; }
15523 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15524 then :
15525 printf %s "(cached) " >&6
15526 else $as_nop
15527 case $WAYLAND_SCANNER in
15528 [\\/]* | ?:[\\/]*)
15529 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15533 for as_dir in $PATH
15535 IFS=$as_save_IFS
15536 case $as_dir in #(((
15537 '') as_dir=./ ;;
15538 */) ;;
15539 *) as_dir=$as_dir/ ;;
15540 esac
15541 for ac_exec_ext in '' $ac_executable_extensions; do
15542 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15543 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15545 break 2
15547 done
15548 done
15549 IFS=$as_save_IFS
15551 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15553 esac
15555 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15556 if test -n "$WAYLAND_SCANNER"; then
15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15558 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15559 else
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15561 printf "%s\n" "no" >&6; }
15565 else $as_nop
15566 WAYLAND_CLIENT_LIBS=""
15571 CPPFLAGS=$ac_save_CPPFLAGS
15574 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15575 then :
15576 case "x$with_wayland" in
15577 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15578 xno) ;;
15579 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15580 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15581 esac
15582 enable_winewayland_drv=${enable_winewayland_drv:-no}
15585 if test "$ac_cv_header_CL_cl_h" = "yes"
15586 then
15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15588 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15589 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15590 then :
15591 printf %s "(cached) " >&6
15592 else $as_nop
15593 ac_check_lib_save_LIBS=$LIBS
15594 LIBS="-lOpenCL $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 char clGetPlatformInfo ();
15603 main (void)
15605 return clGetPlatformInfo ();
15607 return 0;
15609 _ACEOF
15610 if ac_fn_c_try_link "$LINENO"
15611 then :
15612 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15613 else $as_nop
15614 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15617 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_lib_save_LIBS
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15621 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15622 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15623 then :
15624 OPENCL_LIBS="-lOpenCL"
15629 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15630 then :
15631 case "x$with_opencl" in
15632 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15633 xno) ;;
15634 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15635 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15636 esac
15637 enable_opencl=${enable_opencl:-no}
15640 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15641 then
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15643 printf %s "checking for pcap_init in -lpcap... " >&6; }
15644 if test ${ac_cv_lib_pcap_pcap_init+y}
15645 then :
15646 printf %s "(cached) " >&6
15647 else $as_nop
15648 ac_check_lib_save_LIBS=$LIBS
15649 LIBS="-lpcap $LIBS"
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 char pcap_init ();
15658 main (void)
15660 return pcap_init ();
15662 return 0;
15664 _ACEOF
15665 if ac_fn_c_try_link "$LINENO"
15666 then :
15667 ac_cv_lib_pcap_pcap_init=yes
15668 else $as_nop
15669 ac_cv_lib_pcap_pcap_init=no
15671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15672 conftest$ac_exeext conftest.$ac_ext
15673 LIBS=$ac_check_lib_save_LIBS
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15676 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15677 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15678 then :
15679 PCAP_LIBS="-lpcap"
15684 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15685 then :
15686 case "x$with_pcap" in
15687 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15688 xno) ;;
15689 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15690 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15691 esac
15692 enable_wpcap=${enable_wpcap:-no}
15695 if test "x$with_pcsclite" != "xno"
15696 then
15697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15698 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15699 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15700 then :
15701 printf %s "(cached) " >&6
15702 else $as_nop
15703 ac_check_lib_save_LIBS=$LIBS
15704 LIBS="-lpcsclite $LIBS"
15705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 /* end confdefs.h. */
15708 /* Override any GCC internal prototype to avoid an error.
15709 Use char because int might match the return type of a GCC
15710 builtin and then its argument prototype would still apply. */
15711 char SCardEstablishContext ();
15713 main (void)
15715 return SCardEstablishContext ();
15717 return 0;
15719 _ACEOF
15720 if ac_fn_c_try_link "$LINENO"
15721 then :
15722 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15723 else $as_nop
15724 ac_cv_lib_pcsclite_SCardEstablishContext=no
15726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15727 conftest$ac_exeext conftest.$ac_ext
15728 LIBS=$ac_check_lib_save_LIBS
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15731 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15732 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15733 then :
15734 PCSCLITE_LIBS="-lpcsclite"
15736 else $as_nop
15737 case $host_os in
15738 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15740 esac
15744 if test "x$PCSCLITE_LIBS" = x
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 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16847 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16848 then :
16849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16850 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16851 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16852 then :
16853 printf %s "(cached) " >&6
16854 else $as_nop
16855 ac_check_lib_save_LIBS=$LIBS
16856 LIBS="-lpulse $PULSE_LIBS $LIBS"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16860 /* Override any GCC internal prototype to avoid an error.
16861 Use char because int might match the return type of a GCC
16862 builtin and then its argument prototype would still apply. */
16863 char pa_stream_is_corked ();
16865 main (void)
16867 return pa_stream_is_corked ();
16869 return 0;
16871 _ACEOF
16872 if ac_fn_c_try_link "$LINENO"
16873 then :
16874 ac_cv_lib_pulse_pa_stream_is_corked=yes
16875 else $as_nop
16876 ac_cv_lib_pulse_pa_stream_is_corked=no
16878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16879 conftest$ac_exeext conftest.$ac_ext
16880 LIBS=$ac_check_lib_save_LIBS
16882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16883 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16884 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16885 then :
16887 else $as_nop
16888 PULSE_LIBS=""
16891 else $as_nop
16892 PULSE_LIBS=""
16895 CPPFLAGS=$ac_save_CPPFLAGS
16898 if test -z "$PULSE_LIBS"
16899 then :
16900 case "x$with_pulse" in
16901 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16902 xno) ;;
16903 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16904 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16905 esac
16906 enable_winepulse_drv=${enable_winepulse_drv:-no}
16909 if test "x$with_gstreamer" != "xno"
16910 then
16911 rm -f conftest.err
16912 if ${GSTREAMER_CFLAGS:+false} :
16913 then :
16914 if test ${PKG_CONFIG+y}
16915 then :
16916 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16920 if ${GSTREAMER_LIBS:+false} :
16921 then :
16922 if test ${PKG_CONFIG+y}
16923 then :
16924 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16929 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
16930 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
16931 if test -s conftest.err; then
16932 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16933 cat conftest.err >&5
16935 rm -f conftest.err
16936 ac_save_CPPFLAGS=$CPPFLAGS
16937 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16938 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16939 if test "x$ac_cv_header_gst_gst_h" = xyes
16940 then :
16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16942 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <gst/gst.h>
16947 main (void)
16949 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16951 return 0;
16953 _ACEOF
16954 if ac_fn_c_try_compile "$LINENO"
16955 then :
16956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16957 printf "%s\n" "yes" >&6; }
16958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16959 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16960 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16961 then :
16962 printf %s "(cached) " >&6
16963 else $as_nop
16964 ac_check_lib_save_LIBS=$LIBS
16965 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16969 /* Override any GCC internal prototype to avoid an error.
16970 Use char because int might match the return type of a GCC
16971 builtin and then its argument prototype would still apply. */
16972 char gst_pad_new ();
16974 main (void)
16976 return gst_pad_new ();
16978 return 0;
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"
16982 then :
16983 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16984 else $as_nop
16985 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16988 conftest$ac_exeext conftest.$ac_ext
16989 LIBS=$ac_check_lib_save_LIBS
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16992 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16993 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16994 then :
16998 else $as_nop
16999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17000 printf "%s\n" "no" >&6; }
17001 ac_glib2_broken=yes
17002 enable_winegstreamer=${enable_winegstreamer:-no}
17003 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17008 CPPFLAGS=$ac_save_CPPFLAGS
17011 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17012 then :
17013 case "x$with_gstreamer" in
17014 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17015 xno) ;;
17016 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17017 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17018 esac
17019 enable_winegstreamer=${enable_winegstreamer:-no}
17022 ALSA_LIBS=""
17024 if test "x$with_alsa" != "xno"
17025 then
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17027 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17028 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17029 then :
17030 printf %s "(cached) " >&6
17031 else $as_nop
17032 ac_check_lib_save_LIBS=$LIBS
17033 LIBS="-lasound $LIBS"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17037 /* Override any GCC internal prototype to avoid an error.
17038 Use char because int might match the return type of a GCC
17039 builtin and then its argument prototype would still apply. */
17040 char snd_pcm_hw_params_get_access_mask ();
17042 main (void)
17044 return snd_pcm_hw_params_get_access_mask ();
17046 return 0;
17048 _ACEOF
17049 if ac_fn_c_try_link "$LINENO"
17050 then :
17051 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17052 else $as_nop
17053 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17056 conftest$ac_exeext conftest.$ac_ext
17057 LIBS=$ac_check_lib_save_LIBS
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17060 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17061 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17062 then :
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 #include <alsa/asoundlib.h>
17067 main (void)
17069 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17071 return 0;
17073 _ACEOF
17074 if ac_fn_c_try_compile "$LINENO"
17075 then :
17076 ALSA_LIBS="-lasound"
17078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17082 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17084 if test "x$with_oss" != xno
17085 then
17086 ac_save_CPPFLAGS="$CPPFLAGS"
17087 if test -f /etc/oss.conf
17088 then
17089 . /etc/oss.conf
17091 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17092 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17093 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17094 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17095 then :
17096 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17098 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17099 then :
17101 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17103 OSS4_CFLAGS="$ac_oss_incl"
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17106 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17107 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17108 then :
17109 printf %s "(cached) " >&6
17110 else $as_nop
17111 ac_check_lib_save_LIBS=$LIBS
17112 LIBS="-lossaudio $LIBS"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17116 /* Override any GCC internal prototype to avoid an error.
17117 Use char because int might match the return type of a GCC
17118 builtin and then its argument prototype would still apply. */
17119 char _oss_ioctl ();
17121 main (void)
17123 return _oss_ioctl ();
17125 return 0;
17127 _ACEOF
17128 if ac_fn_c_try_link "$LINENO"
17129 then :
17130 ac_cv_lib_ossaudio__oss_ioctl=yes
17131 else $as_nop
17132 ac_cv_lib_ossaudio__oss_ioctl=no
17134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17135 conftest$ac_exeext conftest.$ac_ext
17136 LIBS=$ac_check_lib_save_LIBS
17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17139 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17140 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17141 then :
17142 OSS4_LIBS="-lossaudio"
17150 CPPFLAGS="$ac_save_CPPFLAGS"
17152 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17153 then :
17154 case "x$with_oss" in
17155 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17156 xno) ;;
17157 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17158 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17159 esac
17160 enable_wineoss_drv=${enable_wineoss_drv:-no}
17163 if test "x$with_udev" != "xno"
17164 then
17165 rm -f conftest.err
17166 if ${UDEV_CFLAGS:+false} :
17167 then :
17168 if test ${PKG_CONFIG+y}
17169 then :
17170 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17174 if ${UDEV_LIBS:+false} :
17175 then :
17176 if test ${PKG_CONFIG+y}
17177 then :
17178 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17182 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17185 if test -s conftest.err; then
17186 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17187 cat conftest.err >&5
17189 rm -f conftest.err
17190 ac_save_CPPFLAGS=$CPPFLAGS
17191 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17192 for ac_header in libudev.h
17193 do :
17194 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17195 if test "x$ac_cv_header_libudev_h" = xyes
17196 then :
17197 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17199 printf %s "checking for udev_new in -ludev... " >&6; }
17200 if test ${ac_cv_lib_udev_udev_new+y}
17201 then :
17202 printf %s "(cached) " >&6
17203 else $as_nop
17204 ac_check_lib_save_LIBS=$LIBS
17205 LIBS="-ludev $UDEV_LIBS $LIBS"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17212 char udev_new ();
17214 main (void)
17216 return udev_new ();
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"
17222 then :
17223 ac_cv_lib_udev_udev_new=yes
17224 else $as_nop
17225 ac_cv_lib_udev_udev_new=no
17227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17228 conftest$ac_exeext conftest.$ac_ext
17229 LIBS=$ac_check_lib_save_LIBS
17231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17232 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17233 if test "x$ac_cv_lib_udev_udev_new" = xyes
17234 then :
17236 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17238 else $as_nop
17239 UDEV_LIBS=""
17242 else $as_nop
17243 UDEV_LIBS=""
17246 done
17247 CPPFLAGS=$ac_save_CPPFLAGS
17250 if test "x$UDEV_LIBS" = "x"
17251 then :
17252 case "x$with_udev" in
17253 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17254 xno) ;;
17255 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17256 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17257 esac
17261 if test "x$with_unwind" != xno
17262 then
17263 rm -f conftest.err
17264 if ${UNWIND_CFLAGS:+false} :
17265 then :
17266 if test ${PKG_CONFIG+y}
17267 then :
17268 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17272 if ${UNWIND_LIBS:+false} :
17273 then :
17274 if test ${PKG_CONFIG+y}
17275 then :
17276 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17280 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17283 if test -s conftest.err; then
17284 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17285 cat conftest.err >&5
17287 rm -f conftest.err
17288 ac_save_CPPFLAGS=$CPPFLAGS
17289 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17291 printf %s "checking for unw_step... " >&6; }
17292 if test ${wine_cv_have_unw_step+y}
17293 then :
17294 printf %s "(cached) " >&6
17295 else $as_nop
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #define UNW_LOCAL_ONLY
17299 #include <libunwind.h>
17301 main (void)
17303 unw_cursor_t cursor; unw_step( &cursor );
17305 return 0;
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"
17309 then :
17310 wine_cv_have_unw_step="yes"
17311 else $as_nop
17312 wine_cv_have_unw_step="no"
17314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17315 conftest$ac_exeext conftest.$ac_ext
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17318 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17319 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17320 then
17321 save_libs=$LIBS
17322 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17323 LIBS="$UNWIND_LIBS $LIBS"
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17325 printf %s "checking for unw_step in libunwind... " >&6; }
17326 if test ${wine_cv_have_libunwind_unw_step+y}
17327 then :
17328 printf %s "(cached) " >&6
17329 else $as_nop
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #define UNW_LOCAL_ONLY
17333 #include <libunwind.h>
17335 main (void)
17337 unw_cursor_t cursor; unw_step( &cursor );
17339 return 0;
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"
17343 then :
17344 wine_cv_have_libunwind_unw_step="yes"
17345 else $as_nop
17346 wine_cv_have_libunwind_unw_step="no"
17348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17349 conftest$ac_exeext conftest.$ac_ext
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17352 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17353 LIBS=$save_libs
17355 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17356 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17357 then
17359 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17362 CPPFLAGS=$ac_save_CPPFLAGS
17365 case $host in
17366 aarch64*|*-darwin*)
17367 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17368 then :
17369 case "x$with_unwind" in
17370 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17371 xno) ;;
17372 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17373 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17374 esac
17376 fi ;;
17377 esac
17379 if test "x$with_sdl" != "xno"
17380 then
17381 rm -f conftest.err
17382 if ${SDL2_CFLAGS:+false} :
17383 then :
17384 if test ${PKG_CONFIG+y}
17385 then :
17386 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17390 if ${SDL2_LIBS:+false} :
17391 then :
17392 if test ${PKG_CONFIG+y}
17393 then :
17394 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17398 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17401 if test -s conftest.err; then
17402 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17403 cat conftest.err >&5
17405 rm -f conftest.err
17406 ac_save_CPPFLAGS=$CPPFLAGS
17407 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17408 for ac_header in SDL.h
17409 do :
17410 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_SDL_h" = xyes
17412 then :
17413 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17415 printf %s "checking for -lSDL2... " >&6; }
17416 if test ${ac_cv_lib_soname_SDL2+y}
17417 then :
17418 printf %s "(cached) " >&6
17419 else $as_nop
17420 ac_check_soname_save_LIBS=$LIBS
17421 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17425 /* Override any GCC internal prototype to avoid an error.
17426 Use char because int might match the return type of a GCC
17427 builtin and then its argument prototype would still apply. */
17428 char SDL_Init ();
17430 main (void)
17432 return SDL_Init ();
17434 return 0;
17436 _ACEOF
17437 if ac_fn_c_try_link "$LINENO"
17438 then :
17439 case "$LIBEXT" in
17440 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17441 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'` ;;
17442 *) 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'`
17443 if ${ac_cv_lib_soname_SDL2:+false} :
17444 then :
17445 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17446 fi ;;
17447 esac
17448 else $as_nop
17449 ac_cv_lib_soname_SDL2=
17451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17452 conftest$ac_exeext conftest.$ac_ext
17453 LIBS=$ac_check_soname_save_LIBS
17455 if ${ac_cv_lib_soname_SDL2:+false} :
17456 then :
17457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17458 printf "%s\n" "not found" >&6; }
17460 else $as_nop
17461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17462 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17464 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17470 done
17471 CPPFLAGS=$ac_save_CPPFLAGS
17474 if test "x$ac_cv_lib_soname_SDL2" = "x"
17475 then :
17476 case "x$with_sdl" in
17477 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17478 xno) ;;
17479 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17480 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17481 esac
17485 if test "x$with_capi" != "xno"
17486 then
17487 rm -f conftest.err
17488 if ${CAPI20_CFLAGS:+false} :
17489 then :
17490 if test ${PKG_CONFIG+y}
17491 then :
17492 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17496 if ${CAPI20_LIBS:+false} :
17497 then :
17498 if test ${PKG_CONFIG+y}
17499 then :
17500 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17507 if test -s conftest.err; then
17508 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17509 cat conftest.err >&5
17511 rm -f conftest.err
17512 ac_save_CPPFLAGS=$CPPFLAGS
17513 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17514 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17516 if test "x$ac_cv_header_capi20_h" = xyes
17517 then :
17518 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17521 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17523 if test "x$ac_cv_header_linux_capi_h" = xyes
17524 then :
17525 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17529 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17530 then
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17532 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17533 if test ${ac_cv_lib_capi20_capi20_register+y}
17534 then :
17535 printf %s "(cached) " >&6
17536 else $as_nop
17537 ac_check_lib_save_LIBS=$LIBS
17538 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17542 /* Override any GCC internal prototype to avoid an error.
17543 Use char because int might match the return type of a GCC
17544 builtin and then its argument prototype would still apply. */
17545 char capi20_register ();
17547 main (void)
17549 return capi20_register ();
17551 return 0;
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"
17555 then :
17556 ac_cv_lib_capi20_capi20_register=yes
17557 else $as_nop
17558 ac_cv_lib_capi20_capi20_register=no
17560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17561 conftest$ac_exeext conftest.$ac_ext
17562 LIBS=$ac_check_lib_save_LIBS
17564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17565 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17566 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17567 then :
17569 else $as_nop
17570 CAPI20_LIBS=""
17574 CPPFLAGS=$ac_save_CPPFLAGS
17577 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17578 then :
17579 case "x$with_capi" in
17580 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17581 xno) ;;
17582 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17583 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17584 esac
17585 enable_capi2032=${enable_capi2032:-no}
17588 if test "x$with_cups" != "xno"
17589 then
17590 rm -f conftest.err
17591 if ${CUPS_CFLAGS:+false} :
17592 then :
17593 if test ${PKG_CONFIG+y}
17594 then :
17595 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17598 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17599 if ${CUPS_LIBS:+false} :
17600 then :
17601 if test ${PKG_CONFIG+y}
17602 then :
17603 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17606 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17607 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17610 if test -s conftest.err; then
17611 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17612 cat conftest.err >&5
17614 rm -f conftest.err
17615 ac_save_CPPFLAGS=$CPPFLAGS
17616 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17617 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17618 if test "x$ac_cv_header_cups_cups_h" = xyes
17619 then :
17620 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17623 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17624 if test "x$ac_cv_header_cups_ppd_h" = xyes
17625 then :
17626 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17630 if test "$ac_cv_header_cups_cups_h" = "yes"
17631 then
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17633 printf %s "checking for -lcups... " >&6; }
17634 if test ${ac_cv_lib_soname_cups+y}
17635 then :
17636 printf %s "(cached) " >&6
17637 else $as_nop
17638 ac_check_soname_save_LIBS=$LIBS
17639 LIBS="-lcups $CUPS_LIBS $LIBS"
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17646 char cupsGetDefault ();
17648 main (void)
17650 return cupsGetDefault ();
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_link "$LINENO"
17656 then :
17657 case "$LIBEXT" in
17658 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17659 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'` ;;
17660 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17661 if ${ac_cv_lib_soname_cups:+false} :
17662 then :
17663 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17664 fi ;;
17665 esac
17666 else $as_nop
17667 ac_cv_lib_soname_cups=
17669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17670 conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_check_soname_save_LIBS
17673 if ${ac_cv_lib_soname_cups:+false} :
17674 then :
17675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17676 printf "%s\n" "not found" >&6; }
17677 CUPS_LIBS=""
17678 else $as_nop
17679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17680 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17682 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17686 else
17687 CUPS_CFLAGS=""
17688 CUPS_LIBS=""
17690 CPPFLAGS=$ac_save_CPPFLAGS
17693 if test "x$ac_cv_lib_soname_cups" = "x"
17694 then :
17695 case "x$with_cups" in
17696 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17697 xno) ;;
17698 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17699 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17700 esac
17704 if test "x$with_fontconfig" != "xno"
17705 then
17706 rm -f conftest.err
17707 if ${FONTCONFIG_CFLAGS:+false} :
17708 then :
17709 if test ${PKG_CONFIG+y}
17710 then :
17711 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17714 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17715 if ${FONTCONFIG_LIBS:+false} :
17716 then :
17717 if test ${PKG_CONFIG+y}
17718 then :
17719 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17722 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17726 if test -s conftest.err; then
17727 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17728 cat conftest.err >&5
17730 rm -f conftest.err
17731 ac_save_CPPFLAGS=$CPPFLAGS
17732 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17733 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17734 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17735 then :
17736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17737 printf %s "checking for -lfontconfig... " >&6; }
17738 if test ${ac_cv_lib_soname_fontconfig+y}
17739 then :
17740 printf %s "(cached) " >&6
17741 else $as_nop
17742 ac_check_soname_save_LIBS=$LIBS
17743 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17747 /* Override any GCC internal prototype to avoid an error.
17748 Use char because int might match the return type of a GCC
17749 builtin and then its argument prototype would still apply. */
17750 char FcInit ();
17752 main (void)
17754 return FcInit ();
17756 return 0;
17758 _ACEOF
17759 if ac_fn_c_try_link "$LINENO"
17760 then :
17761 case "$LIBEXT" in
17762 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17763 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'` ;;
17764 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17765 if ${ac_cv_lib_soname_fontconfig:+false} :
17766 then :
17767 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17768 fi ;;
17769 esac
17770 else $as_nop
17771 ac_cv_lib_soname_fontconfig=
17773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17774 conftest$ac_exeext conftest.$ac_ext
17775 LIBS=$ac_check_soname_save_LIBS
17777 if ${ac_cv_lib_soname_fontconfig:+false} :
17778 then :
17779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17780 printf "%s\n" "not found" >&6; }
17781 FONTCONFIG_CFLAGS=""
17782 else $as_nop
17783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17784 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17786 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17790 else $as_nop
17791 FONTCONFIG_CFLAGS=""
17794 CPPFLAGS=$ac_save_CPPFLAGS
17797 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17798 then :
17799 case "x$with_fontconfig" in
17800 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17801 xno) ;;
17802 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17803 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17804 esac
17808 if test "x$with_krb5" != "xno"
17809 then
17810 rm -f conftest.err
17811 if ${KRB5_CFLAGS:+false} :
17812 then :
17813 if test ${PKG_CONFIG+y}
17814 then :
17815 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17818 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17819 if ${KRB5_LIBS:+false} :
17820 then :
17821 if test ${PKG_CONFIG+y}
17822 then :
17823 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17826 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17830 if test -s conftest.err; then
17831 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17832 cat conftest.err >&5
17834 rm -f conftest.err
17835 ac_save_CPPFLAGS=$CPPFLAGS
17836 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17837 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17838 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17839 then :
17840 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17844 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17845 then
17846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17847 printf %s "checking for -lkrb5... " >&6; }
17848 if test ${ac_cv_lib_soname_krb5+y}
17849 then :
17850 printf %s "(cached) " >&6
17851 else $as_nop
17852 ac_check_soname_save_LIBS=$LIBS
17853 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17857 /* Override any GCC internal prototype to avoid an error.
17858 Use char because int might match the return type of a GCC
17859 builtin and then its argument prototype would still apply. */
17860 char krb5_is_config_principal ();
17862 main (void)
17864 return krb5_is_config_principal ();
17866 return 0;
17868 _ACEOF
17869 if ac_fn_c_try_link "$LINENO"
17870 then :
17871 case "$LIBEXT" in
17872 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17873 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'` ;;
17874 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17875 if ${ac_cv_lib_soname_krb5:+false} :
17876 then :
17877 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17878 fi ;;
17879 esac
17880 else $as_nop
17881 ac_cv_lib_soname_krb5=
17883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17884 conftest$ac_exeext conftest.$ac_ext
17885 LIBS=$ac_check_soname_save_LIBS
17887 if ${ac_cv_lib_soname_krb5:+false} :
17888 then :
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17890 printf "%s\n" "not found" >&6; }
17891 KRB5_CFLAGS=""
17892 else $as_nop
17893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17894 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17896 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17900 else
17901 KRB5_CFLAGS=""
17903 CPPFLAGS=$ac_save_CPPFLAGS
17906 if test "x$ac_cv_lib_soname_krb5" = "x"
17907 then :
17908 case "x$with_krb5" in
17909 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17910 xno) ;;
17911 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17912 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17913 esac
17916 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17918 if test "x$with_gssapi" != "xno"
17919 then
17920 rm -f conftest.err
17921 if ${GSSAPI_CFLAGS:+false} :
17922 then :
17923 if test ${PKG_CONFIG+y}
17924 then :
17925 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17928 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17929 if ${GSSAPI_LIBS:+false} :
17930 then :
17931 if test ${PKG_CONFIG+y}
17932 then :
17933 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17936 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17940 if test -s conftest.err; then
17941 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17942 cat conftest.err >&5
17944 rm -f conftest.err
17945 ac_save_CPPFLAGS=$CPPFLAGS
17946 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17947 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17948 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17949 then :
17950 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17953 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17954 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17955 then :
17956 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17960 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17961 then
17962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17963 printf %s "checking for -lgssapi_krb5... " >&6; }
17964 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17965 then :
17966 printf %s "(cached) " >&6
17967 else $as_nop
17968 ac_check_soname_save_LIBS=$LIBS
17969 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17976 char gss_init_sec_context ();
17978 main (void)
17980 return gss_init_sec_context ();
17982 return 0;
17984 _ACEOF
17985 if ac_fn_c_try_link "$LINENO"
17986 then :
17987 case "$LIBEXT" in
17988 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17989 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'` ;;
17990 *) 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'`
17991 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17992 then :
17993 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17994 fi ;;
17995 esac
17996 else $as_nop
17997 ac_cv_lib_soname_gssapi_krb5=
17999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18000 conftest$ac_exeext conftest.$ac_ext
18001 LIBS=$ac_check_soname_save_LIBS
18003 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18004 then :
18005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18006 printf "%s\n" "not found" >&6; }
18007 GSSAPI_CFLAGS=""
18008 else $as_nop
18009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18010 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18012 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18016 else
18017 GSSAPI_CFLAGS=""
18019 CPPFLAGS=$ac_save_CPPFLAGS
18022 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18023 then :
18024 case "x$with_gssapi" in
18025 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18026 xno) ;;
18027 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18028 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18029 esac
18033 if test "$ac_cv_header_libprocstat_h" = "yes"
18034 then
18035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18036 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18037 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18038 then :
18039 printf %s "(cached) " >&6
18040 else $as_nop
18041 ac_check_lib_save_LIBS=$LIBS
18042 LIBS="-lprocstat $LIBS"
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 char procstat_open_sysctl ();
18051 main (void)
18053 return procstat_open_sysctl ();
18055 return 0;
18057 _ACEOF
18058 if ac_fn_c_try_link "$LINENO"
18059 then :
18060 ac_cv_lib_procstat_procstat_open_sysctl=yes
18061 else $as_nop
18062 ac_cv_lib_procstat_procstat_open_sysctl=no
18064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18065 conftest$ac_exeext conftest.$ac_ext
18066 LIBS=$ac_check_lib_save_LIBS
18068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18069 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18070 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18071 then :
18073 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18075 PROCSTAT_LIBS="-lprocstat"
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18082 printf %s "checking for -lodbc... " >&6; }
18083 if test ${ac_cv_lib_soname_odbc+y}
18084 then :
18085 printf %s "(cached) " >&6
18086 else $as_nop
18087 ac_check_soname_save_LIBS=$LIBS
18088 LIBS="-lodbc $LIBS"
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18092 /* Override any GCC internal prototype to avoid an error.
18093 Use char because int might match the return type of a GCC
18094 builtin and then its argument prototype would still apply. */
18095 char SQLConnect ();
18097 main (void)
18099 return SQLConnect ();
18101 return 0;
18103 _ACEOF
18104 if ac_fn_c_try_link "$LINENO"
18105 then :
18106 case "$LIBEXT" in
18107 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18108 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'` ;;
18109 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18110 if ${ac_cv_lib_soname_odbc:+false} :
18111 then :
18112 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18113 fi ;;
18114 esac
18115 else $as_nop
18116 ac_cv_lib_soname_odbc=
18118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18119 conftest$ac_exeext conftest.$ac_ext
18120 LIBS=$ac_check_soname_save_LIBS
18122 if ${ac_cv_lib_soname_odbc:+false} :
18123 then :
18124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18125 printf "%s\n" "not found" >&6; }
18126 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18128 else $as_nop
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18130 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18132 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18137 if test "x$with_netapi" != "xno"
18138 then
18139 rm -f conftest.err
18140 if ${NETAPI_CFLAGS:+false} :
18141 then :
18142 if test ${PKG_CONFIG+y}
18143 then :
18144 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18148 if ${NETAPI_LIBS:+false} :
18149 then :
18150 if test ${PKG_CONFIG+y}
18151 then :
18152 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18159 if test -s conftest.err; then
18160 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18161 cat conftest.err >&5
18163 rm -f conftest.err
18164 ac_save_CPPFLAGS=$CPPFLAGS
18165 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18167 printf %s "checking for -lnetapi... " >&6; }
18168 if test ${ac_cv_lib_soname_netapi+y}
18169 then :
18170 printf %s "(cached) " >&6
18171 else $as_nop
18172 ac_check_soname_save_LIBS=$LIBS
18173 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 /* Override any GCC internal prototype to avoid an error.
18178 Use char because int might match the return type of a GCC
18179 builtin and then its argument prototype would still apply. */
18180 char libnetapi_init ();
18182 main (void)
18184 return libnetapi_init ();
18186 return 0;
18188 _ACEOF
18189 if ac_fn_c_try_link "$LINENO"
18190 then :
18191 case "$LIBEXT" in
18192 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18193 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'` ;;
18194 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18195 if ${ac_cv_lib_soname_netapi:+false} :
18196 then :
18197 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18198 fi ;;
18199 esac
18200 else $as_nop
18201 ac_cv_lib_soname_netapi=
18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_soname_save_LIBS
18207 if ${ac_cv_lib_soname_netapi:+false} :
18208 then :
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18210 printf "%s\n" "not found" >&6; }
18211 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18213 else $as_nop
18214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18215 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18217 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18221 CPPFLAGS=$ac_save_CPPFLAGS
18224 if test "x$ac_cv_lib_soname_netapi" = "x"
18225 then :
18226 case "x$with_netapi" in
18227 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18228 xno) ;;
18229 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18230 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18231 esac
18232 enable_netapi=${enable_netapi:-no}
18236 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18237 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18238 then
18239 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18242 if test "x$with_vulkan" != "xno"
18243 then
18244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18245 printf %s "checking for -lvulkan... " >&6; }
18246 if test ${ac_cv_lib_soname_vulkan+y}
18247 then :
18248 printf %s "(cached) " >&6
18249 else $as_nop
18250 ac_check_soname_save_LIBS=$LIBS
18251 LIBS="-lvulkan $LIBS"
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18255 /* Override any GCC internal prototype to avoid an error.
18256 Use char because int might match the return type of a GCC
18257 builtin and then its argument prototype would still apply. */
18258 char vkGetInstanceProcAddr ();
18260 main (void)
18262 return vkGetInstanceProcAddr ();
18264 return 0;
18266 _ACEOF
18267 if ac_fn_c_try_link "$LINENO"
18268 then :
18269 case "$LIBEXT" in
18270 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18271 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'` ;;
18272 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18273 if ${ac_cv_lib_soname_vulkan:+false} :
18274 then :
18275 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18276 fi ;;
18277 esac
18278 else $as_nop
18279 ac_cv_lib_soname_vulkan=
18281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18282 conftest$ac_exeext conftest.$ac_ext
18283 LIBS=$ac_check_soname_save_LIBS
18285 if ${ac_cv_lib_soname_vulkan:+false} :
18286 then :
18287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18288 printf "%s\n" "not found" >&6; }
18290 else $as_nop
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18292 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18294 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18298 if test "x$ac_cv_lib_soname_vulkan" = "x"
18299 then
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18301 printf %s "checking for -lMoltenVK... " >&6; }
18302 if test ${ac_cv_lib_soname_MoltenVK+y}
18303 then :
18304 printf %s "(cached) " >&6
18305 else $as_nop
18306 ac_check_soname_save_LIBS=$LIBS
18307 LIBS="-lMoltenVK $LIBS"
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 char vkGetInstanceProcAddr ();
18316 main (void)
18318 return vkGetInstanceProcAddr ();
18320 return 0;
18322 _ACEOF
18323 if ac_fn_c_try_link "$LINENO"
18324 then :
18325 case "$LIBEXT" in
18326 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18327 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'` ;;
18328 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18329 if ${ac_cv_lib_soname_MoltenVK:+false} :
18330 then :
18331 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18332 fi ;;
18333 esac
18334 else $as_nop
18335 ac_cv_lib_soname_MoltenVK=
18337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18338 conftest$ac_exeext conftest.$ac_ext
18339 LIBS=$ac_check_soname_save_LIBS
18341 if ${ac_cv_lib_soname_MoltenVK:+false} :
18342 then :
18343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18344 printf "%s\n" "not found" >&6; }
18346 else $as_nop
18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18348 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18350 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18356 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18357 then :
18358 case "x$with_vulkan" in
18359 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18360 xno) ;;
18361 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18362 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18363 esac
18368 if test "x${GCC}" = "xyes"
18369 then
18370 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18372 saved_CFLAGS=$CFLAGS
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18374 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18375 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18376 then :
18377 printf %s "(cached) " >&6
18378 else $as_nop
18379 ac_wine_try_cflags_saved=$CFLAGS
18380 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 int main(int argc, char **argv) { return 0; }
18384 _ACEOF
18385 if ac_fn_c_try_link "$LINENO"
18386 then :
18387 ac_cv_cflags__Werror_unknown_warning_option=yes
18388 else $as_nop
18389 ac_cv_cflags__Werror_unknown_warning_option=no
18391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18392 conftest$ac_exeext conftest.$ac_ext
18393 CFLAGS=$ac_wine_try_cflags_saved
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18396 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18397 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18398 then :
18399 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18402 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18403 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18404 then :
18405 printf %s "(cached) " >&6
18406 else $as_nop
18407 ac_wine_try_cflags_saved=$CFLAGS
18408 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 int main(int argc, char **argv) { return 0; }
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"
18414 then :
18415 ac_cv_cflags__Werror_unused_command_line_argument=yes
18416 else $as_nop
18417 ac_cv_cflags__Werror_unused_command_line_argument=no
18419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18420 conftest$ac_exeext conftest.$ac_ext
18421 CFLAGS=$ac_wine_try_cflags_saved
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18424 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18425 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18426 then :
18427 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18430 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18431 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18432 then :
18433 printf %s "(cached) " >&6
18434 else $as_nop
18435 ac_wine_try_cflags_saved=$CFLAGS
18436 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 int main(int argc, char **argv) { return 0; }
18440 _ACEOF
18441 if ac_fn_c_try_link "$LINENO"
18442 then :
18443 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18444 else $as_nop
18445 ac_cv_cflags__Werror_ignored_optimization_argument=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18448 conftest$ac_exeext conftest.$ac_ext
18449 CFLAGS=$ac_wine_try_cflags_saved
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18452 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18453 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18454 then :
18455 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18458 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18459 if test ${ac_cv_cflags__fcf_protection_none+y}
18460 then :
18461 printf %s "(cached) " >&6
18462 else $as_nop
18463 ac_wine_try_cflags_saved=$CFLAGS
18464 CFLAGS="$CFLAGS -fcf-protection=none"
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 int main(int argc, char **argv) { return 0; }
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 ac_cv_cflags__fcf_protection_none=yes
18472 else $as_nop
18473 ac_cv_cflags__fcf_protection_none=no
18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18476 conftest$ac_exeext conftest.$ac_ext
18477 CFLAGS=$ac_wine_try_cflags_saved
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18480 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18481 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18482 then :
18483 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18486 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18487 if test ${ac_cv_cflags__fno_stack_protector+y}
18488 then :
18489 printf %s "(cached) " >&6
18490 else $as_nop
18491 ac_wine_try_cflags_saved=$CFLAGS
18492 CFLAGS="$CFLAGS -fno-stack-protector"
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 int main(int argc, char **argv) { return 0; }
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"
18498 then :
18499 ac_cv_cflags__fno_stack_protector=yes
18500 else $as_nop
18501 ac_cv_cflags__fno_stack_protector=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18504 conftest$ac_exeext conftest.$ac_ext
18505 CFLAGS=$ac_wine_try_cflags_saved
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18508 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18509 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18510 then :
18511 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18514 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18515 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18516 then :
18517 printf %s "(cached) " >&6
18518 else $as_nop
18519 ac_wine_try_cflags_saved=$CFLAGS
18520 CFLAGS="$CFLAGS -fno-strict-aliasing"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 int main(int argc, char **argv) { return 0; }
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"
18526 then :
18527 ac_cv_cflags__fno_strict_aliasing=yes
18528 else $as_nop
18529 ac_cv_cflags__fno_strict_aliasing=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18532 conftest$ac_exeext conftest.$ac_ext
18533 CFLAGS=$ac_wine_try_cflags_saved
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18536 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18537 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18538 then :
18539 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18542 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18543 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18544 then :
18545 printf %s "(cached) " >&6
18546 else $as_nop
18547 ac_wine_try_cflags_saved=$CFLAGS
18548 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"
18554 then :
18555 ac_cv_cflags__Wdeclaration_after_statement=yes
18556 else $as_nop
18557 ac_cv_cflags__Wdeclaration_after_statement=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18560 conftest$ac_exeext conftest.$ac_ext
18561 CFLAGS=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18564 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18565 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18566 then :
18567 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18570 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18571 if test ${ac_cv_cflags__Wempty_body+y}
18572 then :
18573 printf %s "(cached) " >&6
18574 else $as_nop
18575 ac_wine_try_cflags_saved=$CFLAGS
18576 CFLAGS="$CFLAGS -Wempty-body"
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"
18582 then :
18583 ac_cv_cflags__Wempty_body=yes
18584 else $as_nop
18585 ac_cv_cflags__Wempty_body=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18588 conftest$ac_exeext conftest.$ac_ext
18589 CFLAGS=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18592 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18593 if test "x$ac_cv_cflags__Wempty_body" = xyes
18594 then :
18595 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18598 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18599 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18600 then :
18601 printf %s "(cached) " >&6
18602 else $as_nop
18603 ac_wine_try_cflags_saved=$CFLAGS
18604 CFLAGS="$CFLAGS -Wignored-qualifiers"
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 ac_cv_cflags__Wignored_qualifiers=yes
18612 else $as_nop
18613 ac_cv_cflags__Wignored_qualifiers=no
18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18616 conftest$ac_exeext conftest.$ac_ext
18617 CFLAGS=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18620 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18621 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18622 then :
18623 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18626 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18627 if test ${ac_cv_cflags__Winit_self+y}
18628 then :
18629 printf %s "(cached) " >&6
18630 else $as_nop
18631 ac_wine_try_cflags_saved=$CFLAGS
18632 CFLAGS="$CFLAGS -Winit-self"
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"
18638 then :
18639 ac_cv_cflags__Winit_self=yes
18640 else $as_nop
18641 ac_cv_cflags__Winit_self=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18644 conftest$ac_exeext conftest.$ac_ext
18645 CFLAGS=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18648 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18649 if test "x$ac_cv_cflags__Winit_self" = xyes
18650 then :
18651 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18654 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18655 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18656 then :
18657 printf %s "(cached) " >&6
18658 else $as_nop
18659 ac_wine_try_cflags_saved=$CFLAGS
18660 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 ac_cv_cflags__Wpacked_not_aligned=yes
18668 else $as_nop
18669 ac_cv_cflags__Wpacked_not_aligned=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18672 conftest$ac_exeext conftest.$ac_ext
18673 CFLAGS=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18676 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18677 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18678 then :
18679 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18682 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18683 if test ${ac_cv_cflags__Wpragma_pack+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -Wpragma-pack"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__Wpragma_pack=yes
18696 else $as_nop
18697 ac_cv_cflags__Wpragma_pack=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18704 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18705 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18706 then :
18707 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18710 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18711 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -Wshift-overflow=2"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__Wshift_overflow_2=yes
18724 else $as_nop
18725 ac_cv_cflags__Wshift_overflow_2=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18732 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18733 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18734 then :
18735 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18738 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18739 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18740 then :
18741 printf %s "(cached) " >&6
18742 else $as_nop
18743 ac_wine_try_cflags_saved=$CFLAGS
18744 CFLAGS="$CFLAGS -Wstrict-prototypes"
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"
18750 then :
18751 ac_cv_cflags__Wstrict_prototypes=yes
18752 else $as_nop
18753 ac_cv_cflags__Wstrict_prototypes=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18756 conftest$ac_exeext conftest.$ac_ext
18757 CFLAGS=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18760 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18761 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18762 then :
18763 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18766 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18767 if test ${ac_cv_cflags__Wtype_limits+y}
18768 then :
18769 printf %s "(cached) " >&6
18770 else $as_nop
18771 ac_wine_try_cflags_saved=$CFLAGS
18772 CFLAGS="$CFLAGS -Wtype-limits"
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18776 _ACEOF
18777 if ac_fn_c_try_link "$LINENO"
18778 then :
18779 ac_cv_cflags__Wtype_limits=yes
18780 else $as_nop
18781 ac_cv_cflags__Wtype_limits=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18784 conftest$ac_exeext conftest.$ac_ext
18785 CFLAGS=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18789 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18790 then :
18791 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18794 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18795 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18796 then :
18797 printf %s "(cached) " >&6
18798 else $as_nop
18799 ac_wine_try_cflags_saved=$CFLAGS
18800 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"
18806 then :
18807 ac_cv_cflags__Wunused_but_set_parameter=yes
18808 else $as_nop
18809 ac_cv_cflags__Wunused_but_set_parameter=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18812 conftest$ac_exeext conftest.$ac_ext
18813 CFLAGS=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18817 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18818 then :
18819 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18822 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18823 if test ${ac_cv_cflags__Wvla+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_wine_try_cflags_saved=$CFLAGS
18828 CFLAGS="$CFLAGS -Wvla"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"
18834 then :
18835 ac_cv_cflags__Wvla=yes
18836 else $as_nop
18837 ac_cv_cflags__Wvla=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18840 conftest$ac_exeext conftest.$ac_ext
18841 CFLAGS=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18844 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18845 if test "x$ac_cv_cflags__Wvla" = xyes
18846 then :
18847 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18850 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18851 if test ${ac_cv_cflags__Wwrite_strings+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 ac_wine_try_cflags_saved=$CFLAGS
18856 CFLAGS="$CFLAGS -Wwrite-strings"
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 int main(int argc, char **argv) { return 0; }
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"
18862 then :
18863 ac_cv_cflags__Wwrite_strings=yes
18864 else $as_nop
18865 ac_cv_cflags__Wwrite_strings=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18868 conftest$ac_exeext conftest.$ac_ext
18869 CFLAGS=$ac_wine_try_cflags_saved
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18872 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18873 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18874 then :
18875 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18879 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18880 if test ${ac_cv_cflags__Wpointer_arith+y}
18881 then :
18882 printf %s "(cached) " >&6
18883 else $as_nop
18884 ac_wine_try_cflags_saved=$CFLAGS
18885 CFLAGS="$CFLAGS -Wpointer-arith"
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 int main(int argc, char **argv) { return 0; }
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"
18891 then :
18892 ac_cv_cflags__Wpointer_arith=yes
18893 else $as_nop
18894 ac_cv_cflags__Wpointer_arith=no
18896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18897 conftest$ac_exeext conftest.$ac_ext
18898 CFLAGS=$ac_wine_try_cflags_saved
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18901 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18902 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18903 then :
18904 saved_string_h_CFLAGS=$CFLAGS
18905 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18907 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18908 if test ${ac_cv_c_string_h_warnings+y}
18909 then :
18910 printf %s "(cached) " >&6
18911 else $as_nop
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 #include <string.h>
18916 main (void)
18920 return 0;
18922 _ACEOF
18923 if ac_fn_c_try_compile "$LINENO"
18924 then :
18925 ac_cv_c_string_h_warnings=no
18926 else $as_nop
18927 ac_cv_c_string_h_warnings=yes
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18932 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18933 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18934 CFLAGS=$saved_string_h_CFLAGS
18937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18938 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18939 if test ${ac_cv_cflags__Wlogical_op+y}
18940 then :
18941 printf %s "(cached) " >&6
18942 else $as_nop
18943 ac_wine_try_cflags_saved=$CFLAGS
18944 CFLAGS="$CFLAGS -Wlogical-op"
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18947 int main(int argc, char **argv) { return 0; }
18948 _ACEOF
18949 if ac_fn_c_try_link "$LINENO"
18950 then :
18951 ac_cv_cflags__Wlogical_op=yes
18952 else $as_nop
18953 ac_cv_cflags__Wlogical_op=no
18955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18956 conftest$ac_exeext conftest.$ac_ext
18957 CFLAGS=$ac_wine_try_cflags_saved
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18960 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18961 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18962 then :
18963 saved_string_h_CFLAGS=$CFLAGS
18964 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18966 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18967 if test ${ac_cv_c_logicalop_noisy+y}
18968 then :
18969 printf %s "(cached) " >&6
18970 else $as_nop
18971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18973 #include <string.h>
18974 char*f(const char *h,char n) {return strchr(h,n);}
18976 main (void)
18980 return 0;
18982 _ACEOF
18983 if ac_fn_c_try_compile "$LINENO"
18984 then :
18985 ac_cv_c_logicalop_noisy=no
18986 else $as_nop
18987 ac_cv_c_logicalop_noisy=yes
18989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18992 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18993 CFLAGS=$saved_string_h_CFLAGS
18994 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18998 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18999 if test ${wine_cv_64bit_compare_swap+y}
19000 then :
19001 printf %s "(cached) " >&6
19002 else $as_nop
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19006 #error no
19007 #endif
19009 main (void)
19013 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_compile "$LINENO"
19017 then :
19018 wine_cv_64bit_compare_swap="none needed"
19019 else $as_nop
19020 case $host_cpu in
19021 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19022 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19023 *) wine_cv_64bit_compare_swap="unknown" ;;
19024 esac
19025 if test "x$wine_cv_64bit_compare_swap" != xunknown
19026 then
19027 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19030 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19031 #error no
19032 #endif
19034 main (void)
19038 return 0;
19040 _ACEOF
19041 if ac_fn_c_try_compile "$LINENO"
19042 then :
19044 else $as_nop
19045 wine_cv_64bit_compare_swap="unknown"
19047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19048 CFLAGS=$saved_CFLAGS
19051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19054 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19055 case "$wine_cv_64bit_compare_swap" in
19056 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19057 "none needed") ;;
19058 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19059 esac
19061 ac_debug_format_seen=""
19062 for ac_flag in $CFLAGS; do
19063 case $ac_flag in
19064 -gdwarf*) ac_debug_format_seen=yes ;;
19065 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19066 esac
19067 done
19068 if test "x$ac_debug_format_seen" = xdefault
19069 then
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19071 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19072 if test ${ac_cv_cflags__gdwarf_4+y}
19073 then :
19074 printf %s "(cached) " >&6
19075 else $as_nop
19076 ac_wine_try_cflags_saved=$CFLAGS
19077 CFLAGS="$CFLAGS -gdwarf-4"
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 int main(int argc, char **argv) { return 0; }
19081 _ACEOF
19082 if ac_fn_c_try_link "$LINENO"
19083 then :
19084 ac_cv_cflags__gdwarf_4=yes
19085 else $as_nop
19086 ac_cv_cflags__gdwarf_4=no
19088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19089 conftest$ac_exeext conftest.$ac_ext
19090 CFLAGS=$ac_wine_try_cflags_saved
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19093 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19094 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19095 then :
19096 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19100 MSVCRTFLAGS=""
19102 case $host_os in
19103 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19104 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19105 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19106 then :
19107 printf %s "(cached) " >&6
19108 else $as_nop
19109 ac_wine_try_cflags_saved=$CFLAGS
19110 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19113 int main(int argc, char **argv) { return 0; }
19114 _ACEOF
19115 if ac_fn_c_try_link "$LINENO"
19116 then :
19117 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19118 else $as_nop
19119 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19122 conftest$ac_exeext conftest.$ac_ext
19123 CFLAGS=$ac_wine_try_cflags_saved
19125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19126 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19127 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19128 then :
19129 DELAYLOADFLAG="-Wl,-delayload,"
19131 fi ;;
19132 *) MSVCRTFLAGS="-D_WIN32"
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19134 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19135 if test ${ac_cv_cflags__fno_builtin+y}
19136 then :
19137 printf %s "(cached) " >&6
19138 else $as_nop
19139 ac_wine_try_cflags_saved=$CFLAGS
19140 CFLAGS="$CFLAGS -fno-builtin"
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143 int main(int argc, char **argv) { return 0; }
19144 _ACEOF
19145 if ac_fn_c_try_link "$LINENO"
19146 then :
19147 ac_cv_cflags__fno_builtin=yes
19148 else $as_nop
19149 ac_cv_cflags__fno_builtin=no
19151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19152 conftest$ac_exeext conftest.$ac_ext
19153 CFLAGS=$ac_wine_try_cflags_saved
19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19156 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19157 if test "x$ac_cv_cflags__fno_builtin" = xyes
19158 then :
19159 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19162 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19163 if test ${ac_cv_cflags__fshort_wchar+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 ac_wine_try_cflags_saved=$CFLAGS
19168 CFLAGS="$CFLAGS -fshort-wchar"
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 int main(int argc, char **argv) { return 0; }
19172 _ACEOF
19173 if ac_fn_c_try_link "$LINENO"
19174 then :
19175 ac_cv_cflags__fshort_wchar=yes
19176 else $as_nop
19177 ac_cv_cflags__fshort_wchar=no
19179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19180 conftest$ac_exeext conftest.$ac_ext
19181 CFLAGS=$ac_wine_try_cflags_saved
19183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19184 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19185 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19186 then :
19187 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19190 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19191 if test ${ac_cv_cflags__fvisibility_hidden+y}
19192 then :
19193 printf %s "(cached) " >&6
19194 else $as_nop
19195 ac_wine_try_cflags_saved=$CFLAGS
19196 CFLAGS="$CFLAGS -fvisibility=hidden"
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 int main(int argc, char **argv) { return 0; }
19200 _ACEOF
19201 if ac_fn_c_try_link "$LINENO"
19202 then :
19203 ac_cv_cflags__fvisibility_hidden=yes
19204 else $as_nop
19205 ac_cv_cflags__fvisibility_hidden=no
19207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19208 conftest$ac_exeext conftest.$ac_ext
19209 CFLAGS=$ac_wine_try_cflags_saved
19211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19212 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19213 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19214 then :
19215 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19218 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19219 if test ${ac_cv_cflags__Wno_format+y}
19220 then :
19221 printf %s "(cached) " >&6
19222 else $as_nop
19223 ac_wine_try_cflags_saved=$CFLAGS
19224 CFLAGS="$CFLAGS -Wno-format"
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 int main(int argc, char **argv) { return 0; }
19228 _ACEOF
19229 if ac_fn_c_try_link "$LINENO"
19230 then :
19231 ac_cv_cflags__Wno_format=yes
19232 else $as_nop
19233 ac_cv_cflags__Wno_format=no
19235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19236 conftest$ac_exeext conftest.$ac_ext
19237 CFLAGS=$ac_wine_try_cflags_saved
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19240 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19241 if test "x$ac_cv_cflags__Wno_format" = xyes
19242 then :
19243 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19244 fi ;;
19245 esac
19247 case $host_cpu in
19248 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19249 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19250 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 ac_wine_try_cflags_saved=$CFLAGS
19255 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19259 _ACEOF
19260 if ac_fn_c_try_link "$LINENO"
19261 then :
19262 ac_cv_cflags__fno_omit_frame_pointer=yes
19263 else $as_nop
19264 ac_cv_cflags__fno_omit_frame_pointer=no
19266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19267 conftest$ac_exeext conftest.$ac_ext
19268 CFLAGS=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19271 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19272 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19273 then :
19274 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19275 fi ;;
19276 *x86_64*)
19277 case $host_os in
19278 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19279 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19280 if test ${ac_cv_cflags__Wno_format+y}
19281 then :
19282 printf %s "(cached) " >&6
19283 else $as_nop
19284 ac_wine_try_cflags_saved=$CFLAGS
19285 CFLAGS="$CFLAGS -Wno-format"
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 int main(int argc, char **argv) { return 0; }
19289 _ACEOF
19290 if ac_fn_c_try_link "$LINENO"
19291 then :
19292 ac_cv_cflags__Wno_format=yes
19293 else $as_nop
19294 ac_cv_cflags__Wno_format=no
19296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19297 conftest$ac_exeext conftest.$ac_ext
19298 CFLAGS=$ac_wine_try_cflags_saved
19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19301 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19302 if test "x$ac_cv_cflags__Wno_format" = xyes
19303 then :
19304 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19305 fi ;;
19306 *) if test -z "$PE_ARCHS"
19307 then
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19309 printf %s "checking for working -mabi=ms... " >&6; }
19310 if test ${ac_cv_mabi_ms+y}
19311 then :
19312 printf %s "(cached) " >&6
19313 else $as_nop
19314 CFLAGS="$CFLAGS -mabi=ms"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 #include <stdarg.h>
19318 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19320 main (void)
19324 return 0;
19326 _ACEOF
19327 if ac_fn_c_try_compile "$LINENO"
19328 then :
19329 ac_cv_mabi_ms=yes
19330 else $as_nop
19331 ac_cv_mabi_ms=no
19333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19334 CFLAGS=$saved_CFLAGS
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19337 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19338 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
19340 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19341 esac ;;
19342 arm*)
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19344 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19345 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19346 then :
19347 printf %s "(cached) " >&6
19348 else $as_nop
19349 ac_wine_try_cflags_saved=$CFLAGS
19350 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19353 int main(int argc, char **argv) { return 0; }
19354 _ACEOF
19355 if ac_fn_c_try_link "$LINENO"
19356 then :
19357 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19358 else $as_nop
19359 ac_cv_cflags__Wincompatible_function_pointer_types=no
19361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19362 conftest$ac_exeext conftest.$ac_ext
19363 CFLAGS=$ac_wine_try_cflags_saved
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19366 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19367 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19368 then :
19369 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19370 fi ;;
19371 esac
19373 CFLAGS=$saved_CFLAGS
19375 if test "x$enable_werror" = "xyes"
19376 then
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19378 printf %s "checking whether the compiler supports -Werror... " >&6; }
19379 if test ${ac_cv_cflags__Werror+y}
19380 then :
19381 printf %s "(cached) " >&6
19382 else $as_nop
19383 ac_wine_try_cflags_saved=$CFLAGS
19384 CFLAGS="$CFLAGS -Werror"
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 int main(int argc, char **argv) { return 0; }
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"
19390 then :
19391 ac_cv_cflags__Werror=yes
19392 else $as_nop
19393 ac_cv_cflags__Werror=no
19395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19396 conftest$ac_exeext conftest.$ac_ext
19397 CFLAGS=$ac_wine_try_cflags_saved
19399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19400 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19401 if test "x$ac_cv_cflags__Werror" = xyes
19402 then :
19403 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19406 if test "x$enable_build_id" = "xyes"
19407 then
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19409 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19410 if test ${ac_cv_cflags__Wl___build_id+y}
19411 then :
19412 printf %s "(cached) " >&6
19413 else $as_nop
19414 ac_wine_try_cflags_saved=$CFLAGS
19415 CFLAGS="$CFLAGS -Wl,--build-id"
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 int main(int argc, char **argv) { return 0; }
19419 _ACEOF
19420 if ac_fn_c_try_link "$LINENO"
19421 then :
19422 ac_cv_cflags__Wl___build_id=yes
19423 else $as_nop
19424 ac_cv_cflags__Wl___build_id=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19427 conftest$ac_exeext conftest.$ac_ext
19428 CFLAGS=$ac_wine_try_cflags_saved
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19431 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19432 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19433 then :
19434 CFLAGS="$CFLAGS -Wl,--build-id"
19435 LDFLAGS="$LDFLAGS -Wl,--build-id"
19441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19442 printf %s "checking for the need to disable Fortify... " >&6; }
19443 if test ${ac_cv_c_fortify_enabled+y}
19444 then :
19445 printf %s "(cached) " >&6
19446 else $as_nop
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19449 #include <string.h>
19451 main (void)
19453 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19454 #error Fortify enabled
19455 #endif
19457 return 0;
19459 _ACEOF
19460 if ac_fn_c_try_compile "$LINENO"
19461 then :
19462 ac_cv_c_fortify_enabled=no
19463 else $as_nop
19464 ac_cv_c_fortify_enabled=yes
19466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19469 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19470 if test "$ac_cv_c_fortify_enabled" = yes
19471 then
19472 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19477 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19478 if test ${ac_cv_c_cfi_support+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19484 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19486 main (void)
19490 return 0;
19492 _ACEOF
19493 if ac_fn_c_try_compile "$LINENO"
19494 then :
19495 ac_cv_c_cfi_support="yes"
19496 else $as_nop
19497 ac_cv_c_cfi_support="no"
19499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19502 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19503 if test "$ac_cv_c_cfi_support" = "yes"
19504 then
19505 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19506 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19507 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19508 elif test $HOST_ARCH = x86_64
19509 then
19510 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19514 case "$HOST_ARCH,$PE_ARCHS" in
19515 x86_64,*i386*) wine_binary="wine" ;;
19516 x86_64,*) wine_binary="wine64" ;;
19517 *) wine_binary="wine" ;;
19518 esac
19519 WINELOADER_PROGRAMS="$wine_binary"
19522 case $host_os in
19523 linux*)
19524 case $host_cpu in
19525 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19526 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19527 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19529 esac
19531 darwin*|macosx*)
19532 if test "$wine_can_build_preloader" = "yes"
19533 then
19534 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19535 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19538 esac
19541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19542 printf %s "checking for library containing dlopen... " >&6; }
19543 if test ${ac_cv_search_dlopen+y}
19544 then :
19545 printf %s "(cached) " >&6
19546 else $as_nop
19547 ac_func_search_save_LIBS=$LIBS
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19551 /* Override any GCC internal prototype to avoid an error.
19552 Use char because int might match the return type of a GCC
19553 builtin and then its argument prototype would still apply. */
19554 char dlopen ();
19556 main (void)
19558 return dlopen ();
19560 return 0;
19562 _ACEOF
19563 for ac_lib in '' dl
19565 if test -z "$ac_lib"; then
19566 ac_res="none required"
19567 else
19568 ac_res=-l$ac_lib
19569 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19571 if ac_fn_c_try_link "$LINENO"
19572 then :
19573 ac_cv_search_dlopen=$ac_res
19575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19576 conftest$ac_exeext
19577 if test ${ac_cv_search_dlopen+y}
19578 then :
19579 break
19581 done
19582 if test ${ac_cv_search_dlopen+y}
19583 then :
19585 else $as_nop
19586 ac_cv_search_dlopen=no
19588 rm conftest.$ac_ext
19589 LIBS=$ac_func_search_save_LIBS
19591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19592 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19593 ac_res=$ac_cv_search_dlopen
19594 if test "$ac_res" != no
19595 then :
19596 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19602 printf %s "checking for library containing gethostbyname... " >&6; }
19603 if test ${ac_cv_search_gethostbyname+y}
19604 then :
19605 printf %s "(cached) " >&6
19606 else $as_nop
19607 ac_func_search_save_LIBS=$LIBS
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19611 /* Override any GCC internal prototype to avoid an error.
19612 Use char because int might match the return type of a GCC
19613 builtin and then its argument prototype would still apply. */
19614 char gethostbyname ();
19616 main (void)
19618 return gethostbyname ();
19620 return 0;
19622 _ACEOF
19623 for ac_lib in '' nsl
19625 if test -z "$ac_lib"; then
19626 ac_res="none required"
19627 else
19628 ac_res=-l$ac_lib
19629 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19631 if ac_fn_c_try_link "$LINENO"
19632 then :
19633 ac_cv_search_gethostbyname=$ac_res
19635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19636 conftest$ac_exeext
19637 if test ${ac_cv_search_gethostbyname+y}
19638 then :
19639 break
19641 done
19642 if test ${ac_cv_search_gethostbyname+y}
19643 then :
19645 else $as_nop
19646 ac_cv_search_gethostbyname=no
19648 rm conftest.$ac_ext
19649 LIBS=$ac_func_search_save_LIBS
19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19652 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19653 ac_res=$ac_cv_search_gethostbyname
19654 if test "$ac_res" != no
19655 then :
19656 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19662 printf %s "checking for library containing connect... " >&6; }
19663 if test ${ac_cv_search_connect+y}
19664 then :
19665 printf %s "(cached) " >&6
19666 else $as_nop
19667 ac_func_search_save_LIBS=$LIBS
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19671 /* Override any GCC internal prototype to avoid an error.
19672 Use char because int might match the return type of a GCC
19673 builtin and then its argument prototype would still apply. */
19674 char connect ();
19676 main (void)
19678 return connect ();
19680 return 0;
19682 _ACEOF
19683 for ac_lib in '' socket
19685 if test -z "$ac_lib"; then
19686 ac_res="none required"
19687 else
19688 ac_res=-l$ac_lib
19689 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19691 if ac_fn_c_try_link "$LINENO"
19692 then :
19693 ac_cv_search_connect=$ac_res
19695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19696 conftest$ac_exeext
19697 if test ${ac_cv_search_connect+y}
19698 then :
19699 break
19701 done
19702 if test ${ac_cv_search_connect+y}
19703 then :
19705 else $as_nop
19706 ac_cv_search_connect=no
19708 rm conftest.$ac_ext
19709 LIBS=$ac_func_search_save_LIBS
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19712 printf "%s\n" "$ac_cv_search_connect" >&6; }
19713 ac_res=$ac_cv_search_connect
19714 if test "$ac_res" != no
19715 then :
19716 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19722 printf %s "checking for library containing inet_aton... " >&6; }
19723 if test ${ac_cv_search_inet_aton+y}
19724 then :
19725 printf %s "(cached) " >&6
19726 else $as_nop
19727 ac_func_search_save_LIBS=$LIBS
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19734 char inet_aton ();
19736 main (void)
19738 return inet_aton ();
19740 return 0;
19742 _ACEOF
19743 for ac_lib in '' resolv
19745 if test -z "$ac_lib"; then
19746 ac_res="none required"
19747 else
19748 ac_res=-l$ac_lib
19749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19751 if ac_fn_c_try_link "$LINENO"
19752 then :
19753 ac_cv_search_inet_aton=$ac_res
19755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19756 conftest$ac_exeext
19757 if test ${ac_cv_search_inet_aton+y}
19758 then :
19759 break
19761 done
19762 if test ${ac_cv_search_inet_aton+y}
19763 then :
19765 else $as_nop
19766 ac_cv_search_inet_aton=no
19768 rm conftest.$ac_ext
19769 LIBS=$ac_func_search_save_LIBS
19771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19772 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19773 ac_res=$ac_cv_search_inet_aton
19774 if test "$ac_res" != no
19775 then :
19776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19781 ac_save_CFLAGS="$CFLAGS"
19782 CFLAGS="$CFLAGS $BUILTINFLAG"
19783 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19784 if test "x$ac_cv_func_dladdr1" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19790 if test "x$ac_cv_func_dlinfo" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19796 if test "x$ac_cv_func_epoll_create" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19802 if test "x$ac_cv_func_fstatfs" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19808 if test "x$ac_cv_func_futimens" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19814 if test "x$ac_cv_func_futimes" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19820 if test "x$ac_cv_func_futimesat" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19826 if test "x$ac_cv_func_getaddrinfo" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19832 if test "x$ac_cv_func_getattrlist" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19838 if test "x$ac_cv_func_getauxval" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19844 if test "x$ac_cv_func_getifaddrs" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19850 if test "x$ac_cv_func_getrandom" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19856 if test "x$ac_cv_func_kqueue" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19862 if test "x$ac_cv_func_mach_continuous_time" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19868 if test "x$ac_cv_func_pipe2" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19874 if test "x$ac_cv_func_port_create" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19880 if test "x$ac_cv_func_posix_fadvise" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19886 if test "x$ac_cv_func_posix_fallocate" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19892 if test "x$ac_cv_func_prctl" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19897 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19898 if test "x$ac_cv_func_proc_pidinfo" = xyes
19899 then :
19900 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19903 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19904 if test "x$ac_cv_func_sched_yield" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19909 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19910 if test "x$ac_cv_func_setproctitle" = xyes
19911 then :
19912 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19915 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19916 if test "x$ac_cv_func_setprogname" = xyes
19917 then :
19918 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19921 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19922 if test "x$ac_cv_func_sigprocmask" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19927 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19928 if test "x$ac_cv_func_sysinfo" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19933 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19934 if test "x$ac_cv_func_tcdrain" = xyes
19935 then :
19936 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19939 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19940 if test "x$ac_cv_func_thr_kill2" = xyes
19941 then :
19942 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19946 CFLAGS="$ac_save_CFLAGS"
19948 case $host_os in
19949 darwin*|macosx*) ;;
19950 *) ac_save_LIBS=$LIBS
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19952 printf %s "checking for library containing clock_gettime... " >&6; }
19953 if test ${ac_cv_search_clock_gettime+y}
19954 then :
19955 printf %s "(cached) " >&6
19956 else $as_nop
19957 ac_func_search_save_LIBS=$LIBS
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19961 /* Override any GCC internal prototype to avoid an error.
19962 Use char because int might match the return type of a GCC
19963 builtin and then its argument prototype would still apply. */
19964 char clock_gettime ();
19966 main (void)
19968 return clock_gettime ();
19970 return 0;
19972 _ACEOF
19973 for ac_lib in '' rt
19975 if test -z "$ac_lib"; then
19976 ac_res="none required"
19977 else
19978 ac_res=-l$ac_lib
19979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19981 if ac_fn_c_try_link "$LINENO"
19982 then :
19983 ac_cv_search_clock_gettime=$ac_res
19985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19986 conftest$ac_exeext
19987 if test ${ac_cv_search_clock_gettime+y}
19988 then :
19989 break
19991 done
19992 if test ${ac_cv_search_clock_gettime+y}
19993 then :
19995 else $as_nop
19996 ac_cv_search_clock_gettime=no
19998 rm conftest.$ac_ext
19999 LIBS=$ac_func_search_save_LIBS
20001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20002 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20003 ac_res=$ac_cv_search_clock_gettime
20004 if test "$ac_res" != no
20005 then :
20006 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20008 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20010 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20014 LIBS=$ac_save_LIBS
20016 esac
20018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20019 printf %s "checking for sched_setaffinity... " >&6; }
20020 if test ${wine_cv_have_sched_setaffinity+y}
20021 then :
20022 printf %s "(cached) " >&6
20023 else $as_nop
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20026 #include <sched.h>
20028 main (void)
20030 sched_setaffinity(0, 0, 0);
20032 return 0;
20034 _ACEOF
20035 if ac_fn_c_try_link "$LINENO"
20036 then :
20037 wine_cv_have_sched_setaffinity=yes
20038 else $as_nop
20039 wine_cv_have_sched_setaffinity=no
20041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20042 conftest$ac_exeext conftest.$ac_ext
20044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20045 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20046 if test "$wine_cv_have_sched_setaffinity" = "yes"
20047 then
20049 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20055 printf %s "checking for inline... " >&6; }
20056 if test ${ac_cv_c_inline+y}
20057 then :
20058 printf %s "(cached) " >&6
20059 else $as_nop
20060 ac_cv_c_inline=no
20061 for ac_kw in inline __inline__ __inline; do
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20064 #ifndef __cplusplus
20065 typedef int foo_t;
20066 static $ac_kw foo_t static_foo (void) {return 0; }
20067 $ac_kw foo_t foo (void) {return 0; }
20068 #endif
20070 _ACEOF
20071 if ac_fn_c_try_compile "$LINENO"
20072 then :
20073 ac_cv_c_inline=$ac_kw
20075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20076 test "$ac_cv_c_inline" != no && break
20077 done
20080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20081 printf "%s\n" "$ac_cv_c_inline" >&6; }
20083 case $ac_cv_c_inline in
20084 inline | yes) ;;
20086 case $ac_cv_c_inline in
20087 no) ac_val=;;
20088 *) ac_val=$ac_cv_c_inline;;
20089 esac
20090 cat >>confdefs.h <<_ACEOF
20091 #ifndef __cplusplus
20092 #define inline $ac_val
20093 #endif
20094 _ACEOF
20096 esac
20098 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20100 if test "x$ac_cv_type_request_sense" = xyes
20101 then :
20103 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20109 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20110 #include <sys/socket.h>
20111 #ifdef HAVE_SYS_SOCKETVAR_H
20112 #include <sys/socketvar.h>
20113 #endif
20114 #ifdef HAVE_NET_ROUTE_H
20115 #include <net/route.h>
20116 #endif
20117 #ifdef HAVE_NETINET_IN_H
20118 #include <netinet/in.h>
20119 #endif
20120 #ifdef HAVE_NETINET_IN_SYSTM_H
20121 #include <netinet/in_systm.h>
20122 #endif
20123 #ifdef HAVE_NETINET_IP_H
20124 #include <netinet/ip.h>
20125 #endif
20126 #ifdef HAVE_NETINET_IN_PCB_H
20127 #include <netinet/in_pcb.h>
20128 #endif
20130 if test "x$ac_cv_type_struct_xinpgen" = xyes
20131 then :
20133 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20140 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20141 if test ${wine_cv_linux_gethostbyname_r_6+y}
20142 then :
20143 printf %s "(cached) " >&6
20144 else $as_nop
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20147 #include <netdb.h>
20149 main (void)
20152 char *name=0;
20153 struct hostent he;
20154 struct hostent *result;
20155 char *buf=0;
20156 int bufsize=0;
20157 int errnr;
20158 char *addr=0;
20159 int addrlen=0;
20160 int addrtype=0;
20161 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20162 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20165 return 0;
20167 _ACEOF
20168 if ac_fn_c_try_link "$LINENO"
20169 then :
20170 wine_cv_linux_gethostbyname_r_6=yes
20171 else $as_nop
20172 wine_cv_linux_gethostbyname_r_6=no
20175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20176 conftest$ac_exeext conftest.$ac_ext
20179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20180 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20181 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20182 then
20184 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20188 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20189 #include <sys/socket.h>
20190 #ifdef HAVE_SYS_UN_H
20191 # include <sys/un.h>
20192 #endif
20194 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20201 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20202 #include <sys/socket.h>
20203 #ifdef HAVE_SYS_UN_H
20204 # include <sys/un.h>
20205 #endif
20207 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20208 then :
20210 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20216 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20217 #ifdef HAVE_SCSI_SG_H
20218 #include <scsi/sg.h>
20219 #endif
20221 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20222 then :
20224 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20228 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>
20229 #ifdef HAVE_SCSI_SG_H
20230 #include <scsi/sg.h>
20231 #endif
20233 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20234 then :
20236 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20242 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20244 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20245 then :
20247 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20253 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20254 #ifdef HAVE_SYS_MTIO_H
20255 #include <sys/mtio.h>
20256 #endif
20258 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20259 then :
20261 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20265 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20266 #ifdef HAVE_SYS_MTIO_H
20267 #include <sys/mtio.h>
20268 #endif
20270 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20271 then :
20273 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20277 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20278 #ifdef HAVE_SYS_MTIO_H
20279 #include <sys/mtio.h>
20280 #endif
20282 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20283 then :
20285 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20291 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20292 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20293 then :
20295 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20299 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20300 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20301 then :
20303 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20307 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20308 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20309 then :
20311 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20315 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20316 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20317 then :
20319 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20323 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20324 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20325 then :
20327 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20331 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20332 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20333 then :
20335 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20339 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20340 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20341 then :
20343 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20347 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20348 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20349 then :
20351 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20355 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20356 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20357 then :
20359 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20363 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20364 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20365 then :
20367 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20371 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20372 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20373 then :
20375 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20381 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>
20382 #ifdef HAVE_NETINET_IN_H
20383 #include <netinet/in.h>
20384 #endif
20386 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20395 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
20396 #include <resolv.h>
20397 #endif
20399 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20400 then :
20402 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20409 #include <netinet/in.h>
20410 #endif
20412 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20421 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20422 #ifdef HAVE_SYS_SOCKETVAR_H
20423 #include <sys/socketvar.h>
20424 #endif
20425 #ifdef HAVE_NETINET_IN_H
20426 #include <netinet/in.h>
20427 #endif
20428 #ifdef HAVE_NETINET_IP_VAR_H
20429 #include <netinet/ip_var.h>
20430 #endif
20432 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20441 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
20442 #include <netinet/ip_var.h>
20443 #endif
20445 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20446 then :
20448 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#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_NETINET6_IP6_VAR_H
20462 #include <netinet6/ip6_var.h>
20463 #endif
20465 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20475 #ifdef HAVE_SYS_SOCKETVAR_H
20476 #include <sys/socketvar.h>
20477 #endif
20478 #ifdef HAVE_NETINET_IN_H
20479 #include <netinet/in.h>
20480 #endif
20481 #ifdef HAVE_NETINET_IP_H
20482 #include <netinet/ip.h>
20483 #endif
20484 #ifdef HAVE_NETINET_IP_ICMP_H
20485 #include <netinet/ip_icmp.h>
20486 #endif
20487 #ifdef HAVE_NETINET_ICMP_VAR_H
20488 #include <netinet/icmp_var.h>
20489 #endif
20491 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20500 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#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_ICMP6_H
20508 #include <netinet/icmp6.h>
20509 #endif
20511 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20512 then :
20514 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20520 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20521 #ifdef HAVE_SYS_SOCKETVAR_H
20522 #include <sys/socketvar.h>
20523 #endif
20524 #ifdef HAVE_NETINET_IN_H
20525 #include <netinet/in.h>
20526 #endif
20527 #ifdef HAVE_NETINET_TCP_H
20528 #include <netinet/tcp.h>
20529 #endif
20530 #ifdef HAVE_NETINET_TCP_VAR_H
20531 #include <netinet/tcp_var.h>
20532 #endif
20534 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20535 then :
20537 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20543 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
20544 #include <netinet/tcp_var.h>
20545 #endif
20547 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20548 then :
20550 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20556 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20557 #ifdef HAVE_NETINET_IN_H
20558 #include <netinet/in.h>
20559 #endif
20560 #ifdef HAVE_NETINET_IP_VAR_H
20561 #include <netinet/ip_var.h>
20562 #endif
20563 #ifdef HAVE_NETINET_UDP_H
20564 #include <netinet/udp.h>
20565 #endif
20566 #ifdef HAVE_NETINET_UDP_VAR_H
20567 #include <netinet/udp_var.h>
20568 #endif
20570 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20571 then :
20573 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20579 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20580 #ifdef HAVE_NET_IF_H
20581 # include <net/if.h>
20582 #endif
20584 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20585 then :
20587 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20594 # include <sys/sysinfo.h>
20595 #endif
20597 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20604 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20605 # include <sys/sysinfo.h>
20606 #endif
20608 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20609 then :
20611 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20617 LIBS="$ac_save_LIBS"
20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20620 printf %s "checking for __builtin_popcount... " >&6; }
20621 if test ${ac_cv_have___builtin_popcount+y}
20622 then :
20623 printf %s "(cached) " >&6
20624 else $as_nop
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20629 main (void)
20631 return __builtin_popcount(1)
20633 return 0;
20635 _ACEOF
20636 if ac_fn_c_try_link "$LINENO"
20637 then :
20638 ac_cv_have___builtin_popcount="yes"
20639 else $as_nop
20640 ac_cv_have___builtin_popcount="no"
20642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20643 conftest$ac_exeext conftest.$ac_ext
20645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20646 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20647 if test "$ac_cv_have___builtin_popcount" = "yes"
20648 then
20650 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20655 printf %s "checking for __clear_cache... " >&6; }
20656 if test ${ac_cv_have___clear_cache+y}
20657 then :
20658 printf %s "(cached) " >&6
20659 else $as_nop
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20664 main (void)
20666 __clear_cache((void*)0, (void*)0); return 0;
20668 return 0;
20670 _ACEOF
20671 if ac_fn_c_try_link "$LINENO"
20672 then :
20673 ac_cv_have___clear_cache="yes"
20674 else $as_nop
20675 ac_cv_have___clear_cache="no"
20677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20678 conftest$ac_exeext conftest.$ac_ext
20680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20681 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20682 if test "$ac_cv_have___clear_cache" = "yes"
20683 then
20685 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20690 case $host_cpu in
20691 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20692 printf %s "checking whether we need to define __i386__... " >&6; }
20693 if test ${ac_cv_cpp_def___i386__+y}
20694 then :
20695 printf %s "(cached) " >&6
20696 else $as_nop
20697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20698 /* end confdefs.h. */
20699 #ifndef __i386__
20701 #endif
20702 _ACEOF
20703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20704 $EGREP "yes" >/dev/null 2>&1
20705 then :
20706 ac_cv_cpp_def___i386__=yes
20707 else $as_nop
20708 ac_cv_cpp_def___i386__=no
20710 rm -rf conftest*
20713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20714 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20715 if test "x$ac_cv_cpp_def___i386__" = xyes
20716 then :
20717 CFLAGS="$CFLAGS -D__i386__"
20718 LINTFLAGS="$LINTFLAGS -D__i386__"
20719 fi ;;
20720 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20721 printf %s "checking whether we need to define __x86_64__... " >&6; }
20722 if test ${ac_cv_cpp_def___x86_64__+y}
20723 then :
20724 printf %s "(cached) " >&6
20725 else $as_nop
20726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20728 #ifndef __x86_64__
20730 #endif
20731 _ACEOF
20732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20733 $EGREP "yes" >/dev/null 2>&1
20734 then :
20735 ac_cv_cpp_def___x86_64__=yes
20736 else $as_nop
20737 ac_cv_cpp_def___x86_64__=no
20739 rm -rf conftest*
20742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20743 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20744 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20745 then :
20746 CFLAGS="$CFLAGS -D__x86_64__"
20747 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20748 fi ;;
20749 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20750 printf %s "checking whether we need to define __sparc64__... " >&6; }
20751 if test ${ac_cv_cpp_def___sparc64__+y}
20752 then :
20753 printf %s "(cached) " >&6
20754 else $as_nop
20755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20757 #ifndef __sparc64__
20759 #endif
20760 _ACEOF
20761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20762 $EGREP "yes" >/dev/null 2>&1
20763 then :
20764 ac_cv_cpp_def___sparc64__=yes
20765 else $as_nop
20766 ac_cv_cpp_def___sparc64__=no
20768 rm -rf conftest*
20771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20772 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20773 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20774 then :
20775 CFLAGS="$CFLAGS -D__sparc64__"
20776 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20777 fi ;;
20778 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20779 printf %s "checking whether we need to define __sparc__... " >&6; }
20780 if test ${ac_cv_cpp_def___sparc__+y}
20781 then :
20782 printf %s "(cached) " >&6
20783 else $as_nop
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20786 #ifndef __sparc__
20788 #endif
20789 _ACEOF
20790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20791 $EGREP "yes" >/dev/null 2>&1
20792 then :
20793 ac_cv_cpp_def___sparc__=yes
20794 else $as_nop
20795 ac_cv_cpp_def___sparc__=no
20797 rm -rf conftest*
20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20801 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20802 if test "x$ac_cv_cpp_def___sparc__" = xyes
20803 then :
20804 CFLAGS="$CFLAGS -D__sparc__"
20805 LINTFLAGS="$LINTFLAGS -D__sparc__"
20806 fi ;;
20807 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20808 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20809 if test ${ac_cv_cpp_def___powerpc64__+y}
20810 then :
20811 printf %s "(cached) " >&6
20812 else $as_nop
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20815 #ifndef __powerpc64__
20817 #endif
20818 _ACEOF
20819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20820 $EGREP "yes" >/dev/null 2>&1
20821 then :
20822 ac_cv_cpp_def___powerpc64__=yes
20823 else $as_nop
20824 ac_cv_cpp_def___powerpc64__=no
20826 rm -rf conftest*
20829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20830 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20831 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20832 then :
20833 CFLAGS="$CFLAGS -D__powerpc64__"
20834 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20835 fi ;;
20836 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20837 printf %s "checking whether we need to define __powerpc__... " >&6; }
20838 if test ${ac_cv_cpp_def___powerpc__+y}
20839 then :
20840 printf %s "(cached) " >&6
20841 else $as_nop
20842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20843 /* end confdefs.h. */
20844 #ifndef __powerpc__
20846 #endif
20847 _ACEOF
20848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20849 $EGREP "yes" >/dev/null 2>&1
20850 then :
20851 ac_cv_cpp_def___powerpc__=yes
20852 else $as_nop
20853 ac_cv_cpp_def___powerpc__=no
20855 rm -rf conftest*
20858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20859 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20860 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20861 then :
20862 CFLAGS="$CFLAGS -D__powerpc__"
20863 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20864 fi ;;
20865 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20866 printf %s "checking whether we need to define __aarch64__... " >&6; }
20867 if test ${ac_cv_cpp_def___aarch64__+y}
20868 then :
20869 printf %s "(cached) " >&6
20870 else $as_nop
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20873 #ifndef __aarch64__
20875 #endif
20876 _ACEOF
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev/null 2>&1
20879 then :
20880 ac_cv_cpp_def___aarch64__=yes
20881 else $as_nop
20882 ac_cv_cpp_def___aarch64__=no
20884 rm -rf conftest*
20887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20888 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20889 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20890 then :
20891 CFLAGS="$CFLAGS -D__aarch64__"
20892 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20893 fi ;;
20894 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20895 printf %s "checking whether we need to define __arm__... " >&6; }
20896 if test ${ac_cv_cpp_def___arm__+y}
20897 then :
20898 printf %s "(cached) " >&6
20899 else $as_nop
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902 #ifndef __arm__
20904 #endif
20905 _ACEOF
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev/null 2>&1
20908 then :
20909 ac_cv_cpp_def___arm__=yes
20910 else $as_nop
20911 ac_cv_cpp_def___arm__=no
20913 rm -rf conftest*
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20918 if test "x$ac_cv_cpp_def___arm__" = xyes
20919 then :
20920 CFLAGS="$CFLAGS -D__arm__"
20921 LINTFLAGS="$LINTFLAGS -D__arm__"
20922 fi ;;
20923 esac
20925 case $host_vendor in
20926 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20927 printf %s "checking whether we need to define __sun__... " >&6; }
20928 if test ${ac_cv_cpp_def___sun__+y}
20929 then :
20930 printf %s "(cached) " >&6
20931 else $as_nop
20932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20934 #ifndef __sun__
20936 #endif
20937 _ACEOF
20938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20939 $EGREP "yes" >/dev/null 2>&1
20940 then :
20941 ac_cv_cpp_def___sun__=yes
20942 else $as_nop
20943 ac_cv_cpp_def___sun__=no
20945 rm -rf conftest*
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20949 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20950 if test "x$ac_cv_cpp_def___sun__" = xyes
20951 then :
20952 CFLAGS="$CFLAGS -D__sun__"
20953 LINTFLAGS="$LINTFLAGS -D__sun__"
20954 fi ;;
20955 esac
20961 ac_config_commands="$ac_config_commands include/stamp-h"
20963 printf %s "creating Makefile rules..." >&6
20965 makedep_flags=""
20966 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20968 wine_srcdir=
20969 test "$srcdir" = . || wine_srcdir="$srcdir/"
20971 ac_config_links="$ac_config_links wine:tools/winewrapper"
20972 wine_fn_config_symlink wine
20973 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
20974 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20975 wine_fn_config_symlink wine64
20978 wine_fn_config_makefile dlls/acledit enable_acledit
20979 wine_fn_config_makefile dlls/aclui enable_aclui
20980 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20981 wine_fn_config_makefile dlls/activeds enable_activeds
20982 wine_fn_config_makefile dlls/activeds/tests enable_tests
20983 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20984 wine_fn_config_makefile dlls/adsldp enable_adsldp
20985 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20986 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20987 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20988 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20989 wine_fn_config_makefile dlls/advpack enable_advpack
20990 wine_fn_config_makefile dlls/advpack/tests enable_tests
20991 wine_fn_config_makefile dlls/amsi enable_amsi
20992 wine_fn_config_makefile dlls/amstream enable_amstream
20993 wine_fn_config_makefile dlls/amstream/tests enable_tests
20994 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20995 wine_fn_config_makefile dlls/apphelp enable_apphelp
20996 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20997 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20998 wine_fn_config_makefile dlls/atl enable_atl
20999 wine_fn_config_makefile dlls/atl/tests enable_tests
21000 wine_fn_config_makefile dlls/atl100 enable_atl100
21001 wine_fn_config_makefile dlls/atl100/tests enable_tests
21002 wine_fn_config_makefile dlls/atl110 enable_atl110
21003 wine_fn_config_makefile dlls/atl110/tests enable_tests
21004 wine_fn_config_makefile dlls/atl80 enable_atl80
21005 wine_fn_config_makefile dlls/atl80/tests enable_tests
21006 wine_fn_config_makefile dlls/atl90 enable_atl90
21007 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21008 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21009 wine_fn_config_makefile dlls/atmlib enable_atmlib
21010 wine_fn_config_makefile dlls/authz enable_authz
21011 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21012 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21013 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21014 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21015 wine_fn_config_makefile dlls/avrt enable_avrt
21016 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21017 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21018 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21019 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21020 wine_fn_config_makefile dlls/browseui enable_browseui
21021 wine_fn_config_makefile dlls/browseui/tests enable_tests
21022 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21023 wine_fn_config_makefile dlls/cabinet enable_cabinet
21024 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21025 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21026 wine_fn_config_makefile dlls/cards enable_cards
21027 wine_fn_config_makefile dlls/cdosys enable_cdosys
21028 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21029 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21030 wine_fn_config_makefile dlls/clusapi enable_clusapi
21031 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21032 wine_fn_config_makefile dlls/combase enable_combase
21033 wine_fn_config_makefile dlls/combase/tests enable_tests
21034 wine_fn_config_makefile dlls/comcat enable_comcat
21035 wine_fn_config_makefile dlls/comcat/tests enable_tests
21036 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21037 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21038 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21039 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21040 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21041 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21042 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21043 wine_fn_config_makefile dlls/compstui enable_compstui
21044 wine_fn_config_makefile dlls/compstui/tests enable_tests
21045 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21046 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21047 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21048 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21049 wine_fn_config_makefile dlls/connect enable_connect
21050 wine_fn_config_makefile dlls/credui enable_credui
21051 wine_fn_config_makefile dlls/credui/tests enable_tests
21052 wine_fn_config_makefile dlls/crtdll enable_crtdll
21053 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21054 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21055 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21056 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21057 wine_fn_config_makefile dlls/cryptext enable_cryptext
21058 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21059 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21060 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21061 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21062 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21063 wine_fn_config_makefile dlls/cryptui enable_cryptui
21064 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21065 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21066 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21067 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21068 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21069 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21070 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21071 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21072 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21073 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21074 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21075 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21076 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21077 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21078 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21079 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21080 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21081 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21082 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21083 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21084 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21085 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21086 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21087 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21088 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21089 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21090 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21091 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21092 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21093 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21094 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21095 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21096 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21097 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21098 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21099 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21100 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21101 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21102 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dim enable_d3dim
21104 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21105 wine_fn_config_makefile dlls/d3drm enable_d3drm
21106 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21108 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21109 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21110 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21111 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21112 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21113 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21114 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21115 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21116 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21117 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21118 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21119 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21120 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21121 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21122 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21123 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21124 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21125 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21126 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21127 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21128 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21129 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21130 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21131 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21133 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21134 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21135 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21136 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21137 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21138 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21139 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21140 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21141 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21142 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21143 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21144 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21145 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21146 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21147 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21148 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21149 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21150 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21151 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21152 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21153 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21154 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21155 wine_fn_config_makefile dlls/davclnt enable_davclnt
21156 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21157 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21158 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21159 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21160 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21161 wine_fn_config_makefile dlls/dcomp enable_dcomp
21162 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21163 wine_fn_config_makefile dlls/ddraw enable_ddraw
21164 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21165 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21166 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21167 wine_fn_config_makefile dlls/devenum enable_devenum
21168 wine_fn_config_makefile dlls/devenum/tests enable_tests
21169 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21170 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21171 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21172 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21173 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21174 wine_fn_config_makefile dlls/difxapi enable_difxapi
21175 wine_fn_config_makefile dlls/dinput enable_dinput
21176 wine_fn_config_makefile dlls/dinput/tests enable_tests
21177 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21178 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21179 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21180 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21181 wine_fn_config_makefile dlls/dispex enable_dispex
21182 wine_fn_config_makefile dlls/dispex/tests enable_tests
21183 wine_fn_config_makefile dlls/display.drv16 enable_win16
21184 wine_fn_config_makefile dlls/dmband enable_dmband
21185 wine_fn_config_makefile dlls/dmband/tests enable_tests
21186 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21187 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21188 wine_fn_config_makefile dlls/dmime enable_dmime
21189 wine_fn_config_makefile dlls/dmime/tests enable_tests
21190 wine_fn_config_makefile dlls/dmloader enable_dmloader
21191 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21192 wine_fn_config_makefile dlls/dmscript enable_dmscript
21193 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21194 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21195 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21196 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21197 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21198 wine_fn_config_makefile dlls/dmusic enable_dmusic
21199 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21200 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21201 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21202 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21203 wine_fn_config_makefile dlls/dplay enable_dplay
21204 wine_fn_config_makefile dlls/dplayx enable_dplayx
21205 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21206 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21207 wine_fn_config_makefile dlls/dpnet enable_dpnet
21208 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21209 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21210 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21211 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21212 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21213 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21214 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21215 wine_fn_config_makefile dlls/drmclien enable_drmclien
21216 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21217 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21218 wine_fn_config_makefile dlls/dsound enable_dsound
21219 wine_fn_config_makefile dlls/dsound/tests enable_tests
21220 wine_fn_config_makefile dlls/dsquery enable_dsquery
21221 wine_fn_config_makefile dlls/dssenh enable_dssenh
21222 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21223 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21224 wine_fn_config_makefile dlls/dswave enable_dswave
21225 wine_fn_config_makefile dlls/dswave/tests enable_tests
21226 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21227 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21228 wine_fn_config_makefile dlls/dwrite enable_dwrite
21229 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21230 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21231 wine_fn_config_makefile dlls/dxcore enable_dxcore
21232 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21233 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21234 wine_fn_config_makefile dlls/dxgi enable_dxgi
21235 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21236 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21237 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21238 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21239 wine_fn_config_makefile dlls/esent enable_esent
21240 wine_fn_config_makefile dlls/evr enable_evr
21241 wine_fn_config_makefile dlls/evr/tests enable_tests
21242 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21243 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21244 wine_fn_config_makefile dlls/faultrep enable_faultrep
21245 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21246 wine_fn_config_makefile dlls/feclient enable_feclient
21247 wine_fn_config_makefile dlls/fltlib enable_fltlib
21248 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21249 wine_fn_config_makefile dlls/fntcache enable_fntcache
21250 wine_fn_config_makefile dlls/fontsub enable_fontsub
21251 wine_fn_config_makefile dlls/fusion enable_fusion
21252 wine_fn_config_makefile dlls/fusion/tests enable_tests
21253 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21254 wine_fn_config_makefile dlls/gameux enable_gameux
21255 wine_fn_config_makefile dlls/gameux/tests enable_tests
21256 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21257 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21258 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21259 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21260 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21261 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21262 wine_fn_config_makefile dlls/geolocation enable_geolocation
21263 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21264 wine_fn_config_makefile dlls/glu32 enable_glu32
21265 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21266 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21267 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21268 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21269 wine_fn_config_makefile dlls/hal enable_hal
21270 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21271 wine_fn_config_makefile dlls/hid enable_hid
21272 wine_fn_config_makefile dlls/hid/tests enable_tests
21273 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21274 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21275 wine_fn_config_makefile dlls/hlink enable_hlink
21276 wine_fn_config_makefile dlls/hlink/tests enable_tests
21277 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21278 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21279 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21280 wine_fn_config_makefile dlls/http.sys enable_http_sys
21281 wine_fn_config_makefile dlls/httpapi enable_httpapi
21282 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21283 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21284 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21285 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21286 wine_fn_config_makefile dlls/iccvid enable_iccvid
21287 wine_fn_config_makefile dlls/icmp enable_icmp
21288 wine_fn_config_makefile dlls/ieframe enable_ieframe
21289 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21290 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21291 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21292 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21293 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21294 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21295 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21296 wine_fn_config_makefile dlls/imm32 enable_imm32
21297 wine_fn_config_makefile dlls/imm32/tests enable_tests
21298 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21299 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21300 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21301 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21302 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21303 wine_fn_config_makefile dlls/infosoft enable_infosoft
21304 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21305 wine_fn_config_makefile dlls/initpki enable_initpki
21306 wine_fn_config_makefile dlls/inkobj enable_inkobj
21307 wine_fn_config_makefile dlls/inseng enable_inseng
21308 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21309 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21310 wine_fn_config_makefile dlls/iprop enable_iprop
21311 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21312 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21313 wine_fn_config_makefile dlls/itircl enable_itircl
21314 wine_fn_config_makefile dlls/itss enable_itss
21315 wine_fn_config_makefile dlls/itss/tests enable_tests
21316 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21317 wine_fn_config_makefile dlls/jscript enable_jscript
21318 wine_fn_config_makefile dlls/jscript/tests enable_tests
21319 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21320 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21321 wine_fn_config_makefile dlls/kerberos enable_kerberos
21322 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21323 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21324 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21325 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21326 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21327 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21328 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21329 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21330 wine_fn_config_makefile dlls/ksuser enable_ksuser
21331 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21332 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21333 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21334 wine_fn_config_makefile dlls/loadperf enable_loadperf
21335 wine_fn_config_makefile dlls/localspl enable_localspl
21336 wine_fn_config_makefile dlls/localspl/tests enable_tests
21337 wine_fn_config_makefile dlls/localui enable_localui
21338 wine_fn_config_makefile dlls/localui/tests enable_tests
21339 wine_fn_config_makefile dlls/lz32 enable_lz32
21340 wine_fn_config_makefile dlls/lz32/tests enable_tests
21341 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21342 wine_fn_config_makefile dlls/magnification enable_magnification
21343 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21344 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21345 wine_fn_config_makefile dlls/mapistub enable_mapistub
21346 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21347 wine_fn_config_makefile dlls/mcicda enable_mcicda
21348 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21349 wine_fn_config_makefile dlls/mciseq enable_mciseq
21350 wine_fn_config_makefile dlls/mciwave enable_mciwave
21351 wine_fn_config_makefile dlls/mf enable_mf
21352 wine_fn_config_makefile dlls/mf/tests enable_tests
21353 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21354 wine_fn_config_makefile dlls/mferror enable_mferror
21355 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21356 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21357 wine_fn_config_makefile dlls/mfplat enable_mfplat
21358 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21359 wine_fn_config_makefile dlls/mfplay enable_mfplay
21360 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21361 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21362 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21363 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21364 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21365 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21366 wine_fn_config_makefile dlls/midimap enable_midimap
21367 wine_fn_config_makefile dlls/mlang enable_mlang
21368 wine_fn_config_makefile dlls/mlang/tests enable_tests
21369 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21370 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21371 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21372 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21373 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21374 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21375 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21376 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21377 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21378 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21379 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21380 wine_fn_config_makefile dlls/mpr enable_mpr
21381 wine_fn_config_makefile dlls/mpr/tests enable_tests
21382 wine_fn_config_makefile dlls/mprapi enable_mprapi
21383 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21384 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21385 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21386 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21387 wine_fn_config_makefile dlls/msado15 enable_msado15
21388 wine_fn_config_makefile dlls/msado15/tests enable_tests
21389 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21390 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21391 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21392 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21393 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21394 wine_fn_config_makefile dlls/mscms enable_mscms
21395 wine_fn_config_makefile dlls/mscms/tests enable_tests
21396 wine_fn_config_makefile dlls/mscoree enable_mscoree
21397 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21398 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21399 wine_fn_config_makefile dlls/msctf enable_msctf
21400 wine_fn_config_makefile dlls/msctf/tests enable_tests
21401 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21402 wine_fn_config_makefile dlls/msctfp enable_msctfp
21403 wine_fn_config_makefile dlls/msdaps enable_msdaps
21404 wine_fn_config_makefile dlls/msdasql enable_msdasql
21405 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21406 wine_fn_config_makefile dlls/msdelta enable_msdelta
21407 wine_fn_config_makefile dlls/msdmo enable_msdmo
21408 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21409 wine_fn_config_makefile dlls/msdrm enable_msdrm
21410 wine_fn_config_makefile dlls/msftedit enable_msftedit
21411 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21412 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21413 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21414 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21415 wine_fn_config_makefile dlls/mshtml enable_mshtml
21416 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21417 wine_fn_config_makefile dlls/msi enable_msi
21418 wine_fn_config_makefile dlls/msi/tests enable_tests
21419 wine_fn_config_makefile dlls/msident enable_msident
21420 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21421 wine_fn_config_makefile dlls/msimsg enable_msimsg
21422 wine_fn_config_makefile dlls/msimtf enable_msimtf
21423 wine_fn_config_makefile dlls/msisip enable_msisip
21424 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21425 wine_fn_config_makefile dlls/msls31 enable_msls31
21426 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21427 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21428 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21429 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21430 wine_fn_config_makefile dlls/msports enable_msports
21431 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21432 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21433 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21434 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21435 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21436 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21437 wine_fn_config_makefile dlls/mstask enable_mstask
21438 wine_fn_config_makefile dlls/mstask/tests enable_tests
21439 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21440 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21441 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21442 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21443 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21444 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21445 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21447 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21449 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21451 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21452 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21453 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21454 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21456 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21457 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21458 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21459 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21460 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21461 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21462 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21463 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21464 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21465 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21466 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21467 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21468 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21469 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21470 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21471 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21472 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21473 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21474 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21475 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21476 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21477 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21478 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21479 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21480 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21481 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21482 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21483 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21485 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21486 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21487 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21488 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21489 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21490 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21491 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21492 wine_fn_config_makefile dlls/mswsock enable_mswsock
21493 wine_fn_config_makefile dlls/msxml enable_msxml
21494 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21495 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21496 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21497 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21498 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21499 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21500 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21501 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21502 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21503 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21504 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21505 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21506 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21507 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21508 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21509 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21510 wine_fn_config_makefile dlls/netprofm enable_netprofm
21511 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21512 wine_fn_config_makefile dlls/netutils enable_netutils
21513 wine_fn_config_makefile dlls/newdev enable_newdev
21514 wine_fn_config_makefile dlls/ninput enable_ninput
21515 wine_fn_config_makefile dlls/ninput/tests enable_tests
21516 wine_fn_config_makefile dlls/normaliz enable_normaliz
21517 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21518 wine_fn_config_makefile dlls/npptools enable_npptools
21519 wine_fn_config_makefile dlls/nsi enable_nsi
21520 wine_fn_config_makefile dlls/nsi/tests enable_tests
21521 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21522 wine_fn_config_makefile dlls/ntdll enable_ntdll
21523 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21524 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21525 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21526 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21527 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21528 wine_fn_config_makefile dlls/ntprint enable_ntprint
21529 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21530 wine_fn_config_makefile dlls/objsel enable_objsel
21531 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21532 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21533 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21534 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21535 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21536 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21537 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21538 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21539 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21540 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21541 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21542 wine_fn_config_makefile dlls/ole32 enable_ole32
21543 wine_fn_config_makefile dlls/ole32/tests enable_tests
21544 wine_fn_config_makefile dlls/oleacc enable_oleacc
21545 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21546 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21547 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21548 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21549 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21550 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21551 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21552 wine_fn_config_makefile dlls/oledlg enable_oledlg
21553 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21554 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21555 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21556 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21557 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21558 wine_fn_config_makefile dlls/opcservices enable_opcservices
21559 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21560 wine_fn_config_makefile dlls/opencl enable_opencl
21561 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21562 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21563 wine_fn_config_makefile dlls/packager enable_packager
21564 wine_fn_config_makefile dlls/packager/tests enable_tests
21565 wine_fn_config_makefile dlls/pdh enable_pdh
21566 wine_fn_config_makefile dlls/pdh/tests enable_tests
21567 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21568 wine_fn_config_makefile dlls/pidgen enable_pidgen
21569 wine_fn_config_makefile dlls/powrprof enable_powrprof
21570 wine_fn_config_makefile dlls/printui enable_printui
21571 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21572 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21573 wine_fn_config_makefile dlls/propsys enable_propsys
21574 wine_fn_config_makefile dlls/propsys/tests enable_tests
21575 wine_fn_config_makefile dlls/psapi enable_psapi
21576 wine_fn_config_makefile dlls/psapi/tests enable_tests
21577 wine_fn_config_makefile dlls/pstorec enable_pstorec
21578 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21579 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21580 wine_fn_config_makefile dlls/qasf enable_qasf
21581 wine_fn_config_makefile dlls/qasf/tests enable_tests
21582 wine_fn_config_makefile dlls/qcap enable_qcap
21583 wine_fn_config_makefile dlls/qcap/tests enable_tests
21584 wine_fn_config_makefile dlls/qdvd enable_qdvd
21585 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21586 wine_fn_config_makefile dlls/qedit enable_qedit
21587 wine_fn_config_makefile dlls/qedit/tests enable_tests
21588 wine_fn_config_makefile dlls/qmgr enable_qmgr
21589 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21590 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21591 wine_fn_config_makefile dlls/quartz enable_quartz
21592 wine_fn_config_makefile dlls/quartz/tests enable_tests
21593 wine_fn_config_makefile dlls/query enable_query
21594 wine_fn_config_makefile dlls/qwave enable_qwave
21595 wine_fn_config_makefile dlls/qwave/tests enable_tests
21596 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21597 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21598 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21599 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21600 wine_fn_config_makefile dlls/regapi enable_regapi
21601 wine_fn_config_makefile dlls/resutils enable_resutils
21602 wine_fn_config_makefile dlls/riched20 enable_riched20
21603 wine_fn_config_makefile dlls/riched20/tests enable_tests
21604 wine_fn_config_makefile dlls/riched32 enable_riched32
21605 wine_fn_config_makefile dlls/riched32/tests enable_tests
21606 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21607 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21608 wine_fn_config_makefile dlls/rsabase enable_rsabase
21609 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21610 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21611 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21612 wine_fn_config_makefile dlls/rtutils enable_rtutils
21613 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21614 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21615 wine_fn_config_makefile dlls/samlib enable_samlib
21616 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21617 wine_fn_config_makefile dlls/sapi enable_sapi
21618 wine_fn_config_makefile dlls/sapi/tests enable_tests
21619 wine_fn_config_makefile dlls/sas enable_sas
21620 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21621 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21622 wine_fn_config_makefile dlls/sccbase enable_sccbase
21623 wine_fn_config_makefile dlls/schannel enable_schannel
21624 wine_fn_config_makefile dlls/schannel/tests enable_tests
21625 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21626 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21627 wine_fn_config_makefile dlls/scrobj enable_scrobj
21628 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21629 wine_fn_config_makefile dlls/scrrun enable_scrrun
21630 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21631 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21632 wine_fn_config_makefile dlls/sechost enable_sechost
21633 wine_fn_config_makefile dlls/secur32 enable_secur32
21634 wine_fn_config_makefile dlls/secur32/tests enable_tests
21635 wine_fn_config_makefile dlls/security enable_security
21636 wine_fn_config_makefile dlls/sensapi enable_sensapi
21637 wine_fn_config_makefile dlls/serialui enable_serialui
21638 wine_fn_config_makefile dlls/serialui/tests enable_tests
21639 wine_fn_config_makefile dlls/setupapi enable_setupapi
21640 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21641 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21642 wine_fn_config_makefile dlls/sfc enable_sfc
21643 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21644 wine_fn_config_makefile dlls/shcore enable_shcore
21645 wine_fn_config_makefile dlls/shcore/tests enable_tests
21646 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21647 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21648 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21649 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21650 wine_fn_config_makefile dlls/shell32 enable_shell32
21651 wine_fn_config_makefile dlls/shell32/tests enable_tests
21652 wine_fn_config_makefile dlls/shfolder enable_shfolder
21653 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21654 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21655 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21656 wine_fn_config_makefile dlls/slc enable_slc
21657 wine_fn_config_makefile dlls/slc/tests enable_tests
21658 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21659 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21660 wine_fn_config_makefile dlls/softpub enable_softpub
21661 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21662 wine_fn_config_makefile dlls/spoolss enable_spoolss
21663 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21664 wine_fn_config_makefile dlls/sppc enable_sppc
21665 wine_fn_config_makefile dlls/srclient enable_srclient
21666 wine_fn_config_makefile dlls/srvcli enable_srvcli
21667 wine_fn_config_makefile dlls/sspicli enable_sspicli
21668 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21669 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21670 wine_fn_config_makefile dlls/sti enable_sti
21671 wine_fn_config_makefile dlls/sti/tests enable_tests
21672 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21673 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21674 wine_fn_config_makefile dlls/strmdll enable_strmdll
21675 wine_fn_config_makefile dlls/svrapi enable_svrapi
21676 wine_fn_config_makefile dlls/sxs enable_sxs
21677 wine_fn_config_makefile dlls/sxs/tests enable_tests
21678 wine_fn_config_makefile dlls/system.drv16 enable_win16
21679 wine_fn_config_makefile dlls/t2embed enable_t2embed
21680 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21681 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21682 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21683 wine_fn_config_makefile dlls/taskschd enable_taskschd
21684 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21685 wine_fn_config_makefile dlls/tbs enable_tbs
21686 wine_fn_config_makefile dlls/tdh enable_tdh
21687 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21688 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21689 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21690 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21691 wine_fn_config_makefile dlls/traffic enable_traffic
21692 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21693 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21694 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21695 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21696 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21697 wine_fn_config_makefile dlls/tzres enable_tzres
21698 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21699 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21700 wine_fn_config_makefile dlls/uianimation enable_uianimation
21701 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21702 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21703 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21704 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21705 wine_fn_config_makefile dlls/unicows enable_unicows
21706 wine_fn_config_makefile dlls/updspapi enable_updspapi
21707 wine_fn_config_makefile dlls/url enable_url
21708 wine_fn_config_makefile dlls/urlmon enable_urlmon
21709 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21710 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21711 wine_fn_config_makefile dlls/user.exe16 enable_win16
21712 wine_fn_config_makefile dlls/user32 enable_user32
21713 wine_fn_config_makefile dlls/user32/tests enable_tests
21714 wine_fn_config_makefile dlls/userenv enable_userenv
21715 wine_fn_config_makefile dlls/userenv/tests enable_tests
21716 wine_fn_config_makefile dlls/usp10 enable_usp10
21717 wine_fn_config_makefile dlls/usp10/tests enable_tests
21718 wine_fn_config_makefile dlls/utildll enable_utildll
21719 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21720 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21721 wine_fn_config_makefile dlls/vbscript enable_vbscript
21722 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21723 wine_fn_config_makefile dlls/vcomp enable_vcomp
21724 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21725 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21726 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21727 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21728 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21729 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21730 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21731 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21732 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21733 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21734 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21735 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21736 wine_fn_config_makefile dlls/version enable_version
21737 wine_fn_config_makefile dlls/version/tests enable_tests
21738 wine_fn_config_makefile dlls/vga enable_vga
21739 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21740 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21741 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21742 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21743 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21744 wine_fn_config_makefile dlls/vssapi enable_vssapi
21745 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21746 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21747 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21748 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21749 wine_fn_config_makefile dlls/w32skrnl enable_win16
21750 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21751 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21752 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21753 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21754 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21755 wine_fn_config_makefile dlls/wdscore enable_wdscore
21756 wine_fn_config_makefile dlls/webservices enable_webservices
21757 wine_fn_config_makefile dlls/webservices/tests enable_tests
21758 wine_fn_config_makefile dlls/websocket enable_websocket
21759 wine_fn_config_makefile dlls/wer enable_wer
21760 wine_fn_config_makefile dlls/wer/tests enable_tests
21761 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21762 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21763 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21764 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21765 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21766 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21767 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21768 wine_fn_config_makefile dlls/win32u enable_win32u
21769 wine_fn_config_makefile dlls/win32u/tests enable_tests
21770 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21771 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21772 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21773 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21774 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21775 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21776 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21777 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21778 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21779 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21780 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21781 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21782 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21783 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21784 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21785 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21786 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21787 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21788 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21789 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21790 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21791 wine_fn_config_makefile dlls/windows.media enable_windows_media
21792 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21793 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21794 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21795 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21796 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21797 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21798 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21799 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21800 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21801 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21802 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21803 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21804 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21805 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21806 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21807 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21808 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21809 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21810 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21811 wine_fn_config_makefile dlls/wined3d enable_wined3d
21812 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21813 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21814 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21815 wine_fn_config_makefile dlls/winemapi enable_winemapi
21816 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21817 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21818 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21819 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21820 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21821 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21822 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21823 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21824 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21825 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21826 wine_fn_config_makefile dlls/wing32 enable_wing32
21827 wine_fn_config_makefile dlls/winhttp enable_winhttp
21828 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21829 wine_fn_config_makefile dlls/wininet enable_wininet
21830 wine_fn_config_makefile dlls/wininet/tests enable_tests
21831 wine_fn_config_makefile dlls/winmm enable_winmm
21832 wine_fn_config_makefile dlls/winmm/tests enable_tests
21833 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21834 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21835 wine_fn_config_makefile dlls/winprint enable_winprint
21836 wine_fn_config_makefile dlls/winscard enable_winscard
21837 wine_fn_config_makefile dlls/winscard/tests enable_tests
21838 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21839 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21840 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21841 wine_fn_config_makefile dlls/winsta enable_winsta
21842 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21843 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21844 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21845 wine_fn_config_makefile dlls/wintrust enable_wintrust
21846 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21847 wine_fn_config_makefile dlls/wintypes enable_wintypes
21848 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21849 wine_fn_config_makefile dlls/winusb enable_winusb
21850 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21851 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21852 wine_fn_config_makefile dlls/wlanui enable_wlanui
21853 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21854 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21855 wine_fn_config_makefile dlls/wldp enable_wldp
21856 wine_fn_config_makefile dlls/wmasf enable_wmasf
21857 wine_fn_config_makefile dlls/wmi enable_wmi
21858 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21859 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21860 wine_fn_config_makefile dlls/wmp enable_wmp
21861 wine_fn_config_makefile dlls/wmp/tests enable_tests
21862 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21863 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21864 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21865 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21866 wine_fn_config_makefile dlls/wofutil enable_wofutil
21867 wine_fn_config_makefile dlls/wow32 enable_win16
21868 wine_fn_config_makefile dlls/wow64 enable_wow64
21869 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21870 wine_fn_config_makefile dlls/wow64win enable_wow64win
21871 wine_fn_config_makefile dlls/wpc enable_wpc
21872 wine_fn_config_makefile dlls/wpc/tests enable_tests
21873 wine_fn_config_makefile dlls/wpcap enable_wpcap
21874 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21875 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21876 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21877 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21878 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21879 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21880 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21881 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21882 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21883 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21884 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21885 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21886 wine_fn_config_makefile dlls/wuapi enable_wuapi
21887 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21888 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21889 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21890 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21891 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21892 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21893 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21894 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21895 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21896 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21897 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21898 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21899 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21900 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21901 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21902 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21903 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21904 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21905 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21906 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21907 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21908 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21909 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21910 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21911 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21912 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21913 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21914 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21915 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21916 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21917 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21918 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21919 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21920 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21921 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21922 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21923 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21924 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
21925 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21926 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21927 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21928 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21929 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21930 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21931 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21932 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21933 wine_fn_config_makefile dlls/xmllite enable_xmllite
21934 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21935 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21936 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21937 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21938 wine_fn_config_makefile fonts enable_fonts
21939 wine_fn_config_makefile include enable_include
21940 wine_fn_config_makefile libs/adsiid enable_adsiid
21941 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21942 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21943 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21944 wine_fn_config_makefile libs/dxguid enable_dxguid
21945 wine_fn_config_makefile libs/faudio enable_faudio
21946 wine_fn_config_makefile libs/gsm enable_gsm
21947 wine_fn_config_makefile libs/jpeg enable_jpeg
21948 wine_fn_config_makefile libs/jxr enable_jxr
21949 wine_fn_config_makefile libs/lcms2 enable_lcms2
21950 wine_fn_config_makefile libs/ldap enable_ldap
21951 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21952 wine_fn_config_makefile libs/mpg123 enable_mpg123
21953 wine_fn_config_makefile libs/musl enable_musl
21954 wine_fn_config_makefile libs/png enable_png
21955 wine_fn_config_makefile libs/strmbase enable_strmbase
21956 wine_fn_config_makefile libs/strmiids enable_strmiids
21957 wine_fn_config_makefile libs/tiff enable_tiff
21958 wine_fn_config_makefile libs/uuid enable_uuid
21959 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21960 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21961 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21962 wine_fn_config_makefile libs/xml2 enable_xml2
21963 wine_fn_config_makefile libs/xslt enable_xslt
21964 wine_fn_config_makefile libs/zlib enable_zlib
21965 wine_fn_config_makefile libs/zydis enable_zydis
21966 wine_fn_config_makefile loader enable_loader
21967 wine_fn_config_makefile nls enable_nls
21968 wine_fn_config_makefile po enable_po
21969 wine_fn_config_makefile programs/arp enable_arp
21970 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21971 wine_fn_config_makefile programs/attrib enable_attrib
21972 wine_fn_config_makefile programs/cabarc enable_cabarc
21973 wine_fn_config_makefile programs/cacls enable_cacls
21974 wine_fn_config_makefile programs/certutil enable_certutil
21975 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21976 wine_fn_config_makefile programs/clock enable_clock
21977 wine_fn_config_makefile programs/cmd enable_cmd
21978 wine_fn_config_makefile programs/cmd/tests enable_tests
21979 wine_fn_config_makefile programs/conhost enable_conhost
21980 wine_fn_config_makefile programs/conhost/tests enable_tests
21981 wine_fn_config_makefile programs/control enable_control
21982 wine_fn_config_makefile programs/cscript enable_cscript
21983 wine_fn_config_makefile programs/dism enable_dism
21984 wine_fn_config_makefile programs/dllhost enable_dllhost
21985 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21986 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21987 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21988 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21989 wine_fn_config_makefile programs/eject enable_eject
21990 wine_fn_config_makefile programs/expand enable_expand
21991 wine_fn_config_makefile programs/explorer enable_explorer
21992 wine_fn_config_makefile programs/explorer/tests enable_tests
21993 wine_fn_config_makefile programs/extrac32 enable_extrac32
21994 wine_fn_config_makefile programs/fc enable_fc
21995 wine_fn_config_makefile programs/find enable_find
21996 wine_fn_config_makefile programs/find/tests enable_tests
21997 wine_fn_config_makefile programs/findstr enable_findstr
21998 wine_fn_config_makefile programs/findstr/tests enable_tests
21999 wine_fn_config_makefile programs/fsutil enable_fsutil
22000 wine_fn_config_makefile programs/fsutil/tests enable_tests
22001 wine_fn_config_makefile programs/hh enable_hh
22002 wine_fn_config_makefile programs/hostname enable_hostname
22003 wine_fn_config_makefile programs/icacls enable_icacls
22004 wine_fn_config_makefile programs/icinfo enable_icinfo
22005 wine_fn_config_makefile programs/iexplore enable_iexplore
22006 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22007 wine_fn_config_makefile programs/klist enable_klist
22008 wine_fn_config_makefile programs/lodctr enable_lodctr
22009 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22010 wine_fn_config_makefile programs/mshta enable_mshta
22011 wine_fn_config_makefile programs/msidb enable_msidb
22012 wine_fn_config_makefile programs/msiexec enable_msiexec
22013 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22014 wine_fn_config_makefile programs/net enable_net
22015 wine_fn_config_makefile programs/netsh enable_netsh
22016 wine_fn_config_makefile programs/netstat enable_netstat
22017 wine_fn_config_makefile programs/ngen enable_ngen
22018 wine_fn_config_makefile programs/notepad enable_notepad
22019 wine_fn_config_makefile programs/oleview enable_oleview
22020 wine_fn_config_makefile programs/ping enable_ping
22021 wine_fn_config_makefile programs/plugplay enable_plugplay
22022 wine_fn_config_makefile programs/pnputil enable_pnputil
22023 wine_fn_config_makefile programs/powershell enable_powershell
22024 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22025 wine_fn_config_makefile programs/progman enable_progman
22026 wine_fn_config_makefile programs/reg enable_reg
22027 wine_fn_config_makefile programs/reg/tests enable_tests
22028 wine_fn_config_makefile programs/regasm enable_regasm
22029 wine_fn_config_makefile programs/regedit enable_regedit
22030 wine_fn_config_makefile programs/regedit/tests enable_tests
22031 wine_fn_config_makefile programs/regini enable_regini
22032 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22033 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22034 wine_fn_config_makefile programs/robocopy enable_robocopy
22035 wine_fn_config_makefile programs/rpcss enable_rpcss
22036 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22037 wine_fn_config_makefile programs/rundll32 enable_rundll32
22038 wine_fn_config_makefile programs/sc enable_sc
22039 wine_fn_config_makefile programs/sc/tests enable_tests
22040 wine_fn_config_makefile programs/schtasks enable_schtasks
22041 wine_fn_config_makefile programs/schtasks/tests enable_tests
22042 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22043 wine_fn_config_makefile programs/secedit enable_secedit
22044 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22045 wine_fn_config_makefile programs/services enable_services
22046 wine_fn_config_makefile programs/services/tests enable_tests
22047 wine_fn_config_makefile programs/setx enable_setx
22048 wine_fn_config_makefile programs/shutdown enable_shutdown
22049 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22050 wine_fn_config_makefile programs/start enable_start
22051 wine_fn_config_makefile programs/subst enable_subst
22052 wine_fn_config_makefile programs/svchost enable_svchost
22053 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22054 wine_fn_config_makefile programs/taskkill enable_taskkill
22055 wine_fn_config_makefile programs/tasklist enable_tasklist
22056 wine_fn_config_makefile programs/tasklist/tests enable_tests
22057 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22058 wine_fn_config_makefile programs/termsv enable_termsv
22059 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22060 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22061 wine_fn_config_makefile programs/view enable_view
22062 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22063 wine_fn_config_makefile programs/where enable_where
22064 wine_fn_config_makefile programs/whoami enable_whoami
22065 wine_fn_config_makefile programs/wineboot enable_wineboot
22066 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22067 wine_fn_config_makefile programs/winecfg enable_winecfg
22068 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22069 wine_fn_config_makefile programs/winedbg enable_winedbg
22070 wine_fn_config_makefile programs/winedevice enable_winedevice
22071 wine_fn_config_makefile programs/winefile enable_winefile
22072 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22073 wine_fn_config_makefile programs/winemine enable_winemine
22074 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22075 wine_fn_config_makefile programs/winepath enable_winepath
22076 wine_fn_config_makefile programs/winetest enable_winetest
22077 wine_fn_config_makefile programs/winevdm enable_win16
22078 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22079 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22080 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22081 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22082 wine_fn_config_makefile programs/winver enable_winver
22083 wine_fn_config_makefile programs/wmic enable_wmic
22084 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22085 wine_fn_config_makefile programs/wordpad enable_wordpad
22086 wine_fn_config_makefile programs/write enable_write
22087 wine_fn_config_makefile programs/wscript enable_wscript
22088 wine_fn_config_makefile programs/wscript/tests enable_tests
22089 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22090 wine_fn_config_makefile programs/wusa enable_wusa
22091 wine_fn_config_makefile programs/xcopy enable_xcopy
22092 wine_fn_config_makefile programs/xcopy/tests enable_tests
22093 wine_fn_config_makefile server enable_server
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22099 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22100 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22101 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22102 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22105 as_fn_append CONFIGURE_TARGETS " TAGS"
22106 as_fn_append CONFIGURE_TARGETS " tags"
22107 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22108 as_fn_append CONFIGURE_TARGETS " config.log"
22109 as_fn_append CONFIGURE_TARGETS " config.status"
22110 as_fn_append CONFIGURE_TARGETS " include/config.h"
22111 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22112 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22114 if test "x$enable_tools" != xno
22115 then
22116 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22117 ac_config_commands="$ac_config_commands tools/makedep"
22121 ac_config_commands="$ac_config_commands Makefile"
22125 SHELL=/bin/sh
22128 as_fn_append wine_rules "
22129 all: wine
22130 @echo \"Wine build complete.\"
22131 .INIT: Makefile
22132 .MAKEFILEDEPS:
22133 all: Makefile
22134 Makefile: config.status \$(MAKEDEP)
22135 @./config.status Makefile
22136 depend: \$(MAKEDEP)
22137 \$(MAKEDEP)$makedep_flags"
22140 as_fn_append wine_rules "
22141 config.status: ${wine_srcdir}configure
22142 @./config.status --recheck
22143 include/config.h: include/stamp-h
22144 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22145 @./config.status include/config.h include/stamp-h"
22147 if test "x$enable_maintainer_mode" = xyes
22148 then
22149 as_fn_append wine_rules "
22150 configure: configure.ac aclocal.m4
22151 autoconf --warnings=all
22152 include/config.h.in: include/stamp-h.in
22153 include/stamp-h.in: configure.ac aclocal.m4
22154 autoheader --warnings=all
22155 @echo timestamp > \$@"
22158 if test "x$enable_tools" != xno
22159 then
22160 as_fn_append wine_rules "
22161 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22162 @./config.status tools/makedep
22163 Makefile: tools/makedep$ac_exeext"
22164 else
22165 as_fn_append wine_rules "
22166 \$(MAKEDEP):
22167 @echo \"You need to run make in $toolsdir first\" && false"
22171 if test -n "$with_wine64"
22172 then
22173 case "$with_wine64" in
22174 /*) reldir="" ;;
22175 *) reldir="../" ;;
22176 esac
22177 rm -f fonts server 2>/dev/null
22178 as_fn_append wine_rules "
22179 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22180 loader/wine64 loader/wine64-preloader:
22181 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22182 $with_wine64/loader/wine:
22183 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22184 $with_wine64/loader/wine-preloader:
22185 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22186 clean::
22187 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22188 else
22189 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22190 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22191 fonts \
22192 loader/wine.inf \
22193 nls \
22194 programs/msidb/msidb \
22195 programs/msiexec/msiexec \
22196 programs/notepad/notepad \
22197 programs/regedit/regedit \
22198 programs/regsvr32/regsvr32 \
22199 programs/wineboot/wineboot \
22200 programs/winecfg/winecfg \
22201 programs/wineconsole/wineconsole \
22202 programs/winedbg/winedbg \
22203 programs/winefile/winefile \
22204 programs/winemine/winemine \
22205 programs/winepath/winepath \
22206 server/wineserver"
22208 case $host_os in
22209 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22210 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22211 esac
22215 as_fn_append wine_rules "
22216 distclean:: clean
22217 rm -rf autom4te.cache
22218 maintainer-clean::
22219 rm -f configure include/config.h.in"
22222 as_fn_append wine_rules "
22223 dlls/ntdll/unix/version.c: dummy
22224 @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)
22225 programs/winetest/build.rc: dummy
22226 @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)
22227 programs/winetest/build.nfo:
22228 @-\$(CC) -v 2>\$@
22229 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
22230 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22231 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22234 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22236 as_fn_append wine_rules "
22237 TAGS etags:
22238 rm -f TAGS
22239 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22240 tags ctags:
22241 rm -f tags
22242 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22243 dummy:
22244 .PHONY: depend dummy install-manpages"
22246 printf "%s\n" " done" >&6
22247 cat >confcache <<\_ACEOF
22248 # This file is a shell script that caches the results of configure
22249 # tests run on this system so they can be shared between configure
22250 # scripts and configure runs, see configure's option --config-cache.
22251 # It is not useful on other systems. If it contains results you don't
22252 # want to keep, you may remove or edit it.
22254 # config.status only pays attention to the cache file if you give it
22255 # the --recheck option to rerun configure.
22257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22259 # following values.
22261 _ACEOF
22263 # The following way of writing the cache mishandles newlines in values,
22264 # but we know of no workaround that is simple, portable, and efficient.
22265 # So, we kill variables containing newlines.
22266 # Ultrix sh set writes to stderr and can't be redirected directly,
22267 # and sets the high bit in the cache file unless we assign to the vars.
22269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22270 eval ac_val=\$$ac_var
22271 case $ac_val in #(
22272 *${as_nl}*)
22273 case $ac_var in #(
22274 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22276 esac
22277 case $ac_var in #(
22278 _ | IFS | as_nl) ;; #(
22279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22280 *) { eval $ac_var=; unset $ac_var;} ;;
22281 esac ;;
22282 esac
22283 done
22285 (set) 2>&1 |
22286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22287 *${as_nl}ac_space=\ *)
22288 # `set' does not quote correctly, so add quotes: double-quote
22289 # substitution turns \\\\ into \\, and sed turns \\ into \.
22290 sed -n \
22291 "s/'/'\\\\''/g;
22292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22293 ;; #(
22295 # `set' quotes correctly as required by POSIX, so do not add quotes.
22296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22298 esac |
22299 sort
22301 sed '
22302 /^ac_cv_env_/b end
22303 t clear
22304 :clear
22305 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22306 t end
22307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22308 :end' >>confcache
22309 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22310 if test -w "$cache_file"; then
22311 if test "x$cache_file" != "x/dev/null"; then
22312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22313 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22314 if test ! -f "$cache_file" || test -h "$cache_file"; then
22315 cat confcache >"$cache_file"
22316 else
22317 case $cache_file in #(
22318 */* | ?:*)
22319 mv -f confcache "$cache_file"$$ &&
22320 mv -f "$cache_file"$$ "$cache_file" ;; #(
22322 mv -f confcache "$cache_file" ;;
22323 esac
22326 else
22327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22328 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22331 rm -f confcache
22333 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22334 # Let make expand exec_prefix.
22335 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22337 DEFS=-DHAVE_CONFIG_H
22339 ac_libobjs=
22340 ac_ltlibobjs=
22342 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22343 # 1. Remove the extension, and $U if already installed.
22344 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22345 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22347 # will be set to the directory where LIBOBJS objects are built.
22348 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22349 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22350 done
22351 LIBOBJS=$ac_libobjs
22353 LTLIBOBJS=$ac_ltlibobjs
22357 : "${CONFIG_STATUS=./config.status}"
22358 ac_write_fail=0
22359 ac_clean_files_save=$ac_clean_files
22360 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22362 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22363 as_write_fail=0
22364 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22365 #! $SHELL
22366 # Generated by $as_me.
22367 # Run this file to recreate the current configuration.
22368 # Compiler output produced by configure, useful for debugging
22369 # configure, is in config.log if it exists.
22371 debug=false
22372 ac_cs_recheck=false
22373 ac_cs_silent=false
22375 SHELL=\${CONFIG_SHELL-$SHELL}
22376 export SHELL
22377 _ASEOF
22378 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22379 ## -------------------- ##
22380 ## M4sh Initialization. ##
22381 ## -------------------- ##
22383 # Be more Bourne compatible
22384 DUALCASE=1; export DUALCASE # for MKS sh
22385 as_nop=:
22386 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22387 then :
22388 emulate sh
22389 NULLCMD=:
22390 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22391 # is contrary to our usage. Disable this feature.
22392 alias -g '${1+"$@"}'='"$@"'
22393 setopt NO_GLOB_SUBST
22394 else $as_nop
22395 case `(set -o) 2>/dev/null` in #(
22396 *posix*) :
22397 set -o posix ;; #(
22398 *) :
22400 esac
22405 # Reset variables that may have inherited troublesome values from
22406 # the environment.
22408 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22409 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22410 # side effect of setting IFS to empty, thus disabling word splitting.)
22411 # Quoting is to prevent editors from complaining about space-tab.
22412 as_nl='
22414 export as_nl
22415 IFS=" "" $as_nl"
22417 PS1='$ '
22418 PS2='> '
22419 PS4='+ '
22421 # Ensure predictable behavior from utilities with locale-dependent output.
22422 LC_ALL=C
22423 export LC_ALL
22424 LANGUAGE=C
22425 export LANGUAGE
22427 # We cannot yet rely on "unset" to work, but we need these variables
22428 # to be unset--not just set to an empty or harmless value--now, to
22429 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22430 # also avoids known problems related to "unset" and subshell syntax
22431 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22432 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22433 do eval test \${$as_var+y} \
22434 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22435 done
22437 # Ensure that fds 0, 1, and 2 are open.
22438 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22439 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22440 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22442 # The user is always right.
22443 if ${PATH_SEPARATOR+false} :; then
22444 PATH_SEPARATOR=:
22445 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22446 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22447 PATH_SEPARATOR=';'
22452 # Find who we are. Look in the path if we contain no directory separator.
22453 as_myself=
22454 case $0 in #((
22455 *[\\/]* ) as_myself=$0 ;;
22456 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22457 for as_dir in $PATH
22459 IFS=$as_save_IFS
22460 case $as_dir in #(((
22461 '') as_dir=./ ;;
22462 */) ;;
22463 *) as_dir=$as_dir/ ;;
22464 esac
22465 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22466 done
22467 IFS=$as_save_IFS
22470 esac
22471 # We did not find ourselves, most probably we were run as `sh COMMAND'
22472 # in which case we are not to be found in the path.
22473 if test "x$as_myself" = x; then
22474 as_myself=$0
22476 if test ! -f "$as_myself"; then
22477 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22478 exit 1
22483 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22484 # ----------------------------------------
22485 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22486 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22487 # script with STATUS, using 1 if that was 0.
22488 as_fn_error ()
22490 as_status=$1; test $as_status -eq 0 && as_status=1
22491 if test "$4"; then
22492 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22495 printf "%s\n" "$as_me: error: $2" >&2
22496 as_fn_exit $as_status
22497 } # as_fn_error
22501 # as_fn_set_status STATUS
22502 # -----------------------
22503 # Set $? to STATUS, without forking.
22504 as_fn_set_status ()
22506 return $1
22507 } # as_fn_set_status
22509 # as_fn_exit STATUS
22510 # -----------------
22511 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22512 as_fn_exit ()
22514 set +e
22515 as_fn_set_status $1
22516 exit $1
22517 } # as_fn_exit
22519 # as_fn_unset VAR
22520 # ---------------
22521 # Portably unset VAR.
22522 as_fn_unset ()
22524 { eval $1=; unset $1;}
22526 as_unset=as_fn_unset
22528 # as_fn_append VAR VALUE
22529 # ----------------------
22530 # Append the text in VALUE to the end of the definition contained in VAR. Take
22531 # advantage of any shell optimizations that allow amortized linear growth over
22532 # repeated appends, instead of the typical quadratic growth present in naive
22533 # implementations.
22534 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22535 then :
22536 eval 'as_fn_append ()
22538 eval $1+=\$2
22540 else $as_nop
22541 as_fn_append ()
22543 eval $1=\$$1\$2
22545 fi # as_fn_append
22547 # as_fn_arith ARG...
22548 # ------------------
22549 # Perform arithmetic evaluation on the ARGs, and store the result in the
22550 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22551 # must be portable across $(()) and expr.
22552 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22553 then :
22554 eval 'as_fn_arith ()
22556 as_val=$(( $* ))
22558 else $as_nop
22559 as_fn_arith ()
22561 as_val=`expr "$@" || test $? -eq 1`
22563 fi # as_fn_arith
22566 if expr a : '\(a\)' >/dev/null 2>&1 &&
22567 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22568 as_expr=expr
22569 else
22570 as_expr=false
22573 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22574 as_basename=basename
22575 else
22576 as_basename=false
22579 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22580 as_dirname=dirname
22581 else
22582 as_dirname=false
22585 as_me=`$as_basename -- "$0" ||
22586 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22587 X"$0" : 'X\(//\)$' \| \
22588 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22589 printf "%s\n" X/"$0" |
22590 sed '/^.*\/\([^/][^/]*\)\/*$/{
22591 s//\1/
22594 /^X\/\(\/\/\)$/{
22595 s//\1/
22598 /^X\/\(\/\).*/{
22599 s//\1/
22602 s/.*/./; q'`
22604 # Avoid depending upon Character Ranges.
22605 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22606 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22607 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22608 as_cr_digits='0123456789'
22609 as_cr_alnum=$as_cr_Letters$as_cr_digits
22612 # Determine whether it's possible to make 'echo' print without a newline.
22613 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22614 # for compatibility with existing Makefiles.
22615 ECHO_C= ECHO_N= ECHO_T=
22616 case `echo -n x` in #(((((
22617 -n*)
22618 case `echo 'xy\c'` in
22619 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22620 xy) ECHO_C='\c';;
22621 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22622 ECHO_T=' ';;
22623 esac;;
22625 ECHO_N='-n';;
22626 esac
22628 # For backward compatibility with old third-party macros, we provide
22629 # the shell variables $as_echo and $as_echo_n. New code should use
22630 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22631 as_echo='printf %s\n'
22632 as_echo_n='printf %s'
22634 rm -f conf$$ conf$$.exe conf$$.file
22635 if test -d conf$$.dir; then
22636 rm -f conf$$.dir/conf$$.file
22637 else
22638 rm -f conf$$.dir
22639 mkdir conf$$.dir 2>/dev/null
22641 if (echo >conf$$.file) 2>/dev/null; then
22642 if ln -s conf$$.file conf$$ 2>/dev/null; then
22643 as_ln_s='ln -s'
22644 # ... but there are two gotchas:
22645 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22646 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22647 # In both cases, we have to default to `cp -pR'.
22648 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22649 as_ln_s='cp -pR'
22650 elif ln conf$$.file conf$$ 2>/dev/null; then
22651 as_ln_s=ln
22652 else
22653 as_ln_s='cp -pR'
22655 else
22656 as_ln_s='cp -pR'
22658 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22659 rmdir conf$$.dir 2>/dev/null
22662 # as_fn_mkdir_p
22663 # -------------
22664 # Create "$as_dir" as a directory, including parents if necessary.
22665 as_fn_mkdir_p ()
22668 case $as_dir in #(
22669 -*) as_dir=./$as_dir;;
22670 esac
22671 test -d "$as_dir" || eval $as_mkdir_p || {
22672 as_dirs=
22673 while :; do
22674 case $as_dir in #(
22675 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22676 *) as_qdir=$as_dir;;
22677 esac
22678 as_dirs="'$as_qdir' $as_dirs"
22679 as_dir=`$as_dirname -- "$as_dir" ||
22680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22681 X"$as_dir" : 'X\(//\)[^/]' \| \
22682 X"$as_dir" : 'X\(//\)$' \| \
22683 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22684 printf "%s\n" X"$as_dir" |
22685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22686 s//\1/
22689 /^X\(\/\/\)[^/].*/{
22690 s//\1/
22693 /^X\(\/\/\)$/{
22694 s//\1/
22697 /^X\(\/\).*/{
22698 s//\1/
22701 s/.*/./; q'`
22702 test -d "$as_dir" && break
22703 done
22704 test -z "$as_dirs" || eval "mkdir $as_dirs"
22705 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22708 } # as_fn_mkdir_p
22709 if mkdir -p . 2>/dev/null; then
22710 as_mkdir_p='mkdir -p "$as_dir"'
22711 else
22712 test -d ./-p && rmdir ./-p
22713 as_mkdir_p=false
22717 # as_fn_executable_p FILE
22718 # -----------------------
22719 # Test if FILE is an executable regular file.
22720 as_fn_executable_p ()
22722 test -f "$1" && test -x "$1"
22723 } # as_fn_executable_p
22724 as_test_x='test -x'
22725 as_executable_p=as_fn_executable_p
22727 # Sed expression to map a string onto a valid CPP name.
22728 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22730 # Sed expression to map a string onto a valid variable name.
22731 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22734 exec 6>&1
22735 ## ----------------------------------- ##
22736 ## Main body of $CONFIG_STATUS script. ##
22737 ## ----------------------------------- ##
22738 _ASEOF
22739 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22742 # Save the log message, to keep $0 and so on meaningful, and to
22743 # report actual input values of CONFIG_FILES etc. instead of their
22744 # values after options handling.
22745 ac_log="
22746 This file was extended by Wine $as_me 8.15, which was
22747 generated by GNU Autoconf 2.71. Invocation command line was
22749 CONFIG_FILES = $CONFIG_FILES
22750 CONFIG_HEADERS = $CONFIG_HEADERS
22751 CONFIG_LINKS = $CONFIG_LINKS
22752 CONFIG_COMMANDS = $CONFIG_COMMANDS
22753 $ $0 $@
22755 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22758 _ACEOF
22761 case $ac_config_headers in *"
22762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22763 esac
22766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22767 # Files that config.status was made for.
22768 config_headers="$ac_config_headers"
22769 config_links="$ac_config_links"
22770 config_commands="$ac_config_commands"
22772 _ACEOF
22774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22775 ac_cs_usage="\
22776 \`$as_me' instantiates files and other configuration actions
22777 from templates according to the current configuration. Unless the files
22778 and actions are specified as TAGs, all are instantiated by default.
22780 Usage: $0 [OPTION]... [TAG]...
22782 -h, --help print this help, then exit
22783 -V, --version print version number and configuration settings, then exit
22784 --config print configuration, then exit
22785 -q, --quiet, --silent
22786 do not print progress messages
22787 -d, --debug don't remove temporary files
22788 --recheck update $as_me by reconfiguring in the same conditions
22789 --header=FILE[:TEMPLATE]
22790 instantiate the configuration header FILE
22792 Configuration headers:
22793 $config_headers
22795 Configuration links:
22796 $config_links
22798 Configuration commands:
22799 $config_commands
22801 Report bugs to <wine-devel@winehq.org>.
22802 Wine home page: <https://www.winehq.org>."
22804 _ACEOF
22805 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22806 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22808 ac_cs_config='$ac_cs_config_escaped'
22809 ac_cs_version="\\
22810 Wine config.status 8.15
22811 configured by $0, generated by GNU Autoconf 2.71,
22812 with options \\"\$ac_cs_config\\"
22814 Copyright (C) 2021 Free Software Foundation, Inc.
22815 This config.status script is free software; the Free Software Foundation
22816 gives unlimited permission to copy, distribute and modify it."
22818 ac_pwd='$ac_pwd'
22819 srcdir='$srcdir'
22820 test -n "\$AWK" || AWK=awk
22821 _ACEOF
22823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22824 # The default lists apply if the user does not specify any file.
22825 ac_need_defaults=:
22826 while test $# != 0
22828 case $1 in
22829 --*=?*)
22830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22831 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22832 ac_shift=:
22834 --*=)
22835 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22836 ac_optarg=
22837 ac_shift=:
22840 ac_option=$1
22841 ac_optarg=$2
22842 ac_shift=shift
22844 esac
22846 case $ac_option in
22847 # Handling of the options.
22848 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22849 ac_cs_recheck=: ;;
22850 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22851 printf "%s\n" "$ac_cs_version"; exit ;;
22852 --config | --confi | --conf | --con | --co | --c )
22853 printf "%s\n" "$ac_cs_config"; exit ;;
22854 --debug | --debu | --deb | --de | --d | -d )
22855 debug=: ;;
22856 --header | --heade | --head | --hea )
22857 $ac_shift
22858 case $ac_optarg in
22859 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22860 esac
22861 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22862 ac_need_defaults=false;;
22863 --he | --h)
22864 # Conflict between --help and --header
22865 as_fn_error $? "ambiguous option: \`$1'
22866 Try \`$0 --help' for more information.";;
22867 --help | --hel | -h )
22868 printf "%s\n" "$ac_cs_usage"; exit ;;
22869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22870 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22871 ac_cs_silent=: ;;
22873 # This is an error.
22874 -*) as_fn_error $? "unrecognized option: \`$1'
22875 Try \`$0 --help' for more information." ;;
22877 *) as_fn_append ac_config_targets " $1"
22878 ac_need_defaults=false ;;
22880 esac
22881 shift
22882 done
22884 ac_configure_extra_args=
22886 if $ac_cs_silent; then
22887 exec 6>/dev/null
22888 ac_configure_extra_args="$ac_configure_extra_args --silent"
22891 _ACEOF
22892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22893 if \$ac_cs_recheck; then
22894 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22895 shift
22896 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22897 CONFIG_SHELL='$SHELL'
22898 export CONFIG_SHELL
22899 exec "\$@"
22902 _ACEOF
22903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22904 exec 5>>config.log
22906 echo
22907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22908 ## Running $as_me. ##
22909 _ASBOX
22910 printf "%s\n" "$ac_log"
22911 } >&5
22913 _ACEOF
22914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22916 # INIT-COMMANDS
22918 wine_fn_output_makedep ()
22920 as_dir=tools; as_fn_mkdir_p
22921 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22923 wine_fn_output_makefile ()
22925 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22926 # This Makefile understands the following targets:
22928 # all (default): build wine
22929 # clean: remove all intermediate files
22930 # distclean: also remove all files created by configure
22931 # test: run tests
22932 # testclean: clean test results to force running all tests again
22933 # install-lib: install libraries needed to run applications
22934 # install-dev: install development environment
22935 # install: install everything
22936 # uninstall: uninstall everything
22937 # ctags: create a tags file for vim and others.
22938 # etags: create a TAGS file for Emacs.
22940 SHELL = $SHELL
22941 PATH_SEPARATOR = $PATH_SEPARATOR
22942 PACKAGE_NAME = $PACKAGE_NAME
22943 PACKAGE_TARNAME = $PACKAGE_TARNAME
22944 PACKAGE_VERSION = $PACKAGE_VERSION
22945 PACKAGE_STRING = $PACKAGE_STRING
22946 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22947 PACKAGE_URL = $PACKAGE_URL
22948 exec_prefix = $exec_prefix
22949 prefix = $prefix
22950 program_transform_name = $program_transform_name
22951 bindir = $bindir
22952 sbindir = $sbindir
22953 libexecdir = $libexecdir
22954 datarootdir = $datarootdir
22955 datadir = $datadir
22956 sysconfdir = $sysconfdir
22957 sharedstatedir = $sharedstatedir
22958 localstatedir = $localstatedir
22959 runstatedir = $runstatedir
22960 includedir = $includedir
22961 oldincludedir = $oldincludedir
22962 docdir = $docdir
22963 infodir = $infodir
22964 htmldir = $htmldir
22965 dvidir = $dvidir
22966 pdfdir = $pdfdir
22967 psdir = $psdir
22968 libdir = $libdir
22969 localedir = $localedir
22970 mandir = $mandir
22971 DEFS = $DEFS
22972 ECHO_C = $ECHO_C
22973 ECHO_N = $ECHO_N
22974 ECHO_T = $ECHO_T
22975 LIBS = $LIBS
22976 build_alias = $build_alias
22977 host_alias = $host_alias
22978 target_alias = $target_alias
22979 system_dllpath = $system_dllpath
22980 build = $build
22981 build_cpu = $build_cpu
22982 build_vendor = $build_vendor
22983 build_os = $build_os
22984 host = $host
22985 host_cpu = $host_cpu
22986 host_vendor = $host_vendor
22987 host_os = $host_os
22988 dlldir = $dlldir
22989 fontdir = $fontdir
22990 nlsdir = $nlsdir
22991 srcdir = $srcdir
22992 SET_MAKE = $SET_MAKE
22993 CC = $CC
22994 CFLAGS = $CFLAGS
22995 LDFLAGS = $LDFLAGS
22996 CPPFLAGS = $CPPFLAGS
22997 ac_ct_CC = $ac_ct_CC
22998 EXEEXT = $EXEEXT
22999 OBJEXT = $OBJEXT
23000 CXX = $CXX
23001 CXXFLAGS = $CXXFLAGS
23002 ac_ct_CXX = $ac_ct_CXX
23003 CPPBIN = $CPPBIN
23004 LD = $LD
23005 TARGETFLAGS = $TARGETFLAGS
23006 toolsext = $toolsext
23007 HOST_ARCH = $HOST_ARCH
23008 aarch64_CC = $aarch64_CC
23009 aarch64_CFLAGS = $aarch64_CFLAGS
23010 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23011 aarch64_LDFLAGS = $aarch64_LDFLAGS
23012 aarch64_DEBUG = $aarch64_DEBUG
23013 aarch64_TARGET = $aarch64_TARGET
23014 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23015 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23016 arm_CC = $arm_CC
23017 arm_CFLAGS = $arm_CFLAGS
23018 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23019 arm_LDFLAGS = $arm_LDFLAGS
23020 arm_DEBUG = $arm_DEBUG
23021 arm_TARGET = $arm_TARGET
23022 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23023 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23024 i386_CC = $i386_CC
23025 i386_CFLAGS = $i386_CFLAGS
23026 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23027 i386_LDFLAGS = $i386_LDFLAGS
23028 i386_DEBUG = $i386_DEBUG
23029 i386_TARGET = $i386_TARGET
23030 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23031 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23032 x86_64_CC = $x86_64_CC
23033 x86_64_CFLAGS = $x86_64_CFLAGS
23034 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23035 x86_64_LDFLAGS = $x86_64_LDFLAGS
23036 x86_64_DEBUG = $x86_64_DEBUG
23037 x86_64_TARGET = $x86_64_TARGET
23038 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23039 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23040 toolsdir = $toolsdir
23041 MAKEDEP = $MAKEDEP
23042 RUNTESTFLAGS = $RUNTESTFLAGS
23043 SED_CMD = $SED_CMD
23044 FLEX = $FLEX
23045 BISON = $BISON
23046 AR = $AR
23047 ac_ct_AR = $ac_ct_AR
23048 STRIP = $STRIP
23049 RANLIB = $RANLIB
23050 LN_S = $LN_S
23051 GREP = $GREP
23052 EGREP = $EGREP
23053 LDCONFIG = $LDCONFIG
23054 MSGFMT = $MSGFMT
23055 PKG_CONFIG = $PKG_CONFIG
23056 FONTFORGE = $FONTFORGE
23057 RSVG = $RSVG
23058 CONVERT = $CONVERT
23059 ICOTOOL = $ICOTOOL
23060 I386_LIBS = $I386_LIBS
23061 OPENGL_LIBS = $OPENGL_LIBS
23062 DLLFLAGS = $DLLFLAGS
23063 LDDLLFLAGS = $LDDLLFLAGS
23064 LDEXECFLAGS = $LDEXECFLAGS
23065 EXTRACFLAGS = $EXTRACFLAGS
23066 UNIXDLLFLAGS = $UNIXDLLFLAGS
23067 UNIXLDFLAGS = $UNIXLDFLAGS
23068 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23069 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23070 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23071 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23072 DLLEXT = $DLLEXT
23073 LDD = $LDD
23074 OTOOL = $OTOOL
23075 READELF = $READELF
23076 SUBDIRS = $SUBDIRS
23077 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23078 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23079 CARBON_LIBS = $CARBON_LIBS
23080 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23081 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23082 IOKIT_LIBS = $IOKIT_LIBS
23083 METAL_LIBS = $METAL_LIBS
23084 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23085 CORESERVICES_LIBS = $CORESERVICES_LIBS
23086 APPKIT_LIBS = $APPKIT_LIBS
23087 SECURITY_LIBS = $SECURITY_LIBS
23088 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23089 COREAUDIO_LIBS = $COREAUDIO_LIBS
23090 OPENCL_LIBS = $OPENCL_LIBS
23091 OBJC = $OBJC
23092 OBJCFLAGS = $OBJCFLAGS
23093 ac_ct_OBJC = $ac_ct_OBJC
23094 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23095 PE_ARCHS = $PE_ARCHS
23096 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23097 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23098 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23099 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23100 GSM_PE_LIBS = $GSM_PE_LIBS
23101 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23102 JPEG_PE_LIBS = $JPEG_PE_LIBS
23103 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23104 JXR_PE_LIBS = $JXR_PE_LIBS
23105 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23106 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23107 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23108 LDAP_PE_LIBS = $LDAP_PE_LIBS
23109 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23110 MPG123_PE_LIBS = $MPG123_PE_LIBS
23111 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23112 MUSL_PE_LIBS = $MUSL_PE_LIBS
23113 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23114 PNG_PE_LIBS = $PNG_PE_LIBS
23115 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23116 TIFF_PE_LIBS = $TIFF_PE_LIBS
23117 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23118 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23119 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23120 XML2_PE_LIBS = $XML2_PE_LIBS
23121 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23122 XSLT_PE_LIBS = $XSLT_PE_LIBS
23123 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23124 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23125 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23126 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23127 PTHREAD_LIBS = $PTHREAD_LIBS
23128 XMKMF = $XMKMF
23129 CPP = $CPP
23130 X_CFLAGS = $X_CFLAGS
23131 X_PRE_LIBS = $X_PRE_LIBS
23132 X_LIBS = $X_LIBS
23133 X_EXTRA_LIBS = $X_EXTRA_LIBS
23134 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23135 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23136 WAYLAND_SCANNER = $WAYLAND_SCANNER
23137 PCAP_LIBS = $PCAP_LIBS
23138 PCSCLITE_LIBS = $PCSCLITE_LIBS
23139 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23140 INOTIFY_LIBS = $INOTIFY_LIBS
23141 DBUS_CFLAGS = $DBUS_CFLAGS
23142 DBUS_LIBS = $DBUS_LIBS
23143 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23144 GNUTLS_LIBS = $GNUTLS_LIBS
23145 SANE_CFLAGS = $SANE_CFLAGS
23146 SANE_LIBS = $SANE_LIBS
23147 USB_CFLAGS = $USB_CFLAGS
23148 USB_LIBS = $USB_LIBS
23149 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23150 GPHOTO2_LIBS = $GPHOTO2_LIBS
23151 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23152 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23153 RESOLV_LIBS = $RESOLV_LIBS
23154 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23155 FREETYPE_LIBS = $FREETYPE_LIBS
23156 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23157 PULSE_CFLAGS = $PULSE_CFLAGS
23158 PULSE_LIBS = $PULSE_LIBS
23159 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23160 GSTREAMER_LIBS = $GSTREAMER_LIBS
23161 ALSA_LIBS = $ALSA_LIBS
23162 OSS4_CFLAGS = $OSS4_CFLAGS
23163 OSS4_LIBS = $OSS4_LIBS
23164 UDEV_CFLAGS = $UDEV_CFLAGS
23165 UDEV_LIBS = $UDEV_LIBS
23166 UNWIND_CFLAGS = $UNWIND_CFLAGS
23167 UNWIND_LIBS = $UNWIND_LIBS
23168 SDL2_CFLAGS = $SDL2_CFLAGS
23169 SDL2_LIBS = $SDL2_LIBS
23170 CAPI20_CFLAGS = $CAPI20_CFLAGS
23171 CAPI20_LIBS = $CAPI20_LIBS
23172 CUPS_CFLAGS = $CUPS_CFLAGS
23173 CUPS_LIBS = $CUPS_LIBS
23174 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23175 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23176 KRB5_CFLAGS = $KRB5_CFLAGS
23177 KRB5_LIBS = $KRB5_LIBS
23178 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23179 GSSAPI_LIBS = $GSSAPI_LIBS
23180 PROCSTAT_LIBS = $PROCSTAT_LIBS
23181 NETAPI_CFLAGS = $NETAPI_CFLAGS
23182 NETAPI_LIBS = $NETAPI_LIBS
23183 MSVCRTFLAGS = $MSVCRTFLAGS
23184 DELAYLOADFLAG = $DELAYLOADFLAG
23185 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23186 RT_LIBS = $RT_LIBS
23187 TAGSFLAGS = $TAGSFLAGS
23188 LIBOBJS = $LIBOBJS
23189 LTLIBOBJS = $LTLIBOBJS
23190 $SET_MAKE
23191 $wine_rules
23192 _WINE_EOF
23193 as_fn_error $? "could not create Makefile" "$LINENO" 5
23196 _ACEOF
23198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23200 # Handling of arguments.
23201 for ac_config_target in $ac_config_targets
23203 case $ac_config_target in
23204 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23205 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23206 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23207 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23208 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23209 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23211 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23212 esac
23213 done
23216 # If the user did not use the arguments to specify the items to instantiate,
23217 # then the envvar interface is used. Set only those that are not.
23218 # We use the long form for the default assignment because of an extremely
23219 # bizarre bug on SunOS 4.1.3.
23220 if $ac_need_defaults; then
23221 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23222 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23223 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23226 # Have a temporary directory for convenience. Make it in the build tree
23227 # simply because there is no reason against having it here, and in addition,
23228 # creating and moving files from /tmp can sometimes cause problems.
23229 # Hook for its removal unless debugging.
23230 # Note that there is a small window in which the directory will not be cleaned:
23231 # after its creation but before its name has been assigned to `$tmp'.
23232 $debug ||
23234 tmp= ac_tmp=
23235 trap 'exit_status=$?
23236 : "${ac_tmp:=$tmp}"
23237 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23239 trap 'as_fn_exit 1' 1 2 13 15
23241 # Create a (secure) tmp directory for tmp files.
23244 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23245 test -d "$tmp"
23246 } ||
23248 tmp=./conf$$-$RANDOM
23249 (umask 077 && mkdir "$tmp")
23250 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23251 ac_tmp=$tmp
23253 # Set up the scripts for CONFIG_HEADERS section.
23254 # No need to generate them if there are no CONFIG_HEADERS.
23255 # This happens for instance with `./config.status Makefile'.
23256 if test -n "$CONFIG_HEADERS"; then
23257 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23258 BEGIN {
23259 _ACEOF
23261 # Transform confdefs.h into an awk script `defines.awk', embedded as
23262 # here-document in config.status, that substitutes the proper values into
23263 # config.h.in to produce config.h.
23265 # Create a delimiter string that does not exist in confdefs.h, to ease
23266 # handling of long lines.
23267 ac_delim='%!_!# '
23268 for ac_last_try in false false :; do
23269 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23270 if test -z "$ac_tt"; then
23271 break
23272 elif $ac_last_try; then
23273 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23274 else
23275 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23277 done
23279 # For the awk script, D is an array of macro values keyed by name,
23280 # likewise P contains macro parameters if any. Preserve backslash
23281 # newline sequences.
23283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23284 sed -n '
23285 s/.\{148\}/&'"$ac_delim"'/g
23286 t rset
23287 :rset
23288 s/^[ ]*#[ ]*define[ ][ ]*/ /
23289 t def
23291 :def
23292 s/\\$//
23293 t bsnl
23294 s/["\\]/\\&/g
23295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23296 D["\1"]=" \3"/p
23297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23299 :bsnl
23300 s/["\\]/\\&/g
23301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23302 D["\1"]=" \3\\\\\\n"\\/p
23303 t cont
23304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23305 t cont
23307 :cont
23309 s/.\{148\}/&'"$ac_delim"'/g
23310 t clear
23311 :clear
23312 s/\\$//
23313 t bsnlc
23314 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23316 :bsnlc
23317 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23318 b cont
23319 ' <confdefs.h | sed '
23320 s/'"$ac_delim"'/"\\\
23321 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23324 for (key in D) D_is_set[key] = 1
23325 FS = "\a"
23327 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23328 line = \$ 0
23329 split(line, arg, " ")
23330 if (arg[1] == "#") {
23331 defundef = arg[2]
23332 mac1 = arg[3]
23333 } else {
23334 defundef = substr(arg[1], 2)
23335 mac1 = arg[2]
23337 split(mac1, mac2, "(") #)
23338 macro = mac2[1]
23339 prefix = substr(line, 1, index(line, defundef) - 1)
23340 if (D_is_set[macro]) {
23341 # Preserve the white space surrounding the "#".
23342 print prefix "define", macro P[macro] D[macro]
23343 next
23344 } else {
23345 # Replace #undef with comments. This is necessary, for example,
23346 # in the case of _POSIX_SOURCE, which is predefined and required
23347 # on some systems where configure will not decide to define it.
23348 if (defundef == "undef") {
23349 print "/*", prefix defundef, macro, "*/"
23350 next
23354 { print }
23355 _ACAWK
23356 _ACEOF
23357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23358 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23359 fi # test -n "$CONFIG_HEADERS"
23362 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23363 shift
23364 for ac_tag
23366 case $ac_tag in
23367 :[FHLC]) ac_mode=$ac_tag; continue;;
23368 esac
23369 case $ac_mode$ac_tag in
23370 :[FHL]*:*);;
23371 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23372 :[FH]-) ac_tag=-:-;;
23373 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23374 esac
23375 ac_save_IFS=$IFS
23376 IFS=:
23377 set x $ac_tag
23378 IFS=$ac_save_IFS
23379 shift
23380 ac_file=$1
23381 shift
23383 case $ac_mode in
23384 :L) ac_source=$1;;
23385 :[FH])
23386 ac_file_inputs=
23387 for ac_f
23389 case $ac_f in
23390 -) ac_f="$ac_tmp/stdin";;
23391 *) # Look for the file first in the build tree, then in the source tree
23392 # (if the path is not absolute). The absolute path cannot be DOS-style,
23393 # because $ac_f cannot contain `:'.
23394 test -f "$ac_f" ||
23395 case $ac_f in
23396 [\\/$]*) false;;
23397 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23398 esac ||
23399 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23400 esac
23401 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23402 as_fn_append ac_file_inputs " '$ac_f'"
23403 done
23405 # Let's still pretend it is `configure' which instantiates (i.e., don't
23406 # use $as_me), people would be surprised to read:
23407 # /* config.h. Generated by config.status. */
23408 configure_input='Generated from '`
23409 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23410 `' by configure.'
23411 if test x"$ac_file" != x-; then
23412 configure_input="$ac_file. $configure_input"
23413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23414 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23416 # Neutralize special characters interpreted by sed in replacement strings.
23417 case $configure_input in #(
23418 *\&* | *\|* | *\\* )
23419 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23420 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23421 *) ac_sed_conf_input=$configure_input;;
23422 esac
23424 case $ac_tag in
23425 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23427 esac
23429 esac
23431 ac_dir=`$as_dirname -- "$ac_file" ||
23432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23433 X"$ac_file" : 'X\(//\)[^/]' \| \
23434 X"$ac_file" : 'X\(//\)$' \| \
23435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23436 printf "%s\n" X"$ac_file" |
23437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23438 s//\1/
23441 /^X\(\/\/\)[^/].*/{
23442 s//\1/
23445 /^X\(\/\/\)$/{
23446 s//\1/
23449 /^X\(\/\).*/{
23450 s//\1/
23453 s/.*/./; q'`
23454 as_dir="$ac_dir"; as_fn_mkdir_p
23455 ac_builddir=.
23457 case "$ac_dir" in
23458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23460 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23461 # A ".." for each directory in $ac_dir_suffix.
23462 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23463 case $ac_top_builddir_sub in
23464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23466 esac ;;
23467 esac
23468 ac_abs_top_builddir=$ac_pwd
23469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23470 # for backward compatibility:
23471 ac_top_builddir=$ac_top_build_prefix
23473 case $srcdir in
23474 .) # We are building in place.
23475 ac_srcdir=.
23476 ac_top_srcdir=$ac_top_builddir_sub
23477 ac_abs_top_srcdir=$ac_pwd ;;
23478 [\\/]* | ?:[\\/]* ) # Absolute name.
23479 ac_srcdir=$srcdir$ac_dir_suffix;
23480 ac_top_srcdir=$srcdir
23481 ac_abs_top_srcdir=$srcdir ;;
23482 *) # Relative name.
23483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23484 ac_top_srcdir=$ac_top_build_prefix$srcdir
23485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23486 esac
23487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23490 case $ac_mode in
23494 # CONFIG_HEADER
23496 if test x"$ac_file" != x-; then
23498 printf "%s\n" "/* $configure_input */" >&1 \
23499 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23500 } >"$ac_tmp/config.h" \
23501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23502 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23504 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23505 else
23506 rm -f "$ac_file"
23507 mv "$ac_tmp/config.h" "$ac_file" \
23508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23510 else
23511 printf "%s\n" "/* $configure_input */" >&1 \
23512 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23513 || as_fn_error $? "could not create -" "$LINENO" 5
23518 # CONFIG_LINK
23521 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23523 else
23524 # Prefer the file from the source tree if names are identical.
23525 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23526 ac_source=$srcdir/$ac_source
23529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23530 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23532 if test ! -r "$ac_source"; then
23533 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23535 rm -f "$ac_file"
23537 # Try a relative symlink, then a hard link, then a copy.
23538 case $ac_source in
23539 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23540 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23541 esac
23542 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23543 ln "$ac_source" "$ac_file" 2>/dev/null ||
23544 cp -p "$ac_source" "$ac_file" ||
23545 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23548 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23549 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23551 esac
23554 case $ac_file$ac_mode in
23555 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23556 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23557 "Makefile":C) wine_fn_output_makefile Makefile ;;
23559 esac
23560 done # for ac_tag
23563 as_fn_exit 0
23564 _ACEOF
23565 ac_clean_files=$ac_clean_files_save
23567 test $ac_write_fail = 0 ||
23568 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23571 # configure is writing to config.log, and then calls config.status.
23572 # config.status does its own redirection, appending to config.log.
23573 # Unfortunately, on DOS this fails, as config.log is still kept open
23574 # by configure, so config.status won't be able to write to it; its
23575 # output is simply discarded. So we exec the FD to /dev/null,
23576 # effectively closing config.log, so it can be properly (re)opened and
23577 # appended to by config.status. When coming back to configure, we
23578 # need to make the FD available again.
23579 if test "$no_create" != yes; then
23580 ac_cs_success=:
23581 ac_config_status_args=
23582 test "$silent" = yes &&
23583 ac_config_status_args="$ac_config_status_args --quiet"
23584 exec 5>/dev/null
23585 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23586 exec 5>>config.log
23587 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23588 # would make configure fail if this is the last instruction.
23589 $ac_cs_success || as_fn_exit 1
23591 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23593 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23597 if test "$no_create" = "yes"
23598 then
23599 exit 0
23602 ac_save_IFS="$IFS"
23603 if test "x$wine_notices" != x; then
23604 echo >&6
23605 IFS="|"
23606 for msg in $wine_notices; do
23607 IFS="$ac_save_IFS"
23608 if ${msg:+false} :
23609 then :
23611 else $as_nop
23612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23613 printf "%s\n" "$as_me: $msg" >&6;}
23615 done
23617 IFS="|"
23618 for msg in $wine_warnings; do
23619 IFS="$ac_save_IFS"
23620 if ${msg:+false} :
23621 then :
23623 else $as_nop
23624 echo >&2
23625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23626 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23628 done
23629 IFS="$ac_save_IFS"
23631 printf "%s\n" "
23632 $as_me: Finished. Do '${ac_make}' to compile Wine.
23633 " >&6