ntdll: Build an initial WoW context on ARM64.
[wine.git] / configure
blob01df4fa9773b3208f0517b892d4b23bbbf14f521
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.2'
615 PACKAGE_STRING='Wine 8.2'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZLIB_PE_LIBS
713 ZLIB_PE_CFLAGS
714 XSLT_PE_LIBS
715 XSLT_PE_CFLAGS
716 XML2_PE_LIBS
717 XML2_PE_CFLAGS
718 VKD3D_PE_LIBS
719 VKD3D_PE_CFLAGS
720 TIFF_PE_LIBS
721 TIFF_PE_CFLAGS
722 PNG_PE_LIBS
723 PNG_PE_CFLAGS
724 MPG123_PE_LIBS
725 MPG123_PE_CFLAGS
726 LDAP_PE_LIBS
727 LDAP_PE_CFLAGS
728 LCMS2_PE_LIBS
729 LCMS2_PE_CFLAGS
730 JXR_PE_LIBS
731 JXR_PE_CFLAGS
732 JPEG_PE_LIBS
733 JPEG_PE_CFLAGS
734 GSM_PE_LIBS
735 GSM_PE_CFLAGS
736 FAUDIO_PE_LIBS
737 FAUDIO_PE_CFLAGS
738 MINGW_PKG_CONFIG
739 PE_ARCHS
740 PRELINK
741 WINELOADER_DEPENDS
742 ac_ct_OBJC
743 OBJCFLAGS
744 OBJC
745 OPENCL_LIBS
746 COREAUDIO_LIBS
747 SYSTEMCONFIGURATION_LIBS
748 SECURITY_LIBS
749 APPKIT_LIBS
750 CORESERVICES_LIBS
751 APPLICATIONSERVICES_LIBS
752 METAL_LIBS
753 IOKIT_LIBS
754 DISKARBITRATION_LIBS
755 COREFOUNDATION_LIBS
756 CARBON_LIBS
757 CONFIGURE_TARGETS
758 DISABLED_SUBDIRS
759 SUBDIRS
760 READELF
761 OTOOL
763 WINEPRELOADER_LDFLAGS
764 WINELOADER_LDFLAGS
765 TOP_INSTALL_DEV
766 TOP_INSTALL_LIB
767 UNIXLDFLAGS
768 UNIXDLLFLAGS
769 EXTRACFLAGS
770 LDEXECFLAGS
771 LDDLLFLAGS
772 DLLFLAGS
773 OPENGL_LIBS
774 I386_LIBS
775 ICOTOOL
776 CONVERT
777 RSVG
778 FONTFORGE
779 PKG_CONFIG
780 MSGFMT
781 LDCONFIG
782 EGREP
783 GREP
784 LN_S
785 RANLIB
786 STRIP
787 ac_ct_AR
789 BISON
790 FLEX
791 SED_CMD
792 RUNTESTFLAGS
793 MAKEDEP
794 toolsdir
795 x86_64_DISABLED_SUBDIRS
796 x86_64_DELAYLOADFLAG
797 x86_64_TARGET
798 x86_64_DEBUG
799 x86_64_LDFLAGS
800 x86_64_EXTRACFLAGS
801 x86_64_CFLAGS
802 x86_64_CC
803 i386_DISABLED_SUBDIRS
804 i386_DELAYLOADFLAG
805 i386_TARGET
806 i386_DEBUG
807 i386_LDFLAGS
808 i386_EXTRACFLAGS
809 i386_CFLAGS
810 i386_CC
811 arm_DISABLED_SUBDIRS
812 arm_DELAYLOADFLAG
813 arm_TARGET
814 arm_DEBUG
815 arm_LDFLAGS
816 arm_EXTRACFLAGS
817 arm_CFLAGS
818 arm_CC
819 aarch64_DISABLED_SUBDIRS
820 aarch64_DELAYLOADFLAG
821 aarch64_TARGET
822 aarch64_DEBUG
823 aarch64_LDFLAGS
824 aarch64_EXTRACFLAGS
825 aarch64_CFLAGS
826 aarch64_CC
827 HOST_ARCH
828 toolsext
829 TARGETFLAGS
831 CPPBIN
832 ac_ct_CXX
833 CXXFLAGS
835 OBJEXT
836 EXEEXT
837 ac_ct_CC
838 CPPFLAGS
839 LDFLAGS
840 CFLAGS
842 SET_MAKE
843 srcdir
844 nlsdir
845 fontdir
846 dlldir
847 host_os
848 host_vendor
849 host_cpu
850 host
851 build_os
852 build_vendor
853 build_cpu
854 build
855 system_dllpath
856 target_alias
857 host_alias
858 build_alias
859 LIBS
860 ECHO_T
861 ECHO_N
862 ECHO_C
863 DEFS
864 mandir
865 localedir
866 libdir
867 psdir
868 pdfdir
869 dvidir
870 htmldir
871 infodir
872 docdir
873 oldincludedir
874 includedir
875 runstatedir
876 localstatedir
877 sharedstatedir
878 sysconfdir
879 datadir
880 datarootdir
881 libexecdir
882 sbindir
883 bindir
884 program_transform_name
885 prefix
886 exec_prefix
887 PACKAGE_URL
888 PACKAGE_BUGREPORT
889 PACKAGE_STRING
890 PACKAGE_VERSION
891 PACKAGE_TARNAME
892 PACKAGE_NAME
893 PATH_SEPARATOR
894 SHELL'
895 ac_subst_files=''
896 ac_user_opts='
897 enable_option_checking
898 enable_archs
899 enable_win16
900 enable_win64
901 enable_tests
902 enable_build_id
903 enable_maintainer_mode
904 enable_silent_rules
905 enable_werror
906 with_alsa
907 with_capi
908 with_coreaudio
909 with_cups
910 with_dbus
911 with_float_abi
912 with_fontconfig
913 with_freetype
914 with_gettext
915 with_gettextpo
916 with_gphoto
917 with_gnutls
918 with_gssapi
919 with_gstreamer
920 with_inotify
921 with_krb5
922 with_mingw
923 with_netapi
924 with_opencl
925 with_opengl
926 with_osmesa
927 with_oss
928 with_pcap
929 with_pcsclite
930 with_pthread
931 with_pulse
932 with_sane
933 with_sdl
934 with_udev
935 with_unwind
936 with_usb
937 with_v4l2
938 with_vulkan
939 with_xcomposite
940 with_xcursor
941 with_xfixes
942 with_xinerama
943 with_xinput
944 with_xinput2
945 with_xrandr
946 with_xrender
947 with_xshape
948 with_xshm
949 with_xxf86vm
950 with_system_dllpath
951 with_wine_tools
952 with_wine64
953 enable_largefile
954 with_x
955 enable_acledit
956 enable_aclui
957 enable_activeds_tlb
958 enable_activeds
959 enable_actxprxy
960 enable_adsldp
961 enable_adsldpc
962 enable_advapi32
963 enable_advpack
964 enable_amsi
965 enable_amstream
966 enable_apisetschema
967 enable_apphelp
968 enable_appwiz_cpl
969 enable_atl
970 enable_atl100
971 enable_atl110
972 enable_atl80
973 enable_atl90
974 enable_atlthunk
975 enable_atmlib
976 enable_authz
977 enable_avicap32
978 enable_avifil32
979 enable_avrt
980 enable_bcrypt
981 enable_bluetoothapis
982 enable_browseui
983 enable_bthprops_cpl
984 enable_cabinet
985 enable_capi2032
986 enable_cards
987 enable_cdosys
988 enable_cfgmgr32
989 enable_clusapi
990 enable_cng_sys
991 enable_combase
992 enable_comcat
993 enable_comctl32
994 enable_comdlg32
995 enable_compstui
996 enable_comsvcs
997 enable_concrt140
998 enable_connect
999 enable_credui
1000 enable_crtdll
1001 enable_crypt32
1002 enable_cryptdlg
1003 enable_cryptdll
1004 enable_cryptext
1005 enable_cryptnet
1006 enable_cryptowinrt
1007 enable_cryptsp
1008 enable_cryptui
1009 enable_ctapi32
1010 enable_ctl3d32
1011 enable_d2d1
1012 enable_d3d10
1013 enable_d3d10_1
1014 enable_d3d10core
1015 enable_d3d11
1016 enable_d3d12
1017 enable_d3d12core
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_ir50_32
1166 enable_irprops_cpl
1167 enable_itircl
1168 enable_itss
1169 enable_joy_cpl
1170 enable_jscript
1171 enable_jsproxy
1172 enable_kerberos
1173 enable_kernel32
1174 enable_kernelbase
1175 enable_ksecdd_sys
1176 enable_ksproxy_ax
1177 enable_ksuser
1178 enable_ktmw32
1179 enable_l3codeca_acm
1180 enable_light_msstyles
1181 enable_loadperf
1182 enable_localspl
1183 enable_localui
1184 enable_lz32
1185 enable_mapi32
1186 enable_mapistub
1187 enable_mciavi32
1188 enable_mcicda
1189 enable_mciqtz32
1190 enable_mciseq
1191 enable_mciwave
1192 enable_mf
1193 enable_mf3216
1194 enable_mferror
1195 enable_mfmediaengine
1196 enable_mfplat
1197 enable_mfplay
1198 enable_mfreadwrite
1199 enable_mfsrcsnk
1200 enable_mgmtapi
1201 enable_midimap
1202 enable_mlang
1203 enable_mmcndmgr
1204 enable_mmdevapi
1205 enable_mountmgr_sys
1206 enable_mp3dmod
1207 enable_mpr
1208 enable_mprapi
1209 enable_msacm32_drv
1210 enable_msacm32
1211 enable_msado15
1212 enable_msadp32_acm
1213 enable_msasn1
1214 enable_msauddecmft
1215 enable_mscat32
1216 enable_mscms
1217 enable_mscoree
1218 enable_mscorwks
1219 enable_msctf
1220 enable_msctfmonitor
1221 enable_msctfp
1222 enable_msdaps
1223 enable_msdasql
1224 enable_msdelta
1225 enable_msdmo
1226 enable_msdrm
1227 enable_msftedit
1228 enable_msg711_acm
1229 enable_msgsm32_acm
1230 enable_mshtml_tlb
1231 enable_mshtml
1232 enable_msi
1233 enable_msident
1234 enable_msimg32
1235 enable_msimsg
1236 enable_msimtf
1237 enable_msisip
1238 enable_msisys_ocx
1239 enable_msls31
1240 enable_msmpeg2vdec
1241 enable_msnet32
1242 enable_mspatcha
1243 enable_msports
1244 enable_msrle32
1245 enable_msscript_ocx
1246 enable_mssign32
1247 enable_mssip32
1248 enable_mstask
1249 enable_msv1_0
1250 enable_msvcirt
1251 enable_msvcm80
1252 enable_msvcm90
1253 enable_msvcp100
1254 enable_msvcp110
1255 enable_msvcp120
1256 enable_msvcp120_app
1257 enable_msvcp140
1258 enable_msvcp140_1
1259 enable_msvcp140_2
1260 enable_msvcp140_atomic_wait
1261 enable_msvcp60
1262 enable_msvcp70
1263 enable_msvcp71
1264 enable_msvcp80
1265 enable_msvcp90
1266 enable_msvcp_win
1267 enable_msvcr100
1268 enable_msvcr110
1269 enable_msvcr120
1270 enable_msvcr120_app
1271 enable_msvcr70
1272 enable_msvcr71
1273 enable_msvcr80
1274 enable_msvcr90
1275 enable_msvcrt
1276 enable_msvcrt20
1277 enable_msvcrt40
1278 enable_msvcrtd
1279 enable_msvfw32
1280 enable_msvidc32
1281 enable_mswsock
1282 enable_msxml
1283 enable_msxml2
1284 enable_msxml3
1285 enable_msxml4
1286 enable_msxml6
1287 enable_mtxdm
1288 enable_ncrypt
1289 enable_nddeapi
1290 enable_ndis_sys
1291 enable_netapi32
1292 enable_netcfgx
1293 enable_netio_sys
1294 enable_netprofm
1295 enable_netutils
1296 enable_newdev
1297 enable_ninput
1298 enable_normaliz
1299 enable_npmshtml
1300 enable_npptools
1301 enable_nsi
1302 enable_nsiproxy_sys
1303 enable_ntdll
1304 enable_ntdsapi
1305 enable_ntoskrnl_exe
1306 enable_ntprint
1307 enable_objsel
1308 enable_odbc32
1309 enable_odbcbcp
1310 enable_odbccp32
1311 enable_odbccu32
1312 enable_ole32
1313 enable_oleacc
1314 enable_oleaut32
1315 enable_olecli32
1316 enable_oledb32
1317 enable_oledlg
1318 enable_olepro32
1319 enable_olesvr32
1320 enable_olethk32
1321 enable_opcservices
1322 enable_opencl
1323 enable_opengl32
1324 enable_packager
1325 enable_pdh
1326 enable_photometadatahandler
1327 enable_pidgen
1328 enable_powrprof
1329 enable_printui
1330 enable_prntvpt
1331 enable_propsys
1332 enable_psapi
1333 enable_pstorec
1334 enable_pwrshplugin
1335 enable_qasf
1336 enable_qcap
1337 enable_qdvd
1338 enable_qedit
1339 enable_qmgr
1340 enable_qmgrprxy
1341 enable_quartz
1342 enable_query
1343 enable_qwave
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_rtworkq
1356 enable_samlib
1357 enable_sane_ds
1358 enable_sapi
1359 enable_sas
1360 enable_scarddlg
1361 enable_scardsvr
1362 enable_sccbase
1363 enable_schannel
1364 enable_schedsvc
1365 enable_scrobj
1366 enable_scrrun
1367 enable_scsiport_sys
1368 enable_sechost
1369 enable_secur32
1370 enable_security
1371 enable_sensapi
1372 enable_serialui
1373 enable_setupapi
1374 enable_sfc
1375 enable_sfc_os
1376 enable_shcore
1377 enable_shdoclc
1378 enable_shdocvw
1379 enable_shell32
1380 enable_shfolder
1381 enable_shlwapi
1382 enable_slbcsp
1383 enable_slc
1384 enable_snmpapi
1385 enable_softpub
1386 enable_spoolss
1387 enable_sppc
1388 enable_srclient
1389 enable_srvcli
1390 enable_sspicli
1391 enable_stdole2_tlb
1392 enable_stdole32_tlb
1393 enable_sti
1394 enable_strmdll
1395 enable_svrapi
1396 enable_sxs
1397 enable_t2embed
1398 enable_tapi32
1399 enable_taskschd
1400 enable_tbs
1401 enable_tdh
1402 enable_tdi_sys
1403 enable_threadpoolwinrt
1404 enable_traffic
1405 enable_twain_32
1406 enable_tzres
1407 enable_ucrtbase
1408 enable_uianimation
1409 enable_uiautomationcore
1410 enable_uiribbon
1411 enable_unicows
1412 enable_updspapi
1413 enable_url
1414 enable_urlmon
1415 enable_usbd_sys
1416 enable_user32
1417 enable_userenv
1418 enable_usp10
1419 enable_utildll
1420 enable_uxtheme
1421 enable_vbscript
1422 enable_vcomp
1423 enable_vcomp100
1424 enable_vcomp110
1425 enable_vcomp120
1426 enable_vcomp140
1427 enable_vcomp90
1428 enable_vcruntime140
1429 enable_vcruntime140_1
1430 enable_vdmdbg
1431 enable_version
1432 enable_vga
1433 enable_virtdisk
1434 enable_vssapi
1435 enable_vulkan_1
1436 enable_wbemdisp
1437 enable_wbemprox
1438 enable_wdscore
1439 enable_webservices
1440 enable_websocket
1441 enable_wer
1442 enable_wevtapi
1443 enable_wevtsvc
1444 enable_wiaservc
1445 enable_wimgapi
1446 enable_win32u
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_gaming_ui_gamebar
1450 enable_windows_globalization
1451 enable_windows_media_devices
1452 enable_windows_media_speech
1453 enable_windows_media
1454 enable_windows_networking
1455 enable_windows_system_profile_systemmanufacturers
1456 enable_windows_ui
1457 enable_windowscodecs
1458 enable_windowscodecsext
1459 enable_winealsa_drv
1460 enable_wineandroid_drv
1461 enable_winebus_sys
1462 enable_winecoreaudio_drv
1463 enable_winecrt0
1464 enable_wined3d
1465 enable_winegstreamer
1466 enable_winehid_sys
1467 enable_winemac_drv
1468 enable_winemapi
1469 enable_wineoss_drv
1470 enable_wineps_drv
1471 enable_winepulse_drv
1472 enable_wineusb_sys
1473 enable_winevulkan
1474 enable_winex11_drv
1475 enable_winexinput_sys
1476 enable_wing32
1477 enable_winhttp
1478 enable_wininet
1479 enable_winmm
1480 enable_winnls32
1481 enable_winprint
1482 enable_winscard
1483 enable_winspool_drv
1484 enable_winsta
1485 enable_wintab32
1486 enable_wintrust
1487 enable_wintypes
1488 enable_winusb
1489 enable_wlanapi
1490 enable_wlanui
1491 enable_wldap32
1492 enable_wmasf
1493 enable_wmi
1494 enable_wmiutils
1495 enable_wmp
1496 enable_wmphoto
1497 enable_wmvcore
1498 enable_wnaspi32
1499 enable_wofutil
1500 enable_wow64
1501 enable_wow64cpu
1502 enable_wow64win
1503 enable_wpc
1504 enable_wpcap
1505 enable_ws2_32
1506 enable_wsdapi
1507 enable_wshom_ocx
1508 enable_wsnmp32
1509 enable_wsock32
1510 enable_wtsapi32
1511 enable_wuapi
1512 enable_wuaueng
1513 enable_x3daudio1_0
1514 enable_x3daudio1_1
1515 enable_x3daudio1_2
1516 enable_x3daudio1_3
1517 enable_x3daudio1_4
1518 enable_x3daudio1_5
1519 enable_x3daudio1_6
1520 enable_x3daudio1_7
1521 enable_xactengine2_0
1522 enable_xactengine2_4
1523 enable_xactengine2_7
1524 enable_xactengine2_9
1525 enable_xactengine3_0
1526 enable_xactengine3_1
1527 enable_xactengine3_2
1528 enable_xactengine3_3
1529 enable_xactengine3_4
1530 enable_xactengine3_5
1531 enable_xactengine3_6
1532 enable_xactengine3_7
1533 enable_xapofx1_1
1534 enable_xapofx1_2
1535 enable_xapofx1_3
1536 enable_xapofx1_4
1537 enable_xapofx1_5
1538 enable_xaudio2_0
1539 enable_xaudio2_1
1540 enable_xaudio2_2
1541 enable_xaudio2_3
1542 enable_xaudio2_4
1543 enable_xaudio2_5
1544 enable_xaudio2_6
1545 enable_xaudio2_7
1546 enable_xaudio2_8
1547 enable_xaudio2_9
1548 enable_xinput1_1
1549 enable_xinput1_2
1550 enable_xinput1_3
1551 enable_xinput1_4
1552 enable_xinput9_1_0
1553 enable_xinputuap
1554 enable_xmllite
1555 enable_xolehlp
1556 enable_xpsprint
1557 enable_xpssvcs
1558 enable_fonts
1559 enable_include
1560 enable_adsiid
1561 enable_dmoguids
1562 enable_dxerr8
1563 enable_dxerr9
1564 enable_dxguid
1565 enable_faudio
1566 enable_gsm
1567 enable_jpeg
1568 enable_jxr
1569 enable_lcms2
1570 enable_ldap
1571 enable_mfuuid
1572 enable_mpg123
1573 enable_png
1574 enable_strmbase
1575 enable_strmiids
1576 enable_tiff
1577 enable_uuid
1578 enable_vkd3d
1579 enable_wbemuuid
1580 enable_wmcodecdspuuid
1581 enable_xml2
1582 enable_xslt
1583 enable_zlib
1584 enable_loader
1585 enable_nls
1586 enable_po
1587 enable_arp
1588 enable_aspnet_regiis
1589 enable_attrib
1590 enable_cabarc
1591 enable_cacls
1592 enable_certutil
1593 enable_chcp_com
1594 enable_clock
1595 enable_cmd
1596 enable_conhost
1597 enable_control
1598 enable_cscript
1599 enable_dism
1600 enable_dllhost
1601 enable_dplaysvr
1602 enable_dpnsvr
1603 enable_dpvsetup
1604 enable_dxdiag
1605 enable_eject
1606 enable_expand
1607 enable_explorer
1608 enable_extrac32
1609 enable_fc
1610 enable_find
1611 enable_findstr
1612 enable_fsutil
1613 enable_hh
1614 enable_hostname
1615 enable_icacls
1616 enable_icinfo
1617 enable_iexplore
1618 enable_ipconfig
1619 enable_lodctr
1620 enable_mofcomp
1621 enable_mshta
1622 enable_msidb
1623 enable_msiexec
1624 enable_msinfo32
1625 enable_net
1626 enable_netsh
1627 enable_netstat
1628 enable_ngen
1629 enable_notepad
1630 enable_oleview
1631 enable_ping
1632 enable_plugplay
1633 enable_powershell
1634 enable_presentationfontcache
1635 enable_progman
1636 enable_reg
1637 enable_regasm
1638 enable_regedit
1639 enable_regini
1640 enable_regsvcs
1641 enable_regsvr32
1642 enable_robocopy
1643 enable_rpcss
1644 enable_rundll32
1645 enable_sc
1646 enable_schtasks
1647 enable_sdbinst
1648 enable_secedit
1649 enable_servicemodelreg
1650 enable_services
1651 enable_setx
1652 enable_shutdown
1653 enable_spoolsv
1654 enable_start
1655 enable_subst
1656 enable_svchost
1657 enable_systeminfo
1658 enable_taskkill
1659 enable_tasklist
1660 enable_taskmgr
1661 enable_termsv
1662 enable_uninstaller
1663 enable_unlodctr
1664 enable_view
1665 enable_wevtutil
1666 enable_where
1667 enable_whoami
1668 enable_wineboot
1669 enable_winebrowser
1670 enable_winecfg
1671 enable_wineconsole
1672 enable_winedbg
1673 enable_winedevice
1674 enable_winefile
1675 enable_winemenubuilder
1676 enable_winemine
1677 enable_winemsibuilder
1678 enable_winepath
1679 enable_winetest
1680 enable_winhlp32
1681 enable_winmgmt
1682 enable_winver
1683 enable_wmic
1684 enable_wmplayer
1685 enable_wordpad
1686 enable_write
1687 enable_wscript
1688 enable_wuauserv
1689 enable_wusa
1690 enable_xcopy
1691 enable_server
1692 enable_tools
1693 enable_sfnt2fon
1694 enable_widl
1695 enable_winebuild
1696 enable_winedump
1697 enable_winegcc
1698 enable_winemaker
1699 enable_wmc
1700 enable_wrc
1702 ac_precious_vars='build_alias
1703 host_alias
1704 target_alias
1706 CFLAGS
1707 LDFLAGS
1708 LIBS
1709 CPPFLAGS
1711 CXXFLAGS
1713 OBJC
1714 OBJCFLAGS
1715 FAUDIO_PE_CFLAGS
1716 FAUDIO_PE_LIBS
1717 GSM_PE_CFLAGS
1718 GSM_PE_LIBS
1719 JPEG_PE_CFLAGS
1720 JPEG_PE_LIBS
1721 JXR_PE_CFLAGS
1722 JXR_PE_LIBS
1723 LCMS2_PE_CFLAGS
1724 LCMS2_PE_LIBS
1725 LDAP_PE_CFLAGS
1726 LDAP_PE_LIBS
1727 MPG123_PE_CFLAGS
1728 MPG123_PE_LIBS
1729 PNG_PE_CFLAGS
1730 PNG_PE_LIBS
1731 TIFF_PE_CFLAGS
1732 TIFF_PE_LIBS
1733 VKD3D_PE_CFLAGS
1734 VKD3D_PE_LIBS
1735 XML2_PE_CFLAGS
1736 XML2_PE_LIBS
1737 XSLT_PE_CFLAGS
1738 XSLT_PE_LIBS
1739 ZLIB_PE_CFLAGS
1740 ZLIB_PE_LIBS
1741 XMKMF
1743 INOTIFY_CFLAGS
1744 INOTIFY_LIBS
1745 DBUS_CFLAGS
1746 DBUS_LIBS
1747 GNUTLS_CFLAGS
1748 GNUTLS_LIBS
1749 SANE_CFLAGS
1750 SANE_LIBS
1751 USB_CFLAGS
1752 USB_LIBS
1753 GPHOTO2_CFLAGS
1754 GPHOTO2_LIBS
1755 GPHOTO2_PORT_CFLAGS
1756 GPHOTO2_PORT_LIBS
1757 FREETYPE_CFLAGS
1758 FREETYPE_LIBS
1759 PULSE_CFLAGS
1760 PULSE_LIBS
1761 GSTREAMER_CFLAGS
1762 GSTREAMER_LIBS
1763 UDEV_CFLAGS
1764 UDEV_LIBS
1765 UNWIND_CFLAGS
1766 UNWIND_LIBS
1767 SDL2_CFLAGS
1768 SDL2_LIBS
1769 CAPI20_CFLAGS
1770 CAPI20_LIBS
1771 CUPS_CFLAGS
1772 CUPS_LIBS
1773 FONTCONFIG_CFLAGS
1774 FONTCONFIG_LIBS
1775 KRB5_CFLAGS
1776 KRB5_LIBS
1777 GSSAPI_CFLAGS
1778 GSSAPI_LIBS
1779 NETAPI_CFLAGS
1780 NETAPI_LIBS'
1783 # Initialize some variables set by options.
1784 ac_init_help=
1785 ac_init_version=false
1786 ac_unrecognized_opts=
1787 ac_unrecognized_sep=
1788 # The variables have the same names as the options, with
1789 # dashes changed to underlines.
1790 cache_file=/dev/null
1791 exec_prefix=NONE
1792 no_create=
1793 no_recursion=
1794 prefix=NONE
1795 program_prefix=NONE
1796 program_suffix=NONE
1797 program_transform_name=s,x,x,
1798 silent=
1799 site=
1800 srcdir=
1801 verbose=
1802 x_includes=NONE
1803 x_libraries=NONE
1805 # Installation directory options.
1806 # These are left unexpanded so users can "make install exec_prefix=/foo"
1807 # and all the variables that are supposed to be based on exec_prefix
1808 # by default will actually change.
1809 # Use braces instead of parens because sh, perl, etc. also accept them.
1810 # (The list follows the same order as the GNU Coding Standards.)
1811 bindir='${exec_prefix}/bin'
1812 sbindir='${exec_prefix}/sbin'
1813 libexecdir='${exec_prefix}/libexec'
1814 datarootdir='${prefix}/share'
1815 datadir='${datarootdir}'
1816 sysconfdir='${prefix}/etc'
1817 sharedstatedir='${prefix}/com'
1818 localstatedir='${prefix}/var'
1819 runstatedir='${localstatedir}/run'
1820 includedir='${prefix}/include'
1821 oldincludedir='/usr/include'
1822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1823 infodir='${datarootdir}/info'
1824 htmldir='${docdir}'
1825 dvidir='${docdir}'
1826 pdfdir='${docdir}'
1827 psdir='${docdir}'
1828 libdir='${exec_prefix}/lib'
1829 localedir='${datarootdir}/locale'
1830 mandir='${datarootdir}/man'
1832 ac_prev=
1833 ac_dashdash=
1834 for ac_option
1836 # If the previous option needs an argument, assign it.
1837 if test -n "$ac_prev"; then
1838 eval $ac_prev=\$ac_option
1839 ac_prev=
1840 continue
1843 case $ac_option in
1844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1845 *=) ac_optarg= ;;
1846 *) ac_optarg=yes ;;
1847 esac
1849 case $ac_dashdash$ac_option in
1851 ac_dashdash=yes ;;
1853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1854 ac_prev=bindir ;;
1855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1856 bindir=$ac_optarg ;;
1858 -build | --build | --buil | --bui | --bu)
1859 ac_prev=build_alias ;;
1860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1861 build_alias=$ac_optarg ;;
1863 -cache-file | --cache-file | --cache-fil | --cache-fi \
1864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1865 ac_prev=cache_file ;;
1866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1868 cache_file=$ac_optarg ;;
1870 --config-cache | -C)
1871 cache_file=config.cache ;;
1873 -datadir | --datadir | --datadi | --datad)
1874 ac_prev=datadir ;;
1875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1876 datadir=$ac_optarg ;;
1878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1879 | --dataroo | --dataro | --datar)
1880 ac_prev=datarootdir ;;
1881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1883 datarootdir=$ac_optarg ;;
1885 -disable-* | --disable-*)
1886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1887 # Reject names that are not valid shell variable names.
1888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1889 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1890 ac_useropt_orig=$ac_useropt
1891 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1892 case $ac_user_opts in
1894 "enable_$ac_useropt"
1895 "*) ;;
1896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1897 ac_unrecognized_sep=', ';;
1898 esac
1899 eval enable_$ac_useropt=no ;;
1901 -docdir | --docdir | --docdi | --doc | --do)
1902 ac_prev=docdir ;;
1903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1904 docdir=$ac_optarg ;;
1906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1907 ac_prev=dvidir ;;
1908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1909 dvidir=$ac_optarg ;;
1911 -enable-* | --enable-*)
1912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1913 # Reject names that are not valid shell variable names.
1914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1915 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1916 ac_useropt_orig=$ac_useropt
1917 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1918 case $ac_user_opts in
1920 "enable_$ac_useropt"
1921 "*) ;;
1922 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1923 ac_unrecognized_sep=', ';;
1924 esac
1925 eval enable_$ac_useropt=\$ac_optarg ;;
1927 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1928 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1929 | --exec | --exe | --ex)
1930 ac_prev=exec_prefix ;;
1931 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1932 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1933 | --exec=* | --exe=* | --ex=*)
1934 exec_prefix=$ac_optarg ;;
1936 -gas | --gas | --ga | --g)
1937 # Obsolete; use --with-gas.
1938 with_gas=yes ;;
1940 -help | --help | --hel | --he | -h)
1941 ac_init_help=long ;;
1942 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1943 ac_init_help=recursive ;;
1944 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1945 ac_init_help=short ;;
1947 -host | --host | --hos | --ho)
1948 ac_prev=host_alias ;;
1949 -host=* | --host=* | --hos=* | --ho=*)
1950 host_alias=$ac_optarg ;;
1952 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1953 ac_prev=htmldir ;;
1954 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1955 | --ht=*)
1956 htmldir=$ac_optarg ;;
1958 -includedir | --includedir | --includedi | --included | --include \
1959 | --includ | --inclu | --incl | --inc)
1960 ac_prev=includedir ;;
1961 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1962 | --includ=* | --inclu=* | --incl=* | --inc=*)
1963 includedir=$ac_optarg ;;
1965 -infodir | --infodir | --infodi | --infod | --info | --inf)
1966 ac_prev=infodir ;;
1967 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1968 infodir=$ac_optarg ;;
1970 -libdir | --libdir | --libdi | --libd)
1971 ac_prev=libdir ;;
1972 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1973 libdir=$ac_optarg ;;
1975 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1976 | --libexe | --libex | --libe)
1977 ac_prev=libexecdir ;;
1978 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1979 | --libexe=* | --libex=* | --libe=*)
1980 libexecdir=$ac_optarg ;;
1982 -localedir | --localedir | --localedi | --localed | --locale)
1983 ac_prev=localedir ;;
1984 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1985 localedir=$ac_optarg ;;
1987 -localstatedir | --localstatedir | --localstatedi | --localstated \
1988 | --localstate | --localstat | --localsta | --localst | --locals)
1989 ac_prev=localstatedir ;;
1990 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1991 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1992 localstatedir=$ac_optarg ;;
1994 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1995 ac_prev=mandir ;;
1996 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1997 mandir=$ac_optarg ;;
1999 -nfp | --nfp | --nf)
2000 # Obsolete; use --without-fp.
2001 with_fp=no ;;
2003 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2004 | --no-cr | --no-c | -n)
2005 no_create=yes ;;
2007 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2008 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2009 no_recursion=yes ;;
2011 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2012 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2013 | --oldin | --oldi | --old | --ol | --o)
2014 ac_prev=oldincludedir ;;
2015 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2016 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2017 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2018 oldincludedir=$ac_optarg ;;
2020 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2021 ac_prev=prefix ;;
2022 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2023 prefix=$ac_optarg ;;
2025 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2026 | --program-pre | --program-pr | --program-p)
2027 ac_prev=program_prefix ;;
2028 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2029 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2030 program_prefix=$ac_optarg ;;
2032 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2033 | --program-suf | --program-su | --program-s)
2034 ac_prev=program_suffix ;;
2035 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2036 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2037 program_suffix=$ac_optarg ;;
2039 -program-transform-name | --program-transform-name \
2040 | --program-transform-nam | --program-transform-na \
2041 | --program-transform-n | --program-transform- \
2042 | --program-transform | --program-transfor \
2043 | --program-transfo | --program-transf \
2044 | --program-trans | --program-tran \
2045 | --progr-tra | --program-tr | --program-t)
2046 ac_prev=program_transform_name ;;
2047 -program-transform-name=* | --program-transform-name=* \
2048 | --program-transform-nam=* | --program-transform-na=* \
2049 | --program-transform-n=* | --program-transform-=* \
2050 | --program-transform=* | --program-transfor=* \
2051 | --program-transfo=* | --program-transf=* \
2052 | --program-trans=* | --program-tran=* \
2053 | --progr-tra=* | --program-tr=* | --program-t=*)
2054 program_transform_name=$ac_optarg ;;
2056 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2057 ac_prev=pdfdir ;;
2058 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2059 pdfdir=$ac_optarg ;;
2061 -psdir | --psdir | --psdi | --psd | --ps)
2062 ac_prev=psdir ;;
2063 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2064 psdir=$ac_optarg ;;
2066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2067 | -silent | --silent | --silen | --sile | --sil)
2068 silent=yes ;;
2070 -runstatedir | --runstatedir | --runstatedi | --runstated \
2071 | --runstate | --runstat | --runsta | --runst | --runs \
2072 | --run | --ru | --r)
2073 ac_prev=runstatedir ;;
2074 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2075 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2076 | --run=* | --ru=* | --r=*)
2077 runstatedir=$ac_optarg ;;
2079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2080 ac_prev=sbindir ;;
2081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2082 | --sbi=* | --sb=*)
2083 sbindir=$ac_optarg ;;
2085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2087 | --sharedst | --shareds | --shared | --share | --shar \
2088 | --sha | --sh)
2089 ac_prev=sharedstatedir ;;
2090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2093 | --sha=* | --sh=*)
2094 sharedstatedir=$ac_optarg ;;
2096 -site | --site | --sit)
2097 ac_prev=site ;;
2098 -site=* | --site=* | --sit=*)
2099 site=$ac_optarg ;;
2101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2102 ac_prev=srcdir ;;
2103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2104 srcdir=$ac_optarg ;;
2106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2107 | --syscon | --sysco | --sysc | --sys | --sy)
2108 ac_prev=sysconfdir ;;
2109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2111 sysconfdir=$ac_optarg ;;
2113 -target | --target | --targe | --targ | --tar | --ta | --t)
2114 ac_prev=target_alias ;;
2115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2116 target_alias=$ac_optarg ;;
2118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2119 verbose=yes ;;
2121 -version | --version | --versio | --versi | --vers | -V)
2122 ac_init_version=: ;;
2124 -with-* | --with-*)
2125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2126 # Reject names that are not valid shell variable names.
2127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2128 as_fn_error $? "invalid package name: \`$ac_useropt'"
2129 ac_useropt_orig=$ac_useropt
2130 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2131 case $ac_user_opts in
2133 "with_$ac_useropt"
2134 "*) ;;
2135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2136 ac_unrecognized_sep=', ';;
2137 esac
2138 eval with_$ac_useropt=\$ac_optarg ;;
2140 -without-* | --without-*)
2141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2142 # Reject names that are not valid shell variable names.
2143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2144 as_fn_error $? "invalid package name: \`$ac_useropt'"
2145 ac_useropt_orig=$ac_useropt
2146 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2147 case $ac_user_opts in
2149 "with_$ac_useropt"
2150 "*) ;;
2151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2152 ac_unrecognized_sep=', ';;
2153 esac
2154 eval with_$ac_useropt=no ;;
2156 --x)
2157 # Obsolete; use --with-x.
2158 with_x=yes ;;
2160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2161 | --x-incl | --x-inc | --x-in | --x-i)
2162 ac_prev=x_includes ;;
2163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2165 x_includes=$ac_optarg ;;
2167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2169 ac_prev=x_libraries ;;
2170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2172 x_libraries=$ac_optarg ;;
2174 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2175 Try \`$0 --help' for more information"
2178 *=*)
2179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2180 # Reject names that are not valid shell variable names.
2181 case $ac_envvar in #(
2182 '' | [0-9]* | *[!_$as_cr_alnum]* )
2183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2184 esac
2185 eval $ac_envvar=\$ac_optarg
2186 export $ac_envvar ;;
2189 # FIXME: should be removed in autoconf 3.0.
2190 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2192 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2196 esac
2197 done
2199 if test -n "$ac_prev"; then
2200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2201 as_fn_error $? "missing argument to $ac_option"
2204 if test -n "$ac_unrecognized_opts"; then
2205 case $enable_option_checking in
2206 no) ;;
2207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2208 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2209 esac
2212 # Check all directory arguments for consistency.
2213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2214 datadir sysconfdir sharedstatedir localstatedir includedir \
2215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2216 libdir localedir mandir runstatedir
2218 eval ac_val=\$$ac_var
2219 # Remove trailing slashes.
2220 case $ac_val in
2221 */ )
2222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2223 eval $ac_var=\$ac_val;;
2224 esac
2225 # Be sure to have absolute directory names.
2226 case $ac_val in
2227 [\\/$]* | ?:[\\/]* ) continue;;
2228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2229 esac
2230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2231 done
2233 # There might be people who depend on the old broken behavior: `$host'
2234 # used to hold the argument of --host etc.
2235 # FIXME: To remove some day.
2236 build=$build_alias
2237 host=$host_alias
2238 target=$target_alias
2240 # FIXME: To remove some day.
2241 if test "x$host_alias" != x; then
2242 if test "x$build_alias" = x; then
2243 cross_compiling=maybe
2244 elif test "x$build_alias" != "x$host_alias"; then
2245 cross_compiling=yes
2249 ac_tool_prefix=
2250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2252 test "$silent" = yes && exec 6>/dev/null
2255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2256 ac_ls_di=`ls -di .` &&
2257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2258 as_fn_error $? "working directory cannot be determined"
2259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2260 as_fn_error $? "pwd does not report name of working directory"
2263 # Find the source files, if location was not specified.
2264 if test -z "$srcdir"; then
2265 ac_srcdir_defaulted=yes
2266 # Try the directory containing this script, then the parent directory.
2267 ac_confdir=`$as_dirname -- "$as_myself" ||
2268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2269 X"$as_myself" : 'X\(//\)[^/]' \| \
2270 X"$as_myself" : 'X\(//\)$' \| \
2271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2272 printf "%s\n" X"$as_myself" |
2273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2274 s//\1/
2277 /^X\(\/\/\)[^/].*/{
2278 s//\1/
2281 /^X\(\/\/\)$/{
2282 s//\1/
2285 /^X\(\/\).*/{
2286 s//\1/
2289 s/.*/./; q'`
2290 srcdir=$ac_confdir
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 srcdir=..
2294 else
2295 ac_srcdir_defaulted=no
2297 if test ! -r "$srcdir/$ac_unique_file"; then
2298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2302 ac_abs_confdir=`(
2303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2304 pwd)`
2305 # When building in place, set srcdir=.
2306 if test "$ac_abs_confdir" = "$ac_pwd"; then
2307 srcdir=.
2309 # Remove unnecessary trailing slashes from srcdir.
2310 # Double slashes in file names in object file debugging info
2311 # mess up M-x gdb in Emacs.
2312 case $srcdir in
2313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2314 esac
2315 for ac_var in $ac_precious_vars; do
2316 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2317 eval ac_env_${ac_var}_value=\$${ac_var}
2318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2319 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2320 done
2323 # Report the --help message.
2325 if test "$ac_init_help" = "long"; then
2326 # Omit some internal or obsolete options to make the list less imposing.
2327 # This message is too long to be a string in the A/UX 3.1 sh.
2328 cat <<_ACEOF
2329 \`configure' configures Wine 8.2 to adapt to many kinds of systems.
2331 Usage: $0 [OPTION]... [VAR=VALUE]...
2333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2334 VAR=VALUE. See below for descriptions of some of the useful variables.
2336 Defaults for the options are specified in brackets.
2338 Configuration:
2339 -h, --help display this help and exit
2340 --help=short display options specific to this package
2341 --help=recursive display the short help of all the included packages
2342 -V, --version display version information and exit
2343 -q, --quiet, --silent do not print \`checking ...' messages
2344 --cache-file=FILE cache test results in FILE [disabled]
2345 -C, --config-cache alias for \`--cache-file=config.cache'
2346 -n, --no-create do not create output files
2347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2349 Installation directories:
2350 --prefix=PREFIX install architecture-independent files in PREFIX
2351 [$ac_default_prefix]
2352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2353 [PREFIX]
2355 By default, \`make install' will install all the files in
2356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2358 for instance \`--prefix=\$HOME'.
2360 For better control, use the options below.
2362 Fine tuning of the installation directories:
2363 --bindir=DIR user executables [EPREFIX/bin]
2364 --sbindir=DIR system admin executables [EPREFIX/sbin]
2365 --libexecdir=DIR program executables [EPREFIX/libexec]
2366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2369 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2370 --libdir=DIR object code libraries [EPREFIX/lib]
2371 --includedir=DIR C header files [PREFIX/include]
2372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2375 --infodir=DIR info documentation [DATAROOTDIR/info]
2376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2377 --mandir=DIR man documentation [DATAROOTDIR/man]
2378 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2379 --htmldir=DIR html documentation [DOCDIR]
2380 --dvidir=DIR dvi documentation [DOCDIR]
2381 --pdfdir=DIR pdf documentation [DOCDIR]
2382 --psdir=DIR ps documentation [DOCDIR]
2383 _ACEOF
2385 cat <<\_ACEOF
2387 X features:
2388 --x-includes=DIR X include files are in DIR
2389 --x-libraries=DIR X library files are in DIR
2391 System types:
2392 --build=BUILD configure for building on BUILD [guessed]
2393 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2394 _ACEOF
2397 if test -n "$ac_init_help"; then
2398 case $ac_init_help in
2399 short | recursive ) echo "Configuration of Wine 8.2:";;
2400 esac
2401 cat <<\_ACEOF
2403 Optional Features:
2404 --disable-option-checking ignore unrecognized --enable/--with options
2405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2407 --enable-archs={i386,x86_64,arm,aarch64}
2408 enable multiple architectures for PE compilation
2409 --disable-win16 do not include Win16 support
2410 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2411 binaries)
2412 --disable-tests do not build the regression tests
2413 --enable-build-id include .buildid section in output objects
2414 --enable-maintainer-mode
2415 enable maintainer-specific build rules
2416 --enable-silent-rules use silent build rules (override: "make V=1")
2417 --enable-werror treat compilation warnings as errors
2418 --disable-largefile omit support for large files
2420 Optional Packages:
2421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2423 --without-alsa do not use the Alsa sound support
2424 --without-capi do not use CAPI (ISDN support)
2425 --without-coreaudio do not use the CoreAudio sound support
2426 --without-cups do not use CUPS
2427 --without-dbus do not use DBus (dynamic device support)
2428 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2429 --without-fontconfig do not use fontconfig
2430 --without-freetype do not use the FreeType library
2431 --without-gettext do not use gettext
2432 --with-gettextpo use the GetTextPO library to rebuild po files
2433 --without-gphoto do not use gphoto (Digital Camera support)
2434 --without-gnutls do not use GnuTLS (schannel support)
2435 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2436 --without-gstreamer do not use GStreamer (codecs support)
2437 --without-inotify do not use inotify (filesystem change notifications)
2438 --without-krb5 do not use krb5 (Kerberos)
2439 --without-mingw do not use the MinGW cross-compiler
2440 --without-netapi do not use the Samba NetAPI library
2441 --without-opencl do not use OpenCL
2442 --without-opengl do not use OpenGL
2443 --without-osmesa do not use the OSMesa library
2444 --without-oss do not use the OSS sound support
2445 --without-pcap do not use the Packet Capture library
2446 --without-pcsclite do not use PCSC lite
2447 --without-pthread do not use the pthread library
2448 --without-pulse do not use PulseAudio sound support
2449 --without-sane do not use SANE (scanner support)
2450 --without-sdl do not use SDL
2451 --without-udev do not use udev (plug and play support)
2452 --without-unwind do not use the libunwind library (exception
2453 handling)
2454 --without-usb do not use the libusb library
2455 --without-v4l2 do not use v4l2 (video capture)
2456 --without-vulkan do not use Vulkan
2457 --without-xcomposite do not use the Xcomposite extension
2458 --without-xcursor do not use the Xcursor extension
2459 --without-xfixes do not use Xfixes for clipboard change notifications
2460 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2461 --without-xinput do not use the Xinput extension
2462 --without-xinput2 do not use the Xinput 2 extension
2463 --without-xrandr do not use Xrandr (multi-monitor support)
2464 --without-xrender do not use the Xrender extension
2465 --without-xshape do not use the Xshape extension
2466 --without-xshm do not use XShm (shared memory extension)
2467 --without-xxf86vm do not use XFree video mode extension
2468 --with-system-dllpath=PATH
2469 load external PE dependencies from colon-separated
2470 path PATH
2471 --with-wine-tools=DIR use Wine tools from directory DIR
2472 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2473 --with-x use the X Window System
2475 Some influential environment variables:
2476 CC C compiler command
2477 CFLAGS C compiler flags
2478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2479 nonstandard directory <lib dir>
2480 LIBS libraries to pass to the linker, e.g. -l<library>
2481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2482 you have headers in a nonstandard directory <include dir>
2483 CXX C++ compiler command
2484 CXXFLAGS C++ compiler flags
2485 OBJC Objective C compiler command
2486 OBJCFLAGS Objective C compiler flags
2487 FAUDIO_PE_CFLAGS
2488 C compiler flags for the PE faudio, overriding the bundled
2489 version
2490 FAUDIO_PE_LIBS
2491 Linker flags for the PE faudio, overriding the bundled version
2492 GSM_PE_CFLAGS
2493 C compiler flags for the PE gsm, overriding the bundled version
2494 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2495 JPEG_PE_CFLAGS
2496 C compiler flags for the PE jpeg, overriding the bundled version
2497 JPEG_PE_LIBS
2498 Linker flags for the PE jpeg, overriding the bundled version
2499 JXR_PE_CFLAGS
2500 C compiler flags for the PE jxr, overriding the bundled version
2501 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2502 LCMS2_PE_CFLAGS
2503 C compiler flags for the PE lcms2, overriding the bundled
2504 version
2505 LCMS2_PE_LIBS
2506 Linker flags for the PE lcms2, overriding the bundled version
2507 LDAP_PE_CFLAGS
2508 C compiler flags for the PE ldap, overriding the bundled version
2509 LDAP_PE_LIBS
2510 Linker flags for the PE ldap, overriding the bundled version
2511 MPG123_PE_CFLAGS
2512 C compiler flags for the PE mpg123, overriding the bundled
2513 version
2514 MPG123_PE_LIBS
2515 Linker flags for the PE mpg123, overriding the bundled version
2516 PNG_PE_CFLAGS
2517 C compiler flags for the PE png, overriding the bundled version
2518 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2519 TIFF_PE_CFLAGS
2520 C compiler flags for the PE tiff, overriding the bundled version
2521 TIFF_PE_LIBS
2522 Linker flags for the PE tiff, overriding the bundled version
2523 VKD3D_PE_CFLAGS
2524 C compiler flags for the PE vkd3d, overriding the bundled
2525 version
2526 VKD3D_PE_LIBS
2527 Linker flags for the PE vkd3d, overriding the bundled version
2528 XML2_PE_CFLAGS
2529 C compiler flags for the PE xml2, overriding the bundled version
2530 XML2_PE_LIBS
2531 Linker flags for the PE xml2, overriding the bundled version
2532 XSLT_PE_CFLAGS
2533 C compiler flags for the PE xslt, overriding the bundled version
2534 XSLT_PE_LIBS
2535 Linker flags for the PE xslt, overriding the bundled version
2536 ZLIB_PE_CFLAGS
2537 C compiler flags for the PE zlib, overriding the bundled version
2538 ZLIB_PE_LIBS
2539 Linker flags for the PE zlib, overriding the bundled version
2540 XMKMF Path to xmkmf, Makefile generator for X Window System
2541 CPP C preprocessor
2542 INOTIFY_CFLAGS
2543 C compiler flags for libinotify, overriding pkg-config
2544 INOTIFY_LIBS
2545 Linker flags for libinotify, overriding pkg-config
2546 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2547 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2548 GNUTLS_CFLAGS
2549 C compiler flags for gnutls, overriding pkg-config
2550 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2551 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2552 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2553 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2554 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2555 GPHOTO2_CFLAGS
2556 C compiler flags for libgphoto2, overriding pkg-config
2557 GPHOTO2_LIBS
2558 Linker flags for libgphoto2, overriding pkg-config
2559 GPHOTO2_PORT_CFLAGS
2560 C compiler flags for libgphoto2_port, overriding pkg-config
2561 GPHOTO2_PORT_LIBS
2562 Linker flags for libgphoto2_port, overriding pkg-config
2563 FREETYPE_CFLAGS
2564 C compiler flags for freetype2, overriding pkg-config
2565 FREETYPE_LIBS
2566 Linker flags for freetype2, overriding pkg-config
2567 PULSE_CFLAGS
2568 C compiler flags for libpulse, overriding pkg-config
2569 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2570 GSTREAMER_CFLAGS
2571 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2572 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2573 GSTREAMER_LIBS
2574 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2575 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2576 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2577 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2578 UNWIND_CFLAGS
2579 C compiler flags for libunwind, overriding pkg-config
2580 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2581 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2582 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2583 CAPI20_CFLAGS
2584 C compiler flags for capi20, overriding pkg-config
2585 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2586 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2587 CUPS_LIBS Linker flags for cups, overriding pkg-config
2588 FONTCONFIG_CFLAGS
2589 C compiler flags for fontconfig, overriding pkg-config
2590 FONTCONFIG_LIBS
2591 Linker flags for fontconfig, overriding pkg-config
2592 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2593 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2594 GSSAPI_CFLAGS
2595 C compiler flags for krb5-gssapi, overriding pkg-config
2596 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2597 NETAPI_CFLAGS
2598 C compiler flags for netapi, overriding pkg-config
2599 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2601 Use these variables to override the choices made by `configure' or to help
2602 it to find libraries and programs with nonstandard names/locations.
2604 Report bugs to <wine-devel@winehq.org>.
2605 Wine home page: <https://www.winehq.org>.
2606 _ACEOF
2607 ac_status=$?
2610 if test "$ac_init_help" = "recursive"; then
2611 # If there are subdirs, report their specific --help.
2612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2613 test -d "$ac_dir" ||
2614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2615 continue
2616 ac_builddir=.
2618 case "$ac_dir" in
2619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2621 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2622 # A ".." for each directory in $ac_dir_suffix.
2623 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2624 case $ac_top_builddir_sub in
2625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2627 esac ;;
2628 esac
2629 ac_abs_top_builddir=$ac_pwd
2630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2631 # for backward compatibility:
2632 ac_top_builddir=$ac_top_build_prefix
2634 case $srcdir in
2635 .) # We are building in place.
2636 ac_srcdir=.
2637 ac_top_srcdir=$ac_top_builddir_sub
2638 ac_abs_top_srcdir=$ac_pwd ;;
2639 [\\/]* | ?:[\\/]* ) # Absolute name.
2640 ac_srcdir=$srcdir$ac_dir_suffix;
2641 ac_top_srcdir=$srcdir
2642 ac_abs_top_srcdir=$srcdir ;;
2643 *) # Relative name.
2644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2645 ac_top_srcdir=$ac_top_build_prefix$srcdir
2646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2647 esac
2648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2650 cd "$ac_dir" || { ac_status=$?; continue; }
2651 # Check for configure.gnu first; this name is used for a wrapper for
2652 # Metaconfig's "Configure" on case-insensitive file systems.
2653 if test -f "$ac_srcdir/configure.gnu"; then
2654 echo &&
2655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2656 elif test -f "$ac_srcdir/configure"; then
2657 echo &&
2658 $SHELL "$ac_srcdir/configure" --help=recursive
2659 else
2660 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2661 fi || ac_status=$?
2662 cd "$ac_pwd" || { ac_status=$?; break; }
2663 done
2666 test -n "$ac_init_help" && exit $ac_status
2667 if $ac_init_version; then
2668 cat <<\_ACEOF
2669 Wine configure 8.2
2670 generated by GNU Autoconf 2.71
2672 Copyright (C) 2021 Free Software Foundation, Inc.
2673 This configure script is free software; the Free Software Foundation
2674 gives unlimited permission to copy, distribute and modify it.
2675 _ACEOF
2676 exit
2679 ## ------------------------ ##
2680 ## Autoconf initialization. ##
2681 ## ------------------------ ##
2683 # ac_fn_c_try_compile LINENO
2684 # --------------------------
2685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_c_try_compile ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 rm -f conftest.$ac_objext conftest.beam
2690 if { { ac_try="$ac_compile"
2691 case "(($ac_try" in
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2694 esac
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 printf "%s\n" "$ac_try_echo"; } >&5
2697 (eval "$ac_compile") 2>conftest.err
2698 ac_status=$?
2699 if test -s conftest.err; then
2700 grep -v '^ *+' conftest.err >conftest.er1
2701 cat conftest.er1 >&5
2702 mv -f conftest.er1 conftest.err
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; } && {
2706 test -z "$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2708 } && test -s conftest.$ac_objext
2709 then :
2710 ac_retval=0
2711 else $as_nop
2712 printf "%s\n" "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 ac_retval=1
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_c_try_compile
2722 # ac_fn_cxx_try_compile LINENO
2723 # ----------------------------
2724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2725 ac_fn_cxx_try_compile ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 rm -f conftest.$ac_objext conftest.beam
2729 if { { ac_try="$ac_compile"
2730 case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 printf "%s\n" "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>conftest.err
2737 ac_status=$?
2738 if test -s conftest.err; then
2739 grep -v '^ *+' conftest.err >conftest.er1
2740 cat conftest.er1 >&5
2741 mv -f conftest.er1 conftest.err
2743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; } && {
2745 test -z "$ac_cxx_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext
2748 then :
2749 ac_retval=0
2750 else $as_nop
2751 printf "%s\n" "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2754 ac_retval=1
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2757 as_fn_set_status $ac_retval
2759 } # ac_fn_cxx_try_compile
2761 # ac_fn_c_try_link LINENO
2762 # -----------------------
2763 # Try to link conftest.$ac_ext, and return whether this succeeded.
2764 ac_fn_c_try_link ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2768 if { { ac_try="$ac_link"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 printf "%s\n" "$ac_try_echo"; } >&5
2775 (eval "$ac_link") 2>conftest.err
2776 ac_status=$?
2777 if test -s conftest.err; then
2778 grep -v '^ *+' conftest.err >conftest.er1
2779 cat conftest.er1 >&5
2780 mv -f conftest.er1 conftest.err
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2783 test $ac_status = 0; } && {
2784 test -z "$ac_c_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest$ac_exeext && {
2787 test "$cross_compiling" = yes ||
2788 test -x conftest$ac_exeext
2790 then :
2791 ac_retval=0
2792 else $as_nop
2793 printf "%s\n" "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=1
2798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2800 # interfere with the next link command; also delete a directory that is
2801 # left behind by Apple's compiler. We do this before executing the actions.
2802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_c_try_link
2808 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2809 # -------------------------------------------------------
2810 # Tests whether HEADER exists and can be compiled using the include files in
2811 # INCLUDES, setting the cache variable VAR accordingly.
2812 ac_fn_c_check_header_compile ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 printf %s "checking for $2... " >&6; }
2817 if eval test \${$3+y}
2818 then :
2819 printf %s "(cached) " >&6
2820 else $as_nop
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2824 #include <$2>
2825 _ACEOF
2826 if ac_fn_c_try_compile "$LINENO"
2827 then :
2828 eval "$3=yes"
2829 else $as_nop
2830 eval "$3=no"
2832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2834 eval ac_res=\$$3
2835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2836 printf "%s\n" "$ac_res" >&6; }
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 } # ac_fn_c_check_header_compile
2841 # ac_fn_objc_try_compile LINENO
2842 # -----------------------------
2843 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2844 ac_fn_objc_try_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 rm -f conftest.$ac_objext conftest.beam
2848 if { { ac_try="$ac_compile"
2849 case "(($ac_try" in
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2852 esac
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 printf "%s\n" "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>conftest.err
2856 ac_status=$?
2857 if test -s conftest.err; then
2858 grep -v '^ *+' conftest.err >conftest.er1
2859 cat conftest.er1 >&5
2860 mv -f conftest.er1 conftest.err
2862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; } && {
2864 test -z "$ac_objc_werror_flag" ||
2865 test ! -s conftest.err
2866 } && test -s conftest.$ac_objext
2867 then :
2868 ac_retval=0
2869 else $as_nop
2870 printf "%s\n" "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 ac_retval=1
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval
2878 } # ac_fn_objc_try_compile
2880 # ac_fn_c_check_func LINENO FUNC VAR
2881 # ----------------------------------
2882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2883 ac_fn_c_check_func ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 printf %s "checking for $2... " >&6; }
2888 if eval test \${$3+y}
2889 then :
2890 printf %s "(cached) " >&6
2891 else $as_nop
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2896 #define $2 innocuous_$2
2898 /* System header to define __stub macros and hopefully few prototypes,
2899 which can conflict with char $2 (); below. */
2901 #include <limits.h>
2902 #undef $2
2904 /* Override any GCC internal prototype to avoid an error.
2905 Use char because int might match the return type of a GCC
2906 builtin and then its argument prototype would still apply. */
2907 #ifdef __cplusplus
2908 extern "C"
2909 #endif
2910 char $2 ();
2911 /* The GNU C library defines this for functions which it implements
2912 to always fail with ENOSYS. Some functions are actually named
2913 something starting with __ and the normal name is an alias. */
2914 #if defined __stub_$2 || defined __stub___$2
2915 choke me
2916 #endif
2919 main (void)
2921 return $2 ();
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_link "$LINENO"
2927 then :
2928 eval "$3=yes"
2929 else $as_nop
2930 eval "$3=no"
2932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2933 conftest$ac_exeext conftest.$ac_ext
2935 eval ac_res=\$$3
2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937 printf "%s\n" "$ac_res" >&6; }
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 } # ac_fn_c_check_func
2942 # ac_fn_c_try_cpp LINENO
2943 # ----------------------
2944 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2945 ac_fn_c_try_cpp ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 if { { ac_try="$ac_cpp conftest.$ac_ext"
2949 case "(($ac_try" in
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 printf "%s\n" "$ac_try_echo"; } >&5
2955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2956 ac_status=$?
2957 if test -s conftest.err; then
2958 grep -v '^ *+' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2960 mv -f conftest.er1 conftest.err
2962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; } > conftest.i && {
2964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2967 then :
2968 ac_retval=0
2969 else $as_nop
2970 printf "%s\n" "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_retval=1
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2978 } # ac_fn_c_try_cpp
2980 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2981 # ----------------------------------------------------
2982 # Tries to find if the field MEMBER exists in type AGGR, after including
2983 # INCLUDES, setting cache variable VAR accordingly.
2984 ac_fn_c_check_member ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2988 printf %s "checking for $2.$3... " >&6; }
2989 if eval test \${$4+y}
2990 then :
2991 printf %s "(cached) " >&6
2992 else $as_nop
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main (void)
2999 static $2 ac_aggr;
3000 if (ac_aggr.$3)
3001 return 0;
3003 return 0;
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"
3007 then :
3008 eval "$4=yes"
3009 else $as_nop
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main (void)
3016 static $2 ac_aggr;
3017 if (sizeof ac_aggr.$3)
3018 return 0;
3020 return 0;
3022 _ACEOF
3023 if ac_fn_c_try_compile "$LINENO"
3024 then :
3025 eval "$4=yes"
3026 else $as_nop
3027 eval "$4=no"
3029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3033 eval ac_res=\$$4
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 printf "%s\n" "$ac_res" >&6; }
3036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 } # ac_fn_c_check_member
3040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3041 # -------------------------------------------
3042 # Tests whether TYPE exists after having included INCLUDES, setting cache
3043 # variable VAR accordingly.
3044 ac_fn_c_check_type ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 printf %s "checking for $2... " >&6; }
3049 if eval test \${$3+y}
3050 then :
3051 printf %s "(cached) " >&6
3052 else $as_nop
3053 eval "$3=no"
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main (void)
3060 if (sizeof ($2))
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"
3067 then :
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3072 main (void)
3074 if (sizeof (($2)))
3075 return 0;
3077 return 0;
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"
3081 then :
3083 else $as_nop
3084 eval "$3=yes"
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3090 eval ac_res=\$$3
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 printf "%s\n" "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_type
3096 ac_configure_args_raw=
3097 for ac_arg
3099 case $ac_arg in
3100 *\'*)
3101 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3102 esac
3103 as_fn_append ac_configure_args_raw " '$ac_arg'"
3104 done
3106 case $ac_configure_args_raw in
3107 *$as_nl*)
3108 ac_safe_unquote= ;;
3110 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3111 ac_unsafe_a="$ac_unsafe_z#~"
3112 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3113 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3114 esac
3116 cat >config.log <<_ACEOF
3117 This file contains any messages produced by compilers while
3118 running configure, to aid debugging if configure makes a mistake.
3120 It was created by Wine $as_me 8.2, which was
3121 generated by GNU Autoconf 2.71. Invocation command line was
3123 $ $0$ac_configure_args_raw
3125 _ACEOF
3126 exec 5>>config.log
3128 cat <<_ASUNAME
3129 ## --------- ##
3130 ## Platform. ##
3131 ## --------- ##
3133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3150 _ASUNAME
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3155 IFS=$as_save_IFS
3156 case $as_dir in #(((
3157 '') as_dir=./ ;;
3158 */) ;;
3159 *) as_dir=$as_dir/ ;;
3160 esac
3161 printf "%s\n" "PATH: $as_dir"
3162 done
3163 IFS=$as_save_IFS
3165 } >&5
3167 cat >&5 <<_ACEOF
3170 ## ----------- ##
3171 ## Core tests. ##
3172 ## ----------- ##
3174 _ACEOF
3177 # Keep a trace of the command line.
3178 # Strip out --no-create and --no-recursion so they do not pile up.
3179 # Strip out --silent because we don't want to record it for future runs.
3180 # Also quote any args containing shell meta-characters.
3181 # Make two passes to allow for proper duplicate-argument suppression.
3182 ac_configure_args=
3183 ac_configure_args0=
3184 ac_configure_args1=
3185 ac_must_keep_next=false
3186 for ac_pass in 1 2
3188 for ac_arg
3190 case $ac_arg in
3191 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3193 | -silent | --silent | --silen | --sile | --sil)
3194 continue ;;
3195 *\'*)
3196 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3197 esac
3198 case $ac_pass in
3199 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3201 as_fn_append ac_configure_args1 " '$ac_arg'"
3202 if test $ac_must_keep_next = true; then
3203 ac_must_keep_next=false # Got value, back to normal.
3204 else
3205 case $ac_arg in
3206 *=* | --config-cache | -C | -disable-* | --disable-* \
3207 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3208 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3209 | -with-* | --with-* | -without-* | --without-* | --x)
3210 case "$ac_configure_args0 " in
3211 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3212 esac
3214 -* ) ac_must_keep_next=true ;;
3215 esac
3217 as_fn_append ac_configure_args " '$ac_arg'"
3219 esac
3220 done
3221 done
3222 { ac_configure_args0=; unset ac_configure_args0;}
3223 { ac_configure_args1=; unset ac_configure_args1;}
3225 # When interrupted or exit'd, cleanup temporary files, and complete
3226 # config.log. We remove comments because anyway the quotes in there
3227 # would cause problems or look ugly.
3228 # WARNING: Use '\'' to represent an apostrophe within the trap.
3229 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3230 trap 'exit_status=$?
3231 # Sanitize IFS.
3232 IFS=" "" $as_nl"
3233 # Save into config.log some information that might help in debugging.
3235 echo
3237 printf "%s\n" "## ---------------- ##
3238 ## Cache variables. ##
3239 ## ---------------- ##"
3240 echo
3241 # The following way of writing the cache mishandles newlines in values,
3243 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3244 eval ac_val=\$$ac_var
3245 case $ac_val in #(
3246 *${as_nl}*)
3247 case $ac_var in #(
3248 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3250 esac
3251 case $ac_var in #(
3252 _ | IFS | as_nl) ;; #(
3253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3254 *) { eval $ac_var=; unset $ac_var;} ;;
3255 esac ;;
3256 esac
3257 done
3258 (set) 2>&1 |
3259 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3260 *${as_nl}ac_space=\ *)
3261 sed -n \
3262 "s/'\''/'\''\\\\'\'''\''/g;
3263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3264 ;; #(
3266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3268 esac |
3269 sort
3271 echo
3273 printf "%s\n" "## ----------------- ##
3274 ## Output variables. ##
3275 ## ----------------- ##"
3276 echo
3277 for ac_var in $ac_subst_vars
3279 eval ac_val=\$$ac_var
3280 case $ac_val in
3281 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3282 esac
3283 printf "%s\n" "$ac_var='\''$ac_val'\''"
3284 done | sort
3285 echo
3287 if test -n "$ac_subst_files"; then
3288 printf "%s\n" "## ------------------- ##
3289 ## File substitutions. ##
3290 ## ------------------- ##"
3291 echo
3292 for ac_var in $ac_subst_files
3294 eval ac_val=\$$ac_var
3295 case $ac_val in
3296 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3297 esac
3298 printf "%s\n" "$ac_var='\''$ac_val'\''"
3299 done | sort
3300 echo
3303 if test -s confdefs.h; then
3304 printf "%s\n" "## ----------- ##
3305 ## confdefs.h. ##
3306 ## ----------- ##"
3307 echo
3308 cat confdefs.h
3309 echo
3311 test "$ac_signal" != 0 &&
3312 printf "%s\n" "$as_me: caught signal $ac_signal"
3313 printf "%s\n" "$as_me: exit $exit_status"
3314 } >&5
3315 rm -f core *.core core.conftest.* &&
3316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3317 exit $exit_status
3319 for ac_signal in 1 2 13 15; do
3320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3321 done
3322 ac_signal=0
3324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3325 rm -f -r conftest* confdefs.h
3327 printf "%s\n" "/* confdefs.h */" > confdefs.h
3329 # Predefined preprocessor variables.
3331 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3341 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3344 # Let the site file select an alternate cache file if it wants to.
3345 # Prefer an explicitly selected file to automatically selected ones.
3346 if test -n "$CONFIG_SITE"; then
3347 ac_site_files="$CONFIG_SITE"
3348 elif test "x$prefix" != xNONE; then
3349 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3350 else
3351 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3354 for ac_site_file in $ac_site_files
3356 case $ac_site_file in #(
3357 */*) :
3358 ;; #(
3359 *) :
3360 ac_site_file=./$ac_site_file ;;
3361 esac
3362 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3364 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3365 sed 's/^/| /' "$ac_site_file" >&5
3366 . "$ac_site_file" \
3367 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error $? "failed to load site script $ac_site_file
3370 See \`config.log' for more details" "$LINENO" 5; }
3372 done
3374 if test -r "$cache_file"; then
3375 # Some versions of bash will fail to source /dev/null (special files
3376 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3377 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3379 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3380 case $cache_file in
3381 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3382 *) . "./$cache_file";;
3383 esac
3385 else
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3387 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3388 >$cache_file
3391 # Test code for whether the C compiler supports C89 (global declarations)
3392 ac_c_conftest_c89_globals='
3393 /* Does the compiler advertise C89 conformance?
3394 Do not test the value of __STDC__, because some compilers set it to 0
3395 while being otherwise adequately conformant. */
3396 #if !defined __STDC__
3397 # error "Compiler does not advertise C89 conformance"
3398 #endif
3400 #include <stddef.h>
3401 #include <stdarg.h>
3402 struct stat;
3403 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3404 struct buf { int x; };
3405 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3406 static char *e (p, i)
3407 char **p;
3408 int i;
3410 return p[i];
3412 static char *f (char * (*g) (char **, int), char **p, ...)
3414 char *s;
3415 va_list v;
3416 va_start (v,p);
3417 s = g (p, va_arg (v,int));
3418 va_end (v);
3419 return s;
3422 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3423 function prototypes and stuff, but not \xHH hex character constants.
3424 These do not provoke an error unfortunately, instead are silently treated
3425 as an "x". The following induces an error, until -std is added to get
3426 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3427 array size at least. It is necessary to write \x00 == 0 to get something
3428 that is true only with -std. */
3429 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3431 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3432 inside strings and character constants. */
3433 #define FOO(x) '\''x'\''
3434 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3436 int test (int i, double x);
3437 struct s1 {int (*f) (int a);};
3438 struct s2 {int (*f) (double a);};
3439 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3440 int, int);'
3442 # Test code for whether the C compiler supports C89 (body of main).
3443 ac_c_conftest_c89_main='
3444 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3447 # Test code for whether the C compiler supports C99 (global declarations)
3448 ac_c_conftest_c99_globals='
3449 // Does the compiler advertise C99 conformance?
3450 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3451 # error "Compiler does not advertise C99 conformance"
3452 #endif
3454 #include <stdbool.h>
3455 extern int puts (const char *);
3456 extern int printf (const char *, ...);
3457 extern int dprintf (int, const char *, ...);
3458 extern void *malloc (size_t);
3460 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3461 // dprintf is used instead of fprintf to avoid needing to declare
3462 // FILE and stderr.
3463 #define debug(...) dprintf (2, __VA_ARGS__)
3464 #define showlist(...) puts (#__VA_ARGS__)
3465 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3466 static void
3467 test_varargs_macros (void)
3469 int x = 1234;
3470 int y = 5678;
3471 debug ("Flag");
3472 debug ("X = %d\n", x);
3473 showlist (The first, second, and third items.);
3474 report (x>y, "x is %d but y is %d", x, y);
3477 // Check long long types.
3478 #define BIG64 18446744073709551615ull
3479 #define BIG32 4294967295ul
3480 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3481 #if !BIG_OK
3482 #error "your preprocessor is broken"
3483 #endif
3484 #if BIG_OK
3485 #else
3486 #error "your preprocessor is broken"
3487 #endif
3488 static long long int bignum = -9223372036854775807LL;
3489 static unsigned long long int ubignum = BIG64;
3491 struct incomplete_array
3493 int datasize;
3494 double data[];
3497 struct named_init {
3498 int number;
3499 const wchar_t *name;
3500 double average;
3503 typedef const char *ccp;
3505 static inline int
3506 test_restrict (ccp restrict text)
3508 // See if C++-style comments work.
3509 // Iterate through items via the restricted pointer.
3510 // Also check for declarations in for loops.
3511 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3512 continue;
3513 return 0;
3516 // Check varargs and va_copy.
3517 static bool
3518 test_varargs (const char *format, ...)
3520 va_list args;
3521 va_start (args, format);
3522 va_list args_copy;
3523 va_copy (args_copy, args);
3525 const char *str = "";
3526 int number = 0;
3527 float fnumber = 0;
3529 while (*format)
3531 switch (*format++)
3533 case '\''s'\'': // string
3534 str = va_arg (args_copy, const char *);
3535 break;
3536 case '\''d'\'': // int
3537 number = va_arg (args_copy, int);
3538 break;
3539 case '\''f'\'': // float
3540 fnumber = va_arg (args_copy, double);
3541 break;
3542 default:
3543 break;
3546 va_end (args_copy);
3547 va_end (args);
3549 return *str && number && fnumber;
3553 # Test code for whether the C compiler supports C99 (body of main).
3554 ac_c_conftest_c99_main='
3555 // Check bool.
3556 _Bool success = false;
3557 success |= (argc != 0);
3559 // Check restrict.
3560 if (test_restrict ("String literal") == 0)
3561 success = true;
3562 char *restrict newvar = "Another string";
3564 // Check varargs.
3565 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3566 test_varargs_macros ();
3568 // Check flexible array members.
3569 struct incomplete_array *ia =
3570 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3571 ia->datasize = 10;
3572 for (int i = 0; i < ia->datasize; ++i)
3573 ia->data[i] = i * 1.234;
3575 // Check named initializers.
3576 struct named_init ni = {
3577 .number = 34,
3578 .name = L"Test wide string",
3579 .average = 543.34343,
3582 ni.number = 58;
3584 int dynamic_array[ni.number];
3585 dynamic_array[0] = argv[0][0];
3586 dynamic_array[ni.number - 1] = 543;
3588 // work around unused variable warnings
3589 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3590 || dynamic_array[ni.number - 1] != 543);
3593 # Test code for whether the C compiler supports C11 (global declarations)
3594 ac_c_conftest_c11_globals='
3595 // Does the compiler advertise C11 conformance?
3596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3597 # error "Compiler does not advertise C11 conformance"
3598 #endif
3600 // Check _Alignas.
3601 char _Alignas (double) aligned_as_double;
3602 char _Alignas (0) no_special_alignment;
3603 extern char aligned_as_int;
3604 char _Alignas (0) _Alignas (int) aligned_as_int;
3606 // Check _Alignof.
3607 enum
3609 int_alignment = _Alignof (int),
3610 int_array_alignment = _Alignof (int[100]),
3611 char_alignment = _Alignof (char)
3613 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3615 // Check _Noreturn.
3616 int _Noreturn does_not_return (void) { for (;;) continue; }
3618 // Check _Static_assert.
3619 struct test_static_assert
3621 int x;
3622 _Static_assert (sizeof (int) <= sizeof (long int),
3623 "_Static_assert does not work in struct");
3624 long int y;
3627 // Check UTF-8 literals.
3628 #define u8 syntax error!
3629 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3631 // Check duplicate typedefs.
3632 typedef long *long_ptr;
3633 typedef long int *long_ptr;
3634 typedef long_ptr long_ptr;
3636 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3637 struct anonymous
3639 union {
3640 struct { int i; int j; };
3641 struct { int k; long int l; } w;
3643 int m;
3644 } v1;
3647 # Test code for whether the C compiler supports C11 (body of main).
3648 ac_c_conftest_c11_main='
3649 _Static_assert ((offsetof (struct anonymous, i)
3650 == offsetof (struct anonymous, w.k)),
3651 "Anonymous union alignment botch");
3652 v1.i = 2;
3653 v1.w.k = 5;
3654 ok |= v1.i != 5;
3657 # Test code for whether the C compiler supports C11 (complete).
3658 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3659 ${ac_c_conftest_c99_globals}
3660 ${ac_c_conftest_c11_globals}
3663 main (int argc, char **argv)
3665 int ok = 0;
3666 ${ac_c_conftest_c89_main}
3667 ${ac_c_conftest_c99_main}
3668 ${ac_c_conftest_c11_main}
3669 return ok;
3673 # Test code for whether the C compiler supports C99 (complete).
3674 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3675 ${ac_c_conftest_c99_globals}
3678 main (int argc, char **argv)
3680 int ok = 0;
3681 ${ac_c_conftest_c89_main}
3682 ${ac_c_conftest_c99_main}
3683 return ok;
3687 # Test code for whether the C compiler supports C89 (complete).
3688 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3691 main (int argc, char **argv)
3693 int ok = 0;
3694 ${ac_c_conftest_c89_main}
3695 return ok;
3699 # Test code for whether the C++ compiler supports C++98 (global declarations)
3700 ac_cxx_conftest_cxx98_globals='
3701 // Does the compiler advertise C++98 conformance?
3702 #if !defined __cplusplus || __cplusplus < 199711L
3703 # error "Compiler does not advertise C++98 conformance"
3704 #endif
3706 // These inclusions are to reject old compilers that
3707 // lack the unsuffixed header files.
3708 #include <cstdlib>
3709 #include <exception>
3711 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3712 extern void assert (int);
3713 namespace std {
3714 extern int strcmp (const char *, const char *);
3717 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3718 using std::exception;
3719 using std::strcmp;
3721 namespace {
3723 void test_exception_syntax()
3725 try {
3726 throw "test";
3727 } catch (const char *s) {
3728 // Extra parentheses suppress a warning when building autoconf itself,
3729 // due to lint rules shared with more typical C programs.
3730 assert (!(strcmp) (s, "test"));
3734 template <typename T> struct test_template
3736 T const val;
3737 explicit test_template(T t) : val(t) {}
3738 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3741 } // anonymous namespace
3744 # Test code for whether the C++ compiler supports C++98 (body of main)
3745 ac_cxx_conftest_cxx98_main='
3746 assert (argc);
3747 assert (! argv[0]);
3749 test_exception_syntax ();
3750 test_template<double> tt (2.0);
3751 assert (tt.add (4) == 6.0);
3752 assert (true && !false);
3756 # Test code for whether the C++ compiler supports C++11 (global declarations)
3757 ac_cxx_conftest_cxx11_globals='
3758 // Does the compiler advertise C++ 2011 conformance?
3759 #if !defined __cplusplus || __cplusplus < 201103L
3760 # error "Compiler does not advertise C++11 conformance"
3761 #endif
3763 namespace cxx11test
3765 constexpr int get_val() { return 20; }
3767 struct testinit
3769 int i;
3770 double d;
3773 class delegate
3775 public:
3776 delegate(int n) : n(n) {}
3777 delegate(): delegate(2354) {}
3779 virtual int getval() { return this->n; };
3780 protected:
3781 int n;
3784 class overridden : public delegate
3786 public:
3787 overridden(int n): delegate(n) {}
3788 virtual int getval() override final { return this->n * 2; }
3791 class nocopy
3793 public:
3794 nocopy(int i): i(i) {}
3795 nocopy() = default;
3796 nocopy(const nocopy&) = delete;
3797 nocopy & operator=(const nocopy&) = delete;
3798 private:
3799 int i;
3802 // for testing lambda expressions
3803 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3805 return f(v);
3808 // for testing variadic templates and trailing return types
3809 template <typename V> auto sum(V first) -> V
3811 return first;
3813 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3815 return first + sum(rest...);
3820 # Test code for whether the C++ compiler supports C++11 (body of main)
3821 ac_cxx_conftest_cxx11_main='
3823 // Test auto and decltype
3824 auto a1 = 6538;
3825 auto a2 = 48573953.4;
3826 auto a3 = "String literal";
3828 int total = 0;
3829 for (auto i = a3; *i; ++i) { total += *i; }
3831 decltype(a2) a4 = 34895.034;
3834 // Test constexpr
3835 short sa[cxx11test::get_val()] = { 0 };
3838 // Test initializer lists
3839 cxx11test::testinit il = { 4323, 435234.23544 };
3842 // Test range-based for
3843 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3844 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3845 for (auto &x : array) { x += 23; }
3848 // Test lambda expressions
3849 using cxx11test::eval;
3850 assert (eval ([](int x) { return x*2; }, 21) == 42);
3851 double d = 2.0;
3852 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3853 assert (d == 5.0);
3854 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3855 assert (d == 5.0);
3858 // Test use of variadic templates
3859 using cxx11test::sum;
3860 auto a = sum(1);
3861 auto b = sum(1, 2);
3862 auto c = sum(1.0, 2.0, 3.0);
3865 // Test constructor delegation
3866 cxx11test::delegate d1;
3867 cxx11test::delegate d2();
3868 cxx11test::delegate d3(45);
3871 // Test override and final
3872 cxx11test::overridden o1(55464);
3875 // Test nullptr
3876 char *c = nullptr;
3879 // Test template brackets
3880 test_template<::test_template<int>> v(test_template<int>(12));
3883 // Unicode literals
3884 char const *utf8 = u8"UTF-8 string \u2500";
3885 char16_t const *utf16 = u"UTF-8 string \u2500";
3886 char32_t const *utf32 = U"UTF-32 string \u2500";
3890 # Test code for whether the C compiler supports C++11 (complete).
3891 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3892 ${ac_cxx_conftest_cxx11_globals}
3895 main (int argc, char **argv)
3897 int ok = 0;
3898 ${ac_cxx_conftest_cxx98_main}
3899 ${ac_cxx_conftest_cxx11_main}
3900 return ok;
3904 # Test code for whether the C compiler supports C++98 (complete).
3905 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3907 main (int argc, char **argv)
3909 int ok = 0;
3910 ${ac_cxx_conftest_cxx98_main}
3911 return ok;
3915 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3916 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3917 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3918 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3919 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3920 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3921 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3922 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3923 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3925 # Auxiliary files required by this configure script.
3926 ac_aux_files="config.guess config.sub"
3928 # Locations in which to look for auxiliary files.
3929 ac_aux_dir_candidates="${srcdir}/tools"
3931 # Search for a directory containing all of the required auxiliary files,
3932 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3933 # If we don't find one directory that contains all the files we need,
3934 # we report the set of missing files from the *first* directory in
3935 # $ac_aux_dir_candidates and give up.
3936 ac_missing_aux_files=""
3937 ac_first_candidate=:
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 as_found=false
3941 for as_dir in $ac_aux_dir_candidates
3943 IFS=$as_save_IFS
3944 case $as_dir in #(((
3945 '') as_dir=./ ;;
3946 */) ;;
3947 *) as_dir=$as_dir/ ;;
3948 esac
3949 as_found=:
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3952 ac_aux_dir_found=yes
3953 ac_install_sh=
3954 for ac_aux in $ac_aux_files
3956 # As a special case, if "install-sh" is required, that requirement
3957 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3958 # and $ac_install_sh is set appropriately for whichever one is found.
3959 if test x"$ac_aux" = x"install-sh"
3960 then
3961 if test -f "${as_dir}install-sh"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3963 ac_install_sh="${as_dir}install-sh -c"
3964 elif test -f "${as_dir}install.sh"; then
3965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3966 ac_install_sh="${as_dir}install.sh -c"
3967 elif test -f "${as_dir}shtool"; then
3968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3969 ac_install_sh="${as_dir}shtool install -c"
3970 else
3971 ac_aux_dir_found=no
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3974 else
3975 break
3978 else
3979 if test -f "${as_dir}${ac_aux}"; then
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3981 else
3982 ac_aux_dir_found=no
3983 if $ac_first_candidate; then
3984 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3985 else
3986 break
3990 done
3991 if test "$ac_aux_dir_found" = yes; then
3992 ac_aux_dir="$as_dir"
3993 break
3995 ac_first_candidate=false
3997 as_found=false
3998 done
3999 IFS=$as_save_IFS
4000 if $as_found
4001 then :
4003 else $as_nop
4004 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4008 # These three variables are undocumented and unsupported,
4009 # and are intended to be withdrawn in a future Autoconf release.
4010 # They can cause serious problems if a builder's source tree is in a directory
4011 # whose full name contains unusual characters.
4012 if test -f "${ac_aux_dir}config.guess"; then
4013 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4015 if test -f "${ac_aux_dir}config.sub"; then
4016 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4018 if test -f "$ac_aux_dir/configure"; then
4019 ac_configure="$SHELL ${ac_aux_dir}configure"
4022 # Check that the precious variables saved in the cache have kept the same
4023 # value.
4024 ac_cache_corrupted=false
4025 for ac_var in $ac_precious_vars; do
4026 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4027 eval ac_new_set=\$ac_env_${ac_var}_set
4028 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4029 eval ac_new_val=\$ac_env_${ac_var}_value
4030 case $ac_old_set,$ac_new_set in
4031 set,)
4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4033 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4034 ac_cache_corrupted=: ;;
4035 ,set)
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4038 ac_cache_corrupted=: ;;
4039 ,);;
4041 if test "x$ac_old_val" != "x$ac_new_val"; then
4042 # differences in whitespace do not lead to failure.
4043 ac_old_val_w=`echo x $ac_old_val`
4044 ac_new_val_w=`echo x $ac_new_val`
4045 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4047 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4048 ac_cache_corrupted=:
4049 else
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4051 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4052 eval $ac_var=\$ac_old_val
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4055 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4057 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4058 fi;;
4059 esac
4060 # Pass precious variables to config.status.
4061 if test "$ac_new_set" = set; then
4062 case $ac_new_val in
4063 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4064 *) ac_arg=$ac_var=$ac_new_val ;;
4065 esac
4066 case " $ac_configure_args " in
4067 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4068 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4069 esac
4071 done
4072 if $ac_cache_corrupted; then
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4076 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4077 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4078 and start over" "$LINENO" 5
4080 ## -------------------- ##
4081 ## Main body of script. ##
4082 ## -------------------- ##
4084 ac_ext=c
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4092 ac_config_headers="$ac_config_headers include/config.h"
4096 libwine_version="1.0"
4099 # Check whether --enable-archs was given.
4100 if test ${enable_archs+y}
4101 then :
4102 enableval=$enable_archs;
4105 # Check whether --enable-win16 was given.
4106 if test ${enable_win16+y}
4107 then :
4108 enableval=$enable_win16;
4111 # Check whether --enable-win64 was given.
4112 if test ${enable_win64+y}
4113 then :
4114 enableval=$enable_win64;
4117 # Check whether --enable-tests was given.
4118 if test ${enable_tests+y}
4119 then :
4120 enableval=$enable_tests;
4123 # Check whether --enable-build-id was given.
4124 if test ${enable_build_id+y}
4125 then :
4126 enableval=$enable_build_id;
4129 # Check whether --enable-maintainer-mode was given.
4130 if test ${enable_maintainer_mode+y}
4131 then :
4132 enableval=$enable_maintainer_mode;
4135 # Check whether --enable-silent-rules was given.
4136 if test ${enable_silent_rules+y}
4137 then :
4138 enableval=$enable_silent_rules;
4141 # Check whether --enable-werror was given.
4142 if test ${enable_werror+y}
4143 then :
4144 enableval=$enable_werror;
4149 # Check whether --with-alsa was given.
4150 if test ${with_alsa+y}
4151 then :
4152 withval=$with_alsa;
4156 # Check whether --with-capi was given.
4157 if test ${with_capi+y}
4158 then :
4159 withval=$with_capi;
4163 # Check whether --with-coreaudio was given.
4164 if test ${with_coreaudio+y}
4165 then :
4166 withval=$with_coreaudio;
4170 # Check whether --with-cups was given.
4171 if test ${with_cups+y}
4172 then :
4173 withval=$with_cups;
4177 # Check whether --with-dbus was given.
4178 if test ${with_dbus+y}
4179 then :
4180 withval=$with_dbus;
4184 # Check whether --with-float-abi was given.
4185 if test ${with_float_abi+y}
4186 then :
4187 withval=$with_float_abi;
4191 # Check whether --with-fontconfig was given.
4192 if test ${with_fontconfig+y}
4193 then :
4194 withval=$with_fontconfig;
4198 # Check whether --with-freetype was given.
4199 if test ${with_freetype+y}
4200 then :
4201 withval=$with_freetype;
4205 # Check whether --with-gettext was given.
4206 if test ${with_gettext+y}
4207 then :
4208 withval=$with_gettext;
4212 # Check whether --with-gettextpo was given.
4213 if test ${with_gettextpo+y}
4214 then :
4215 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4219 # Check whether --with-gphoto was given.
4220 if test ${with_gphoto+y}
4221 then :
4222 withval=$with_gphoto;
4226 # Check whether --with-gnutls was given.
4227 if test ${with_gnutls+y}
4228 then :
4229 withval=$with_gnutls;
4233 # Check whether --with-gssapi was given.
4234 if test ${with_gssapi+y}
4235 then :
4236 withval=$with_gssapi;
4240 # Check whether --with-gstreamer was given.
4241 if test ${with_gstreamer+y}
4242 then :
4243 withval=$with_gstreamer;
4247 # Check whether --with-inotify was given.
4248 if test ${with_inotify+y}
4249 then :
4250 withval=$with_inotify;
4254 # Check whether --with-krb5 was given.
4255 if test ${with_krb5+y}
4256 then :
4257 withval=$with_krb5;
4261 # Check whether --with-mingw was given.
4262 if test ${with_mingw+y}
4263 then :
4264 withval=$with_mingw;
4268 # Check whether --with-netapi was given.
4269 if test ${with_netapi+y}
4270 then :
4271 withval=$with_netapi;
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4277 then :
4278 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4284 then :
4285 withval=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4291 then :
4292 withval=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4298 then :
4299 withval=$with_oss;
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4305 then :
4306 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4310 # Check whether --with-pcsclite was given.
4311 if test ${with_pcsclite+y}
4312 then :
4313 withval=$with_pcsclite;
4317 # Check whether --with-pthread was given.
4318 if test ${with_pthread+y}
4319 then :
4320 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4324 # Check whether --with-pulse was given.
4325 if test ${with_pulse+y}
4326 then :
4327 withval=$with_pulse;
4331 # Check whether --with-sane was given.
4332 if test ${with_sane+y}
4333 then :
4334 withval=$with_sane;
4338 # Check whether --with-sdl was given.
4339 if test ${with_sdl+y}
4340 then :
4341 withval=$with_sdl;
4345 # Check whether --with-udev was given.
4346 if test ${with_udev+y}
4347 then :
4348 withval=$with_udev;
4352 # Check whether --with-unwind was given.
4353 if test ${with_unwind+y}
4354 then :
4355 withval=$with_unwind;
4359 # Check whether --with-usb was given.
4360 if test ${with_usb+y}
4361 then :
4362 withval=$with_usb;
4366 # Check whether --with-v4l2 was given.
4367 if test ${with_v4l2+y}
4368 then :
4369 withval=$with_v4l2;
4373 # Check whether --with-vulkan was given.
4374 if test ${with_vulkan+y}
4375 then :
4376 withval=$with_vulkan;
4380 # Check whether --with-xcomposite was given.
4381 if test ${with_xcomposite+y}
4382 then :
4383 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4387 # Check whether --with-xcursor was given.
4388 if test ${with_xcursor+y}
4389 then :
4390 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4394 # Check whether --with-xfixes was given.
4395 if test ${with_xfixes+y}
4396 then :
4397 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4401 # Check whether --with-xinerama was given.
4402 if test ${with_xinerama+y}
4403 then :
4404 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4408 # Check whether --with-xinput was given.
4409 if test ${with_xinput+y}
4410 then :
4411 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4415 # Check whether --with-xinput2 was given.
4416 if test ${with_xinput2+y}
4417 then :
4418 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4422 # Check whether --with-xrandr was given.
4423 if test ${with_xrandr+y}
4424 then :
4425 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4429 # Check whether --with-xrender was given.
4430 if test ${with_xrender+y}
4431 then :
4432 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4436 # Check whether --with-xshape was given.
4437 if test ${with_xshape+y}
4438 then :
4439 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4443 # Check whether --with-xshm was given.
4444 if test ${with_xshm+y}
4445 then :
4446 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4450 # Check whether --with-xxf86vm was given.
4451 if test ${with_xxf86vm+y}
4452 then :
4453 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
4458 # Check whether --with-system-dllpath was given.
4459 if test ${with_system_dllpath+y}
4460 then :
4461 withval=$with_system_dllpath; system_dllpath=$withval
4466 # Check whether --with-wine-tools was given.
4467 if test ${with_wine_tools+y}
4468 then :
4469 withval=$with_wine_tools;
4473 # Check whether --with-wine64 was given.
4474 if test ${with_wine64+y}
4475 then :
4476 withval=$with_wine64;
4483 # Make sure we can run config.sub.
4484 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4485 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4488 printf %s "checking build system type... " >&6; }
4489 if test ${ac_cv_build+y}
4490 then :
4491 printf %s "(cached) " >&6
4492 else $as_nop
4493 ac_build_alias=$build_alias
4494 test "x$ac_build_alias" = x &&
4495 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4496 test "x$ac_build_alias" = x &&
4497 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4498 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4499 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4503 printf "%s\n" "$ac_cv_build" >&6; }
4504 case $ac_cv_build in
4505 *-*-*) ;;
4506 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4507 esac
4508 build=$ac_cv_build
4509 ac_save_IFS=$IFS; IFS='-'
4510 set x $ac_cv_build
4511 shift
4512 build_cpu=$1
4513 build_vendor=$2
4514 shift; shift
4515 # Remember, the first character of IFS is used to create $*,
4516 # except with old shells:
4517 build_os=$*
4518 IFS=$ac_save_IFS
4519 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4523 printf %s "checking host system type... " >&6; }
4524 if test ${ac_cv_host+y}
4525 then :
4526 printf %s "(cached) " >&6
4527 else $as_nop
4528 if test "x$host_alias" = x; then
4529 ac_cv_host=$ac_cv_build
4530 else
4531 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4532 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4537 printf "%s\n" "$ac_cv_host" >&6; }
4538 case $ac_cv_host in
4539 *-*-*) ;;
4540 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4541 esac
4542 host=$ac_cv_host
4543 ac_save_IFS=$IFS; IFS='-'
4544 set x $ac_cv_host
4545 shift
4546 host_cpu=$1
4547 host_vendor=$2
4548 shift; shift
4549 # Remember, the first character of IFS is used to create $*,
4550 # except with old shells:
4551 host_os=$*
4552 IFS=$ac_save_IFS
4553 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4557 dlldir=\${libdir}/wine
4559 fontdir=\${datadir}/wine/fonts
4561 nlsdir=\${datadir}/wine/nls
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4567 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4568 set x ${MAKE-make}
4569 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4570 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4571 then :
4572 printf %s "(cached) " >&6
4573 else $as_nop
4574 cat >conftest.make <<\_ACEOF
4575 SHELL = /bin/sh
4576 all:
4577 @echo '@@@%%%=$(MAKE)=@@@%%%'
4578 _ACEOF
4579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4581 *@@@%%%=?*=@@@%%%*)
4582 eval ac_cv_prog_make_${ac_make}_set=yes;;
4584 eval ac_cv_prog_make_${ac_make}_set=no;;
4585 esac
4586 rm -f conftest.make
4588 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 printf "%s\n" "yes" >&6; }
4591 SET_MAKE=
4592 else
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 printf "%s\n" "no" >&6; }
4595 SET_MAKE="MAKE=${MAKE-make}"
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 if test -n "$ac_tool_prefix"; then
4613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4614 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 printf %s "checking for $ac_word... " >&6; }
4617 if test ${ac_cv_prog_CC+y}
4618 then :
4619 printf %s "(cached) " >&6
4620 else $as_nop
4621 if test -n "$CC"; then
4622 ac_cv_prog_CC="$CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 case $as_dir in #(((
4629 '') as_dir=./ ;;
4630 */) ;;
4631 *) as_dir=$as_dir/ ;;
4632 esac
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4637 break 2
4639 done
4640 done
4641 IFS=$as_save_IFS
4645 CC=$ac_cv_prog_CC
4646 if test -n "$CC"; then
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4648 printf "%s\n" "$CC" >&6; }
4649 else
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 printf "%s\n" "no" >&6; }
4656 if test -z "$ac_cv_prog_CC"; then
4657 ac_ct_CC=$CC
4658 # Extract the first word of "gcc", so it can be a program name with args.
4659 set dummy gcc; ac_word=$2
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 printf %s "checking for $ac_word... " >&6; }
4662 if test ${ac_cv_prog_ac_ct_CC+y}
4663 then :
4664 printf %s "(cached) " >&6
4665 else $as_nop
4666 if test -n "$ac_ct_CC"; then
4667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4668 else
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 for as_dir in $PATH
4672 IFS=$as_save_IFS
4673 case $as_dir in #(((
4674 '') as_dir=./ ;;
4675 */) ;;
4676 *) as_dir=$as_dir/ ;;
4677 esac
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CC="gcc"
4681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4682 break 2
4684 done
4685 done
4686 IFS=$as_save_IFS
4690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4691 if test -n "$ac_ct_CC"; then
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4693 printf "%s\n" "$ac_ct_CC" >&6; }
4694 else
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 printf "%s\n" "no" >&6; }
4699 if test "x$ac_ct_CC" = x; then
4700 CC=""
4701 else
4702 case $cross_compiling:$ac_tool_warned in
4703 yes:)
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned=yes ;;
4707 esac
4708 CC=$ac_ct_CC
4710 else
4711 CC="$ac_cv_prog_CC"
4714 if test -z "$CC"; then
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4717 set dummy ${ac_tool_prefix}cc; ac_word=$2
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 printf %s "checking for $ac_word... " >&6; }
4720 if test ${ac_cv_prog_CC+y}
4721 then :
4722 printf %s "(cached) " >&6
4723 else $as_nop
4724 if test -n "$CC"; then
4725 ac_cv_prog_CC="$CC" # Let the user override the test.
4726 else
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4730 IFS=$as_save_IFS
4731 case $as_dir in #(((
4732 '') as_dir=./ ;;
4733 */) ;;
4734 *) as_dir=$as_dir/ ;;
4735 esac
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_CC="${ac_tool_prefix}cc"
4739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4740 break 2
4742 done
4743 done
4744 IFS=$as_save_IFS
4748 CC=$ac_cv_prog_CC
4749 if test -n "$CC"; then
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751 printf "%s\n" "$CC" >&6; }
4752 else
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 printf "%s\n" "no" >&6; }
4760 if test -z "$CC"; then
4761 # Extract the first word of "cc", so it can be a program name with args.
4762 set dummy cc; ac_word=$2
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 printf %s "checking for $ac_word... " >&6; }
4765 if test ${ac_cv_prog_CC+y}
4766 then :
4767 printf %s "(cached) " >&6
4768 else $as_nop
4769 if test -n "$CC"; then
4770 ac_cv_prog_CC="$CC" # Let the user override the test.
4771 else
4772 ac_prog_rejected=no
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH
4776 IFS=$as_save_IFS
4777 case $as_dir in #(((
4778 '') as_dir=./ ;;
4779 */) ;;
4780 *) as_dir=$as_dir/ ;;
4781 esac
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4784 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4785 ac_prog_rejected=yes
4786 continue
4788 ac_cv_prog_CC="cc"
4789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4796 if test $ac_prog_rejected = yes; then
4797 # We found a bogon in the path, so make sure we never use it.
4798 set dummy $ac_cv_prog_CC
4799 shift
4800 if test $# != 0; then
4801 # We chose a different compiler from the bogus one.
4802 # However, it has the same basename, so the bogon will be chosen
4803 # first if we set CC to just the basename; use the full file name.
4804 shift
4805 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4810 CC=$ac_cv_prog_CC
4811 if test -n "$CC"; then
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4813 printf "%s\n" "$CC" >&6; }
4814 else
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 printf "%s\n" "no" >&6; }
4821 if test -z "$CC"; then
4822 if test -n "$ac_tool_prefix"; then
4823 for ac_prog in cl.exe
4825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 printf %s "checking for $ac_word... " >&6; }
4829 if test ${ac_cv_prog_CC+y}
4830 then :
4831 printf %s "(cached) " >&6
4832 else $as_nop
4833 if test -n "$CC"; then
4834 ac_cv_prog_CC="$CC" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 case $as_dir in #(((
4841 '') as_dir=./ ;;
4842 */) ;;
4843 *) as_dir=$as_dir/ ;;
4844 esac
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 CC=$ac_cv_prog_CC
4858 if test -n "$CC"; then
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4860 printf "%s\n" "$CC" >&6; }
4861 else
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 printf "%s\n" "no" >&6; }
4867 test -n "$CC" && break
4868 done
4870 if test -z "$CC"; then
4871 ac_ct_CC=$CC
4872 for ac_prog in cl.exe
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 printf %s "checking for $ac_word... " >&6; }
4878 if test ${ac_cv_prog_ac_ct_CC+y}
4879 then :
4880 printf %s "(cached) " >&6
4881 else $as_nop
4882 if test -n "$ac_ct_CC"; then
4883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 case $as_dir in #(((
4890 '') as_dir=./ ;;
4891 */) ;;
4892 *) as_dir=$as_dir/ ;;
4893 esac
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_ac_ct_CC="$ac_prog"
4897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4898 break 2
4900 done
4901 done
4902 IFS=$as_save_IFS
4906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4907 if test -n "$ac_ct_CC"; then
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4909 printf "%s\n" "$ac_ct_CC" >&6; }
4910 else
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 printf "%s\n" "no" >&6; }
4916 test -n "$ac_ct_CC" && break
4917 done
4919 if test "x$ac_ct_CC" = x; then
4920 CC=""
4921 else
4922 case $cross_compiling:$ac_tool_warned in
4923 yes:)
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4926 ac_tool_warned=yes ;;
4927 esac
4928 CC=$ac_ct_CC
4933 if test -z "$CC"; then
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4936 set dummy ${ac_tool_prefix}clang; ac_word=$2
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 printf %s "checking for $ac_word... " >&6; }
4939 if test ${ac_cv_prog_CC+y}
4940 then :
4941 printf %s "(cached) " >&6
4942 else $as_nop
4943 if test -n "$CC"; then
4944 ac_cv_prog_CC="$CC" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 case $as_dir in #(((
4951 '') as_dir=./ ;;
4952 */) ;;
4953 *) as_dir=$as_dir/ ;;
4954 esac
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_CC="${ac_tool_prefix}clang"
4958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4963 IFS=$as_save_IFS
4967 CC=$ac_cv_prog_CC
4968 if test -n "$CC"; then
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4970 printf "%s\n" "$CC" >&6; }
4971 else
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 printf "%s\n" "no" >&6; }
4978 if test -z "$ac_cv_prog_CC"; then
4979 ac_ct_CC=$CC
4980 # Extract the first word of "clang", so it can be a program name with args.
4981 set dummy clang; ac_word=$2
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 printf %s "checking for $ac_word... " >&6; }
4984 if test ${ac_cv_prog_ac_ct_CC+y}
4985 then :
4986 printf %s "(cached) " >&6
4987 else $as_nop
4988 if test -n "$ac_ct_CC"; then
4989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 case $as_dir in #(((
4996 '') as_dir=./ ;;
4997 */) ;;
4998 *) as_dir=$as_dir/ ;;
4999 esac
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_CC="clang"
5003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5013 if test -n "$ac_ct_CC"; then
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5015 printf "%s\n" "$ac_ct_CC" >&6; }
5016 else
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 printf "%s\n" "no" >&6; }
5021 if test "x$ac_ct_CC" = x; then
5022 CC=""
5023 else
5024 case $cross_compiling:$ac_tool_warned in
5025 yes:)
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5029 esac
5030 CC=$ac_ct_CC
5032 else
5033 CC="$ac_cv_prog_CC"
5039 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5041 as_fn_error $? "no acceptable C compiler found in \$PATH
5042 See \`config.log' for more details" "$LINENO" 5; }
5044 # Provide some information about the compiler.
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5046 set X $ac_compile
5047 ac_compiler=$2
5048 for ac_option in --version -v -V -qversion -version; do
5049 { { ac_try="$ac_compiler $ac_option >&5"
5050 case "(($ac_try" in
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5053 esac
5054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5055 printf "%s\n" "$ac_try_echo"; } >&5
5056 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5057 ac_status=$?
5058 if test -s conftest.err; then
5059 sed '10a\
5060 ... rest of stderr output deleted ...
5061 10q' conftest.err >conftest.er1
5062 cat conftest.er1 >&5
5064 rm -f conftest.er1 conftest.err
5065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5066 test $ac_status = 0; }
5067 done
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5073 main (void)
5077 return 0;
5079 _ACEOF
5080 ac_clean_files_save=$ac_clean_files
5081 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5082 # Try to create an executable without -o first, disregard a.out.
5083 # It will help us diagnose broken compilers, and finding out an intuition
5084 # of exeext.
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5086 printf %s "checking whether the C compiler works... " >&6; }
5087 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5089 # The possible output files:
5090 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5092 ac_rmfiles=
5093 for ac_file in $ac_files
5095 case $ac_file in
5096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5097 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5098 esac
5099 done
5100 rm -f $ac_rmfiles
5102 if { { ac_try="$ac_link_default"
5103 case "(($ac_try" in
5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5106 esac
5107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5108 printf "%s\n" "$ac_try_echo"; } >&5
5109 (eval "$ac_link_default") 2>&5
5110 ac_status=$?
5111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5112 test $ac_status = 0; }
5113 then :
5114 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5116 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5117 # so that the user can short-circuit this test for compilers unknown to
5118 # Autoconf.
5119 for ac_file in $ac_files ''
5121 test -f "$ac_file" || continue
5122 case $ac_file in
5123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5125 [ab].out )
5126 # We found the default executable, but exeext='' is most
5127 # certainly right.
5128 break;;
5129 *.* )
5130 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5131 then :; else
5132 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5134 # We set ac_cv_exeext here because the later test for it is not
5135 # safe: cross compilers may not add the suffix if given an `-o'
5136 # argument, so we may need to know it at that point already.
5137 # Even if this section looks crufty: it has the advantage of
5138 # actually working.
5139 break;;
5141 break;;
5142 esac
5143 done
5144 test "$ac_cv_exeext" = no && ac_cv_exeext=
5146 else $as_nop
5147 ac_file=''
5149 if test -z "$ac_file"
5150 then :
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 printf "%s\n" "no" >&6; }
5153 printf "%s\n" "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5156 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5157 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5158 as_fn_error 77 "C compiler cannot create executables
5159 See \`config.log' for more details" "$LINENO" 5; }
5160 else $as_nop
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5162 printf "%s\n" "yes" >&6; }
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5165 printf %s "checking for C compiler default output file name... " >&6; }
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5167 printf "%s\n" "$ac_file" >&6; }
5168 ac_exeext=$ac_cv_exeext
5170 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5171 ac_clean_files=$ac_clean_files_save
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5173 printf %s "checking for suffix of executables... " >&6; }
5174 if { { ac_try="$ac_link"
5175 case "(($ac_try" in
5176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5177 *) ac_try_echo=$ac_try;;
5178 esac
5179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5180 printf "%s\n" "$ac_try_echo"; } >&5
5181 (eval "$ac_link") 2>&5
5182 ac_status=$?
5183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5184 test $ac_status = 0; }
5185 then :
5186 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5187 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5188 # work properly (i.e., refer to `conftest.exe'), while it won't with
5189 # `rm'.
5190 for ac_file in conftest.exe conftest conftest.*; do
5191 test -f "$ac_file" || continue
5192 case $ac_file in
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5194 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5195 break;;
5196 * ) break;;
5197 esac
5198 done
5199 else $as_nop
5200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5201 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5202 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5203 See \`config.log' for more details" "$LINENO" 5; }
5205 rm -f conftest conftest$ac_cv_exeext
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5207 printf "%s\n" "$ac_cv_exeext" >&6; }
5209 rm -f conftest.$ac_ext
5210 EXEEXT=$ac_cv_exeext
5211 ac_exeext=$EXEEXT
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #include <stdio.h>
5216 main (void)
5218 FILE *f = fopen ("conftest.out", "w");
5219 return ferror (f) || fclose (f) != 0;
5222 return 0;
5224 _ACEOF
5225 ac_clean_files="$ac_clean_files conftest.out"
5226 # Check that the compiler produces executables we can run. If not, either
5227 # the compiler is broken, or we cross compile.
5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5229 printf %s "checking whether we are cross compiling... " >&6; }
5230 if test "$cross_compiling" != yes; then
5231 { { ac_try="$ac_link"
5232 case "(($ac_try" in
5233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5235 esac
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 printf "%s\n" "$ac_try_echo"; } >&5
5238 (eval "$ac_link") 2>&5
5239 ac_status=$?
5240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241 test $ac_status = 0; }
5242 if { ac_try='./conftest$ac_cv_exeext'
5243 { { case "(($ac_try" in
5244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5245 *) ac_try_echo=$ac_try;;
5246 esac
5247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5248 printf "%s\n" "$ac_try_echo"; } >&5
5249 (eval "$ac_try") 2>&5
5250 ac_status=$?
5251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }; }; then
5253 cross_compiling=no
5254 else
5255 if test "$cross_compiling" = maybe; then
5256 cross_compiling=yes
5257 else
5258 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5259 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5260 as_fn_error 77 "cannot run C compiled programs.
5261 If you meant to cross compile, use \`--host'.
5262 See \`config.log' for more details" "$LINENO" 5; }
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5267 printf "%s\n" "$cross_compiling" >&6; }
5269 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5270 ac_clean_files=$ac_clean_files_save
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5272 printf %s "checking for suffix of object files... " >&6; }
5273 if test ${ac_cv_objext+y}
5274 then :
5275 printf %s "(cached) " >&6
5276 else $as_nop
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main (void)
5285 return 0;
5287 _ACEOF
5288 rm -f conftest.o conftest.obj
5289 if { { ac_try="$ac_compile"
5290 case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_compile") 2>&5
5297 ac_status=$?
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5300 then :
5301 for ac_file in conftest.o conftest.obj conftest.*; do
5302 test -f "$ac_file" || continue;
5303 case $ac_file in
5304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5305 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5306 break;;
5307 esac
5308 done
5309 else $as_nop
5310 printf "%s\n" "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
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 $? "cannot compute suffix of object files: cannot compile
5316 See \`config.log' for more details" "$LINENO" 5; }
5318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5321 printf "%s\n" "$ac_cv_objext" >&6; }
5322 OBJEXT=$ac_cv_objext
5323 ac_objext=$OBJEXT
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5325 printf %s "checking whether the compiler supports GNU C... " >&6; }
5326 if test ${ac_cv_c_compiler_gnu+y}
5327 then :
5328 printf %s "(cached) " >&6
5329 else $as_nop
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main (void)
5336 #ifndef __GNUC__
5337 choke me
5338 #endif
5341 return 0;
5343 _ACEOF
5344 if ac_fn_c_try_compile "$LINENO"
5345 then :
5346 ac_compiler_gnu=yes
5347 else $as_nop
5348 ac_compiler_gnu=no
5350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5351 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5355 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358 if test $ac_compiler_gnu = yes; then
5359 GCC=yes
5360 else
5361 GCC=
5363 ac_test_CFLAGS=${CFLAGS+y}
5364 ac_save_CFLAGS=$CFLAGS
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5366 printf %s "checking whether $CC accepts -g... " >&6; }
5367 if test ${ac_cv_prog_cc_g+y}
5368 then :
5369 printf %s "(cached) " >&6
5370 else $as_nop
5371 ac_save_c_werror_flag=$ac_c_werror_flag
5372 ac_c_werror_flag=yes
5373 ac_cv_prog_cc_g=no
5374 CFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main (void)
5383 return 0;
5385 _ACEOF
5386 if ac_fn_c_try_compile "$LINENO"
5387 then :
5388 ac_cv_prog_cc_g=yes
5389 else $as_nop
5390 CFLAGS=""
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5395 main (void)
5399 return 0;
5401 _ACEOF
5402 if ac_fn_c_try_compile "$LINENO"
5403 then :
5405 else $as_nop
5406 ac_c_werror_flag=$ac_save_c_werror_flag
5407 CFLAGS="-g"
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5412 main (void)
5416 return 0;
5418 _ACEOF
5419 if ac_fn_c_try_compile "$LINENO"
5420 then :
5421 ac_cv_prog_cc_g=yes
5423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5428 ac_c_werror_flag=$ac_save_c_werror_flag
5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5431 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5432 if test $ac_test_CFLAGS; then
5433 CFLAGS=$ac_save_CFLAGS
5434 elif test $ac_cv_prog_cc_g = yes; then
5435 if test "$GCC" = yes; then
5436 CFLAGS="-g -O2"
5437 else
5438 CFLAGS="-g"
5440 else
5441 if test "$GCC" = yes; then
5442 CFLAGS="-O2"
5443 else
5444 CFLAGS=
5447 ac_prog_cc_stdc=no
5448 if test x$ac_prog_cc_stdc = xno
5449 then :
5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5451 printf %s "checking for $CC option to enable C11 features... " >&6; }
5452 if test ${ac_cv_prog_cc_c11+y}
5453 then :
5454 printf %s "(cached) " >&6
5455 else $as_nop
5456 ac_cv_prog_cc_c11=no
5457 ac_save_CC=$CC
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5460 $ac_c_conftest_c11_program
5461 _ACEOF
5462 for ac_arg in '' -std=gnu11
5464 CC="$ac_save_CC $ac_arg"
5465 if ac_fn_c_try_compile "$LINENO"
5466 then :
5467 ac_cv_prog_cc_c11=$ac_arg
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam
5470 test "x$ac_cv_prog_cc_c11" != "xno" && break
5471 done
5472 rm -f conftest.$ac_ext
5473 CC=$ac_save_CC
5476 if test "x$ac_cv_prog_cc_c11" = xno
5477 then :
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5479 printf "%s\n" "unsupported" >&6; }
5480 else $as_nop
5481 if test "x$ac_cv_prog_cc_c11" = x
5482 then :
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5484 printf "%s\n" "none needed" >&6; }
5485 else $as_nop
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5487 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5488 CC="$CC $ac_cv_prog_cc_c11"
5490 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5491 ac_prog_cc_stdc=c11
5494 if test x$ac_prog_cc_stdc = xno
5495 then :
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5497 printf %s "checking for $CC option to enable C99 features... " >&6; }
5498 if test ${ac_cv_prog_cc_c99+y}
5499 then :
5500 printf %s "(cached) " >&6
5501 else $as_nop
5502 ac_cv_prog_cc_c99=no
5503 ac_save_CC=$CC
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 $ac_c_conftest_c99_program
5507 _ACEOF
5508 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5510 CC="$ac_save_CC $ac_arg"
5511 if ac_fn_c_try_compile "$LINENO"
5512 then :
5513 ac_cv_prog_cc_c99=$ac_arg
5515 rm -f core conftest.err conftest.$ac_objext conftest.beam
5516 test "x$ac_cv_prog_cc_c99" != "xno" && break
5517 done
5518 rm -f conftest.$ac_ext
5519 CC=$ac_save_CC
5522 if test "x$ac_cv_prog_cc_c99" = xno
5523 then :
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5525 printf "%s\n" "unsupported" >&6; }
5526 else $as_nop
5527 if test "x$ac_cv_prog_cc_c99" = x
5528 then :
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5530 printf "%s\n" "none needed" >&6; }
5531 else $as_nop
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5533 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5534 CC="$CC $ac_cv_prog_cc_c99"
5536 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5537 ac_prog_cc_stdc=c99
5540 if test x$ac_prog_cc_stdc = xno
5541 then :
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5543 printf %s "checking for $CC option to enable C89 features... " >&6; }
5544 if test ${ac_cv_prog_cc_c89+y}
5545 then :
5546 printf %s "(cached) " >&6
5547 else $as_nop
5548 ac_cv_prog_cc_c89=no
5549 ac_save_CC=$CC
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5552 $ac_c_conftest_c89_program
5553 _ACEOF
5554 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5556 CC="$ac_save_CC $ac_arg"
5557 if ac_fn_c_try_compile "$LINENO"
5558 then :
5559 ac_cv_prog_cc_c89=$ac_arg
5561 rm -f core conftest.err conftest.$ac_objext conftest.beam
5562 test "x$ac_cv_prog_cc_c89" != "xno" && break
5563 done
5564 rm -f conftest.$ac_ext
5565 CC=$ac_save_CC
5568 if test "x$ac_cv_prog_cc_c89" = xno
5569 then :
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5571 printf "%s\n" "unsupported" >&6; }
5572 else $as_nop
5573 if test "x$ac_cv_prog_cc_c89" = x
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5576 printf "%s\n" "none needed" >&6; }
5577 else $as_nop
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5579 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5580 CC="$CC $ac_cv_prog_cc_c89"
5582 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5583 ac_prog_cc_stdc=c89
5587 ac_ext=c
5588 ac_cpp='$CPP $CPPFLAGS'
5589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5599 ac_ext=cpp
5600 ac_cpp='$CXXCPP $CPPFLAGS'
5601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5604 if test -z "$CXX"; then
5605 if test -n "$CCC"; then
5606 CXX=$CCC
5607 else
5608 if test -n "$ac_tool_prefix"; then
5609 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 printf %s "checking for $ac_word... " >&6; }
5615 if test ${ac_cv_prog_CXX+y}
5616 then :
5617 printf %s "(cached) " >&6
5618 else $as_nop
5619 if test -n "$CXX"; then
5620 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5621 else
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH
5625 IFS=$as_save_IFS
5626 case $as_dir in #(((
5627 '') as_dir=./ ;;
5628 */) ;;
5629 *) as_dir=$as_dir/ ;;
5630 esac
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 CXX=$ac_cv_prog_CXX
5644 if test -n "$CXX"; then
5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5646 printf "%s\n" "$CXX" >&6; }
5647 else
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 printf "%s\n" "no" >&6; }
5653 test -n "$CXX" && break
5654 done
5656 if test -z "$CXX"; then
5657 ac_ct_CXX=$CXX
5658 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5660 # Extract the first word of "$ac_prog", so it can be a program name with args.
5661 set dummy $ac_prog; ac_word=$2
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 printf %s "checking for $ac_word... " >&6; }
5664 if test ${ac_cv_prog_ac_ct_CXX+y}
5665 then :
5666 printf %s "(cached) " >&6
5667 else $as_nop
5668 if test -n "$ac_ct_CXX"; then
5669 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5674 IFS=$as_save_IFS
5675 case $as_dir in #(((
5676 '') as_dir=./ ;;
5677 */) ;;
5678 *) as_dir=$as_dir/ ;;
5679 esac
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_ac_ct_CXX="$ac_prog"
5683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5693 if test -n "$ac_ct_CXX"; then
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5695 printf "%s\n" "$ac_ct_CXX" >&6; }
5696 else
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 printf "%s\n" "no" >&6; }
5702 test -n "$ac_ct_CXX" && break
5703 done
5705 if test "x$ac_ct_CXX" = x; then
5706 CXX="g++"
5707 else
5708 case $cross_compiling:$ac_tool_warned in
5709 yes:)
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5712 ac_tool_warned=yes ;;
5713 esac
5714 CXX=$ac_ct_CXX
5720 # Provide some information about the compiler.
5721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5722 set X $ac_compile
5723 ac_compiler=$2
5724 for ac_option in --version -v -V -qversion; do
5725 { { ac_try="$ac_compiler $ac_option >&5"
5726 case "(($ac_try" in
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5729 esac
5730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5731 printf "%s\n" "$ac_try_echo"; } >&5
5732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5733 ac_status=$?
5734 if test -s conftest.err; then
5735 sed '10a\
5736 ... rest of stderr output deleted ...
5737 10q' conftest.err >conftest.er1
5738 cat conftest.er1 >&5
5740 rm -f conftest.er1 conftest.err
5741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5742 test $ac_status = 0; }
5743 done
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5746 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5747 if test ${ac_cv_cxx_compiler_gnu+y}
5748 then :
5749 printf %s "(cached) " >&6
5750 else $as_nop
5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5755 main (void)
5757 #ifndef __GNUC__
5758 choke me
5759 #endif
5762 return 0;
5764 _ACEOF
5765 if ac_fn_cxx_try_compile "$LINENO"
5766 then :
5767 ac_compiler_gnu=yes
5768 else $as_nop
5769 ac_compiler_gnu=no
5771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5772 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5776 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5779 if test $ac_compiler_gnu = yes; then
5780 GXX=yes
5781 else
5782 GXX=
5784 ac_test_CXXFLAGS=${CXXFLAGS+y}
5785 ac_save_CXXFLAGS=$CXXFLAGS
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5787 printf %s "checking whether $CXX accepts -g... " >&6; }
5788 if test ${ac_cv_prog_cxx_g+y}
5789 then :
5790 printf %s "(cached) " >&6
5791 else $as_nop
5792 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5793 ac_cxx_werror_flag=yes
5794 ac_cv_prog_cxx_g=no
5795 CXXFLAGS="-g"
5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5800 main (void)
5804 return 0;
5806 _ACEOF
5807 if ac_fn_cxx_try_compile "$LINENO"
5808 then :
5809 ac_cv_prog_cxx_g=yes
5810 else $as_nop
5811 CXXFLAGS=""
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5816 main (void)
5820 return 0;
5822 _ACEOF
5823 if ac_fn_cxx_try_compile "$LINENO"
5824 then :
5826 else $as_nop
5827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5828 CXXFLAGS="-g"
5829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5833 main (void)
5837 return 0;
5839 _ACEOF
5840 if ac_fn_cxx_try_compile "$LINENO"
5841 then :
5842 ac_cv_prog_cxx_g=yes
5844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5852 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5853 if test $ac_test_CXXFLAGS; then
5854 CXXFLAGS=$ac_save_CXXFLAGS
5855 elif test $ac_cv_prog_cxx_g = yes; then
5856 if test "$GXX" = yes; then
5857 CXXFLAGS="-g -O2"
5858 else
5859 CXXFLAGS="-g"
5861 else
5862 if test "$GXX" = yes; then
5863 CXXFLAGS="-O2"
5864 else
5865 CXXFLAGS=
5868 ac_prog_cxx_stdcxx=no
5869 if test x$ac_prog_cxx_stdcxx = xno
5870 then :
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5872 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5873 if test ${ac_cv_prog_cxx_cxx11+y}
5874 then :
5875 printf %s "(cached) " >&6
5876 else $as_nop
5877 ac_cv_prog_cxx_cxx11=no
5878 ac_save_CXX=$CXX
5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5881 $ac_cxx_conftest_cxx11_program
5882 _ACEOF
5883 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5885 CXX="$ac_save_CXX $ac_arg"
5886 if ac_fn_cxx_try_compile "$LINENO"
5887 then :
5888 ac_cv_prog_cxx_cxx11=$ac_arg
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam
5891 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5892 done
5893 rm -f conftest.$ac_ext
5894 CXX=$ac_save_CXX
5897 if test "x$ac_cv_prog_cxx_cxx11" = xno
5898 then :
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5900 printf "%s\n" "unsupported" >&6; }
5901 else $as_nop
5902 if test "x$ac_cv_prog_cxx_cxx11" = x
5903 then :
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5905 printf "%s\n" "none needed" >&6; }
5906 else $as_nop
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5908 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5909 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5911 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5912 ac_prog_cxx_stdcxx=cxx11
5915 if test x$ac_prog_cxx_stdcxx = xno
5916 then :
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5918 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5919 if test ${ac_cv_prog_cxx_cxx98+y}
5920 then :
5921 printf %s "(cached) " >&6
5922 else $as_nop
5923 ac_cv_prog_cxx_cxx98=no
5924 ac_save_CXX=$CXX
5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 $ac_cxx_conftest_cxx98_program
5928 _ACEOF
5929 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5931 CXX="$ac_save_CXX $ac_arg"
5932 if ac_fn_cxx_try_compile "$LINENO"
5933 then :
5934 ac_cv_prog_cxx_cxx98=$ac_arg
5936 rm -f core conftest.err conftest.$ac_objext conftest.beam
5937 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5938 done
5939 rm -f conftest.$ac_ext
5940 CXX=$ac_save_CXX
5943 if test "x$ac_cv_prog_cxx_cxx98" = xno
5944 then :
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5946 printf "%s\n" "unsupported" >&6; }
5947 else $as_nop
5948 if test "x$ac_cv_prog_cxx_cxx98" = x
5949 then :
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5951 printf "%s\n" "none needed" >&6; }
5952 else $as_nop
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5954 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5955 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5957 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5958 ac_prog_cxx_stdcxx=cxx98
5962 ac_ext=c
5963 ac_cpp='$CPP $CPPFLAGS'
5964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5968 if test -n "$ac_tool_prefix"; then
5969 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5970 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 printf %s "checking for $ac_word... " >&6; }
5973 if test ${ac_cv_prog_CPPBIN+y}
5974 then :
5975 printf %s "(cached) " >&6
5976 else $as_nop
5977 if test -n "$CPPBIN"; then
5978 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 case $as_dir in #(((
5985 '') as_dir=./ ;;
5986 */) ;;
5987 *) as_dir=$as_dir/ ;;
5988 esac
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 CPPBIN=$ac_cv_prog_CPPBIN
6002 if test -n "$CPPBIN"; then
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6004 printf "%s\n" "$CPPBIN" >&6; }
6005 else
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 printf "%s\n" "no" >&6; }
6012 if test -z "$ac_cv_prog_CPPBIN"; then
6013 ac_ct_CPPBIN=$CPPBIN
6014 # Extract the first word of "cpp", so it can be a program name with args.
6015 set dummy cpp; ac_word=$2
6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 printf %s "checking for $ac_word... " >&6; }
6018 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6019 then :
6020 printf %s "(cached) " >&6
6021 else $as_nop
6022 if test -n "$ac_ct_CPPBIN"; then
6023 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 case $as_dir in #(((
6030 '') as_dir=./ ;;
6031 */) ;;
6032 *) as_dir=$as_dir/ ;;
6033 esac
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_ac_ct_CPPBIN="cpp"
6037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6047 if test -n "$ac_ct_CPPBIN"; then
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6049 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6050 else
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 printf "%s\n" "no" >&6; }
6055 if test "x$ac_ct_CPPBIN" = x; then
6056 CPPBIN="cpp"
6057 else
6058 case $cross_compiling:$ac_tool_warned in
6059 yes:)
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6063 esac
6064 CPPBIN=$ac_ct_CPPBIN
6066 else
6067 CPPBIN="$ac_cv_prog_CPPBIN"
6071 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6073 if test -n "$ac_tool_prefix"; then
6074 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6075 set dummy ${ac_tool_prefix}ld; ac_word=$2
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 printf %s "checking for $ac_word... " >&6; }
6078 if test ${ac_cv_prog_LD+y}
6079 then :
6080 printf %s "(cached) " >&6
6081 else $as_nop
6082 if test -n "$LD"; then
6083 ac_cv_prog_LD="$LD" # Let the user override the test.
6084 else
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 for as_dir in $PATH
6088 IFS=$as_save_IFS
6089 case $as_dir in #(((
6090 '') as_dir=./ ;;
6091 */) ;;
6092 *) as_dir=$as_dir/ ;;
6093 esac
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_LD="${ac_tool_prefix}ld"
6097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6098 break 2
6100 done
6101 done
6102 IFS=$as_save_IFS
6106 LD=$ac_cv_prog_LD
6107 if test -n "$LD"; then
6108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6109 printf "%s\n" "$LD" >&6; }
6110 else
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 printf "%s\n" "no" >&6; }
6117 if test -z "$ac_cv_prog_LD"; then
6118 ac_ct_LD=$LD
6119 # Extract the first word of "ld", so it can be a program name with args.
6120 set dummy ld; ac_word=$2
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 printf %s "checking for $ac_word... " >&6; }
6123 if test ${ac_cv_prog_ac_ct_LD+y}
6124 then :
6125 printf %s "(cached) " >&6
6126 else $as_nop
6127 if test -n "$ac_ct_LD"; then
6128 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6133 IFS=$as_save_IFS
6134 case $as_dir in #(((
6135 '') as_dir=./ ;;
6136 */) ;;
6137 *) as_dir=$as_dir/ ;;
6138 esac
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_ac_ct_LD="ld"
6142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6143 break 2
6145 done
6146 done
6147 IFS=$as_save_IFS
6151 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6152 if test -n "$ac_ct_LD"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6154 printf "%s\n" "$ac_ct_LD" >&6; }
6155 else
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 printf "%s\n" "no" >&6; }
6160 if test "x$ac_ct_LD" = x; then
6161 LD=""
6162 else
6163 case $cross_compiling:$ac_tool_warned in
6164 yes:)
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6166 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6167 ac_tool_warned=yes ;;
6168 esac
6169 LD=$ac_ct_LD
6171 else
6172 LD="$ac_cv_prog_LD"
6176 case $host in
6177 *-darwin*)
6178 with_fontconfig=${with_fontconfig:-no}
6180 *-mingw32*|*-cygwin*)
6181 enable_win16=${enable_win16:-no}
6182 with_mingw=${with_mingw:-no}
6184 esac
6187 case $host in
6188 x86_64*|amd64*)
6189 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6190 then
6191 CC="$CC -m32"
6192 CXX="$CXX -m32"
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6195 printf %s "checking whether $CC works... " >&6; }
6196 if test ${wine_cv_cc_m32+y}
6197 then :
6198 printf %s "(cached) " >&6
6199 else $as_nop
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6204 main (void)
6208 return 0;
6210 _ACEOF
6211 if ac_fn_c_try_link "$LINENO"
6212 then :
6213 wine_cv_cc_m32=yes
6214 else $as_nop
6215 wine_cv_cc_m32=no
6217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6218 conftest$ac_exeext conftest.$ac_ext
6220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6221 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6222 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
6223 host_cpu="i386"
6224 notice_platform="32-bit "
6225 TARGETFLAGS="$TARGETFLAGS -m32"
6226 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6227 export PKG_CONFIG_LIBDIR
6228 with_unwind=${with_unwind:-no}
6229 else
6230 if test "x${GCC}" = "xyes"
6231 then
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6233 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6234 if test ${wine_cv_builtin_ms_va_list+y}
6235 then :
6236 printf %s "(cached) " >&6
6237 else $as_nop
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6240 #include <stdarg.h>
6242 main (void)
6244 void func(__builtin_ms_va_list *args);
6246 return 0;
6248 _ACEOF
6249 if ac_fn_c_try_compile "$LINENO"
6250 then :
6251 wine_cv_builtin_ms_va_list=yes
6252 else $as_nop
6253 wine_cv_builtin_ms_va_list=no
6255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6258 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6259 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6261 CC="$CC -m64"
6262 CXX="$CXX -m64"
6263 host_cpu="x86_64"
6264 notice_platform="64-bit "
6265 TARGETFLAGS="$TARGETFLAGS -m64"
6268 arm*)
6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6270 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6271 if test ${wine_cv_thumb2+y}
6272 then :
6273 printf %s "(cached) " >&6
6274 else $as_nop
6275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6279 main (void)
6281 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6283 return 0;
6285 _ACEOF
6286 if ac_fn_c_try_link "$LINENO"
6287 then :
6288 wine_cv_thumb2=yes
6289 else $as_nop
6290 wine_cv_thumb2=no
6292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6293 conftest$ac_exeext conftest.$ac_ext
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6296 printf "%s\n" "$wine_cv_thumb2" >&6; }
6297 if test x"$wine_cv_thumb2" = xyes
6298 then
6299 CFLAGS="$CFLAGS -mthumb"
6300 TARGETFLAGS="$TARGETFLAGS -mthumb"
6301 else
6302 CFLAGS="$CFLAGS -marm"
6303 TARGETFLAGS="$TARGETFLAGS -marm"
6305 case $with_float_abi in
6306 soft|softfp|hard)
6307 float_abi=$with_float_abi ;;
6309 case $host_os in
6310 *eabihf)
6311 float_abi=hard ;;
6313 float_abi=softfp
6314 saved_CFLAGS=$CFLAGS
6315 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6317 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6318 if test ${wine_cv_float_abi+y}
6319 then :
6320 printf %s "(cached) " >&6
6321 else $as_nop
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6326 main (void)
6328 asm("vmrs r2,fpscr");
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_link "$LINENO"
6334 then :
6335 wine_cv_float_abi=yes
6336 else $as_nop
6337 wine_cv_float_abi=no
6339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6340 conftest$ac_exeext conftest.$ac_ext
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6343 printf "%s\n" "$wine_cv_float_abi" >&6; }
6344 if test $wine_cv_float_abi = no
6345 then
6346 float_abi=soft
6347 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6349 CFLAGS=$saved_CFLAGS
6350 esac
6352 esac
6353 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6354 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6356 i[3456789]86*)
6357 with_unwind=${with_unwind:-no}
6359 esac
6361 enable_win16=${enable_win16:-i386}
6362 enable_win64=${enable_win64:-no}
6363 enable_wow64=${enable_wow64:-aarch64,x86_64}
6364 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6365 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6367 enable_winetest=${enable_winetest:-$enable_tests}
6369 if test "x$enable_win64" = "xyes"
6370 then
6371 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6372 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6375 case $build_os in
6376 cygwin*|mingw32*) toolsext=".exe"
6378 *) toolsext=""
6380 esac
6382 HOST_ARCH=unknown
6383 case "$host_cpu" in
6384 aarch64*) HOST_ARCH=aarch64 ;;
6385 arm*) HOST_ARCH=arm ;;
6386 i[3456789]86*) HOST_ARCH=i386 ;;
6387 x86_64) HOST_ARCH=x86_64 ;;
6388 esac
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6392 printf %s "checking for the directory containing the Wine tools... " >&6; }
6393 if test ${wine_cv_toolsdir+y}
6394 then :
6395 printf %s "(cached) " >&6
6396 else $as_nop
6397 wine_cv_toolsdir="$with_wine_tools"
6398 if test -z "$with_wine_tools"; then
6399 if test "$cross_compiling" = "yes"; then
6400 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6401 elif test -n "$with_wine64"; then
6402 wine_cv_toolsdir="$with_wine64"
6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6407 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6408 if test -z "$wine_cv_toolsdir"; then
6409 wine_makedep=tools/makedep$toolsext
6410 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6411 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6412 enable_tools=${enable_tools:-no}
6413 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6414 else
6415 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6417 toolsdir=$wine_cv_toolsdir
6419 MAKEDEP=$wine_makedep
6421 RUNTESTFLAGS="-q -P wine"
6423 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'"
6426 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6427 then
6428 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6431 for ac_prog in flex
6433 # Extract the first word of "$ac_prog", so it can be a program name with args.
6434 set dummy $ac_prog; ac_word=$2
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 printf %s "checking for $ac_word... " >&6; }
6437 if test ${ac_cv_prog_FLEX+y}
6438 then :
6439 printf %s "(cached) " >&6
6440 else $as_nop
6441 if test -n "$FLEX"; then
6442 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6443 else
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $PATH
6447 IFS=$as_save_IFS
6448 case $as_dir in #(((
6449 '') as_dir=./ ;;
6450 */) ;;
6451 *) as_dir=$as_dir/ ;;
6452 esac
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_FLEX="$ac_prog"
6456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6457 break 2
6459 done
6460 done
6461 IFS=$as_save_IFS
6465 FLEX=$ac_cv_prog_FLEX
6466 if test -n "$FLEX"; then
6467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6468 printf "%s\n" "$FLEX" >&6; }
6469 else
6470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 printf "%s\n" "no" >&6; }
6475 test -n "$FLEX" && break
6476 done
6477 test -n "$FLEX" || FLEX="none"
6479 if test "$FLEX" = "none"
6480 then
6481 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6484 printf %s "checking whether flex is recent enough... " >&6; }
6485 if test ${wine_cv_recent_flex+y}
6486 then :
6487 printf %s "(cached) " >&6
6488 else $as_nop
6489 cat >conftest.l <<EOF
6490 %top{
6491 #include "prediluvian.h"
6495 if $FLEX -t conftest.l >/dev/null 2>&5
6496 then
6497 wine_cv_recent_flex=yes
6498 else
6499 wine_cv_recent_flex=no
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6503 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6504 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
6506 for ac_prog in bison
6508 # Extract the first word of "$ac_prog", so it can be a program name with args.
6509 set dummy $ac_prog; ac_word=$2
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 printf %s "checking for $ac_word... " >&6; }
6512 if test ${ac_cv_prog_BISON+y}
6513 then :
6514 printf %s "(cached) " >&6
6515 else $as_nop
6516 if test -n "$BISON"; then
6517 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6518 else
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 for as_dir in $PATH
6522 IFS=$as_save_IFS
6523 case $as_dir in #(((
6524 '') as_dir=./ ;;
6525 */) ;;
6526 *) as_dir=$as_dir/ ;;
6527 esac
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6530 ac_cv_prog_BISON="$ac_prog"
6531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 BISON=$ac_cv_prog_BISON
6541 if test -n "$BISON"; then
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6543 printf "%s\n" "$BISON" >&6; }
6544 else
6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 printf "%s\n" "no" >&6; }
6550 test -n "$BISON" && break
6551 done
6552 test -n "$BISON" || BISON="none"
6554 if test "$BISON" = "none"
6555 then
6556 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6559 printf %s "checking whether bison is recent enough... " >&6; }
6560 if test ${wine_cv_recent_bison+y}
6561 then :
6562 printf %s "(cached) " >&6
6563 else $as_nop
6564 cat >conftest.y <<EOF
6565 %define parse.error verbose
6567 empty: ;
6569 if $BISON conftest.y >/dev/null 2>&5
6570 then
6571 wine_cv_recent_bison=yes
6572 else
6573 wine_cv_recent_bison=no
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6577 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6578 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
6580 if test -n "$ac_tool_prefix"; then
6581 for ac_prog in ar gar
6583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6584 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 printf %s "checking for $ac_word... " >&6; }
6587 if test ${ac_cv_prog_AR+y}
6588 then :
6589 printf %s "(cached) " >&6
6590 else $as_nop
6591 if test -n "$AR"; then
6592 ac_cv_prog_AR="$AR" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6597 IFS=$as_save_IFS
6598 case $as_dir in #(((
6599 '') as_dir=./ ;;
6600 */) ;;
6601 *) as_dir=$as_dir/ ;;
6602 esac
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6607 break 2
6609 done
6610 done
6611 IFS=$as_save_IFS
6615 AR=$ac_cv_prog_AR
6616 if test -n "$AR"; then
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6618 printf "%s\n" "$AR" >&6; }
6619 else
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 printf "%s\n" "no" >&6; }
6625 test -n "$AR" && break
6626 done
6628 if test -z "$AR"; then
6629 ac_ct_AR=$AR
6630 for ac_prog in ar gar
6632 # Extract the first word of "$ac_prog", so it can be a program name with args.
6633 set dummy $ac_prog; ac_word=$2
6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 printf %s "checking for $ac_word... " >&6; }
6636 if test ${ac_cv_prog_ac_ct_AR+y}
6637 then :
6638 printf %s "(cached) " >&6
6639 else $as_nop
6640 if test -n "$ac_ct_AR"; then
6641 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6642 else
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 for as_dir in $PATH
6646 IFS=$as_save_IFS
6647 case $as_dir in #(((
6648 '') as_dir=./ ;;
6649 */) ;;
6650 *) as_dir=$as_dir/ ;;
6651 esac
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6654 ac_cv_prog_ac_ct_AR="$ac_prog"
6655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6656 break 2
6658 done
6659 done
6660 IFS=$as_save_IFS
6664 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6665 if test -n "$ac_ct_AR"; then
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6667 printf "%s\n" "$ac_ct_AR" >&6; }
6668 else
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 printf "%s\n" "no" >&6; }
6674 test -n "$ac_ct_AR" && break
6675 done
6677 if test "x$ac_ct_AR" = x; then
6678 AR="ar"
6679 else
6680 case $cross_compiling:$ac_tool_warned in
6681 yes:)
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6683 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6684 ac_tool_warned=yes ;;
6685 esac
6686 AR=$ac_ct_AR
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6692 set dummy ${ac_tool_prefix}strip; ac_word=$2
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 printf %s "checking for $ac_word... " >&6; }
6695 if test ${ac_cv_prog_STRIP+y}
6696 then :
6697 printf %s "(cached) " >&6
6698 else $as_nop
6699 if test -n "$STRIP"; then
6700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 case $as_dir in #(((
6707 '') as_dir=./ ;;
6708 */) ;;
6709 *) as_dir=$as_dir/ ;;
6710 esac
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6715 break 2
6717 done
6718 done
6719 IFS=$as_save_IFS
6723 STRIP=$ac_cv_prog_STRIP
6724 if test -n "$STRIP"; then
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6726 printf "%s\n" "$STRIP" >&6; }
6727 else
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 printf "%s\n" "no" >&6; }
6734 if test -z "$ac_cv_prog_STRIP"; then
6735 ac_ct_STRIP=$STRIP
6736 # Extract the first word of "strip", so it can be a program name with args.
6737 set dummy strip; ac_word=$2
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 printf %s "checking for $ac_word... " >&6; }
6740 if test ${ac_cv_prog_ac_ct_STRIP+y}
6741 then :
6742 printf %s "(cached) " >&6
6743 else $as_nop
6744 if test -n "$ac_ct_STRIP"; then
6745 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6746 else
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 for as_dir in $PATH
6750 IFS=$as_save_IFS
6751 case $as_dir in #(((
6752 '') as_dir=./ ;;
6753 */) ;;
6754 *) as_dir=$as_dir/ ;;
6755 esac
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_ac_ct_STRIP="strip"
6759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6760 break 2
6762 done
6763 done
6764 IFS=$as_save_IFS
6768 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6769 if test -n "$ac_ct_STRIP"; then
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6771 printf "%s\n" "$ac_ct_STRIP" >&6; }
6772 else
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774 printf "%s\n" "no" >&6; }
6777 if test "x$ac_ct_STRIP" = x; then
6778 STRIP="strip"
6779 else
6780 case $cross_compiling:$ac_tool_warned in
6781 yes:)
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6784 ac_tool_warned=yes ;;
6785 esac
6786 STRIP=$ac_ct_STRIP
6788 else
6789 STRIP="$ac_cv_prog_STRIP"
6792 if test -n "$ac_tool_prefix"; then
6793 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6794 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 printf %s "checking for $ac_word... " >&6; }
6797 if test ${ac_cv_prog_RANLIB+y}
6798 then :
6799 printf %s "(cached) " >&6
6800 else $as_nop
6801 if test -n "$RANLIB"; then
6802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6803 else
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 for as_dir in $PATH
6807 IFS=$as_save_IFS
6808 case $as_dir in #(((
6809 '') as_dir=./ ;;
6810 */) ;;
6811 *) as_dir=$as_dir/ ;;
6812 esac
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6817 break 2
6819 done
6820 done
6821 IFS=$as_save_IFS
6825 RANLIB=$ac_cv_prog_RANLIB
6826 if test -n "$RANLIB"; then
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6828 printf "%s\n" "$RANLIB" >&6; }
6829 else
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 printf "%s\n" "no" >&6; }
6836 if test -z "$ac_cv_prog_RANLIB"; then
6837 ac_ct_RANLIB=$RANLIB
6838 # Extract the first word of "ranlib", so it can be a program name with args.
6839 set dummy ranlib; ac_word=$2
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 printf %s "checking for $ac_word... " >&6; }
6842 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6843 then :
6844 printf %s "(cached) " >&6
6845 else $as_nop
6846 if test -n "$ac_ct_RANLIB"; then
6847 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6852 IFS=$as_save_IFS
6853 case $as_dir in #(((
6854 '') as_dir=./ ;;
6855 */) ;;
6856 *) as_dir=$as_dir/ ;;
6857 esac
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_ac_ct_RANLIB="ranlib"
6861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6862 break 2
6864 done
6865 done
6866 IFS=$as_save_IFS
6870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6871 if test -n "$ac_ct_RANLIB"; then
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6873 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6874 else
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 printf "%s\n" "no" >&6; }
6879 if test "x$ac_ct_RANLIB" = x; then
6880 RANLIB=":"
6881 else
6882 case $cross_compiling:$ac_tool_warned in
6883 yes:)
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6885 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6886 ac_tool_warned=yes ;;
6887 esac
6888 RANLIB=$ac_ct_RANLIB
6890 else
6891 RANLIB="$ac_cv_prog_RANLIB"
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6895 printf %s "checking whether ln -s works... " >&6; }
6896 LN_S=$as_ln_s
6897 if test "$LN_S" = "ln -s"; then
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6899 printf "%s\n" "yes" >&6; }
6900 else
6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6902 printf "%s\n" "no, using $LN_S" >&6; }
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6906 printf %s "checking for grep that handles long lines and -e... " >&6; }
6907 if test ${ac_cv_path_GREP+y}
6908 then :
6909 printf %s "(cached) " >&6
6910 else $as_nop
6911 if test -z "$GREP"; then
6912 ac_path_GREP_found=false
6913 # Loop through the user's path and test for each of PROGNAME-LIST
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6917 IFS=$as_save_IFS
6918 case $as_dir in #(((
6919 '') as_dir=./ ;;
6920 */) ;;
6921 *) as_dir=$as_dir/ ;;
6922 esac
6923 for ac_prog in grep ggrep
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6927 as_fn_executable_p "$ac_path_GREP" || continue
6928 # Check for GNU ac_path_GREP and select it if it is found.
6929 # Check for GNU $ac_path_GREP
6930 case `"$ac_path_GREP" --version 2>&1` in
6931 *GNU*)
6932 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6934 ac_count=0
6935 printf %s 0123456789 >"conftest.in"
6936 while :
6938 cat "conftest.in" "conftest.in" >"conftest.tmp"
6939 mv "conftest.tmp" "conftest.in"
6940 cp "conftest.in" "conftest.nl"
6941 printf "%s\n" 'GREP' >> "conftest.nl"
6942 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6944 as_fn_arith $ac_count + 1 && ac_count=$as_val
6945 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6946 # Best one so far, save it but keep looking for a better one
6947 ac_cv_path_GREP="$ac_path_GREP"
6948 ac_path_GREP_max=$ac_count
6950 # 10*(2^10) chars as input seems more than enough
6951 test $ac_count -gt 10 && break
6952 done
6953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6954 esac
6956 $ac_path_GREP_found && break 3
6957 done
6958 done
6959 done
6960 IFS=$as_save_IFS
6961 if test -z "$ac_cv_path_GREP"; then
6962 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6964 else
6965 ac_cv_path_GREP=$GREP
6969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6970 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6971 GREP="$ac_cv_path_GREP"
6974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6975 printf %s "checking for egrep... " >&6; }
6976 if test ${ac_cv_path_EGREP+y}
6977 then :
6978 printf %s "(cached) " >&6
6979 else $as_nop
6980 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6981 then ac_cv_path_EGREP="$GREP -E"
6982 else
6983 if test -z "$EGREP"; then
6984 ac_path_EGREP_found=false
6985 # Loop through the user's path and test for each of PROGNAME-LIST
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6989 IFS=$as_save_IFS
6990 case $as_dir in #(((
6991 '') as_dir=./ ;;
6992 */) ;;
6993 *) as_dir=$as_dir/ ;;
6994 esac
6995 for ac_prog in egrep
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6999 as_fn_executable_p "$ac_path_EGREP" || continue
7000 # Check for GNU ac_path_EGREP and select it if it is found.
7001 # Check for GNU $ac_path_EGREP
7002 case `"$ac_path_EGREP" --version 2>&1` in
7003 *GNU*)
7004 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7006 ac_count=0
7007 printf %s 0123456789 >"conftest.in"
7008 while :
7010 cat "conftest.in" "conftest.in" >"conftest.tmp"
7011 mv "conftest.tmp" "conftest.in"
7012 cp "conftest.in" "conftest.nl"
7013 printf "%s\n" 'EGREP' >> "conftest.nl"
7014 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7015 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7016 as_fn_arith $ac_count + 1 && ac_count=$as_val
7017 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7018 # Best one so far, save it but keep looking for a better one
7019 ac_cv_path_EGREP="$ac_path_EGREP"
7020 ac_path_EGREP_max=$ac_count
7022 # 10*(2^10) chars as input seems more than enough
7023 test $ac_count -gt 10 && break
7024 done
7025 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7026 esac
7028 $ac_path_EGREP_found && break 3
7029 done
7030 done
7031 done
7032 IFS=$as_save_IFS
7033 if test -z "$ac_cv_path_EGREP"; then
7034 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7036 else
7037 ac_cv_path_EGREP=$EGREP
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7043 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7044 EGREP="$ac_cv_path_EGREP"
7047 # Extract the first word of "ldconfig", so it can be a program name with args.
7048 set dummy ldconfig; ac_word=$2
7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 printf %s "checking for $ac_word... " >&6; }
7051 if test ${ac_cv_path_LDCONFIG+y}
7052 then :
7053 printf %s "(cached) " >&6
7054 else $as_nop
7055 case $LDCONFIG in
7056 [\\/]* | ?:[\\/]*)
7057 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 for as_dir in /sbin /usr/sbin $PATH
7063 IFS=$as_save_IFS
7064 case $as_dir in #(((
7065 '') as_dir=./ ;;
7066 */) ;;
7067 *) as_dir=$as_dir/ ;;
7068 esac
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7071 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7073 break 2
7075 done
7076 done
7077 IFS=$as_save_IFS
7079 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7081 esac
7083 LDCONFIG=$ac_cv_path_LDCONFIG
7084 if test -n "$LDCONFIG"; then
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7086 printf "%s\n" "$LDCONFIG" >&6; }
7087 else
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 printf "%s\n" "no" >&6; }
7093 for ac_prog in msgfmt
7095 # Extract the first word of "$ac_prog", so it can be a program name with args.
7096 set dummy $ac_prog; ac_word=$2
7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 printf %s "checking for $ac_word... " >&6; }
7099 if test ${ac_cv_prog_MSGFMT+y}
7100 then :
7101 printf %s "(cached) " >&6
7102 else $as_nop
7103 if test -n "$MSGFMT"; then
7104 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7105 else
7106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 for as_dir in $PATH
7109 IFS=$as_save_IFS
7110 case $as_dir in #(((
7111 '') as_dir=./ ;;
7112 */) ;;
7113 *) as_dir=$as_dir/ ;;
7114 esac
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_MSGFMT="$ac_prog"
7118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7119 break 2
7121 done
7122 done
7123 IFS=$as_save_IFS
7127 MSGFMT=$ac_cv_prog_MSGFMT
7128 if test -n "$MSGFMT"; then
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7130 printf "%s\n" "$MSGFMT" >&6; }
7131 else
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 printf "%s\n" "no" >&6; }
7137 test -n "$MSGFMT" && break
7138 done
7139 test -n "$MSGFMT" || MSGFMT="false"
7141 if test ${ac_tool_prefix+y}
7142 then :
7143 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 printf %s "checking for $ac_word... " >&6; }
7147 if test ${ac_cv_prog_PKG_CONFIG+y}
7148 then :
7149 printf %s "(cached) " >&6
7150 else $as_nop
7151 if test -n "$PKG_CONFIG"; then
7152 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7157 IFS=$as_save_IFS
7158 case $as_dir in #(((
7159 '') as_dir=./ ;;
7160 */) ;;
7161 *) as_dir=$as_dir/ ;;
7162 esac
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7167 break 2
7169 done
7170 done
7171 IFS=$as_save_IFS
7175 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7176 if test -n "$PKG_CONFIG"; then
7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7178 printf "%s\n" "$PKG_CONFIG" >&6; }
7179 else
7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 printf "%s\n" "no" >&6; }
7186 if ${ac_cv_prog_PKG_CONFIG:+false} :
7187 then :
7188 if test "x$cross_compiling" = xyes
7189 then :
7191 else $as_nop
7192 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7193 # Extract the first word of "pkg-config", so it can be a program name with args.
7194 set dummy pkg-config; ac_word=$2
7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196 printf %s "checking for $ac_word... " >&6; }
7197 if test ${ac_cv_prog_PKG_CONFIG+y}
7198 then :
7199 printf %s "(cached) " >&6
7200 else $as_nop
7201 if test -n "$PKG_CONFIG"; then
7202 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7203 else
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 for as_dir in $PATH
7207 IFS=$as_save_IFS
7208 case $as_dir in #(((
7209 '') as_dir=./ ;;
7210 */) ;;
7211 *) as_dir=$as_dir/ ;;
7212 esac
7213 for ac_exec_ext in '' $ac_executable_extensions; do
7214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7215 ac_cv_prog_PKG_CONFIG="pkg-config"
7216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7217 break 2
7219 done
7220 done
7221 IFS=$as_save_IFS
7225 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7226 if test -n "$PKG_CONFIG"; then
7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7228 printf "%s\n" "$PKG_CONFIG" >&6; }
7229 else
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 printf "%s\n" "no" >&6; }
7236 else $as_nop
7237 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7240 if test "x$enable_maintainer_mode" != "xyes"
7241 then
7242 FONTFORGE=""
7243 RSVG=""
7244 CONVERT=""
7245 ICOTOOL=""
7246 else
7247 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7248 for ac_prog in fontforge
7250 # Extract the first word of "$ac_prog", so it can be a program name with args.
7251 set dummy $ac_prog; ac_word=$2
7252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253 printf %s "checking for $ac_word... " >&6; }
7254 if test ${ac_cv_prog_FONTFORGE+y}
7255 then :
7256 printf %s "(cached) " >&6
7257 else $as_nop
7258 if test -n "$FONTFORGE"; then
7259 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7260 else
7261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 for as_dir in $PATH
7264 IFS=$as_save_IFS
7265 case $as_dir in #(((
7266 '') as_dir=./ ;;
7267 */) ;;
7268 *) as_dir=$as_dir/ ;;
7269 esac
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_FONTFORGE="$ac_prog"
7273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 FONTFORGE=$ac_cv_prog_FONTFORGE
7283 if test -n "$FONTFORGE"; then
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7285 printf "%s\n" "$FONTFORGE" >&6; }
7286 else
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 printf "%s\n" "no" >&6; }
7292 test -n "$FONTFORGE" && break
7293 done
7294 test -n "$FONTFORGE" || FONTFORGE="false"
7296 for ac_prog in rsvg-convert rsvg
7298 # Extract the first word of "$ac_prog", so it can be a program name with args.
7299 set dummy $ac_prog; ac_word=$2
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 printf %s "checking for $ac_word... " >&6; }
7302 if test ${ac_cv_prog_RSVG+y}
7303 then :
7304 printf %s "(cached) " >&6
7305 else $as_nop
7306 if test -n "$RSVG"; then
7307 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7308 else
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 for as_dir in $PATH
7312 IFS=$as_save_IFS
7313 case $as_dir in #(((
7314 '') as_dir=./ ;;
7315 */) ;;
7316 *) as_dir=$as_dir/ ;;
7317 esac
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_RSVG="$ac_prog"
7321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7322 break 2
7324 done
7325 done
7326 IFS=$as_save_IFS
7330 RSVG=$ac_cv_prog_RSVG
7331 if test -n "$RSVG"; then
7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7333 printf "%s\n" "$RSVG" >&6; }
7334 else
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 printf "%s\n" "no" >&6; }
7340 test -n "$RSVG" && break
7341 done
7342 test -n "$RSVG" || RSVG="false"
7344 for ac_prog in convert
7346 # Extract the first word of "$ac_prog", so it can be a program name with args.
7347 set dummy $ac_prog; ac_word=$2
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 printf %s "checking for $ac_word... " >&6; }
7350 if test ${ac_cv_prog_CONVERT+y}
7351 then :
7352 printf %s "(cached) " >&6
7353 else $as_nop
7354 if test -n "$CONVERT"; then
7355 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 case $as_dir in #(((
7362 '') as_dir=./ ;;
7363 */) ;;
7364 *) as_dir=$as_dir/ ;;
7365 esac
7366 for ac_exec_ext in '' $ac_executable_extensions; do
7367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7368 ac_cv_prog_CONVERT="$ac_prog"
7369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7370 break 2
7372 done
7373 done
7374 IFS=$as_save_IFS
7378 CONVERT=$ac_cv_prog_CONVERT
7379 if test -n "$CONVERT"; then
7380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7381 printf "%s\n" "$CONVERT" >&6; }
7382 else
7383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 printf "%s\n" "no" >&6; }
7388 test -n "$CONVERT" && break
7389 done
7390 test -n "$CONVERT" || CONVERT="false"
7392 for ac_prog in icotool
7394 # Extract the first word of "$ac_prog", so it can be a program name with args.
7395 set dummy $ac_prog; ac_word=$2
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 printf %s "checking for $ac_word... " >&6; }
7398 if test ${ac_cv_prog_ICOTOOL+y}
7399 then :
7400 printf %s "(cached) " >&6
7401 else $as_nop
7402 if test -n "$ICOTOOL"; then
7403 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7404 else
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in $PATH
7408 IFS=$as_save_IFS
7409 case $as_dir in #(((
7410 '') as_dir=./ ;;
7411 */) ;;
7412 *) as_dir=$as_dir/ ;;
7413 esac
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ICOTOOL="$ac_prog"
7417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7418 break 2
7420 done
7421 done
7422 IFS=$as_save_IFS
7426 ICOTOOL=$ac_cv_prog_ICOTOOL
7427 if test -n "$ICOTOOL"; then
7428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7429 printf "%s\n" "$ICOTOOL" >&6; }
7430 else
7431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 printf "%s\n" "no" >&6; }
7436 test -n "$ICOTOOL" && break
7437 done
7438 test -n "$ICOTOOL" || ICOTOOL="false"
7440 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7441 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7443 if test "$CONVERT" = false
7444 then
7445 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7446 else
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7448 printf %s "checking for recent enough imagemagick... " >&6; }
7449 convert_version=`convert --version | head -n1`
7450 if test "x$convert_version" != "x"
7451 then
7452 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7453 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7454 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7455 then
7456 CONVERT=false
7459 if test "$CONVERT" = false
7460 then
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7462 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7463 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7466 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7470 if test "$ICOTOOL" = false
7471 then
7472 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7473 else
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7475 printf %s "checking for recent enough icotool... " >&6; }
7476 icotool_version=`icotool --version | head -n1`
7477 if test "x$icotool_version" != "x"
7478 then
7479 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7480 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7481 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7482 then
7483 ICOTOOL=false
7484 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7487 if test "$ICOTOOL" = false
7488 then
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7490 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7491 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7492 else
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7494 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7498 with_gettext=yes
7499 with_gettextpo=yes
7501 enable_werror=yes
7504 test "x$with_gettext" != xno || MSGFMT=false
7505 if test "$MSGFMT" != "false"
7506 then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7508 printf %s "checking whether msgfmt supports contexts... " >&6; }
7509 if test ${wine_cv_msgfmt_contexts+y}
7510 then :
7511 printf %s "(cached) " >&6
7512 else $as_nop
7513 cat >conftest.po <<EOF
7514 # comment
7515 msgctxt "ctxt"
7516 msgid "id"
7517 msgstr "str"
7519 if $MSGFMT -o /dev/null conftest.po 2>&5
7520 then
7521 wine_cv_msgfmt_contexts=yes
7522 else
7523 wine_cv_msgfmt_contexts=no
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7527 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7528 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7530 if test "$MSGFMT" = false
7531 then :
7532 case "x$with_gettext" in
7533 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7534 xno) ;;
7535 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7536 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7537 esac
7538 enable_po=${enable_po:-no}
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7543 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7544 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7545 then :
7546 printf %s "(cached) " >&6
7547 else $as_nop
7548 ac_check_lib_save_LIBS=$LIBS
7549 LIBS="-li386 $LIBS"
7550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7553 /* Override any GCC internal prototype to avoid an error.
7554 Use char because int might match the return type of a GCC
7555 builtin and then its argument prototype would still apply. */
7556 char i386_set_ldt ();
7558 main (void)
7560 return i386_set_ldt ();
7562 return 0;
7564 _ACEOF
7565 if ac_fn_c_try_link "$LINENO"
7566 then :
7567 ac_cv_lib_i386_i386_set_ldt=yes
7568 else $as_nop
7569 ac_cv_lib_i386_i386_set_ldt=no
7571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7572 conftest$ac_exeext conftest.$ac_ext
7573 LIBS=$ac_check_lib_save_LIBS
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7576 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7577 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7578 then :
7579 I386_LIBS="-li386"
7584 OPENGL_LIBS=""
7588 # Check whether --enable-largefile was given.
7589 if test ${enable_largefile+y}
7590 then :
7591 enableval=$enable_largefile;
7594 if test "$enable_largefile" != no; then
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7597 printf %s "checking for special C compiler options needed for large files... " >&6; }
7598 if test ${ac_cv_sys_largefile_CC+y}
7599 then :
7600 printf %s "(cached) " >&6
7601 else $as_nop
7602 ac_cv_sys_largefile_CC=no
7603 if test "$GCC" != yes; then
7604 ac_save_CC=$CC
7605 while :; do
7606 # IRIX 6.2 and later do not support large files by default,
7607 # so use the C compiler's -n32 option if that helps.
7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609 /* end confdefs.h. */
7610 #include <sys/types.h>
7611 /* Check that off_t can represent 2**63 - 1 correctly.
7612 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7613 since some C++ compilers masquerading as C compilers
7614 incorrectly reject 9223372036854775807. */
7615 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7616 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7617 && LARGE_OFF_T % 2147483647 == 1)
7618 ? 1 : -1];
7620 main (void)
7624 return 0;
7626 _ACEOF
7627 if ac_fn_c_try_compile "$LINENO"
7628 then :
7629 break
7631 rm -f core conftest.err conftest.$ac_objext conftest.beam
7632 CC="$CC -n32"
7633 if ac_fn_c_try_compile "$LINENO"
7634 then :
7635 ac_cv_sys_largefile_CC=' -n32'; break
7637 rm -f core conftest.err conftest.$ac_objext conftest.beam
7638 break
7639 done
7640 CC=$ac_save_CC
7641 rm -f conftest.$ac_ext
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7645 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7646 if test "$ac_cv_sys_largefile_CC" != no; then
7647 CC=$CC$ac_cv_sys_largefile_CC
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7651 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7652 if test ${ac_cv_sys_file_offset_bits+y}
7653 then :
7654 printf %s "(cached) " >&6
7655 else $as_nop
7656 while :; do
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7659 #include <sys/types.h>
7660 /* Check that off_t can represent 2**63 - 1 correctly.
7661 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7662 since some C++ compilers masquerading as C compilers
7663 incorrectly reject 9223372036854775807. */
7664 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7665 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7666 && LARGE_OFF_T % 2147483647 == 1)
7667 ? 1 : -1];
7669 main (void)
7673 return 0;
7675 _ACEOF
7676 if ac_fn_c_try_compile "$LINENO"
7677 then :
7678 ac_cv_sys_file_offset_bits=no; break
7680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7683 #define _FILE_OFFSET_BITS 64
7684 #include <sys/types.h>
7685 /* Check that off_t can represent 2**63 - 1 correctly.
7686 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7687 since some C++ compilers masquerading as C compilers
7688 incorrectly reject 9223372036854775807. */
7689 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7690 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7691 && LARGE_OFF_T % 2147483647 == 1)
7692 ? 1 : -1];
7694 main (void)
7698 return 0;
7700 _ACEOF
7701 if ac_fn_c_try_compile "$LINENO"
7702 then :
7703 ac_cv_sys_file_offset_bits=64; break
7705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7706 ac_cv_sys_file_offset_bits=unknown
7707 break
7708 done
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7711 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7712 case $ac_cv_sys_file_offset_bits in #(
7713 no | unknown) ;;
7715 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7717 esac
7718 rm -rf conftest*
7719 if test $ac_cv_sys_file_offset_bits = unknown; then
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7721 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7722 if test ${ac_cv_sys_large_files+y}
7723 then :
7724 printf %s "(cached) " >&6
7725 else $as_nop
7726 while :; do
7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7729 #include <sys/types.h>
7730 /* Check that off_t can represent 2**63 - 1 correctly.
7731 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7732 since some C++ compilers masquerading as C compilers
7733 incorrectly reject 9223372036854775807. */
7734 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7735 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7736 && LARGE_OFF_T % 2147483647 == 1)
7737 ? 1 : -1];
7739 main (void)
7743 return 0;
7745 _ACEOF
7746 if ac_fn_c_try_compile "$LINENO"
7747 then :
7748 ac_cv_sys_large_files=no; break
7750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7753 #define _LARGE_FILES 1
7754 #include <sys/types.h>
7755 /* Check that off_t can represent 2**63 - 1 correctly.
7756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7757 since some C++ compilers masquerading as C compilers
7758 incorrectly reject 9223372036854775807. */
7759 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7761 && LARGE_OFF_T % 2147483647 == 1)
7762 ? 1 : -1];
7764 main (void)
7768 return 0;
7770 _ACEOF
7771 if ac_fn_c_try_compile "$LINENO"
7772 then :
7773 ac_cv_sys_large_files=1; break
7775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7776 ac_cv_sys_large_files=unknown
7777 break
7778 done
7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7781 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7782 case $ac_cv_sys_large_files in #(
7783 no | unknown) ;;
7785 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7787 esac
7788 rm -rf conftest*
7793 ac_header= ac_cache=
7794 for ac_item in $ac_header_c_list
7796 if test $ac_cache; then
7797 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7798 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7799 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7801 ac_header= ac_cache=
7802 elif test $ac_header; then
7803 ac_cache=$ac_item
7804 else
7805 ac_header=$ac_item
7807 done
7816 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7817 then :
7819 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7822 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7823 if test "x$ac_cv_header_CL_cl_h" = xyes
7824 then :
7825 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7828 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7829 if test "x$ac_cv_header_EGL_egl_h" = xyes
7830 then :
7831 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7834 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7835 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7836 then :
7837 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_arpa_inet_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_asm_types_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_asm_user_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_elf_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_float_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_gettext_po_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_libproc_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_link_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_linux_filter_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_linux_input_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_linux_major_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_param_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_serial_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_types_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_lwp_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_mach_mach_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_machine_cpu_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_mntent_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_netdb_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_netinet_in_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_port_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_pthread_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_pwd_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_sched_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_scsi_sg_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_stdint_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_sys_attr_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_sys_auxv_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sys_cdio_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sys_epoll_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sys_event_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sys_extattr_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sys_filio_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_ipc_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_link_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_modem_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_mtio_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_param_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_prctl_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_queue_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_random_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_resource_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_shm_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_signal_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_sockio_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_strtio_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_syscall_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_times_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_uio_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_user_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_utsname_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_vnode_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_xattr_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_syscall_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_utime_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8299 then :
8301 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8305 if test $ac_cv_header_sys_mkdev_h = no; then
8306 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8308 then :
8310 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8316 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8317 if test ${ac_cv_header_stat_broken+y}
8318 then :
8319 printf %s "(cached) " >&6
8320 else $as_nop
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 #include <sys/types.h>
8324 #include <sys/stat.h>
8326 #if defined S_ISBLK && defined S_IFDIR
8327 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8328 #endif
8330 #if defined S_ISBLK && defined S_IFCHR
8331 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8332 #endif
8334 #if defined S_ISLNK && defined S_IFREG
8335 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8336 #endif
8338 #if defined S_ISSOCK && defined S_IFREG
8339 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8340 #endif
8342 _ACEOF
8343 if ac_fn_c_try_compile "$LINENO"
8344 then :
8345 ac_cv_header_stat_broken=no
8346 else $as_nop
8347 ac_cv_header_stat_broken=yes
8349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8352 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8353 if test $ac_cv_header_stat_broken = yes; then
8355 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8361 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8362 #ifdef HAVE_SYS_PARAM_H
8363 # include <sys/param.h>
8364 #endif
8366 if test "x$ac_cv_header_sys_conf_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8372 #ifdef HAVE_SYS_PARAM_H
8373 # include <sys/param.h>
8374 #endif
8376 if test "x$ac_cv_header_sys_mount_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8382 #ifdef HAVE_SYS_PARAM_H
8383 # include <sys/param.h>
8384 #endif
8386 if test "x$ac_cv_header_sys_statfs_h" = xyes
8387 then :
8388 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_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_user_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_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_vfs_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8413 saved_sysctl_h_CFLAGS=$CFLAGS
8414 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8415 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8416 #ifdef HAVE_SYS_PARAM_H
8417 # include <sys/param.h>
8418 #endif
8420 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8426 CFLAGS=$saved_sysctl_h_CFLAGS
8428 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8429 #include <sys/socket.h>
8430 #ifdef HAVE_SYS_SOCKETVAR_H
8431 # include <sys/socketvar.h>
8432 #endif
8433 #ifdef HAVE_NET_ROUTE_H
8434 # include <net/route.h>
8435 #endif
8436 #ifdef HAVE_NETINET_IN_H
8437 # include <netinet/in.h>
8438 #endif
8439 #ifdef HAVE_NETINET_IN_SYSTM_H
8440 # include <netinet/in_systm.h>
8441 #endif
8442 #ifdef HAVE_NET_IF_H
8443 # include <net/if.h>
8444 #endif
8445 #ifdef HAVE_NETINET_IP_H
8446 # include <netinet/ip.h>
8447 #endif
8449 if test "x$ac_cv_header_netinet_ip_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8455 #include <sys/socket.h>
8456 #ifdef HAVE_SYS_SOCKETVAR_H
8457 # include <sys/socketvar.h>
8458 #endif
8459 #ifdef HAVE_NET_ROUTE_H
8460 # include <net/route.h>
8461 #endif
8462 #ifdef HAVE_NETINET_IN_H
8463 # include <netinet/in.h>
8464 #endif
8465 #ifdef HAVE_NETINET_IN_SYSTM_H
8466 # include <netinet/in_systm.h>
8467 #endif
8468 #ifdef HAVE_NET_IF_H
8469 # include <net/if.h>
8470 #endif
8471 #ifdef HAVE_NETINET_IP_H
8472 # include <netinet/ip.h>
8473 #endif
8475 if test "x$ac_cv_header_net_if_h" = xyes
8476 then :
8477 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8481 #include <sys/socket.h>
8482 #ifdef HAVE_SYS_SOCKETVAR_H
8483 # include <sys/socketvar.h>
8484 #endif
8485 #ifdef HAVE_NET_ROUTE_H
8486 # include <net/route.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IN_H
8489 # include <netinet/in.h>
8490 #endif
8491 #ifdef HAVE_NETINET_IN_SYSTM_H
8492 # include <netinet/in_systm.h>
8493 #endif
8494 #ifdef HAVE_NET_IF_H
8495 # include <net/if.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IP_H
8498 # include <netinet/ip.h>
8499 #endif
8501 if test "x$ac_cv_header_net_if_arp_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8507 #include <sys/socket.h>
8508 #ifdef HAVE_SYS_SOCKETVAR_H
8509 # include <sys/socketvar.h>
8510 #endif
8511 #ifdef HAVE_NET_ROUTE_H
8512 # include <net/route.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IN_H
8515 # include <netinet/in.h>
8516 #endif
8517 #ifdef HAVE_NETINET_IN_SYSTM_H
8518 # include <netinet/in_systm.h>
8519 #endif
8520 #ifdef HAVE_NET_IF_H
8521 # include <net/if.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IP_H
8524 # include <netinet/ip.h>
8525 #endif
8527 if test "x$ac_cv_header_net_if_dl_h" = xyes
8528 then :
8529 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8532 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8533 #include <sys/socket.h>
8534 #ifdef HAVE_SYS_SOCKETVAR_H
8535 # include <sys/socketvar.h>
8536 #endif
8537 #ifdef HAVE_NET_ROUTE_H
8538 # include <net/route.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IN_H
8541 # include <netinet/in.h>
8542 #endif
8543 #ifdef HAVE_NETINET_IN_SYSTM_H
8544 # include <netinet/in_systm.h>
8545 #endif
8546 #ifdef HAVE_NET_IF_H
8547 # include <net/if.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IP_H
8550 # include <netinet/ip.h>
8551 #endif
8553 if test "x$ac_cv_header_net_if_types_h" = xyes
8554 then :
8555 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8558 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8559 #include <sys/socket.h>
8560 #ifdef HAVE_SYS_SOCKETVAR_H
8561 # include <sys/socketvar.h>
8562 #endif
8563 #ifdef HAVE_NET_ROUTE_H
8564 # include <net/route.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IN_H
8567 # include <netinet/in.h>
8568 #endif
8569 #ifdef HAVE_NETINET_IN_SYSTM_H
8570 # include <netinet/in_systm.h>
8571 #endif
8572 #ifdef HAVE_NET_IF_H
8573 # include <net/if.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IP_H
8576 # include <netinet/ip.h>
8577 #endif
8579 if test "x$ac_cv_header_net_route_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8585 #include <sys/socket.h>
8586 #ifdef HAVE_SYS_SOCKETVAR_H
8587 # include <sys/socketvar.h>
8588 #endif
8589 #ifdef HAVE_NET_ROUTE_H
8590 # include <net/route.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IN_H
8593 # include <netinet/in.h>
8594 #endif
8595 #ifdef HAVE_NETINET_IN_SYSTM_H
8596 # include <netinet/in_systm.h>
8597 #endif
8598 #ifdef HAVE_NET_IF_H
8599 # include <net/if.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IP_H
8602 # include <netinet/ip.h>
8603 #endif
8605 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8606 then :
8607 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8610 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8611 #include <sys/socket.h>
8612 #ifdef HAVE_SYS_SOCKETVAR_H
8613 # include <sys/socketvar.h>
8614 #endif
8615 #ifdef HAVE_NET_ROUTE_H
8616 # include <net/route.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IN_H
8619 # include <netinet/in.h>
8620 #endif
8621 #ifdef HAVE_NETINET_IN_SYSTM_H
8622 # include <netinet/in_systm.h>
8623 #endif
8624 #ifdef HAVE_NET_IF_H
8625 # include <net/if.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IP_H
8628 # include <netinet/ip.h>
8629 #endif
8631 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8632 then :
8633 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8636 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8637 #include <sys/socket.h>
8638 #ifdef HAVE_SYS_SOCKETVAR_H
8639 # include <sys/socketvar.h>
8640 #endif
8641 #ifdef HAVE_NET_ROUTE_H
8642 # include <net/route.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IN_H
8645 # include <netinet/in.h>
8646 #endif
8647 #ifdef HAVE_NETINET_IN_SYSTM_H
8648 # include <netinet/in_systm.h>
8649 #endif
8650 #ifdef HAVE_NET_IF_H
8651 # include <net/if.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IP_H
8654 # include <netinet/ip.h>
8655 #endif
8657 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8663 #include <sys/socket.h>
8664 #ifdef HAVE_SYS_SOCKETVAR_H
8665 # include <sys/socketvar.h>
8666 #endif
8667 #ifdef HAVE_NET_ROUTE_H
8668 # include <net/route.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IN_H
8671 # include <netinet/in.h>
8672 #endif
8673 #ifdef HAVE_NETINET_IN_SYSTM_H
8674 # include <netinet/in_systm.h>
8675 #endif
8676 #ifdef HAVE_NET_IF_H
8677 # include <net/if.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IP_H
8680 # include <netinet/ip.h>
8681 #endif
8683 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8684 then :
8685 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8688 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8689 #include <sys/socket.h>
8690 #ifdef HAVE_SYS_SOCKETVAR_H
8691 # include <sys/socketvar.h>
8692 #endif
8693 #ifdef HAVE_NET_ROUTE_H
8694 # include <net/route.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IN_H
8697 # include <netinet/in.h>
8698 #endif
8699 #ifdef HAVE_NETINET_IN_SYSTM_H
8700 # include <netinet/in_systm.h>
8701 #endif
8702 #ifdef HAVE_NET_IF_H
8703 # include <net/if.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IP_H
8706 # include <netinet/ip.h>
8707 #endif
8709 if test "x$ac_cv_header_netinet_udp_h" = xyes
8710 then :
8711 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8714 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8715 #include <sys/socket.h>
8716 #ifdef HAVE_SYS_SOCKETVAR_H
8717 # include <sys/socketvar.h>
8718 #endif
8719 #ifdef HAVE_NET_ROUTE_H
8720 # include <net/route.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IN_H
8723 # include <netinet/in.h>
8724 #endif
8725 #ifdef HAVE_NETINET_IN_SYSTM_H
8726 # include <netinet/in_systm.h>
8727 #endif
8728 #ifdef HAVE_NET_IF_H
8729 # include <net/if.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IP_H
8732 # include <netinet/ip.h>
8733 #endif
8735 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8736 then :
8737 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8741 #include <sys/socket.h>
8742 #ifdef HAVE_SYS_SOCKETVAR_H
8743 # include <sys/socketvar.h>
8744 #endif
8745 #ifdef HAVE_NET_ROUTE_H
8746 # include <net/route.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IN_H
8749 # include <netinet/in.h>
8750 #endif
8751 #ifdef HAVE_NETINET_IN_SYSTM_H
8752 # include <netinet/in_systm.h>
8753 #endif
8754 #ifdef HAVE_NET_IF_H
8755 # include <net/if.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IP_H
8758 # include <netinet/ip.h>
8759 #endif
8761 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8762 then :
8763 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8766 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8767 #include <sys/socket.h>
8768 #ifdef HAVE_SYS_SOCKETVAR_H
8769 # include <sys/socketvar.h>
8770 #endif
8771 #ifdef HAVE_NET_ROUTE_H
8772 # include <net/route.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IN_H
8775 # include <netinet/in.h>
8776 #endif
8777 #ifdef HAVE_NETINET_IN_SYSTM_H
8778 # include <netinet/in_systm.h>
8779 #endif
8780 #ifdef HAVE_NET_IF_H
8781 # include <net/if.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IP_H
8784 # include <netinet/ip.h>
8785 #endif
8787 if test "x$ac_cv_header_sys_un_h" = xyes
8788 then :
8789 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8794 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8795 #include <sys/socket.h>
8796 #ifdef HAVE_SYS_SOCKETVAR_H
8797 # include <sys/socketvar.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IN_H
8800 # include <netinet/in.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IN_SYSTM_H
8803 # include <netinet/in_systm.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IP_H
8806 # include <netinet/ip.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IP_VAR_H
8809 # include <netinet/ip_var.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IP_ICMP_H
8812 # include <netinet/ip_icmp.h>
8813 #endif
8814 #ifdef HAVE_NETINET_UDP_H
8815 # include <netinet/udp.h>
8816 #endif
8817 #ifdef HAVE_NETINET_TCP_H
8818 # include <netinet/tcp.h>
8819 #endif
8821 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8822 then :
8823 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8826 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8827 #include <sys/socket.h>
8828 #ifdef HAVE_SYS_SOCKETVAR_H
8829 # include <sys/socketvar.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IN_H
8832 # include <netinet/in.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IN_SYSTM_H
8835 # include <netinet/in_systm.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IP_H
8838 # include <netinet/ip.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IP_VAR_H
8841 # include <netinet/ip_var.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IP_ICMP_H
8844 # include <netinet/ip_icmp.h>
8845 #endif
8846 #ifdef HAVE_NETINET_UDP_H
8847 # include <netinet/udp.h>
8848 #endif
8849 #ifdef HAVE_NETINET_TCP_H
8850 # include <netinet/tcp.h>
8851 #endif
8853 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8854 then :
8855 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8858 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8859 #include <sys/socket.h>
8860 #ifdef HAVE_SYS_SOCKETVAR_H
8861 # include <sys/socketvar.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IN_SYSTM_H
8867 # include <netinet/in_systm.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_H
8870 # include <netinet/ip.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_VAR_H
8873 # include <netinet/ip_var.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IP_ICMP_H
8876 # include <netinet/ip_icmp.h>
8877 #endif
8878 #ifdef HAVE_NETINET_UDP_H
8879 # include <netinet/udp.h>
8880 #endif
8881 #ifdef HAVE_NETINET_TCP_H
8882 # include <netinet/tcp.h>
8883 #endif
8885 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8886 then :
8887 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_H
8896 # include <netinet/in.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_SYSTM_H
8899 # include <netinet/in_systm.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_H
8902 # include <netinet/ip.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_VAR_H
8905 # include <netinet/ip_var.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_ICMP_H
8908 # include <netinet/ip_icmp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_UDP_H
8911 # include <netinet/udp.h>
8912 #endif
8913 #ifdef HAVE_NETINET_TCP_H
8914 # include <netinet/tcp.h>
8915 #endif
8917 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8918 then :
8919 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8924 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8925 #include <sys/socket.h>
8926 #ifdef HAVE_ASM_TYPES_H
8927 # include <asm/types.h>
8928 #endif
8929 #ifdef HAVE_LINUX_TYPES_H
8930 # include <linux/types.h>
8931 #endif
8933 if test "x$ac_cv_header_linux_ipx_h" = xyes
8934 then :
8935 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_ASM_TYPES_H
8941 # include <asm/types.h>
8942 #endif
8943 #ifdef HAVE_LINUX_TYPES_H
8944 # include <linux/types.h>
8945 #endif
8947 if test "x$ac_cv_header_linux_irda_h" = xyes
8948 then :
8949 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8952 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8953 #include <sys/socket.h>
8954 #ifdef HAVE_ASM_TYPES_H
8955 # include <asm/types.h>
8956 #endif
8957 #ifdef HAVE_LINUX_TYPES_H
8958 # include <linux/types.h>
8959 #endif
8961 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8968 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8969 #include <sys/socket.h>
8970 #ifdef HAVE_NETINET_IN_H
8971 # include <netinet/in.h>
8972 #endif
8973 #ifdef HAVE_ARPA_NAMESER_H
8974 # include <arpa/nameser.h>
8975 #endif
8977 if test "x$ac_cv_header_resolv_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8986 if test "x$ac_cv_header_ifaddrs_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8995 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9003 #ifdef HAVE_SYS_UCONTEXT_H
9004 #include <sys/ucontext.h>
9005 #endif
9007 if test "x$ac_cv_header_sys_thr_h" = xyes
9008 then :
9009 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9015 #include <pthread.h>
9016 #endif
9018 if test "x$ac_cv_header_pthread_np_h" = xyes
9019 then :
9020 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9026 #include <sys/types.h>
9027 #ifdef HAVE_ASM_TYPES_H
9028 #include <asm/types.h>
9029 #endif
9031 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9032 then :
9033 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9038 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9039 #include <sys/param.h>
9040 #endif
9041 #include <sys/socket.h>
9042 #ifdef HAVE_SYS_QUEUE_H
9043 #include <sys/queue.h>
9044 #endif
9046 if test "x$ac_cv_header_libprocstat_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9053 if test "x$ac_cv_header_sys_xattr_h" = xyes
9054 then
9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9056 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9057 if test ${wine_cv_xattr_extra_args+y}
9058 then :
9059 printf %s "(cached) " >&6
9060 else $as_nop
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 #include <sys/xattr.h>
9065 main (void)
9067 getxattr("", "", "", 0, 0, 0);
9069 return 0;
9071 _ACEOF
9072 if ac_fn_c_try_compile "$LINENO"
9073 then :
9074 wine_cv_xattr_extra_args=yes
9075 else $as_nop
9076 wine_cv_xattr_extra_args=no
9078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9081 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9082 test $wine_cv_xattr_extra_args != yes ||
9083 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9088 DLLFLAGS=""
9090 LDDLLFLAGS=""
9092 LDEXECFLAGS=""
9094 EXTRACFLAGS=""
9096 UNIXDLLFLAGS="-fPIC"
9098 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9100 TOP_INSTALL_LIB=""
9102 TOP_INSTALL_DEV=""
9104 WINELOADER_LDFLAGS=""
9106 WINEPRELOADER_LDFLAGS=""
9108 LIBEXT="so"
9109 # Extract the first word of "ldd", so it can be a program name with args.
9110 set dummy ldd; ac_word=$2
9111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9112 printf %s "checking for $ac_word... " >&6; }
9113 if test ${ac_cv_path_LDD+y}
9114 then :
9115 printf %s "(cached) " >&6
9116 else $as_nop
9117 case $LDD in
9118 [\\/]* | ?:[\\/]*)
9119 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 as_dummy="/sbin:/usr/sbin:$PATH"
9124 for as_dir in $as_dummy
9126 IFS=$as_save_IFS
9127 case $as_dir in #(((
9128 '') as_dir=./ ;;
9129 */) ;;
9130 *) as_dir=$as_dir/ ;;
9131 esac
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9134 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9136 break 2
9138 done
9139 done
9140 IFS=$as_save_IFS
9142 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9144 esac
9146 LDD=$ac_cv_path_LDD
9147 if test -n "$LDD"; then
9148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9149 printf "%s\n" "$LDD" >&6; }
9150 else
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 printf "%s\n" "no" >&6; }
9156 if test -n "$ac_tool_prefix"; then
9157 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9158 set dummy ${ac_tool_prefix}otool; ac_word=$2
9159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9160 printf %s "checking for $ac_word... " >&6; }
9161 if test ${ac_cv_prog_OTOOL+y}
9162 then :
9163 printf %s "(cached) " >&6
9164 else $as_nop
9165 if test -n "$OTOOL"; then
9166 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9167 else
9168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 for as_dir in $PATH
9171 IFS=$as_save_IFS
9172 case $as_dir in #(((
9173 '') as_dir=./ ;;
9174 */) ;;
9175 *) as_dir=$as_dir/ ;;
9176 esac
9177 for ac_exec_ext in '' $ac_executable_extensions; do
9178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9179 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9181 break 2
9183 done
9184 done
9185 IFS=$as_save_IFS
9189 OTOOL=$ac_cv_prog_OTOOL
9190 if test -n "$OTOOL"; then
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9192 printf "%s\n" "$OTOOL" >&6; }
9193 else
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9195 printf "%s\n" "no" >&6; }
9200 if test -z "$ac_cv_prog_OTOOL"; then
9201 ac_ct_OTOOL=$OTOOL
9202 # Extract the first word of "otool", so it can be a program name with args.
9203 set dummy otool; ac_word=$2
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 printf %s "checking for $ac_word... " >&6; }
9206 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9207 then :
9208 printf %s "(cached) " >&6
9209 else $as_nop
9210 if test -n "$ac_ct_OTOOL"; then
9211 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9212 else
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 for as_dir in $PATH
9216 IFS=$as_save_IFS
9217 case $as_dir in #(((
9218 '') as_dir=./ ;;
9219 */) ;;
9220 *) as_dir=$as_dir/ ;;
9221 esac
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_ac_ct_OTOOL="otool"
9225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9226 break 2
9228 done
9229 done
9230 IFS=$as_save_IFS
9234 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9235 if test -n "$ac_ct_OTOOL"; then
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9237 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9238 else
9239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 printf "%s\n" "no" >&6; }
9243 if test "x$ac_ct_OTOOL" = x; then
9244 OTOOL="otool"
9245 else
9246 case $cross_compiling:$ac_tool_warned in
9247 yes:)
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9249 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9250 ac_tool_warned=yes ;;
9251 esac
9252 OTOOL=$ac_ct_OTOOL
9254 else
9255 OTOOL="$ac_cv_prog_OTOOL"
9258 if test -n "$ac_tool_prefix"; then
9259 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9260 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262 printf %s "checking for $ac_word... " >&6; }
9263 if test ${ac_cv_prog_READELF+y}
9264 then :
9265 printf %s "(cached) " >&6
9266 else $as_nop
9267 if test -n "$READELF"; then
9268 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9269 else
9270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 for as_dir in $PATH
9273 IFS=$as_save_IFS
9274 case $as_dir in #(((
9275 '') as_dir=./ ;;
9276 */) ;;
9277 *) as_dir=$as_dir/ ;;
9278 esac
9279 for ac_exec_ext in '' $ac_executable_extensions; do
9280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9281 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9283 break 2
9285 done
9286 done
9287 IFS=$as_save_IFS
9291 READELF=$ac_cv_prog_READELF
9292 if test -n "$READELF"; then
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9294 printf "%s\n" "$READELF" >&6; }
9295 else
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 printf "%s\n" "no" >&6; }
9302 if test -z "$ac_cv_prog_READELF"; then
9303 ac_ct_READELF=$READELF
9304 # Extract the first word of "readelf", so it can be a program name with args.
9305 set dummy readelf; ac_word=$2
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 printf %s "checking for $ac_word... " >&6; }
9308 if test ${ac_cv_prog_ac_ct_READELF+y}
9309 then :
9310 printf %s "(cached) " >&6
9311 else $as_nop
9312 if test -n "$ac_ct_READELF"; then
9313 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9318 IFS=$as_save_IFS
9319 case $as_dir in #(((
9320 '') as_dir=./ ;;
9321 */) ;;
9322 *) as_dir=$as_dir/ ;;
9323 esac
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_ac_ct_READELF="readelf"
9327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9328 break 2
9330 done
9331 done
9332 IFS=$as_save_IFS
9336 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9337 if test -n "$ac_ct_READELF"; then
9338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9339 printf "%s\n" "$ac_ct_READELF" >&6; }
9340 else
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9342 printf "%s\n" "no" >&6; }
9345 if test "x$ac_ct_READELF" = x; then
9346 READELF="true"
9347 else
9348 case $cross_compiling:$ac_tool_warned in
9349 yes:)
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9351 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9352 ac_tool_warned=yes ;;
9353 esac
9354 READELF=$ac_ct_READELF
9356 else
9357 READELF="$ac_cv_prog_READELF"
9360 wine_rules="all:"
9361 SUBDIRS=""
9363 DISABLED_SUBDIRS=""
9365 CONFIGURE_TARGETS=""
9368 wine_fn_config_makefile ()
9370 as_fn_append SUBDIRS " \\$as_nl $1"
9371 eval enable=\$$2
9372 case "$enable" in
9373 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9374 *aarch64*|*arm*|*i386*|*x86_64*)
9375 if test -n "$PE_ARCHS"
9376 then
9377 for i in $PE_ARCHS
9379 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9380 done
9381 else
9382 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9383 fi;;
9384 esac
9387 wine_fn_config_symlink ()
9389 ac_links=$@
9390 as_fn_append wine_rules "
9391 $ac_links:
9392 @./config.status \$@"
9393 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9396 case $host_os in
9397 cygwin*|mingw32*)
9398 LIBEXT="dll"
9399 EXTRACFLAGS="-D__WINE_PE_BUILD"
9400 case $host_cpu in
9401 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9402 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9403 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9404 then :
9405 printf %s "(cached) " >&6
9406 else $as_nop
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"
9414 then :
9415 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9416 else $as_nop
9417 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9424 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9425 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9426 then :
9427 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9428 fi ;;
9429 esac
9430 enable_loader=${enable_loader:-no}
9431 enable_server=${enable_server:-no}
9432 with_x=${with_x:-no}
9433 with_pthread=${with_pthread:-no}
9436 darwin*|macosx*)
9437 LIBEXT="dylib"
9438 DLLFLAGS="$DLLFLAGS -fPIC"
9439 LDDLLFLAGS="-fPIC"
9440 enable_winemac_drv=${enable_winemac_drv:-yes}
9441 CARBON_LIBS="-framework Carbon"
9443 COREFOUNDATION_LIBS="-framework CoreFoundation"
9445 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9447 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9449 METAL_LIBS="-framework Metal"
9451 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9453 CORESERVICES_LIBS="-framework CoreServices"
9455 APPKIT_LIBS="-framework AppKit"
9457 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9459 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9462 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9464 wine_can_build_preloader=yes
9465 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9467 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9468 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9469 then :
9470 printf %s "(cached) " >&6
9471 else $as_nop
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"
9479 then :
9480 ac_cv_cflags__Wl__no_new_main__e__main=yes
9481 else $as_nop
9482 ac_cv_cflags__Wl__no_new_main__e__main=no
9484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9489 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9490 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9491 then :
9492 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9494 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9495 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9496 then :
9497 printf %s "(cached) " >&6
9498 else $as_nop
9499 ac_wine_try_cflags_saved=$CFLAGS
9500 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9503 int main(int argc, char **argv) { return 0; }
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"
9506 then :
9507 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9508 else $as_nop
9509 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9516 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9517 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9518 then :
9519 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9520 else $as_nop
9521 wine_can_build_preloader=no
9523 else $as_nop
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9525 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9526 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9527 then :
9528 printf %s "(cached) " >&6
9529 else $as_nop
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"
9537 then :
9538 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9539 else $as_nop
9540 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9543 conftest$ac_exeext conftest.$ac_ext
9544 CFLAGS=$ac_wine_try_cflags_saved
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9547 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9548 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9549 then :
9550 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9551 else $as_nop
9552 wine_can_build_preloader=no
9555 if test "$wine_can_build_preloader" = "yes"
9556 then
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9558 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9559 if test ${ac_cv_cflags__Wl__no_pie+y}
9560 then :
9561 printf %s "(cached) " >&6
9562 else $as_nop
9563 ac_wine_try_cflags_saved=$CFLAGS
9564 CFLAGS="$CFLAGS -Wl,-no_pie"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9567 int main(int argc, char **argv) { return 0; }
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"
9570 then :
9571 ac_cv_cflags__Wl__no_pie=yes
9572 else $as_nop
9573 ac_cv_cflags__Wl__no_pie=no
9575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9576 conftest$ac_exeext conftest.$ac_ext
9577 CFLAGS=$ac_wine_try_cflags_saved
9579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9580 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9581 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9582 then :
9583 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9585 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9586 else
9587 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9590 if test "x$with_coreaudio" != "xno";
9591 then
9592 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9594 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9596 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9597 then
9598 OPENCL_LIBS="-framework OpenCL"
9600 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9604 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9605 ac_ext=m
9606 ac_cpp='$OBJCPP $CPPFLAGS'
9607 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9611 ac_ext=m
9612 ac_cpp='$OBJCPP $CPPFLAGS'
9613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9616 if test -n "$ac_tool_prefix"; then
9617 for ac_prog in gcc objcc objc cc CC clang
9619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9622 printf %s "checking for $ac_word... " >&6; }
9623 if test ${ac_cv_prog_OBJC+y}
9624 then :
9625 printf %s "(cached) " >&6
9626 else $as_nop
9627 if test -n "$OBJC"; then
9628 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9629 else
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9631 for as_dir in $PATH
9633 IFS=$as_save_IFS
9634 case $as_dir in #(((
9635 '') as_dir=./ ;;
9636 */) ;;
9637 *) as_dir=$as_dir/ ;;
9638 esac
9639 for ac_exec_ext in '' $ac_executable_extensions; do
9640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9641 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9643 break 2
9645 done
9646 done
9647 IFS=$as_save_IFS
9651 OBJC=$ac_cv_prog_OBJC
9652 if test -n "$OBJC"; then
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9654 printf "%s\n" "$OBJC" >&6; }
9655 else
9656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 printf "%s\n" "no" >&6; }
9661 test -n "$OBJC" && break
9662 done
9664 if test -z "$OBJC"; then
9665 ac_ct_OBJC=$OBJC
9666 for ac_prog in gcc objcc objc cc CC clang
9668 # Extract the first word of "$ac_prog", so it can be a program name with args.
9669 set dummy $ac_prog; ac_word=$2
9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9671 printf %s "checking for $ac_word... " >&6; }
9672 if test ${ac_cv_prog_ac_ct_OBJC+y}
9673 then :
9674 printf %s "(cached) " >&6
9675 else $as_nop
9676 if test -n "$ac_ct_OBJC"; then
9677 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9678 else
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9680 for as_dir in $PATH
9682 IFS=$as_save_IFS
9683 case $as_dir in #(((
9684 '') as_dir=./ ;;
9685 */) ;;
9686 *) as_dir=$as_dir/ ;;
9687 esac
9688 for ac_exec_ext in '' $ac_executable_extensions; do
9689 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9690 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9692 break 2
9694 done
9695 done
9696 IFS=$as_save_IFS
9700 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9701 if test -n "$ac_ct_OBJC"; then
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9703 printf "%s\n" "$ac_ct_OBJC" >&6; }
9704 else
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706 printf "%s\n" "no" >&6; }
9710 test -n "$ac_ct_OBJC" && break
9711 done
9713 if test "x$ac_ct_OBJC" = x; then
9714 OBJC="gcc"
9715 else
9716 case $cross_compiling:$ac_tool_warned in
9717 yes:)
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9719 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9720 ac_tool_warned=yes ;;
9721 esac
9722 OBJC=$ac_ct_OBJC
9726 # Provide some information about the compiler.
9727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9728 set X $ac_compile
9729 ac_compiler=$2
9730 for ac_option in --version -v -V -qversion; do
9731 { { ac_try="$ac_compiler $ac_option >&5"
9732 case "(($ac_try" in
9733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9734 *) ac_try_echo=$ac_try;;
9735 esac
9736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9737 printf "%s\n" "$ac_try_echo"; } >&5
9738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9739 ac_status=$?
9740 if test -s conftest.err; then
9741 sed '10a\
9742 ... rest of stderr output deleted ...
9743 10q' conftest.err >conftest.er1
9744 cat conftest.er1 >&5
9746 rm -f conftest.er1 conftest.err
9747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9748 test $ac_status = 0; }
9749 done
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9752 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9753 if test ${ac_cv_objc_compiler_gnu+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9761 main (void)
9763 #ifndef __GNUC__
9764 choke me
9765 #endif
9768 return 0;
9770 _ACEOF
9771 if ac_fn_objc_try_compile "$LINENO"
9772 then :
9773 ac_compiler_gnu=yes
9774 else $as_nop
9775 ac_compiler_gnu=no
9777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9778 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9782 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9783 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9785 if test $ac_compiler_gnu = yes; then
9786 GOBJC=yes
9787 else
9788 GOBJC=
9790 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9791 ac_save_OBJCFLAGS=$OBJCFLAGS
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9793 printf %s "checking whether $OBJC accepts -g... " >&6; }
9794 if test ${ac_cv_prog_objc_g+y}
9795 then :
9796 printf %s "(cached) " >&6
9797 else $as_nop
9798 ac_save_objc_werror_flag=$ac_objc_werror_flag
9799 ac_objc_werror_flag=yes
9800 ac_cv_prog_objc_g=no
9801 OBJCFLAGS="-g"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9806 main (void)
9810 return 0;
9812 _ACEOF
9813 if ac_fn_objc_try_compile "$LINENO"
9814 then :
9815 ac_cv_prog_objc_g=yes
9816 else $as_nop
9817 OBJCFLAGS=""
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9822 main (void)
9826 return 0;
9828 _ACEOF
9829 if ac_fn_objc_try_compile "$LINENO"
9830 then :
9832 else $as_nop
9833 ac_objc_werror_flag=$ac_save_objc_werror_flag
9834 OBJCFLAGS="-g"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9839 main (void)
9843 return 0;
9845 _ACEOF
9846 if ac_fn_objc_try_compile "$LINENO"
9847 then :
9848 ac_cv_prog_objc_g=yes
9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9855 ac_objc_werror_flag=$ac_save_objc_werror_flag
9857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9858 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9859 if test $ac_test_OBJCFLAGS; then
9860 OBJCFLAGS=$ac_save_OBJCFLAGS
9861 elif test $ac_cv_prog_objc_g = yes; then
9862 if test "$GOBJC" = yes; then
9863 OBJCFLAGS="-g -O2"
9864 else
9865 OBJCFLAGS="-g"
9867 else
9868 if test "$GOBJC" = yes; then
9869 OBJCFLAGS="-O2"
9870 else
9871 OBJCFLAGS=
9874 ac_ext=m
9875 ac_cpp='$OBJCPP $CPPFLAGS'
9876 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9877 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9878 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 #include <Metal/Metal.h>
9885 main (void)
9887 id<MTLDevice> device; device.registryID;
9889 return 0;
9891 _ACEOF
9892 if ac_fn_objc_try_compile "$LINENO"
9893 then :
9894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 printf "%s\n" "yes" >&6; }
9897 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9899 else $as_nop
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9901 printf "%s\n" "no" >&6; }
9903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9904 ac_ext=c
9905 ac_cpp='$CPP $CPPFLAGS'
9906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9911 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9912 WINELOADER_DEPENDS="wine_info.plist"
9916 linux-android*)
9918 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9920 DLLFLAGS="$DLLFLAGS -fPIC"
9921 LDDLLFLAGS="-fPIC"
9922 LDEXECFLAGS="-Wl,-pie"
9923 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9925 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9926 if test ${ac_cv_cflags__Wl__z_defs+y}
9927 then :
9928 printf %s "(cached) " >&6
9929 else $as_nop
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 CFLAGS="$CFLAGS -Wl,-z,defs"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9934 int main(int argc, char **argv) { return 0; }
9935 _ACEOF
9936 if ac_fn_c_try_link "$LINENO"
9937 then :
9938 ac_cv_cflags__Wl__z_defs=yes
9939 else $as_nop
9940 ac_cv_cflags__Wl__z_defs=no
9942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9947 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9948 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9949 then :
9950 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9953 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9954 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9955 then :
9956 printf %s "(cached) " >&6
9957 else $as_nop
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9962 int main(int argc, char **argv) { return 0; }
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"
9965 then :
9966 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9967 else $as_nop
9968 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9975 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9976 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9977 then :
9978 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9980 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9983 printf %s "checking for -lEGL... " >&6; }
9984 if test ${ac_cv_lib_soname_EGL+y}
9985 then :
9986 printf %s "(cached) " >&6
9987 else $as_nop
9988 ac_check_soname_save_LIBS=$LIBS
9989 LIBS="-lEGL $LIBS"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 char eglGetProcAddress ();
9998 main (void)
10000 return eglGetProcAddress ();
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"
10006 then :
10007 case "$LIBEXT" in
10008 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_EGL:+false} :
10012 then :
10013 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10014 fi ;;
10015 esac
10016 else $as_nop
10017 ac_cv_lib_soname_EGL=
10019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_EGL:+false} :
10024 then :
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 printf "%s\n" "not found" >&6; }
10028 else $as_nop
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10030 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10032 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10037 printf %s "checking for -lGLESv2... " >&6; }
10038 if test ${ac_cv_lib_soname_GLESv2+y}
10039 then :
10040 printf %s "(cached) " >&6
10041 else $as_nop
10042 ac_check_soname_save_LIBS=$LIBS
10043 LIBS="-lGLESv2 $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 char glFlush ();
10052 main (void)
10054 return glFlush ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"
10060 then :
10061 case "$LIBEXT" in
10062 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10063 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'` ;;
10064 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10065 if ${ac_cv_lib_soname_GLESv2:+false} :
10066 then :
10067 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10068 fi ;;
10069 esac
10070 else $as_nop
10071 ac_cv_lib_soname_GLESv2=
10073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_soname_save_LIBS
10077 if ${ac_cv_lib_soname_GLESv2:+false} :
10078 then :
10079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10080 printf "%s\n" "not found" >&6; }
10082 else $as_nop
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10084 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10086 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10091 if test "x$exec_prefix" = xNONE
10092 then
10093 case $host_cpu in
10094 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10095 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10096 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10097 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10098 esac
10104 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10106 test "$ac_cv_sys_file_offset_bits" = 64 &&
10107 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10109 case $host_cpu in
10110 *i[3456789]86*)
10111 DLLFLAGS="$DLLFLAGS -fno-PIC"
10112 LDDLLFLAGS="-fno-PIC"
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10114 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10115 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10116 then :
10117 printf %s "(cached) " >&6
10118 else $as_nop
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int main(int argc, char **argv) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"
10126 then :
10127 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10128 else $as_nop
10129 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10136 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10137 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10138 then :
10139 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10143 DLLFLAGS="$DLLFLAGS -fPIC"
10144 LDDLLFLAGS="-fPIC" ;;
10145 esac
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10148 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10149 if test ${ac_cv_cflags__Wl__z_defs+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,-z,defs"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"
10160 then :
10161 ac_cv_cflags__Wl__z_defs=yes
10162 else $as_nop
10163 ac_cv_cflags__Wl__z_defs=no
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10171 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10172 then :
10173 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10176 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10177 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10178 then :
10179 printf %s "(cached) " >&6
10180 else $as_nop
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int main(int argc, char **argv) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"
10188 then :
10189 ac_cv_cflags__Wl___export_dynamic=yes
10190 else $as_nop
10191 ac_cv_cflags__Wl___export_dynamic=no
10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10198 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10199 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10200 then :
10201 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10203 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10205 case $host_cpu in
10206 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10208 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10209 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10210 then :
10211 printf %s "(cached) " >&6
10212 else $as_nop
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"
10220 then :
10221 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10222 else $as_nop
10223 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10230 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10231 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10232 then :
10233 case $host_os in
10234 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10235 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10236 esac
10237 else $as_nop
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10239 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10240 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"
10251 then :
10252 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10253 else $as_nop
10254 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10261 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10262 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10263 then :
10264 case $host_os in
10265 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10266 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10267 esac
10269 # Extract the first word of "prelink", so it can be a program name with args.
10270 set dummy prelink; ac_word=$2
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 printf %s "checking for $ac_word... " >&6; }
10273 if test ${ac_cv_path_PRELINK+y}
10274 then :
10275 printf %s "(cached) " >&6
10276 else $as_nop
10277 case $PRELINK in
10278 [\\/]* | ?:[\\/]*)
10279 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in /sbin /usr/sbin $PATH
10285 IFS=$as_save_IFS
10286 case $as_dir in #(((
10287 '') as_dir=./ ;;
10288 */) ;;
10289 *) as_dir=$as_dir/ ;;
10290 esac
10291 for ac_exec_ext in '' $ac_executable_extensions; do
10292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10293 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10295 break 2
10297 done
10298 done
10299 IFS=$as_save_IFS
10301 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10303 esac
10305 PRELINK=$ac_cv_path_PRELINK
10306 if test -n "$PRELINK"; then
10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10308 printf "%s\n" "$PRELINK" >&6; }
10309 else
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10311 printf "%s\n" "no" >&6; }
10315 if test "x$PRELINK" = xfalse
10316 then
10317 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10321 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10322 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10323 then :
10324 printf %s "(cached) " >&6
10325 else $as_nop
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int main(int argc, char **argv) { return 0; }
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"
10333 then :
10334 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10335 else $as_nop
10336 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10343 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10344 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10345 then :
10346 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10349 esac
10351 esac
10353 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10354 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10355 enable_winemac_drv=${enable_winemac_drv:-no}
10357 PE_ARCHS=""
10359 cross_archs=
10360 if test ${enable_archs+y}
10361 then :
10362 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10363 ac_save_IFS=$IFS
10364 IFS=' ,'
10365 set x $enable_archs
10366 IFS=$ac_save_IFS
10367 shift
10368 for arch
10370 case $arch in
10371 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10372 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10373 esac
10374 done
10375 else $as_nop
10376 if test "x$with_mingw" != xno
10377 then
10378 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10379 case "x$with_mingw" in
10380 x|xyes) ;;
10381 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10382 esac
10386 for wine_arch in $cross_archs
10388 if eval \${${wine_arch}_CC:+false} :
10389 then :
10390 case $wine_arch in
10391 aarch64)
10392 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10394 # Extract the first word of "$ac_prog", so it can be a program name with args.
10395 set dummy $ac_prog; ac_word=$2
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 printf %s "checking for $ac_word... " >&6; }
10398 if test ${ac_cv_prog_aarch64_CC+y}
10399 then :
10400 printf %s "(cached) " >&6
10401 else $as_nop
10402 if test -n "$aarch64_CC"; then
10403 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10404 else
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10408 IFS=$as_save_IFS
10409 case $as_dir in #(((
10410 '') as_dir=./ ;;
10411 */) ;;
10412 *) as_dir=$as_dir/ ;;
10413 esac
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_aarch64_CC="$ac_prog"
10417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10418 break 2
10420 done
10421 done
10422 IFS=$as_save_IFS
10426 aarch64_CC=$ac_cv_prog_aarch64_CC
10427 if test -n "$aarch64_CC"; then
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10429 printf "%s\n" "$aarch64_CC" >&6; }
10430 else
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10432 printf "%s\n" "no" >&6; }
10436 test -n "$aarch64_CC" && break
10437 done
10438 test -n "$aarch64_CC" || aarch64_CC="false"
10441 arm)
10442 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10444 # Extract the first word of "$ac_prog", so it can be a program name with args.
10445 set dummy $ac_prog; ac_word=$2
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10447 printf %s "checking for $ac_word... " >&6; }
10448 if test ${ac_cv_prog_arm_CC+y}
10449 then :
10450 printf %s "(cached) " >&6
10451 else $as_nop
10452 if test -n "$arm_CC"; then
10453 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10454 else
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10458 IFS=$as_save_IFS
10459 case $as_dir in #(((
10460 '') as_dir=./ ;;
10461 */) ;;
10462 *) as_dir=$as_dir/ ;;
10463 esac
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_prog_arm_CC="$ac_prog"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10468 break 2
10470 done
10471 done
10472 IFS=$as_save_IFS
10476 arm_CC=$ac_cv_prog_arm_CC
10477 if test -n "$arm_CC"; then
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10479 printf "%s\n" "$arm_CC" >&6; }
10480 else
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 printf "%s\n" "no" >&6; }
10486 test -n "$arm_CC" && break
10487 done
10488 test -n "$arm_CC" || arm_CC="false"
10491 i386)
10492 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 "
10493 for ac_prog in $ac_prefix_list clang
10495 # Extract the first word of "$ac_prog", so it can be a program name with args.
10496 set dummy $ac_prog; ac_word=$2
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10498 printf %s "checking for $ac_word... " >&6; }
10499 if test ${ac_cv_prog_i386_CC+y}
10500 then :
10501 printf %s "(cached) " >&6
10502 else $as_nop
10503 if test -n "$i386_CC"; then
10504 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10505 else
10506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10507 for as_dir in $PATH
10509 IFS=$as_save_IFS
10510 case $as_dir in #(((
10511 '') as_dir=./ ;;
10512 */) ;;
10513 *) as_dir=$as_dir/ ;;
10514 esac
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10517 ac_cv_prog_i386_CC="$ac_prog"
10518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10519 break 2
10521 done
10522 done
10523 IFS=$as_save_IFS
10527 i386_CC=$ac_cv_prog_i386_CC
10528 if test -n "$i386_CC"; then
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10530 printf "%s\n" "$i386_CC" >&6; }
10531 else
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 printf "%s\n" "no" >&6; }
10537 test -n "$i386_CC" && break
10538 done
10539 test -n "$i386_CC" || i386_CC="false"
10542 x86_64)
10543 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10544 for ac_prog in $ac_prefix_list clang
10546 # Extract the first word of "$ac_prog", so it can be a program name with args.
10547 set dummy $ac_prog; ac_word=$2
10548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 printf %s "checking for $ac_word... " >&6; }
10550 if test ${ac_cv_prog_x86_64_CC+y}
10551 then :
10552 printf %s "(cached) " >&6
10553 else $as_nop
10554 if test -n "$x86_64_CC"; then
10555 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10556 else
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10560 IFS=$as_save_IFS
10561 case $as_dir in #(((
10562 '') as_dir=./ ;;
10563 */) ;;
10564 *) as_dir=$as_dir/ ;;
10565 esac
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_x86_64_CC="$ac_prog"
10569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10570 break 2
10572 done
10573 done
10574 IFS=$as_save_IFS
10578 x86_64_CC=$ac_cv_prog_x86_64_CC
10579 if test -n "$x86_64_CC"; then
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10581 printf "%s\n" "$x86_64_CC" >&6; }
10582 else
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10584 printf "%s\n" "no" >&6; }
10588 test -n "$x86_64_CC" && break
10589 done
10590 test -n "$x86_64_CC" || x86_64_CC="false"
10593 esac
10596 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10597 then :
10598 continue
10601 saved_CC=$CC
10602 saved_CFLAGS=$CFLAGS
10604 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10605 eval CC=\$${wine_arch}_CC
10606 eval ${wine_arch}_CFLAGS=\$CFLAGS
10607 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10608 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10610 target=""
10611 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10614 printf %s "checking whether $CC works... " >&6; }
10615 if eval test \${$as_wine_cv_crosscc+y}
10616 then :
10617 printf %s "(cached) " >&6
10618 else $as_nop
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10623 main (void)
10627 return 0;
10629 _ACEOF
10630 if ac_fn_c_try_compile "$LINENO"
10631 then :
10632 eval "$as_wine_cv_crosscc=yes"
10633 else $as_nop
10634 eval "$as_wine_cv_crosscc=no"
10636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10638 eval ac_res=\$$as_wine_cv_crosscc
10639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10640 printf "%s\n" "$ac_res" >&6; }
10641 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10642 then :
10643 set x $CC
10644 shift
10645 while test $# -ge 1
10647 case "$1" in
10648 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10649 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10650 esac
10651 shift
10652 done
10654 llvm_target=$target
10655 if test -z "$llvm_target"
10656 then
10657 case $wine_arch in
10658 i386) llvm_target=i686-windows ;;
10659 arm) llvm_target=armv7-windows ;;
10660 *) llvm_target=$wine_arch-windows ;;
10661 esac
10663 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10664 case $llvm_target in
10665 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10666 esac
10667 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10669 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10670 if eval test \${$as_ac_var+y}
10671 then :
10672 printf %s "(cached) " >&6
10673 else $as_nop
10674 ac_wine_try_cflags_saved=$CFLAGS
10675 ac_wine_try_cflags_saved_exeext=$ac_exeext
10676 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10677 ac_exeext=".exe"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10680 int __cdecl mainCRTStartup(void) { return 0; }
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"
10683 then :
10684 eval "$as_ac_var=yes"
10685 else $as_nop
10686 eval "$as_ac_var=no"
10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10689 conftest$ac_exeext conftest.$ac_ext
10690 CFLAGS=$ac_wine_try_cflags_saved
10691 ac_exeext=$ac_wine_try_cflags_saved_exeext
10693 eval ac_res=\$$as_ac_var
10694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10695 printf "%s\n" "$ac_res" >&6; }
10696 if eval test \"x\$"$as_ac_var"\" = x"yes"
10697 then :
10698 target=$llvm_target
10699 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10700 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10701 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10702 fi }
10703 eval "${wine_arch}_TARGET=\$target"
10707 if test -z "$target"
10708 then
10709 CC=$saved_CC
10710 CFLAGS=$saved_CFLAGS
10711 continue
10713 as_fn_append PE_ARCHS " $wine_arch"
10715 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10718 printf %s "checking for $CC option to enable C99 features... " >&6; }
10719 if eval test \${$as_wine_cv_crosscc_c99+y}
10720 then :
10721 printf %s "(cached) " >&6
10722 else $as_nop
10723 eval "$as_wine_cv_crosscc_c99=no"
10724 for arg in '' '-std=gnu99'
10726 test -z "$arg" || CC="$CC $arg"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 $ac_c_conftest_c99_program
10730 _ACEOF
10731 if ac_fn_c_try_compile "$LINENO"
10732 then :
10733 eval "$as_wine_cv_crosscc_c99=\$arg"
10734 else $as_nop
10735 eval "$as_wine_cv_crosscc_c99=no"
10737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10738 eval CC=\$${wine_arch}_CC
10739 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10740 then :
10742 else $as_nop
10743 break
10745 done
10748 eval res=\$$as_wine_cv_crosscc_c99
10749 case "x$res" in
10750 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10751 printf "%s\n" "none needed" >&6; } ;;
10752 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10753 printf "%s\n" "unsupported" >&6; } ;;
10754 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10755 printf "%s\n" "$res" >&6; }
10756 as_fn_append ${wine_arch}_CC " $res" ;;
10757 esac
10760 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10762 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10763 if eval test \${$as_ac_var+y}
10764 then :
10765 printf %s "(cached) " >&6
10766 else $as_nop
10767 ac_wine_try_cflags_saved=$CFLAGS
10768 ac_wine_try_cflags_saved_exeext=$ac_exeext
10769 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10770 ac_exeext=".exe"
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 int __cdecl mainCRTStartup(void) { return 0; }
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"
10776 then :
10777 eval "$as_ac_var=yes"
10778 else $as_nop
10779 eval "$as_ac_var=no"
10781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10782 conftest$ac_exeext conftest.$ac_ext
10783 CFLAGS=$ac_wine_try_cflags_saved
10784 ac_exeext=$ac_wine_try_cflags_saved_exeext
10786 eval ac_res=\$$as_ac_var
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10788 printf "%s\n" "$ac_res" >&6; }
10789 if eval test \"x\$"$as_ac_var"\" = x"yes"
10790 then :
10791 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10792 fi }
10793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10795 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10796 if eval test \${$as_ac_var+y}
10797 then :
10798 printf %s "(cached) " >&6
10799 else $as_nop
10800 ac_wine_try_cflags_saved=$CFLAGS
10801 ac_wine_try_cflags_saved_exeext=$ac_exeext
10802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10803 ac_exeext=".exe"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806 int __cdecl mainCRTStartup(void) { return 0; }
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"
10809 then :
10810 eval "$as_ac_var=yes"
10811 else $as_nop
10812 eval "$as_ac_var=no"
10814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10815 conftest$ac_exeext conftest.$ac_ext
10816 CFLAGS=$ac_wine_try_cflags_saved
10817 ac_exeext=$ac_wine_try_cflags_saved_exeext
10819 eval ac_res=\$$as_ac_var
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10821 printf "%s\n" "$ac_res" >&6; }
10822 if eval test \"x\$"$as_ac_var"\" = x"yes"
10823 then :
10824 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10825 fi }
10826 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10828 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10829 if eval test \${$as_ac_var+y}
10830 then :
10831 printf %s "(cached) " >&6
10832 else $as_nop
10833 ac_wine_try_cflags_saved=$CFLAGS
10834 ac_wine_try_cflags_saved_exeext=$ac_exeext
10835 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10836 ac_exeext=".exe"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int __cdecl mainCRTStartup(void) { return 0; }
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"
10842 then :
10843 eval "$as_ac_var=yes"
10844 else $as_nop
10845 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10850 ac_exeext=$ac_wine_try_cflags_saved_exeext
10852 eval ac_res=\$$as_ac_var
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10854 printf "%s\n" "$ac_res" >&6; }
10855 if eval test \"x\$"$as_ac_var"\" = x"yes"
10856 then :
10857 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10858 fi }
10859 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10861 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10862 if eval test \${$as_ac_var+y}
10863 then :
10864 printf %s "(cached) " >&6
10865 else $as_nop
10866 ac_wine_try_cflags_saved=$CFLAGS
10867 ac_wine_try_cflags_saved_exeext=$ac_exeext
10868 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10869 ac_exeext=".exe"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 int __cdecl mainCRTStartup(void) { return 0; }
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"
10875 then :
10876 eval "$as_ac_var=yes"
10877 else $as_nop
10878 eval "$as_ac_var=no"
10880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10881 conftest$ac_exeext conftest.$ac_ext
10882 CFLAGS=$ac_wine_try_cflags_saved
10883 ac_exeext=$ac_wine_try_cflags_saved_exeext
10885 eval ac_res=\$$as_ac_var
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10887 printf "%s\n" "$ac_res" >&6; }
10888 if eval test \"x\$"$as_ac_var"\" = x"yes"
10889 then :
10890 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10891 fi }
10892 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10894 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10895 if eval test \${$as_ac_var+y}
10896 then :
10897 printf %s "(cached) " >&6
10898 else $as_nop
10899 ac_wine_try_cflags_saved=$CFLAGS
10900 ac_wine_try_cflags_saved_exeext=$ac_exeext
10901 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10902 ac_exeext=".exe"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 int __cdecl mainCRTStartup(void) { return 0; }
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"
10908 then :
10909 eval "$as_ac_var=yes"
10910 else $as_nop
10911 eval "$as_ac_var=no"
10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10914 conftest$ac_exeext conftest.$ac_ext
10915 CFLAGS=$ac_wine_try_cflags_saved
10916 ac_exeext=$ac_wine_try_cflags_saved_exeext
10918 eval ac_res=\$$as_ac_var
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10920 printf "%s\n" "$ac_res" >&6; }
10921 if eval test \"x\$"$as_ac_var"\" = x"yes"
10922 then :
10923 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10924 fi }
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10927 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10928 if eval test \${$as_ac_var+y}
10929 then :
10930 printf %s "(cached) " >&6
10931 else $as_nop
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 ac_wine_try_cflags_saved_exeext=$ac_exeext
10934 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10935 ac_exeext=".exe"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 int __cdecl mainCRTStartup(void) { return 0; }
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"
10941 then :
10942 eval "$as_ac_var=yes"
10943 else $as_nop
10944 eval "$as_ac_var=no"
10946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10947 conftest$ac_exeext conftest.$ac_ext
10948 CFLAGS=$ac_wine_try_cflags_saved
10949 ac_exeext=$ac_wine_try_cflags_saved_exeext
10951 eval ac_res=\$$as_ac_var
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10953 printf "%s\n" "$ac_res" >&6; }
10954 if eval test \"x\$"$as_ac_var"\" = x"yes"
10955 then :
10956 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10957 fi }
10958 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10960 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10961 if eval test \${$as_ac_var+y}
10962 then :
10963 printf %s "(cached) " >&6
10964 else $as_nop
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 ac_wine_try_cflags_saved_exeext=$ac_exeext
10967 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10968 ac_exeext=".exe"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10971 int __cdecl mainCRTStartup(void) { return 0; }
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"
10974 then :
10975 eval "$as_ac_var=yes"
10976 else $as_nop
10977 eval "$as_ac_var=no"
10979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10980 conftest$ac_exeext conftest.$ac_ext
10981 CFLAGS=$ac_wine_try_cflags_saved
10982 ac_exeext=$ac_wine_try_cflags_saved_exeext
10984 eval ac_res=\$$as_ac_var
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10986 printf "%s\n" "$ac_res" >&6; }
10987 if eval test \"x\$"$as_ac_var"\" = x"yes"
10988 then :
10989 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10990 fi }
10991 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10993 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10994 if eval test \${$as_ac_var+y}
10995 then :
10996 printf %s "(cached) " >&6
10997 else $as_nop
10998 ac_wine_try_cflags_saved=$CFLAGS
10999 ac_wine_try_cflags_saved_exeext=$ac_exeext
11000 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11001 ac_exeext=".exe"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 int __cdecl mainCRTStartup(void) { return 0; }
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"
11007 then :
11008 eval "$as_ac_var=yes"
11009 else $as_nop
11010 eval "$as_ac_var=no"
11012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11013 conftest$ac_exeext conftest.$ac_ext
11014 CFLAGS=$ac_wine_try_cflags_saved
11015 ac_exeext=$ac_wine_try_cflags_saved_exeext
11017 eval ac_res=\$$as_ac_var
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11019 printf "%s\n" "$ac_res" >&6; }
11020 if eval test \"x\$"$as_ac_var"\" = x"yes"
11021 then :
11022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11023 fi }
11024 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11026 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11027 if eval test \${$as_ac_var+y}
11028 then :
11029 printf %s "(cached) " >&6
11030 else $as_nop
11031 ac_wine_try_cflags_saved=$CFLAGS
11032 ac_wine_try_cflags_saved_exeext=$ac_exeext
11033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11034 ac_exeext=".exe"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11037 int __cdecl mainCRTStartup(void) { return 0; }
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"
11040 then :
11041 eval "$as_ac_var=yes"
11042 else $as_nop
11043 eval "$as_ac_var=no"
11045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11046 conftest$ac_exeext conftest.$ac_ext
11047 CFLAGS=$ac_wine_try_cflags_saved
11048 ac_exeext=$ac_wine_try_cflags_saved_exeext
11050 eval ac_res=\$$as_ac_var
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11052 printf "%s\n" "$ac_res" >&6; }
11053 if eval test \"x\$"$as_ac_var"\" = x"yes"
11054 then :
11055 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11056 fi }
11057 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11059 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11060 if eval test \${$as_ac_var+y}
11061 then :
11062 printf %s "(cached) " >&6
11063 else $as_nop
11064 ac_wine_try_cflags_saved=$CFLAGS
11065 ac_wine_try_cflags_saved_exeext=$ac_exeext
11066 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11067 ac_exeext=".exe"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 int __cdecl mainCRTStartup(void) { return 0; }
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"
11073 then :
11074 eval "$as_ac_var=yes"
11075 else $as_nop
11076 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11079 conftest$ac_exeext conftest.$ac_ext
11080 CFLAGS=$ac_wine_try_cflags_saved
11081 ac_exeext=$ac_wine_try_cflags_saved_exeext
11083 eval ac_res=\$$as_ac_var
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11085 printf "%s\n" "$ac_res" >&6; }
11086 if eval test \"x\$"$as_ac_var"\" = x"yes"
11087 then :
11088 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11089 fi }
11090 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11092 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11093 if eval test \${$as_ac_var+y}
11094 then :
11095 printf %s "(cached) " >&6
11096 else $as_nop
11097 ac_wine_try_cflags_saved=$CFLAGS
11098 ac_wine_try_cflags_saved_exeext=$ac_exeext
11099 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11100 ac_exeext=".exe"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 int __cdecl mainCRTStartup(void) { return 0; }
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"
11106 then :
11107 eval "$as_ac_var=yes"
11108 else $as_nop
11109 eval "$as_ac_var=no"
11111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11112 conftest$ac_exeext conftest.$ac_ext
11113 CFLAGS=$ac_wine_try_cflags_saved
11114 ac_exeext=$ac_wine_try_cflags_saved_exeext
11116 eval ac_res=\$$as_ac_var
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11118 printf "%s\n" "$ac_res" >&6; }
11119 if eval test \"x\$"$as_ac_var"\" = x"yes"
11120 then :
11121 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11122 fi }
11123 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11125 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11126 if eval test \${$as_ac_var+y}
11127 then :
11128 printf %s "(cached) " >&6
11129 else $as_nop
11130 ac_wine_try_cflags_saved=$CFLAGS
11131 ac_wine_try_cflags_saved_exeext=$ac_exeext
11132 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11133 ac_exeext=".exe"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 int __cdecl mainCRTStartup(void) { return 0; }
11137 _ACEOF
11138 if ac_fn_c_try_link "$LINENO"
11139 then :
11140 eval "$as_ac_var=yes"
11141 else $as_nop
11142 eval "$as_ac_var=no"
11144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11145 conftest$ac_exeext conftest.$ac_ext
11146 CFLAGS=$ac_wine_try_cflags_saved
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 eval ac_res=\$$as_ac_var
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11151 printf "%s\n" "$ac_res" >&6; }
11152 if eval test \"x\$"$as_ac_var"\" = x"yes"
11153 then :
11154 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11155 fi }
11156 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11158 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11159 if eval test \${$as_ac_var+y}
11160 then :
11161 printf %s "(cached) " >&6
11162 else $as_nop
11163 ac_wine_try_cflags_saved=$CFLAGS
11164 ac_wine_try_cflags_saved_exeext=$ac_exeext
11165 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11166 ac_exeext=".exe"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"
11172 then :
11173 eval "$as_ac_var=yes"
11174 else $as_nop
11175 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 eval ac_res=\$$as_ac_var
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11184 printf "%s\n" "$ac_res" >&6; }
11185 if eval test \"x\$"$as_ac_var"\" = x"yes"
11186 then :
11187 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11188 fi }
11189 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11191 printf %s "checking whether $CC supports -Wvla... " >&6; }
11192 if eval test \${$as_ac_var+y}
11193 then :
11194 printf %s "(cached) " >&6
11195 else $as_nop
11196 ac_wine_try_cflags_saved=$CFLAGS
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11199 ac_exeext=".exe"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"
11205 then :
11206 eval "$as_ac_var=yes"
11207 else $as_nop
11208 eval "$as_ac_var=no"
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 eval ac_res=\$$as_ac_var
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11217 printf "%s\n" "$ac_res" >&6; }
11218 if eval test \"x\$"$as_ac_var"\" = x"yes"
11219 then :
11220 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11221 fi }
11222 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11224 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11225 if eval test \${$as_ac_var+y}
11226 then :
11227 printf %s "(cached) " >&6
11228 else $as_nop
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11232 ac_exeext=".exe"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"
11238 then :
11239 eval "$as_ac_var=yes"
11240 else $as_nop
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11252 then :
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11254 fi }
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11257 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11258 if eval test \${$as_ac_var+y}
11259 then :
11260 printf %s "(cached) " >&6
11261 else $as_nop
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11265 ac_exeext=".exe"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 int __cdecl mainCRTStartup(void) { return 0; }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"
11271 then :
11272 eval "$as_ac_var=yes"
11273 else $as_nop
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11285 then :
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11287 fi }
11288 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11290 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11291 if eval test \${$as_ac_var+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11298 ac_exeext=".exe"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 int __cdecl mainCRTStartup(void) { return 0; }
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"
11304 then :
11305 eval "$as_ac_var=yes"
11306 else $as_nop
11307 eval "$as_ac_var=no"
11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11310 conftest$ac_exeext conftest.$ac_ext
11311 CFLAGS=$ac_wine_try_cflags_saved
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 eval ac_res=\$$as_ac_var
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11316 printf "%s\n" "$ac_res" >&6; }
11317 if eval test \"x\$"$as_ac_var"\" = x"yes"
11318 then :
11319 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11320 fi }
11321 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11323 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11324 if eval test \${$as_ac_var+y}
11325 then :
11326 printf %s "(cached) " >&6
11327 else $as_nop
11328 ac_wine_try_cflags_saved=$CFLAGS
11329 ac_wine_try_cflags_saved_exeext=$ac_exeext
11330 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11331 ac_exeext=".exe"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 int __cdecl mainCRTStartup(void) { return 0; }
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"
11337 then :
11338 eval "$as_ac_var=yes"
11339 else $as_nop
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11351 then :
11352 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11353 fi }
11355 case $wine_arch in
11356 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11358 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11359 if eval test \${$as_ac_var+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11366 ac_exeext=".exe"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 int __cdecl mainCRTStartup(void) { return 0; }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"
11372 then :
11373 eval "$as_ac_var=yes"
11374 else $as_nop
11375 eval "$as_ac_var=no"
11377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11378 conftest$ac_exeext conftest.$ac_ext
11379 CFLAGS=$ac_wine_try_cflags_saved
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 eval ac_res=\$$as_ac_var
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11384 printf "%s\n" "$ac_res" >&6; }
11385 if eval test \"x\$"$as_ac_var"\" = x"yes"
11386 then :
11387 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11388 fi }
11389 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11391 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11392 if eval test \${$as_ac_var+y}
11393 then :
11394 printf %s "(cached) " >&6
11395 else $as_nop
11396 ac_wine_try_cflags_saved=$CFLAGS
11397 ac_wine_try_cflags_saved_exeext=$ac_exeext
11398 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11399 ac_exeext=".exe"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11402 int __cdecl mainCRTStartup(void) { return 0; }
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"
11405 then :
11406 eval "$as_ac_var=yes"
11407 else $as_nop
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11419 then :
11420 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11421 fi } ;;
11422 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11424 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11425 if eval test \${$as_ac_var+y}
11426 then :
11427 printf %s "(cached) " >&6
11428 else $as_nop
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"
11438 then :
11439 eval "$as_ac_var=yes"
11440 else $as_nop
11441 eval "$as_ac_var=no"
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 eval ac_res=\$$as_ac_var
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11450 printf "%s\n" "$ac_res" >&6; }
11451 if eval test \"x\$"$as_ac_var"\" = x"yes"
11452 then :
11453 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11454 fi }
11455 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11457 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11458 if eval test \${$as_ac_var+y}
11459 then :
11460 printf %s "(cached) " >&6
11461 else $as_nop
11462 ac_wine_try_cflags_saved=$CFLAGS
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11465 ac_exeext=".exe"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"
11471 then :
11472 eval "$as_ac_var=yes"
11473 else $as_nop
11474 eval "$as_ac_var=no"
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 eval ac_res=\$$as_ac_var
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11483 printf "%s\n" "$ac_res" >&6; }
11484 if eval test \"x\$"$as_ac_var"\" = x"yes"
11485 then :
11486 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11487 fi }
11488 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11490 printf %s "checking whether $CC supports -mcx16... " >&6; }
11491 if eval test \${$as_ac_var+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else $as_nop
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_exeext=$ac_exeext
11497 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11498 ac_exeext=".exe"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 int __cdecl mainCRTStartup(void) { return 0; }
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"
11504 then :
11505 eval "$as_ac_var=yes"
11506 else $as_nop
11507 eval "$as_ac_var=no"
11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11510 conftest$ac_exeext conftest.$ac_ext
11511 CFLAGS=$ac_wine_try_cflags_saved
11512 ac_exeext=$ac_wine_try_cflags_saved_exeext
11514 eval ac_res=\$$as_ac_var
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11516 printf "%s\n" "$ac_res" >&6; }
11517 if eval test \"x\$"$as_ac_var"\" = x"yes"
11518 then :
11519 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11520 fi } ;;
11521 esac
11523 wine_crossdebug=$CROSSDEBUG
11524 if test -z "$wine_crossdebug"
11525 then
11526 for ac_flag in $CFLAGS; do
11527 case $ac_flag in
11528 -gdwarf*) wine_crossdebug=dwarf ;;
11529 -gcodeview) wine_crossdebug=pdb ;;
11530 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11531 esac
11532 done
11535 ac_debug_format_seen=""
11536 for ac_flag in $CFLAGS; do
11537 case $ac_flag in
11538 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11539 esac
11540 done
11541 if test "x$ac_debug_format_seen" = x
11542 then
11543 case $wine_crossdebug in
11544 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11546 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11547 if eval test \${$as_ac_var+y}
11548 then :
11549 printf %s "(cached) " >&6
11550 else $as_nop
11551 ac_wine_try_cflags_saved=$CFLAGS
11552 ac_wine_try_cflags_saved_exeext=$ac_exeext
11553 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11554 ac_exeext=".exe"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11557 int __cdecl mainCRTStartup(void) { return 0; }
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"
11560 then :
11561 eval "$as_ac_var=yes"
11562 else $as_nop
11563 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 ac_exeext=$ac_wine_try_cflags_saved_exeext
11570 eval ac_res=\$$as_ac_var
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11572 printf "%s\n" "$ac_res" >&6; }
11573 if eval test \"x\$"$as_ac_var"\" = x"yes"
11574 then :
11575 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11576 fi } ;;
11577 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11579 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11580 if eval test \${$as_ac_var+y}
11581 then :
11582 printf %s "(cached) " >&6
11583 else $as_nop
11584 ac_wine_try_cflags_saved=$CFLAGS
11585 ac_wine_try_cflags_saved_exeext=$ac_exeext
11586 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11587 ac_exeext=".exe"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11590 int __cdecl mainCRTStartup(void) { return 0; }
11591 _ACEOF
11592 if ac_fn_c_try_link "$LINENO"
11593 then :
11594 eval "$as_ac_var=yes"
11595 else $as_nop
11596 eval "$as_ac_var=no"
11598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11599 conftest$ac_exeext conftest.$ac_ext
11600 CFLAGS=$ac_wine_try_cflags_saved
11601 ac_exeext=$ac_wine_try_cflags_saved_exeext
11603 eval ac_res=\$$as_ac_var
11604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11605 printf "%s\n" "$ac_res" >&6; }
11606 if eval test \"x\$"$as_ac_var"\" = x"yes"
11607 then :
11608 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11609 fi } ;;
11610 esac
11612 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11614 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11616 printf %s "checking whether $CC supports -Werror... " >&6; }
11617 if eval test \${$as_ac_var+y}
11618 then :
11619 printf %s "(cached) " >&6
11620 else $as_nop
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11624 ac_exeext=".exe"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 int __cdecl mainCRTStartup(void) { return 0; }
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"
11630 then :
11631 eval "$as_ac_var=yes"
11632 else $as_nop
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11644 then :
11645 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11646 fi }
11647 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11649 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11650 if eval test \${$as_ac_var+y}
11651 then :
11652 printf %s "(cached) " >&6
11653 else $as_nop
11654 ac_wine_try_cflags_saved=$CFLAGS
11655 ac_wine_try_cflags_saved_exeext=$ac_exeext
11656 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11657 ac_exeext=".exe"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 int __cdecl mainCRTStartup(void) { return 0; }
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"
11663 then :
11664 eval "$as_ac_var=yes"
11665 else $as_nop
11666 eval "$as_ac_var=no"
11668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11669 conftest$ac_exeext conftest.$ac_ext
11670 CFLAGS=$ac_wine_try_cflags_saved
11671 ac_exeext=$ac_wine_try_cflags_saved_exeext
11673 eval ac_res=\$$as_ac_var
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11675 printf "%s\n" "$ac_res" >&6; }
11676 if eval test \"x\$"$as_ac_var"\" = x"yes"
11677 then :
11678 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11679 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11680 fi }
11682 CC=$saved_CC
11683 CFLAGS=$saved_CFLAGS
11684 done
11686 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11687 then
11688 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11691 if test "x$PE_ARCHS" = "x"
11692 then :
11693 case "x$with_mingw" in
11694 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11695 xno) ;;
11696 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11697 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11698 esac
11703 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11704 then
11705 case "$host_cpu" in
11706 i[3456789]86*)
11707 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11709 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11710 esac
11711 for ac_prog in $ac_prefix_list
11713 # Extract the first word of "$ac_prog", so it can be a program name with args.
11714 set dummy $ac_prog; ac_word=$2
11715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 printf %s "checking for $ac_word... " >&6; }
11717 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11718 then :
11719 printf %s "(cached) " >&6
11720 else $as_nop
11721 if test -n "$MINGW_PKG_CONFIG"; then
11722 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11723 else
11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 for as_dir in $PATH
11727 IFS=$as_save_IFS
11728 case $as_dir in #(((
11729 '') as_dir=./ ;;
11730 */) ;;
11731 *) as_dir=$as_dir/ ;;
11732 esac
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11735 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11737 break 2
11739 done
11740 done
11741 IFS=$as_save_IFS
11745 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11746 if test -n "$MINGW_PKG_CONFIG"; then
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11748 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11749 else
11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 printf "%s\n" "no" >&6; }
11755 test -n "$MINGW_PKG_CONFIG" && break
11756 done
11757 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11759 if ${FAUDIO_PE_CFLAGS:+false} :
11760 then :
11761 if test ${MINGW_PKG_CONFIG+y}
11762 then :
11763 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11766 if ${FAUDIO_PE_LIBS:+false} :
11767 then :
11768 if test ${MINGW_PKG_CONFIG+y}
11769 then :
11770 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11773 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11774 ac_save_CPPFLAGS=$CPPFLAGS
11775 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11777 printf %s "checking for MinGW FAudio.h... " >&6; }
11778 if test ${ac_cv_mingw_header_FAudio_h+y}
11779 then :
11780 printf %s "(cached) " >&6
11781 else $as_nop
11782 ac_wine_check_headers_saved_cc=$CC
11783 ac_wine_check_headers_saved_exeext=$ac_exeext
11784 eval CC=\$${wine_arch}_CC
11785 ac_exeext=".exe"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 #include <FAudio.h>
11791 main (void)
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_compile "$LINENO"
11799 then :
11800 ac_cv_mingw_header_FAudio_h=yes
11801 else $as_nop
11802 ac_cv_mingw_header_FAudio_h=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11805 CC=$ac_wine_check_headers_saved_cc
11806 ac_exeext=$ac_wine_check_headers_saved_exeext
11808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11809 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11810 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11811 then :
11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11813 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11814 if test ${ac_cv_mingw_lib_FAudio+y}
11815 then :
11816 printf %s "(cached) " >&6
11817 else $as_nop
11818 ac_wine_check_headers_saved_cc=$CC
11819 ac_wine_check_headers_saved_exeext=$ac_exeext
11820 ac_wine_check_headers_saved_libs=$LIBS
11821 eval CC=\$${wine_arch}_CC
11822 ac_exeext=".exe"
11823 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 char FAudio_CommitOperationSet ();
11832 main (void)
11834 return FAudio_CommitOperationSet ();
11836 return 0;
11838 _ACEOF
11839 if ac_fn_c_try_link "$LINENO"
11840 then :
11841 ac_cv_mingw_lib_FAudio=yes
11842 else $as_nop
11843 ac_cv_mingw_lib_FAudio=no
11845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11846 conftest$ac_exeext conftest.$ac_ext
11847 CC=$ac_wine_check_headers_saved_cc
11848 ac_exeext=$ac_wine_check_headers_saved_exeext
11849 LIBS=$ac_wine_check_headers_saved_libs
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11852 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11853 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11854 then :
11856 else $as_nop
11857 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11859 else $as_nop
11860 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11862 CPPFLAGS=$ac_save_CPPFLAGS
11864 if test "x$FAUDIO_PE_LIBS" = "x"
11865 then
11866 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11869 if ${JPEG_PE_CFLAGS:+false} :
11870 then :
11871 if test ${MINGW_PKG_CONFIG+y}
11872 then :
11873 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11876 if ${JPEG_PE_LIBS:+false} :
11877 then :
11878 if test ${MINGW_PKG_CONFIG+y}
11879 then :
11880 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11884 ac_save_CPPFLAGS=$CPPFLAGS
11885 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11887 printf %s "checking for MinGW jpeglib.h... " >&6; }
11888 if test ${ac_cv_mingw_header_jpeglib_h+y}
11889 then :
11890 printf %s "(cached) " >&6
11891 else $as_nop
11892 ac_wine_check_headers_saved_cc=$CC
11893 ac_wine_check_headers_saved_exeext=$ac_exeext
11894 eval CC=\$${wine_arch}_CC
11895 ac_exeext=".exe"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #include <stddef.h>
11899 #include <stdio.h>
11900 #include <jpeglib.h>
11902 main (void)
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_compile "$LINENO"
11910 then :
11911 ac_cv_mingw_header_jpeglib_h=yes
11912 else $as_nop
11913 ac_cv_mingw_header_jpeglib_h=no
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11916 CC=$ac_wine_check_headers_saved_cc
11917 ac_exeext=$ac_wine_check_headers_saved_exeext
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11920 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11921 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11922 then :
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11924 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11925 if test ${ac_cv_mingw_lib_jpeg+y}
11926 then :
11927 printf %s "(cached) " >&6
11928 else $as_nop
11929 ac_wine_check_headers_saved_cc=$CC
11930 ac_wine_check_headers_saved_exeext=$ac_exeext
11931 ac_wine_check_headers_saved_libs=$LIBS
11932 eval CC=\$${wine_arch}_CC
11933 ac_exeext=".exe"
11934 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 char jpeg_start_decompress ();
11943 main (void)
11945 return jpeg_start_decompress ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"
11951 then :
11952 ac_cv_mingw_lib_jpeg=yes
11953 else $as_nop
11954 ac_cv_mingw_lib_jpeg=no
11956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11957 conftest$ac_exeext conftest.$ac_ext
11958 CC=$ac_wine_check_headers_saved_cc
11959 ac_exeext=$ac_wine_check_headers_saved_exeext
11960 LIBS=$ac_wine_check_headers_saved_libs
11962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11963 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11964 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11965 then :
11967 else $as_nop
11968 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11970 else $as_nop
11971 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11973 CPPFLAGS=$ac_save_CPPFLAGS
11975 if test "x$JPEG_PE_LIBS" = "x"
11976 then
11977 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11980 if ${LCMS2_PE_CFLAGS:+false} :
11981 then :
11982 if test ${MINGW_PKG_CONFIG+y}
11983 then :
11984 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11987 if ${LCMS2_PE_LIBS:+false} :
11988 then :
11989 if test ${MINGW_PKG_CONFIG+y}
11990 then :
11991 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11994 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11995 ac_save_CPPFLAGS=$CPPFLAGS
11996 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11998 printf %s "checking for MinGW lcms2.h... " >&6; }
11999 if test ${ac_cv_mingw_header_lcms2_h+y}
12000 then :
12001 printf %s "(cached) " >&6
12002 else $as_nop
12003 ac_wine_check_headers_saved_cc=$CC
12004 ac_wine_check_headers_saved_exeext=$ac_exeext
12005 eval CC=\$${wine_arch}_CC
12006 ac_exeext=".exe"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 #include <lcms2.h>
12012 main (void)
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_compile "$LINENO"
12020 then :
12021 ac_cv_mingw_header_lcms2_h=yes
12022 else $as_nop
12023 ac_cv_mingw_header_lcms2_h=no
12025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12026 CC=$ac_wine_check_headers_saved_cc
12027 ac_exeext=$ac_wine_check_headers_saved_exeext
12029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12030 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12031 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12032 then :
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12034 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12035 if test ${ac_cv_mingw_lib_lcms2+y}
12036 then :
12037 printf %s "(cached) " >&6
12038 else $as_nop
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12041 ac_wine_check_headers_saved_libs=$LIBS
12042 eval CC=\$${wine_arch}_CC
12043 ac_exeext=".exe"
12044 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 char cmsOpenProfileFromFile ();
12053 main (void)
12055 return cmsOpenProfileFromFile ();
12057 return 0;
12059 _ACEOF
12060 if ac_fn_c_try_link "$LINENO"
12061 then :
12062 ac_cv_mingw_lib_lcms2=yes
12063 else $as_nop
12064 ac_cv_mingw_lib_lcms2=no
12066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12067 conftest$ac_exeext conftest.$ac_ext
12068 CC=$ac_wine_check_headers_saved_cc
12069 ac_exeext=$ac_wine_check_headers_saved_exeext
12070 LIBS=$ac_wine_check_headers_saved_libs
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12073 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12074 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12075 then :
12077 else $as_nop
12078 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12080 else $as_nop
12081 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12083 CPPFLAGS=$ac_save_CPPFLAGS
12085 if test "x$LCMS2_PE_LIBS" = "x"
12086 then
12087 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12090 if ${MPG123_PE_CFLAGS:+false} :
12091 then :
12092 if test ${MINGW_PKG_CONFIG+y}
12093 then :
12094 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12097 if ${MPG123_PE_LIBS:+false} :
12098 then :
12099 if test ${MINGW_PKG_CONFIG+y}
12100 then :
12101 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12104 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12108 printf %s "checking for MinGW mpg123.h... " >&6; }
12109 if test ${ac_cv_mingw_header_mpg123_h+y}
12110 then :
12111 printf %s "(cached) " >&6
12112 else $as_nop
12113 ac_wine_check_headers_saved_cc=$CC
12114 ac_wine_check_headers_saved_exeext=$ac_exeext
12115 eval CC=\$${wine_arch}_CC
12116 ac_exeext=".exe"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 #include <mpg123.h>
12122 main (void)
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_compile "$LINENO"
12130 then :
12131 ac_cv_mingw_header_mpg123_h=yes
12132 else $as_nop
12133 ac_cv_mingw_header_mpg123_h=no
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12136 CC=$ac_wine_check_headers_saved_cc
12137 ac_exeext=$ac_wine_check_headers_saved_exeext
12139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12140 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12141 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12142 then :
12143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12144 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12145 if test ${ac_cv_mingw_lib_mpg123+y}
12146 then :
12147 printf %s "(cached) " >&6
12148 else $as_nop
12149 ac_wine_check_headers_saved_cc=$CC
12150 ac_wine_check_headers_saved_exeext=$ac_exeext
12151 ac_wine_check_headers_saved_libs=$LIBS
12152 eval CC=\$${wine_arch}_CC
12153 ac_exeext=".exe"
12154 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 char mpg123_feed ();
12163 main (void)
12165 return mpg123_feed ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"
12171 then :
12172 ac_cv_mingw_lib_mpg123=yes
12173 else $as_nop
12174 ac_cv_mingw_lib_mpg123=no
12176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12177 conftest$ac_exeext conftest.$ac_ext
12178 CC=$ac_wine_check_headers_saved_cc
12179 ac_exeext=$ac_wine_check_headers_saved_exeext
12180 LIBS=$ac_wine_check_headers_saved_libs
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12183 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12184 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12185 then :
12187 else $as_nop
12188 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12190 else $as_nop
12191 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12193 CPPFLAGS=$ac_save_CPPFLAGS
12195 if test "x$MPG123_PE_LIBS" = "x"
12196 then
12197 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12200 if ${PNG_PE_CFLAGS:+false} :
12201 then :
12202 if test ${MINGW_PKG_CONFIG+y}
12203 then :
12204 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12207 if ${PNG_PE_LIBS:+false} :
12208 then :
12209 if test ${MINGW_PKG_CONFIG+y}
12210 then :
12211 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12215 ac_save_CPPFLAGS=$CPPFLAGS
12216 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12218 printf %s "checking for MinGW png.h... " >&6; }
12219 if test ${ac_cv_mingw_header_png_h+y}
12220 then :
12221 printf %s "(cached) " >&6
12222 else $as_nop
12223 ac_wine_check_headers_saved_cc=$CC
12224 ac_wine_check_headers_saved_exeext=$ac_exeext
12225 eval CC=\$${wine_arch}_CC
12226 ac_exeext=".exe"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 #include <png.h>
12232 main (void)
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"
12240 then :
12241 ac_cv_mingw_header_png_h=yes
12242 else $as_nop
12243 ac_cv_mingw_header_png_h=no
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12246 CC=$ac_wine_check_headers_saved_cc
12247 ac_exeext=$ac_wine_check_headers_saved_exeext
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12250 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12251 if test "x$ac_cv_mingw_header_png_h" = xyes
12252 then :
12253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12254 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12255 if test ${ac_cv_mingw_lib_png+y}
12256 then :
12257 printf %s "(cached) " >&6
12258 else $as_nop
12259 ac_wine_check_headers_saved_cc=$CC
12260 ac_wine_check_headers_saved_exeext=$ac_exeext
12261 ac_wine_check_headers_saved_libs=$LIBS
12262 eval CC=\$${wine_arch}_CC
12263 ac_exeext=".exe"
12264 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 char png_create_read_struct ();
12273 main (void)
12275 return png_create_read_struct ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"
12281 then :
12282 ac_cv_mingw_lib_png=yes
12283 else $as_nop
12284 ac_cv_mingw_lib_png=no
12286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12287 conftest$ac_exeext conftest.$ac_ext
12288 CC=$ac_wine_check_headers_saved_cc
12289 ac_exeext=$ac_wine_check_headers_saved_exeext
12290 LIBS=$ac_wine_check_headers_saved_libs
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12293 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12294 if test "x$ac_cv_mingw_lib_png" = xyes
12295 then :
12297 else $as_nop
12298 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12300 else $as_nop
12301 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12303 CPPFLAGS=$ac_save_CPPFLAGS
12305 if test "x$PNG_PE_LIBS" = "x"
12306 then
12307 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12310 if ${TIFF_PE_CFLAGS:+false} :
12311 then :
12312 if test ${MINGW_PKG_CONFIG+y}
12313 then :
12314 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12317 if ${TIFF_PE_LIBS:+false} :
12318 then :
12319 if test ${MINGW_PKG_CONFIG+y}
12320 then :
12321 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12325 ac_save_CPPFLAGS=$CPPFLAGS
12326 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12328 printf %s "checking for MinGW tiffio.h... " >&6; }
12329 if test ${ac_cv_mingw_header_tiffio_h+y}
12330 then :
12331 printf %s "(cached) " >&6
12332 else $as_nop
12333 ac_wine_check_headers_saved_cc=$CC
12334 ac_wine_check_headers_saved_exeext=$ac_exeext
12335 eval CC=\$${wine_arch}_CC
12336 ac_exeext=".exe"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 #include <tiffio.h>
12342 main (void)
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_compile "$LINENO"
12350 then :
12351 ac_cv_mingw_header_tiffio_h=yes
12352 else $as_nop
12353 ac_cv_mingw_header_tiffio_h=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12360 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12361 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12362 then :
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12364 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12365 if test ${ac_cv_mingw_lib_tiff+y}
12366 then :
12367 printf %s "(cached) " >&6
12368 else $as_nop
12369 ac_wine_check_headers_saved_cc=$CC
12370 ac_wine_check_headers_saved_exeext=$ac_exeext
12371 ac_wine_check_headers_saved_libs=$LIBS
12372 eval CC=\$${wine_arch}_CC
12373 ac_exeext=".exe"
12374 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12378 /* Override any GCC internal prototype to avoid an error.
12379 Use char because int might match the return type of a GCC
12380 builtin and then its argument prototype would still apply. */
12381 char TIFFClientOpen ();
12383 main (void)
12385 return TIFFClientOpen ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"
12391 then :
12392 ac_cv_mingw_lib_tiff=yes
12393 else $as_nop
12394 ac_cv_mingw_lib_tiff=no
12396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12397 conftest$ac_exeext conftest.$ac_ext
12398 CC=$ac_wine_check_headers_saved_cc
12399 ac_exeext=$ac_wine_check_headers_saved_exeext
12400 LIBS=$ac_wine_check_headers_saved_libs
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12403 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12404 if test "x$ac_cv_mingw_lib_tiff" = xyes
12405 then :
12407 else $as_nop
12408 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12410 else $as_nop
12411 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12413 CPPFLAGS=$ac_save_CPPFLAGS
12415 if test "x$TIFF_PE_LIBS" = "x"
12416 then
12417 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12420 if ${XML2_PE_CFLAGS:+false} :
12421 then :
12422 if test ${MINGW_PKG_CONFIG+y}
12423 then :
12424 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12427 if ${XML2_PE_LIBS:+false} :
12428 then :
12429 if test ${MINGW_PKG_CONFIG+y}
12430 then :
12431 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12434 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12435 ac_save_CPPFLAGS=$CPPFLAGS
12436 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12438 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12439 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12440 then :
12441 printf %s "(cached) " >&6
12442 else $as_nop
12443 ac_wine_check_headers_saved_cc=$CC
12444 ac_wine_check_headers_saved_exeext=$ac_exeext
12445 eval CC=\$${wine_arch}_CC
12446 ac_exeext=".exe"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 #include <libxml/parser.h>
12452 main (void)
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_compile "$LINENO"
12460 then :
12461 ac_cv_mingw_header_libxml_parser_h=yes
12462 else $as_nop
12463 ac_cv_mingw_header_libxml_parser_h=no
12465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12466 CC=$ac_wine_check_headers_saved_cc
12467 ac_exeext=$ac_wine_check_headers_saved_exeext
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12470 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12471 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12472 then :
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12476 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12477 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12478 then :
12479 printf %s "(cached) " >&6
12480 else $as_nop
12481 ac_wine_check_headers_saved_cc=$CC
12482 ac_wine_check_headers_saved_exeext=$ac_exeext
12483 eval CC=\$${wine_arch}_CC
12484 ac_exeext=".exe"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12488 #include <libxml/xmlsave.h>
12490 main (void)
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_compile "$LINENO"
12498 then :
12499 ac_cv_mingw_header_libxml_xmlsave_h=yes
12500 else $as_nop
12501 ac_cv_mingw_header_libxml_xmlsave_h=no
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12504 CC=$ac_wine_check_headers_saved_cc
12505 ac_exeext=$ac_wine_check_headers_saved_exeext
12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12508 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12509 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12510 then :
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12514 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12515 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12516 then :
12517 printf %s "(cached) " >&6
12518 else $as_nop
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 eval CC=\$${wine_arch}_CC
12522 ac_exeext=".exe"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 #include <libxml/SAX2.h>
12528 main (void)
12532 return 0;
12534 _ACEOF
12535 if ac_fn_c_try_compile "$LINENO"
12536 then :
12537 ac_cv_mingw_header_libxml_SAX2_h=yes
12538 else $as_nop
12539 ac_cv_mingw_header_libxml_SAX2_h=no
12541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12542 CC=$ac_wine_check_headers_saved_cc
12543 ac_exeext=$ac_wine_check_headers_saved_exeext
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12546 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12547 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12548 then :
12551 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"
12552 then
12553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12554 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12555 if test ${ac_cv_mingw_lib_xml2+y}
12556 then :
12557 printf %s "(cached) " >&6
12558 else $as_nop
12559 ac_wine_check_headers_saved_cc=$CC
12560 ac_wine_check_headers_saved_exeext=$ac_exeext
12561 ac_wine_check_headers_saved_libs=$LIBS
12562 eval CC=\$${wine_arch}_CC
12563 ac_exeext=".exe"
12564 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 char xmlFirstElementChild ();
12573 main (void)
12575 return xmlFirstElementChild ();
12577 return 0;
12579 _ACEOF
12580 if ac_fn_c_try_link "$LINENO"
12581 then :
12582 ac_cv_mingw_lib_xml2=yes
12583 else $as_nop
12584 ac_cv_mingw_lib_xml2=no
12586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12587 conftest$ac_exeext conftest.$ac_ext
12588 CC=$ac_wine_check_headers_saved_cc
12589 ac_exeext=$ac_wine_check_headers_saved_exeext
12590 LIBS=$ac_wine_check_headers_saved_libs
12592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12593 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12594 if test "x$ac_cv_mingw_lib_xml2" = xyes
12595 then :
12597 else $as_nop
12598 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12600 else
12601 XML2_PE_CFLAGS=""
12602 XML2_PE_LIBS=""
12604 CPPFLAGS=$ac_save_CPPFLAGS
12606 if test "x$XML2_PE_LIBS" = "x"
12607 then
12608 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12611 if ${XSLT_PE_CFLAGS:+false} :
12612 then :
12613 if test ${MINGW_PKG_CONFIG+y}
12614 then :
12615 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12618 if ${XSLT_PE_LIBS:+false} :
12619 then :
12620 if test ${MINGW_PKG_CONFIG+y}
12621 then :
12622 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12625 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12626 ac_save_CPPFLAGS=$CPPFLAGS
12627 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12629 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12630 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12631 then :
12632 printf %s "(cached) " >&6
12633 else $as_nop
12634 ac_wine_check_headers_saved_cc=$CC
12635 ac_wine_check_headers_saved_exeext=$ac_exeext
12636 eval CC=\$${wine_arch}_CC
12637 ac_exeext=".exe"
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12641 #include <libxslt/pattern.h>
12643 main (void)
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_compile "$LINENO"
12651 then :
12652 ac_cv_mingw_header_libxslt_pattern_h=yes
12653 else $as_nop
12654 ac_cv_mingw_header_libxslt_pattern_h=no
12656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12657 CC=$ac_wine_check_headers_saved_cc
12658 ac_exeext=$ac_wine_check_headers_saved_exeext
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12661 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12662 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12663 then :
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12667 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12668 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12669 then :
12670 printf %s "(cached) " >&6
12671 else $as_nop
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 eval CC=\$${wine_arch}_CC
12675 ac_exeext=".exe"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 #include <libxslt/transform.h>
12681 main (void)
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_compile "$LINENO"
12689 then :
12690 ac_cv_mingw_header_libxslt_transform_h=yes
12691 else $as_nop
12692 ac_cv_mingw_header_libxslt_transform_h=no
12694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12695 CC=$ac_wine_check_headers_saved_cc
12696 ac_exeext=$ac_wine_check_headers_saved_exeext
12698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12699 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12700 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12701 then :
12704 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12705 then
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12707 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12708 if test ${ac_cv_mingw_lib_xslt+y}
12709 then :
12710 printf %s "(cached) " >&6
12711 else $as_nop
12712 ac_wine_check_headers_saved_cc=$CC
12713 ac_wine_check_headers_saved_exeext=$ac_exeext
12714 ac_wine_check_headers_saved_libs=$LIBS
12715 eval CC=\$${wine_arch}_CC
12716 ac_exeext=".exe"
12717 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 char xsltCompilePattern ();
12726 main (void)
12728 return xsltCompilePattern ();
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_link "$LINENO"
12734 then :
12735 ac_cv_mingw_lib_xslt=yes
12736 else $as_nop
12737 ac_cv_mingw_lib_xslt=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12740 conftest$ac_exeext conftest.$ac_ext
12741 CC=$ac_wine_check_headers_saved_cc
12742 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 LIBS=$ac_wine_check_headers_saved_libs
12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12746 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12747 if test "x$ac_cv_mingw_lib_xslt" = xyes
12748 then :
12750 else $as_nop
12751 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12753 else
12754 XSLT_PE_CFLAGS=""
12755 XSLT_PE_LIBS=""
12757 CPPFLAGS=$ac_save_CPPFLAGS
12759 if test "x$XSLT_PE_LIBS" = "x"
12760 then
12761 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12764 if ${VKD3D_PE_CFLAGS:+false} :
12765 then :
12766 if test ${MINGW_PKG_CONFIG+y}
12767 then :
12768 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12771 if ${VKD3D_PE_LIBS:+false} :
12772 then :
12773 if test ${MINGW_PKG_CONFIG+y}
12774 then :
12775 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12778 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12779 ac_save_CPPFLAGS=$CPPFLAGS
12780 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12782 printf %s "checking for MinGW vkd3d.h... " >&6; }
12783 if test ${ac_cv_mingw_header_vkd3d_h+y}
12784 then :
12785 printf %s "(cached) " >&6
12786 else $as_nop
12787 ac_wine_check_headers_saved_cc=$CC
12788 ac_wine_check_headers_saved_exeext=$ac_exeext
12789 eval CC=\$${wine_arch}_CC
12790 ac_exeext=".exe"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 #include <vkd3d.h>
12796 main (void)
12800 return 0;
12802 _ACEOF
12803 if ac_fn_c_try_compile "$LINENO"
12804 then :
12805 ac_cv_mingw_header_vkd3d_h=yes
12806 else $as_nop
12807 ac_cv_mingw_header_vkd3d_h=no
12809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12810 CC=$ac_wine_check_headers_saved_cc
12811 ac_exeext=$ac_wine_check_headers_saved_exeext
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12814 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12815 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12816 then :
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12820 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12821 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12822 then :
12823 printf %s "(cached) " >&6
12824 else $as_nop
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 eval CC=\$${wine_arch}_CC
12828 ac_exeext=".exe"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 #include <vkd3d_shader.h>
12834 main (void)
12838 return 0;
12840 _ACEOF
12841 if ac_fn_c_try_compile "$LINENO"
12842 then :
12843 ac_cv_mingw_header_vkd3d_shader_h=yes
12844 else $as_nop
12845 ac_cv_mingw_header_vkd3d_shader_h=no
12847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12848 CC=$ac_wine_check_headers_saved_cc
12849 ac_exeext=$ac_wine_check_headers_saved_exeext
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12852 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12853 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12854 then :
12857 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12858 then
12859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12860 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12861 if test ${ac_cv_mingw_lib_vkd3d+y}
12862 then :
12863 printf %s "(cached) " >&6
12864 else $as_nop
12865 ac_wine_check_headers_saved_cc=$CC
12866 ac_wine_check_headers_saved_exeext=$ac_exeext
12867 ac_wine_check_headers_saved_libs=$LIBS
12868 eval CC=\$${wine_arch}_CC
12869 ac_exeext=".exe"
12870 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12877 char vkd3d_set_log_callback ();
12879 main (void)
12881 return vkd3d_set_log_callback ();
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_link "$LINENO"
12887 then :
12888 ac_cv_mingw_lib_vkd3d=yes
12889 else $as_nop
12890 ac_cv_mingw_lib_vkd3d=no
12892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12893 conftest$ac_exeext conftest.$ac_ext
12894 CC=$ac_wine_check_headers_saved_cc
12895 ac_exeext=$ac_wine_check_headers_saved_exeext
12896 LIBS=$ac_wine_check_headers_saved_libs
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12899 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12900 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12901 then :
12903 else $as_nop
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12907 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12908 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12909 then :
12910 printf %s "(cached) " >&6
12911 else $as_nop
12912 ac_wine_check_headers_saved_cc=$CC
12913 ac_wine_check_headers_saved_exeext=$ac_exeext
12914 ac_wine_check_headers_saved_libs=$LIBS
12915 eval CC=\$${wine_arch}_CC
12916 ac_exeext=".exe"
12917 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12924 char vkd3d_shader_compile ();
12926 main (void)
12928 return vkd3d_shader_compile ();
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_link "$LINENO"
12934 then :
12935 ac_cv_mingw_lib_vkd3d_shader=yes
12936 else $as_nop
12937 ac_cv_mingw_lib_vkd3d_shader=no
12939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12940 conftest$ac_exeext conftest.$ac_ext
12941 CC=$ac_wine_check_headers_saved_cc
12942 ac_exeext=$ac_wine_check_headers_saved_exeext
12943 LIBS=$ac_wine_check_headers_saved_libs
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12946 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12947 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12948 then :
12950 else $as_nop
12953 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12954 then
12955 VKD3D_PE_CFLAGS=""
12956 VKD3D_PE_LIBS=""
12958 else
12959 VKD3D_PE_CFLAGS=""
12960 VKD3D_PE_LIBS=""
12962 CPPFLAGS=$ac_save_CPPFLAGS
12964 if test "x$VKD3D_PE_LIBS" = "x"
12965 then
12966 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12969 if ${ZLIB_PE_CFLAGS:+false} :
12970 then :
12971 if test ${MINGW_PKG_CONFIG+y}
12972 then :
12973 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12976 if ${ZLIB_PE_LIBS:+false} :
12977 then :
12978 if test ${MINGW_PKG_CONFIG+y}
12979 then :
12980 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12983 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12984 ac_save_CPPFLAGS=$CPPFLAGS
12985 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12987 printf %s "checking for MinGW zlib.h... " >&6; }
12988 if test ${ac_cv_mingw_header_zlib_h+y}
12989 then :
12990 printf %s "(cached) " >&6
12991 else $as_nop
12992 ac_wine_check_headers_saved_cc=$CC
12993 ac_wine_check_headers_saved_exeext=$ac_exeext
12994 eval CC=\$${wine_arch}_CC
12995 ac_exeext=".exe"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12999 #include <zlib.h>
13001 main (void)
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_compile "$LINENO"
13009 then :
13010 ac_cv_mingw_header_zlib_h=yes
13011 else $as_nop
13012 ac_cv_mingw_header_zlib_h=no
13014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13019 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13020 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13021 then :
13022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13023 printf %s "checking for inflate in MinGW -lz... " >&6; }
13024 if test ${ac_cv_mingw_lib_z+y}
13025 then :
13026 printf %s "(cached) " >&6
13027 else $as_nop
13028 ac_wine_check_headers_saved_cc=$CC
13029 ac_wine_check_headers_saved_exeext=$ac_exeext
13030 ac_wine_check_headers_saved_libs=$LIBS
13031 eval CC=\$${wine_arch}_CC
13032 ac_exeext=".exe"
13033 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13040 char inflate ();
13042 main (void)
13044 return inflate ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"
13050 then :
13051 ac_cv_mingw_lib_z=yes
13052 else $as_nop
13053 ac_cv_mingw_lib_z=no
13055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13056 conftest$ac_exeext conftest.$ac_ext
13057 CC=$ac_wine_check_headers_saved_cc
13058 ac_exeext=$ac_wine_check_headers_saved_exeext
13059 LIBS=$ac_wine_check_headers_saved_libs
13061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13062 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13063 if test "x$ac_cv_mingw_lib_z" = xyes
13064 then :
13066 else $as_nop
13067 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13069 else $as_nop
13070 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13072 CPPFLAGS=$ac_save_CPPFLAGS
13074 if test "x$ZLIB_PE_LIBS" = "x"
13075 then
13076 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13080 if ${FAUDIO_PE_LIBS:+false} :
13081 then :
13082 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13083 if ${FAUDIO_PE_CFLAGS:+false} :
13084 then :
13085 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13086 else $as_nop
13087 enable_faudio=no
13089 else $as_nop
13090 enable_faudio=no
13092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13095 if ${GSM_PE_LIBS:+false} :
13096 then :
13097 GSM_PE_LIBS=gsm
13098 if ${GSM_PE_CFLAGS:+false} :
13099 then :
13100 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13101 else $as_nop
13102 enable_gsm=no
13104 else $as_nop
13105 enable_gsm=no
13107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13110 if ${JPEG_PE_LIBS:+false} :
13111 then :
13112 JPEG_PE_LIBS=jpeg
13113 if ${JPEG_PE_CFLAGS:+false} :
13114 then :
13115 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13116 else $as_nop
13117 enable_jpeg=no
13119 else $as_nop
13120 enable_jpeg=no
13122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13125 if ${JXR_PE_LIBS:+false} :
13126 then :
13127 JXR_PE_LIBS=jxr
13128 if ${JXR_PE_CFLAGS:+false} :
13129 then :
13130 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13131 else $as_nop
13132 enable_jxr=no
13134 else $as_nop
13135 enable_jxr=no
13137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13140 if ${LCMS2_PE_LIBS:+false} :
13141 then :
13142 LCMS2_PE_LIBS=lcms2
13143 if ${LCMS2_PE_CFLAGS:+false} :
13144 then :
13145 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13146 else $as_nop
13147 enable_lcms2=no
13149 else $as_nop
13150 enable_lcms2=no
13152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13155 if ${LDAP_PE_LIBS:+false} :
13156 then :
13157 LDAP_PE_LIBS=ldap
13158 if ${LDAP_PE_CFLAGS:+false} :
13159 then :
13160 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13161 else $as_nop
13162 enable_ldap=no
13164 else $as_nop
13165 enable_ldap=no
13167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13170 if ${MPG123_PE_LIBS:+false} :
13171 then :
13172 MPG123_PE_LIBS=mpg123
13173 if ${MPG123_PE_CFLAGS:+false} :
13174 then :
13175 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13176 else $as_nop
13177 enable_mpg123=no
13179 else $as_nop
13180 enable_mpg123=no
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13185 if ${PNG_PE_LIBS:+false} :
13186 then :
13187 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13188 if ${PNG_PE_CFLAGS:+false} :
13189 then :
13190 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13191 else $as_nop
13192 enable_png=no
13194 else $as_nop
13195 enable_png=no
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13200 if ${TIFF_PE_LIBS:+false} :
13201 then :
13202 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13203 if ${TIFF_PE_CFLAGS:+false} :
13204 then :
13205 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13206 else $as_nop
13207 enable_tiff=no
13209 else $as_nop
13210 enable_tiff=no
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13215 if ${VKD3D_PE_LIBS:+false} :
13216 then :
13217 VKD3D_PE_LIBS=vkd3d
13218 if ${VKD3D_PE_CFLAGS:+false} :
13219 then :
13220 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13221 else $as_nop
13222 enable_vkd3d=no
13224 else $as_nop
13225 enable_vkd3d=no
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13230 if ${XML2_PE_LIBS:+false} :
13231 then :
13232 XML2_PE_LIBS=xml2
13233 if ${XML2_PE_CFLAGS:+false} :
13234 then :
13235 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13236 else $as_nop
13237 enable_xml2=no
13239 else $as_nop
13240 enable_xml2=no
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13245 if ${XSLT_PE_LIBS:+false} :
13246 then :
13247 XSLT_PE_LIBS=xslt
13248 if ${XSLT_PE_CFLAGS:+false} :
13249 then :
13250 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13251 else $as_nop
13252 enable_xslt=no
13254 else $as_nop
13255 enable_xslt=no
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13260 if ${ZLIB_PE_LIBS:+false} :
13261 then :
13262 ZLIB_PE_LIBS=z
13263 if ${ZLIB_PE_CFLAGS:+false} :
13264 then :
13265 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13266 else $as_nop
13267 enable_zlib=no
13269 else $as_nop
13270 enable_zlib=no
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13277 if test "$ac_cv_header_pthread_h" = "yes"
13278 then
13279 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13280 if test "x$ac_cv_func_pthread_create" = xyes
13281 then :
13283 else $as_nop
13284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13285 printf %s "checking for pthread_create in -lpthread... " >&6; }
13286 if test ${ac_cv_lib_pthread_pthread_create+y}
13287 then :
13288 printf %s "(cached) " >&6
13289 else $as_nop
13290 ac_check_lib_save_LIBS=$LIBS
13291 LIBS="-lpthread $LIBS"
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 char pthread_create ();
13300 main (void)
13302 return pthread_create ();
13304 return 0;
13306 _ACEOF
13307 if ac_fn_c_try_link "$LINENO"
13308 then :
13309 ac_cv_lib_pthread_pthread_create=yes
13310 else $as_nop
13311 ac_cv_lib_pthread_pthread_create=no
13313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_lib_save_LIBS
13317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13318 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13319 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13320 then :
13321 PTHREAD_LIBS="-lpthread"
13328 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13329 then :
13330 case "x$with_pthread" in
13331 xno) ;;
13332 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13333 Wine cannot support threads without libpthread.
13334 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13335 esac
13340 ac_ext=c
13341 ac_cpp='$CPP $CPPFLAGS'
13342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13346 printf %s "checking how to run the C preprocessor... " >&6; }
13347 # On Suns, sometimes $CPP names a directory.
13348 if test -n "$CPP" && test -d "$CPP"; then
13349 CPP=
13351 if test -z "$CPP"; then
13352 if test ${ac_cv_prog_CPP+y}
13353 then :
13354 printf %s "(cached) " >&6
13355 else $as_nop
13356 # Double quotes because $CC needs to be expanded
13357 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13359 ac_preproc_ok=false
13360 for ac_c_preproc_warn_flag in '' yes
13362 # Use a header file that comes with gcc, so configuring glibc
13363 # with a fresh cross-compiler works.
13364 # On the NeXT, cc -E runs the code through the compiler's parser,
13365 # not just through cpp. "Syntax error" is here to catch this case.
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13368 #include <limits.h>
13369 Syntax error
13370 _ACEOF
13371 if ac_fn_c_try_cpp "$LINENO"
13372 then :
13374 else $as_nop
13375 # Broken: fails on valid input.
13376 continue
13378 rm -f conftest.err conftest.i conftest.$ac_ext
13380 # OK, works on sane cases. Now check whether nonexistent headers
13381 # can be detected and how.
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13384 #include <ac_nonexistent.h>
13385 _ACEOF
13386 if ac_fn_c_try_cpp "$LINENO"
13387 then :
13388 # Broken: success on invalid input.
13389 continue
13390 else $as_nop
13391 # Passes both tests.
13392 ac_preproc_ok=:
13393 break
13395 rm -f conftest.err conftest.i conftest.$ac_ext
13397 done
13398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13399 rm -f conftest.i conftest.err conftest.$ac_ext
13400 if $ac_preproc_ok
13401 then :
13402 break
13405 done
13406 ac_cv_prog_CPP=$CPP
13409 CPP=$ac_cv_prog_CPP
13410 else
13411 ac_cv_prog_CPP=$CPP
13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13414 printf "%s\n" "$CPP" >&6; }
13415 ac_preproc_ok=false
13416 for ac_c_preproc_warn_flag in '' yes
13418 # Use a header file that comes with gcc, so configuring glibc
13419 # with a fresh cross-compiler works.
13420 # On the NeXT, cc -E runs the code through the compiler's parser,
13421 # not just through cpp. "Syntax error" is here to catch this case.
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13424 #include <limits.h>
13425 Syntax error
13426 _ACEOF
13427 if ac_fn_c_try_cpp "$LINENO"
13428 then :
13430 else $as_nop
13431 # Broken: fails on valid input.
13432 continue
13434 rm -f conftest.err conftest.i conftest.$ac_ext
13436 # OK, works on sane cases. Now check whether nonexistent headers
13437 # can be detected and how.
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13440 #include <ac_nonexistent.h>
13441 _ACEOF
13442 if ac_fn_c_try_cpp "$LINENO"
13443 then :
13444 # Broken: success on invalid input.
13445 continue
13446 else $as_nop
13447 # Passes both tests.
13448 ac_preproc_ok=:
13449 break
13451 rm -f conftest.err conftest.i conftest.$ac_ext
13453 done
13454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13455 rm -f conftest.i conftest.err conftest.$ac_ext
13456 if $ac_preproc_ok
13457 then :
13459 else $as_nop
13460 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13461 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13462 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13463 See \`config.log' for more details" "$LINENO" 5; }
13466 ac_ext=c
13467 ac_cpp='$CPP $CPPFLAGS'
13468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13474 printf %s "checking for X... " >&6; }
13477 # Check whether --with-x was given.
13478 if test ${with_x+y}
13479 then :
13480 withval=$with_x;
13483 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13484 if test "x$with_x" = xno; then
13485 # The user explicitly disabled X.
13486 have_x=disabled
13487 else
13488 case $x_includes,$x_libraries in #(
13489 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13490 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13491 then :
13492 printf %s "(cached) " >&6
13493 else $as_nop
13494 # One or both of the vars are not set, and there is no cached value.
13495 ac_x_includes=no
13496 ac_x_libraries=no
13497 # Do we need to do anything special at all?
13498 ac_save_LIBS=$LIBS
13499 LIBS="-lX11 $LIBS"
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <X11/Xlib.h>
13504 main (void)
13506 XrmInitialize ()
13508 return 0;
13510 _ACEOF
13511 if ac_fn_c_try_link "$LINENO"
13512 then :
13513 # We can compile and link X programs with no special options.
13514 ac_x_includes=
13515 ac_x_libraries=
13517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13518 conftest$ac_exeext conftest.$ac_ext
13519 LIBS="$ac_save_LIBS"
13520 # If that didn't work, only try xmkmf and file system searches
13521 # for native compilation.
13522 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13523 then :
13524 rm -f -r conftest.dir
13525 if mkdir conftest.dir; then
13526 cd conftest.dir
13527 cat >Imakefile <<'_ACEOF'
13528 incroot:
13529 @echo incroot='${INCROOT}'
13530 usrlibdir:
13531 @echo usrlibdir='${USRLIBDIR}'
13532 libdir:
13533 @echo libdir='${LIBDIR}'
13534 _ACEOF
13535 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13537 for ac_var in incroot usrlibdir libdir; do
13538 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13539 done
13540 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13541 for ac_extension in a so sl dylib la dll; do
13542 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13543 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13544 ac_im_usrlibdir=$ac_im_libdir; break
13546 done
13547 # Screen out bogus values from the imake configuration. They are
13548 # bogus both because they are the default anyway, and because
13549 # using them would break gcc on systems where it needs fixed includes.
13550 case $ac_im_incroot in
13551 /usr/include) ac_x_includes= ;;
13552 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13553 esac
13554 case $ac_im_usrlibdir in
13555 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13556 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13557 esac
13559 cd ..
13560 rm -f -r conftest.dir
13563 # Standard set of common directories for X headers.
13564 # Check X11 before X11Rn because it is often a symlink to the current release.
13565 ac_x_header_dirs='
13566 /usr/X11/include
13567 /usr/X11R7/include
13568 /usr/X11R6/include
13569 /usr/X11R5/include
13570 /usr/X11R4/include
13572 /usr/include/X11
13573 /usr/include/X11R7
13574 /usr/include/X11R6
13575 /usr/include/X11R5
13576 /usr/include/X11R4
13578 /usr/local/X11/include
13579 /usr/local/X11R7/include
13580 /usr/local/X11R6/include
13581 /usr/local/X11R5/include
13582 /usr/local/X11R4/include
13584 /usr/local/include/X11
13585 /usr/local/include/X11R7
13586 /usr/local/include/X11R6
13587 /usr/local/include/X11R5
13588 /usr/local/include/X11R4
13590 /opt/X11/include
13592 /usr/X386/include
13593 /usr/x386/include
13594 /usr/XFree86/include/X11
13596 /usr/include
13597 /usr/local/include
13598 /usr/unsupported/include
13599 /usr/athena/include
13600 /usr/local/x11r5/include
13601 /usr/lpp/Xamples/include
13603 /usr/openwin/include
13604 /usr/openwin/share/include'
13606 if test "$ac_x_includes" = no; then
13607 # Guess where to find include files, by looking for Xlib.h.
13608 # First, try using that file with no special directory specified.
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 #include <X11/Xlib.h>
13612 _ACEOF
13613 if ac_fn_c_try_cpp "$LINENO"
13614 then :
13615 # We can compile using X headers with no special include directory.
13616 ac_x_includes=
13617 else $as_nop
13618 for ac_dir in $ac_x_header_dirs; do
13619 if test -r "$ac_dir/X11/Xlib.h"; then
13620 ac_x_includes=$ac_dir
13621 break
13623 done
13625 rm -f conftest.err conftest.i conftest.$ac_ext
13626 fi # $ac_x_includes = no
13628 if test "$ac_x_libraries" = no; then
13629 # Check for the libraries.
13630 # See if we find them without any special options.
13631 # Don't add to $LIBS permanently.
13632 ac_save_LIBS=$LIBS
13633 LIBS="-lX11 $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <X11/Xlib.h>
13638 main (void)
13640 XrmInitialize ()
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"
13646 then :
13647 LIBS=$ac_save_LIBS
13648 # We can link X programs with no special library path.
13649 ac_x_libraries=
13650 else $as_nop
13651 LIBS=$ac_save_LIBS
13652 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13654 # Don't even attempt the hair of trying to link an X program!
13655 for ac_extension in a so sl dylib la dll; do
13656 if test -r "$ac_dir/libX11.$ac_extension"; then
13657 ac_x_libraries=$ac_dir
13658 break 2
13660 done
13661 done
13663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13664 conftest$ac_exeext conftest.$ac_ext
13665 fi # $ac_x_libraries = no
13668 # Record the results.
13669 case $ac_x_includes,$ac_x_libraries in #(
13670 no,* | *,no | *\'*) :
13671 # Didn't find X, or a directory has "'" in its name.
13672 ac_cv_have_x="have_x=no" ;; #(
13673 *) :
13674 # Record where we found X for the cache.
13675 ac_cv_have_x="have_x=yes\
13676 ac_x_includes='$ac_x_includes'\
13677 ac_x_libraries='$ac_x_libraries'" ;;
13678 esac
13680 ;; #(
13681 *) have_x=yes;;
13682 esac
13683 eval "$ac_cv_have_x"
13684 fi # $with_x != no
13686 if test "$have_x" != yes; then
13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13688 printf "%s\n" "$have_x" >&6; }
13689 no_x=yes
13690 else
13691 # If each of the values was on the command line, it overrides each guess.
13692 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13693 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13694 # Update the cache value to reflect the command line values.
13695 ac_cv_have_x="have_x=yes\
13696 ac_x_includes='$x_includes'\
13697 ac_x_libraries='$x_libraries'"
13698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13699 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13702 if test "$no_x" = yes; then
13703 # Not all programs may use this symbol, but it does not hurt to define it.
13705 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13707 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13708 else
13709 if test -n "$x_includes"; then
13710 X_CFLAGS="$X_CFLAGS -I$x_includes"
13713 # It would also be nice to do this for all -L options, not just this one.
13714 if test -n "$x_libraries"; then
13715 X_LIBS="$X_LIBS -L$x_libraries"
13716 # For Solaris; some versions of Sun CC require a space after -R and
13717 # others require no space. Words are not sufficient . . . .
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13719 printf %s "checking whether -R must be followed by a space... " >&6; }
13720 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13721 ac_xsave_c_werror_flag=$ac_c_werror_flag
13722 ac_c_werror_flag=yes
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13727 main (void)
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"
13735 then :
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13737 printf "%s\n" "no" >&6; }
13738 X_LIBS="$X_LIBS -R$x_libraries"
13739 else $as_nop
13740 LIBS="$ac_xsave_LIBS -R $x_libraries"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13745 main (void)
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"
13753 then :
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13755 printf "%s\n" "yes" >&6; }
13756 X_LIBS="$X_LIBS -R $x_libraries"
13757 else $as_nop
13758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13759 printf "%s\n" "neither works" >&6; }
13761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13762 conftest$ac_exeext conftest.$ac_ext
13764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13765 conftest$ac_exeext conftest.$ac_ext
13766 ac_c_werror_flag=$ac_xsave_c_werror_flag
13767 LIBS=$ac_xsave_LIBS
13770 # Check for system-dependent libraries X programs must link with.
13771 # Do this before checking for the system-independent R6 libraries
13772 # (-lICE), since we may need -lsocket or whatever for X linking.
13774 if test "$ISC" = yes; then
13775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13776 else
13777 # Martyn Johnson says this is needed for Ultrix, if the X
13778 # libraries were built with DECnet support. And Karl Berry says
13779 # the Alpha needs dnet_stub (dnet does not exist).
13780 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13787 char XOpenDisplay ();
13789 main (void)
13791 return XOpenDisplay ();
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"
13797 then :
13799 else $as_nop
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13801 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13802 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13803 then :
13804 printf %s "(cached) " >&6
13805 else $as_nop
13806 ac_check_lib_save_LIBS=$LIBS
13807 LIBS="-ldnet $LIBS"
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13814 char dnet_ntoa ();
13816 main (void)
13818 return dnet_ntoa ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"
13824 then :
13825 ac_cv_lib_dnet_dnet_ntoa=yes
13826 else $as_nop
13827 ac_cv_lib_dnet_dnet_ntoa=no
13829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13830 conftest$ac_exeext conftest.$ac_ext
13831 LIBS=$ac_check_lib_save_LIBS
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13834 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13835 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13836 then :
13837 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13840 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13842 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13843 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13844 then :
13845 printf %s "(cached) " >&6
13846 else $as_nop
13847 ac_check_lib_save_LIBS=$LIBS
13848 LIBS="-ldnet_stub $LIBS"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13855 char dnet_ntoa ();
13857 main (void)
13859 return dnet_ntoa ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"
13865 then :
13866 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13867 else $as_nop
13868 ac_cv_lib_dnet_stub_dnet_ntoa=no
13870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_lib_save_LIBS
13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13875 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13876 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13877 then :
13878 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS="$ac_xsave_LIBS"
13887 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13888 # to get the SysV transport functions.
13889 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13890 # needs -lnsl.
13891 # The nsl library prevents programs from opening the X display
13892 # on Irix 5.2, according to T.E. Dickey.
13893 # The functions gethostbyname, getservbyname, and inet_addr are
13894 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13895 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13896 if test "x$ac_cv_func_gethostbyname" = xyes
13897 then :
13901 if test $ac_cv_func_gethostbyname = no; then
13902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13903 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13904 if test ${ac_cv_lib_nsl_gethostbyname+y}
13905 then :
13906 printf %s "(cached) " >&6
13907 else $as_nop
13908 ac_check_lib_save_LIBS=$LIBS
13909 LIBS="-lnsl $LIBS"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13916 char gethostbyname ();
13918 main (void)
13920 return gethostbyname ();
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"
13926 then :
13927 ac_cv_lib_nsl_gethostbyname=yes
13928 else $as_nop
13929 ac_cv_lib_nsl_gethostbyname=no
13931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS=$ac_check_lib_save_LIBS
13935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13936 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13937 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13938 then :
13939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13942 if test $ac_cv_lib_nsl_gethostbyname = no; then
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13944 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13945 if test ${ac_cv_lib_bsd_gethostbyname+y}
13946 then :
13947 printf %s "(cached) " >&6
13948 else $as_nop
13949 ac_check_lib_save_LIBS=$LIBS
13950 LIBS="-lbsd $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 char gethostbyname ();
13959 main (void)
13961 return gethostbyname ();
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"
13967 then :
13968 ac_cv_lib_bsd_gethostbyname=yes
13969 else $as_nop
13970 ac_cv_lib_bsd_gethostbyname=no
13972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13973 conftest$ac_exeext conftest.$ac_ext
13974 LIBS=$ac_check_lib_save_LIBS
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13977 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13978 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13979 then :
13980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13987 # socket/setsockopt and other routines are undefined under SCO ODT
13988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13989 # on later versions), says Simon Leinen: it contains gethostby*
13990 # variants that don't use the name server (or something). -lsocket
13991 # must be given before -lnsl if both are needed. We assume that
13992 # if connect needs -lnsl, so does gethostbyname.
13993 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13994 if test "x$ac_cv_func_connect" = xyes
13995 then :
13999 if test $ac_cv_func_connect = no; then
14000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14001 printf %s "checking for connect in -lsocket... " >&6; }
14002 if test ${ac_cv_lib_socket_connect+y}
14003 then :
14004 printf %s "(cached) " >&6
14005 else $as_nop
14006 ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 char connect ();
14016 main (void)
14018 return connect ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"
14024 then :
14025 ac_cv_lib_socket_connect=yes
14026 else $as_nop
14027 ac_cv_lib_socket_connect=no
14029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_lib_save_LIBS
14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14034 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14035 if test "x$ac_cv_lib_socket_connect" = xyes
14036 then :
14037 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14042 # Guillermo Gomez says -lposix is necessary on A/UX.
14043 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14044 if test "x$ac_cv_func_remove" = xyes
14045 then :
14049 if test $ac_cv_func_remove = no; then
14050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14051 printf %s "checking for remove in -lposix... " >&6; }
14052 if test ${ac_cv_lib_posix_remove+y}
14053 then :
14054 printf %s "(cached) " >&6
14055 else $as_nop
14056 ac_check_lib_save_LIBS=$LIBS
14057 LIBS="-lposix $LIBS"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14064 char remove ();
14066 main (void)
14068 return remove ();
14070 return 0;
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"
14074 then :
14075 ac_cv_lib_posix_remove=yes
14076 else $as_nop
14077 ac_cv_lib_posix_remove=no
14079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14084 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14085 if test "x$ac_cv_lib_posix_remove" = xyes
14086 then :
14087 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14093 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14094 if test "x$ac_cv_func_shmat" = xyes
14095 then :
14099 if test $ac_cv_func_shmat = no; then
14100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14101 printf %s "checking for shmat in -lipc... " >&6; }
14102 if test ${ac_cv_lib_ipc_shmat+y}
14103 then :
14104 printf %s "(cached) " >&6
14105 else $as_nop
14106 ac_check_lib_save_LIBS=$LIBS
14107 LIBS="-lipc $LIBS"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14111 /* Override any GCC internal prototype to avoid an error.
14112 Use char because int might match the return type of a GCC
14113 builtin and then its argument prototype would still apply. */
14114 char shmat ();
14116 main (void)
14118 return shmat ();
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"
14124 then :
14125 ac_cv_lib_ipc_shmat=yes
14126 else $as_nop
14127 ac_cv_lib_ipc_shmat=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14134 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14135 if test "x$ac_cv_lib_ipc_shmat" = xyes
14136 then :
14137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14143 # Check for libraries that X11R6 Xt/Xaw programs need.
14144 ac_save_LDFLAGS=$LDFLAGS
14145 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14146 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14147 # check for ICE first), but we must link in the order -lSM -lICE or
14148 # we get undefined symbols. So assume we have SM if we have ICE.
14149 # These have to be linked with before -lX11, unlike the other
14150 # libraries we check for below, so use a different variable.
14151 # John Interrante, Karl Berry
14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14153 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14154 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14155 then :
14156 printf %s "(cached) " >&6
14157 else $as_nop
14158 ac_check_lib_save_LIBS=$LIBS
14159 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14163 /* Override any GCC internal prototype to avoid an error.
14164 Use char because int might match the return type of a GCC
14165 builtin and then its argument prototype would still apply. */
14166 char IceConnectionNumber ();
14168 main (void)
14170 return IceConnectionNumber ();
14172 return 0;
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"
14176 then :
14177 ac_cv_lib_ICE_IceConnectionNumber=yes
14178 else $as_nop
14179 ac_cv_lib_ICE_IceConnectionNumber=no
14181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14182 conftest$ac_exeext conftest.$ac_ext
14183 LIBS=$ac_check_lib_save_LIBS
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14186 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14187 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14188 then :
14189 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14192 LDFLAGS=$ac_save_LDFLAGS
14197 if test "$have_x" = "yes"
14198 then
14199 ac_save_CPPFLAGS="$CPPFLAGS"
14200 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14203 printf %s "checking for -lX11... " >&6; }
14204 if test ${ac_cv_lib_soname_X11+y}
14205 then :
14206 printf %s "(cached) " >&6
14207 else $as_nop
14208 ac_check_soname_save_LIBS=$LIBS
14209 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14216 char XCreateWindow ();
14218 main (void)
14220 return XCreateWindow ();
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"
14226 then :
14227 case "$LIBEXT" in
14228 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14229 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'` ;;
14230 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14231 if ${ac_cv_lib_soname_X11:+false} :
14232 then :
14233 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14234 fi ;;
14235 esac
14236 else $as_nop
14237 ac_cv_lib_soname_X11=
14239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14240 conftest$ac_exeext conftest.$ac_ext
14241 LIBS=$ac_check_soname_save_LIBS
14243 if ${ac_cv_lib_soname_X11:+false} :
14244 then :
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14246 printf "%s\n" "not found" >&6; }
14248 else $as_nop
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14250 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14252 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14257 printf %s "checking for -lXext... " >&6; }
14258 if test ${ac_cv_lib_soname_Xext+y}
14259 then :
14260 printf %s "(cached) " >&6
14261 else $as_nop
14262 ac_check_soname_save_LIBS=$LIBS
14263 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 char XextCreateExtension ();
14272 main (void)
14274 return XextCreateExtension ();
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"
14280 then :
14281 case "$LIBEXT" in
14282 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14283 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'` ;;
14284 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14285 if ${ac_cv_lib_soname_Xext:+false} :
14286 then :
14287 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14288 fi ;;
14289 esac
14290 else $as_nop
14291 ac_cv_lib_soname_Xext=
14293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14294 conftest$ac_exeext conftest.$ac_ext
14295 LIBS=$ac_check_soname_save_LIBS
14297 if ${ac_cv_lib_soname_Xext:+false} :
14298 then :
14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14300 printf "%s\n" "not found" >&6; }
14302 else $as_nop
14303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14304 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14306 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14308 X_LIBS="$X_LIBS -lXext"
14310 X_LIBS="$X_LIBS -lX11"
14312 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14313 # include <X11/Xlib.h>
14314 #endif
14315 #ifdef HAVE_X11_XUTIL_H
14316 # include <X11/Xutil.h>
14317 #endif
14319 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14320 then :
14321 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14324 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14325 # include <X11/Xlib.h>
14326 #endif
14327 #ifdef HAVE_X11_XUTIL_H
14328 # include <X11/Xutil.h>
14329 #endif
14331 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14332 then :
14333 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14336 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14337 # include <X11/Xlib.h>
14338 #endif
14339 #ifdef HAVE_X11_XUTIL_H
14340 # include <X11/Xutil.h>
14341 #endif
14343 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14344 then :
14345 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14348 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14349 # include <X11/Xlib.h>
14350 #endif
14351 #ifdef HAVE_X11_XUTIL_H
14352 # include <X11/Xutil.h>
14353 #endif
14355 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14356 then :
14357 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14362 #endif
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14365 #endif
14367 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14368 then :
14369 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14374 #endif
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14377 #endif
14379 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14380 then :
14381 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14494 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14495 then
14496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14497 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14498 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14499 then :
14500 printf %s "(cached) " >&6
14501 else $as_nop
14502 ac_check_lib_save_LIBS=$LIBS
14503 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 char XkbQueryExtension ();
14512 main (void)
14514 return XkbQueryExtension ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"
14520 then :
14521 ac_cv_lib_X11_XkbQueryExtension=yes
14522 else $as_nop
14523 ac_cv_lib_X11_XkbQueryExtension=no
14525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14526 conftest$ac_exeext conftest.$ac_ext
14527 LIBS=$ac_check_lib_save_LIBS
14529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14530 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14531 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14532 then :
14534 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14540 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14541 then
14542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14543 printf %s "checking for -lXcursor... " >&6; }
14544 if test ${ac_cv_lib_soname_Xcursor+y}
14545 then :
14546 printf %s "(cached) " >&6
14547 else $as_nop
14548 ac_check_soname_save_LIBS=$LIBS
14549 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 char XcursorImageLoadCursor ();
14558 main (void)
14560 return XcursorImageLoadCursor ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"
14566 then :
14567 case "$LIBEXT" in
14568 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14571 if ${ac_cv_lib_soname_Xcursor:+false} :
14572 then :
14573 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14574 fi ;;
14575 esac
14576 else $as_nop
14577 ac_cv_lib_soname_Xcursor=
14579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_soname_save_LIBS
14583 if ${ac_cv_lib_soname_Xcursor:+false} :
14584 then :
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14586 printf "%s\n" "not found" >&6; }
14588 else $as_nop
14589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14590 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14592 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14597 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14598 then :
14599 case "x$with_xcursor" in
14600 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14601 xno) ;;
14602 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14603 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14604 esac
14608 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14609 then
14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14611 printf %s "checking for -lXi... " >&6; }
14612 if test ${ac_cv_lib_soname_Xi+y}
14613 then :
14614 printf %s "(cached) " >&6
14615 else $as_nop
14616 ac_check_soname_save_LIBS=$LIBS
14617 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 char XOpenDevice ();
14626 main (void)
14628 return XOpenDevice ();
14630 return 0;
14632 _ACEOF
14633 if ac_fn_c_try_link "$LINENO"
14634 then :
14635 case "$LIBEXT" in
14636 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14637 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'` ;;
14638 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14639 if ${ac_cv_lib_soname_Xi:+false} :
14640 then :
14641 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14642 fi ;;
14643 esac
14644 else $as_nop
14645 ac_cv_lib_soname_Xi=
14647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14648 conftest$ac_exeext conftest.$ac_ext
14649 LIBS=$ac_check_soname_save_LIBS
14651 if ${ac_cv_lib_soname_Xi:+false} :
14652 then :
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14654 printf "%s\n" "not found" >&6; }
14656 else $as_nop
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14658 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14660 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14665 if test "x$ac_cv_lib_soname_Xi" = "x"
14666 then :
14667 case "x$with_xinput" in
14668 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14669 xno) ;;
14670 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14671 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14672 esac
14676 if test "x$ac_cv_lib_soname_Xi" != x
14677 then
14678 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14679 then :
14680 case "x$with_xinput2" in
14681 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14682 xno) ;;
14683 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14684 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14685 esac
14690 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14691 then
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14693 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14694 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14695 then :
14696 printf %s "(cached) " >&6
14697 else $as_nop
14698 ac_check_lib_save_LIBS=$LIBS
14699 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 char XShmQueryExtension ();
14708 main (void)
14710 return XShmQueryExtension ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"
14716 then :
14717 ac_cv_lib_Xext_XShmQueryExtension=yes
14718 else $as_nop
14719 ac_cv_lib_Xext_XShmQueryExtension=no
14721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_lib_save_LIBS
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14726 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14727 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14728 then :
14730 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14735 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14736 then :
14737 case "x$with_xshm" in
14738 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14739 xno) ;;
14740 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14741 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14742 esac
14746 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14747 then
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14749 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14750 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14751 then :
14752 printf %s "(cached) " >&6
14753 else $as_nop
14754 ac_check_lib_save_LIBS=$LIBS
14755 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XShapeQueryExtension ();
14764 main (void)
14766 return XShapeQueryExtension ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"
14772 then :
14773 ac_cv_lib_Xext_XShapeQueryExtension=yes
14774 else $as_nop
14775 ac_cv_lib_Xext_XShapeQueryExtension=no
14777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14778 conftest$ac_exeext conftest.$ac_ext
14779 LIBS=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14784 then :
14786 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14791 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14792 then :
14793 case "x$with_xshape" in
14794 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14795 xno) ;;
14796 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14797 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14798 esac
14802 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14803 then
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14805 printf %s "checking for -lXxf86vm... " >&6; }
14806 if test ${ac_cv_lib_soname_Xxf86vm+y}
14807 then :
14808 printf %s "(cached) " >&6
14809 else $as_nop
14810 ac_check_soname_save_LIBS=$LIBS
14811 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 char XF86VidModeQueryExtension ();
14820 main (void)
14822 return XF86VidModeQueryExtension ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"
14828 then :
14829 case "$LIBEXT" in
14830 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14831 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'` ;;
14832 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14833 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14834 then :
14835 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14836 fi ;;
14837 esac
14838 else $as_nop
14839 ac_cv_lib_soname_Xxf86vm=
14841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_check_soname_save_LIBS
14845 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14846 then :
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14848 printf "%s\n" "not found" >&6; }
14850 else $as_nop
14851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14852 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14854 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14859 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14860 then :
14861 case "x$with_xxf86vm" in
14862 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14863 xno) ;;
14864 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14865 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14866 esac
14870 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14871 then
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14873 printf %s "checking for -lXrender... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrender+y}
14875 then :
14876 printf %s "(cached) " >&6
14877 else $as_nop
14878 ac_check_soname_save_LIBS=$LIBS
14879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRenderQueryExtension ();
14888 main (void)
14890 return XRenderQueryExtension ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"
14896 then :
14897 case "$LIBEXT" in
14898 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrender:+false} :
14902 then :
14903 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14904 fi ;;
14905 esac
14906 else $as_nop
14907 ac_cv_lib_soname_Xrender=
14909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrender:+false} :
14914 then :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14918 else $as_nop
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14925 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14926 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14927 then :
14928 printf %s "(cached) " >&6
14929 else $as_nop
14930 ac_check_lib_save_LIBS=$LIBS
14931 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 char XRenderSetPictureTransform ();
14940 main (void)
14942 return XRenderSetPictureTransform ();
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"
14948 then :
14949 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14950 else $as_nop
14951 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14954 conftest$ac_exeext conftest.$ac_ext
14955 LIBS=$ac_check_lib_save_LIBS
14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14958 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14959 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14960 then :
14962 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14967 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14968 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14969 then :
14970 printf %s "(cached) " >&6
14971 else $as_nop
14972 ac_check_lib_save_LIBS=$LIBS
14973 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 char XRenderCreateLinearGradient ();
14982 main (void)
14984 return XRenderCreateLinearGradient ();
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"
14990 then :
14991 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14992 else $as_nop
14993 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14996 conftest$ac_exeext conftest.$ac_ext
14997 LIBS=$ac_check_lib_save_LIBS
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15000 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15001 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15002 then :
15004 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xrender" = "x"
15012 then :
15013 case "x$with_xrender" in
15014 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15015 xno) ;;
15016 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15017 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15018 esac
15022 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15023 then
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <X11/Xlib.h>
15027 #include <X11/extensions/Xrandr.h>
15029 main (void)
15031 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15033 return 0;
15035 _ACEOF
15036 if ac_fn_c_try_compile "$LINENO"
15037 then :
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15039 printf %s "checking for -lXrandr... " >&6; }
15040 if test ${ac_cv_lib_soname_Xrandr+y}
15041 then :
15042 printf %s "(cached) " >&6
15043 else $as_nop
15044 ac_check_soname_save_LIBS=$LIBS
15045 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char XRRQueryExtension ();
15054 main (void)
15056 return XRRQueryExtension ();
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"
15062 then :
15063 case "$LIBEXT" in
15064 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15065 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'` ;;
15066 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15067 if ${ac_cv_lib_soname_Xrandr:+false} :
15068 then :
15069 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15070 fi ;;
15071 esac
15072 else $as_nop
15073 ac_cv_lib_soname_Xrandr=
15075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15076 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_soname_save_LIBS
15079 if ${ac_cv_lib_soname_Xrandr:+false} :
15080 then :
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15082 printf "%s\n" "not found" >&6; }
15084 else $as_nop
15085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15086 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15088 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 #include <X11/Xlib.h>
15093 #include <X11/extensions/Xrandr.h>
15095 main (void)
15097 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15099 return 0;
15101 _ACEOF
15102 if ac_fn_c_try_compile "$LINENO"
15103 then :
15105 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15107 else $as_nop
15108 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15115 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15116 then :
15117 case "x$with_xrandr" in
15118 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15119 xno) ;;
15120 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15121 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15122 esac
15126 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15127 then
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #include <X11/Xlib.h>
15131 #include <X11/extensions/Xfixes.h>
15133 main (void)
15135 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"
15141 then :
15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15143 printf %s "checking for -lXfixes... " >&6; }
15144 if test ${ac_cv_lib_soname_Xfixes+y}
15145 then :
15146 printf %s "(cached) " >&6
15147 else $as_nop
15148 ac_check_soname_save_LIBS=$LIBS
15149 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15153 /* Override any GCC internal prototype to avoid an error.
15154 Use char because int might match the return type of a GCC
15155 builtin and then its argument prototype would still apply. */
15156 char XFixesQueryVersion ();
15158 main (void)
15160 return XFixesQueryVersion ();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"
15166 then :
15167 case "$LIBEXT" in
15168 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15169 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'` ;;
15170 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15171 if ${ac_cv_lib_soname_Xfixes:+false} :
15172 then :
15173 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15174 fi ;;
15175 esac
15176 else $as_nop
15177 ac_cv_lib_soname_Xfixes=
15179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_soname_save_LIBS
15183 if ${ac_cv_lib_soname_Xfixes:+false} :
15184 then :
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15186 printf "%s\n" "not found" >&6; }
15188 else $as_nop
15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15190 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15192 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15199 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15200 then :
15201 case "x$with_xfixes" in
15202 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15203 xno) ;;
15204 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15205 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15206 esac
15210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15211 then
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 #include <X11/Xlib.h>
15215 #include <X11/extensions/Xinerama.h>
15217 main (void)
15219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_compile "$LINENO"
15225 then :
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15227 printf %s "checking for -lXinerama... " >&6; }
15228 if test ${ac_cv_lib_soname_Xinerama+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 char XineramaQueryScreens ();
15242 main (void)
15244 return XineramaQueryScreens ();
15246 return 0;
15248 _ACEOF
15249 if ac_fn_c_try_link "$LINENO"
15250 then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_Xinerama:+false} :
15256 then :
15257 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15258 fi ;;
15259 esac
15260 else $as_nop
15261 ac_cv_lib_soname_Xinerama=
15263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15264 conftest$ac_exeext conftest.$ac_ext
15265 LIBS=$ac_check_soname_save_LIBS
15267 if ${ac_cv_lib_soname_Xinerama:+false} :
15268 then :
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 printf "%s\n" "not found" >&6; }
15272 else $as_nop
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15274 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15276 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15283 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15284 then :
15285 case "x$with_xinerama" in
15286 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15287 xno) ;;
15288 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15290 esac
15294 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15295 then
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15297 printf %s "checking for -lXcomposite... " >&6; }
15298 if test ${ac_cv_lib_soname_Xcomposite+y}
15299 then :
15300 printf %s "(cached) " >&6
15301 else $as_nop
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XCompositeRedirectWindow ();
15312 main (void)
15314 return XCompositeRedirectWindow ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"
15320 then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xcomposite:+false} :
15326 then :
15327 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15328 fi ;;
15329 esac
15330 else $as_nop
15331 ac_cv_lib_soname_Xcomposite=
15333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xcomposite:+false} :
15338 then :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15342 else $as_nop
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15352 then :
15353 case "x$with_xcomposite" in
15354 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15357 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15358 esac
15362 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15363 #include <X11/Xlib.h>
15364 #endif
15366 if test "x$ac_cv_member_XICCallback_callback" = xyes
15367 then :
15369 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15373 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15374 #include <X11/Xlib.h>
15375 #endif
15377 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15378 then :
15380 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15387 opengl_msg=""
15388 if test "x$with_opengl" != "xno"
15389 then
15390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15391 printf %s "checking for -lGL... " >&6; }
15392 if test ${ac_cv_lib_soname_GL+y}
15393 then :
15394 printf %s "(cached) " >&6
15395 else $as_nop
15396 ac_check_soname_save_LIBS=$LIBS
15397 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 char glXCreateContext ();
15406 main (void)
15408 return glXCreateContext ();
15410 return 0;
15412 _ACEOF
15413 if ac_fn_c_try_link "$LINENO"
15414 then :
15415 case "$LIBEXT" in
15416 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_GL:+false} :
15420 then :
15421 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15422 fi ;;
15423 esac
15424 else $as_nop
15425 ac_cv_lib_soname_GL=
15427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_GL:+false} :
15432 then :
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 printf "%s\n" "not found" >&6; }
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15436 printf %s "checking for -lGL... " >&6; }
15437 if test ${ac_cv_lib_soname_GL+y}
15438 then :
15439 printf %s "(cached) " >&6
15440 else $as_nop
15441 ac_check_soname_save_LIBS=$LIBS
15442 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"
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15449 char glXCreateContext ();
15451 main (void)
15453 return glXCreateContext ();
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"
15459 then :
15460 case "$LIBEXT" in
15461 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15462 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'` ;;
15463 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15464 if ${ac_cv_lib_soname_GL:+false} :
15465 then :
15466 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15467 fi ;;
15468 esac
15469 else $as_nop
15470 ac_cv_lib_soname_GL=
15472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15476 if ${ac_cv_lib_soname_GL:+false} :
15477 then :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 printf "%s\n" "not found" >&6; }
15480 if test -f /usr/X11R6/lib/libGL.a
15481 then
15482 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15484 else
15485 opengl_msg="No OpenGL library found on this system."
15487 else $as_nop
15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15489 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15491 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15493 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"
15495 else $as_nop
15496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15497 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15499 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15501 OPENGL_LIBS="-lGL"
15503 if test "x$with_osmesa" != "xno"
15504 then
15505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15506 printf %s "checking for -lOSMesa... " >&6; }
15507 if test ${ac_cv_lib_soname_OSMesa+y}
15508 then :
15509 printf %s "(cached) " >&6
15510 else $as_nop
15511 ac_check_soname_save_LIBS=$LIBS
15512 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15516 /* Override any GCC internal prototype to avoid an error.
15517 Use char because int might match the return type of a GCC
15518 builtin and then its argument prototype would still apply. */
15519 char OSMesaGetProcAddress ();
15521 main (void)
15523 return OSMesaGetProcAddress ();
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"
15529 then :
15530 case "$LIBEXT" in
15531 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15532 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'` ;;
15533 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15534 if ${ac_cv_lib_soname_OSMesa:+false} :
15535 then :
15536 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15537 fi ;;
15538 esac
15539 else $as_nop
15540 ac_cv_lib_soname_OSMesa=
15542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15543 conftest$ac_exeext conftest.$ac_ext
15544 LIBS=$ac_check_soname_save_LIBS
15546 if ${ac_cv_lib_soname_OSMesa:+false} :
15547 then :
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15549 printf "%s\n" "not found" >&6; }
15551 else $as_nop
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15553 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15555 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15559 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15560 then :
15561 case "x$with_osmesa" in
15562 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15565 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15566 esac
15571 if test -n "$opengl_msg"
15572 then :
15573 case "x$with_opengl" in
15574 x) as_fn_append wine_warnings "|$opengl_msg
15575 OpenGL and Direct3D won't be supported." ;;
15576 xno) ;;
15577 *) as_fn_error $? "$opengl_msg
15578 OpenGL and Direct3D won't be supported.
15579 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15580 esac
15584 CPPFLAGS="$ac_save_CPPFLAGS"
15585 else
15586 X_CFLAGS=""
15587 X_LIBS=""
15590 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15591 then
15592 if test "x$X_LIBS" = "x"
15593 then :
15594 case "x$with_x" in
15595 xno) ;;
15596 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15597 without X support, which probably isn't what you want. You will need
15598 to install ${notice_platform}development packages of Xlib at the very least.
15599 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15600 esac
15601 enable_winex11_drv=${enable_winex11_drv:-no}
15603 else
15604 if test "x$X_LIBS" = "x"
15605 then :
15606 case "x$with_x" in
15607 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15608 xno) ;;
15609 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15610 This is an error since --with-x was requested." "$LINENO" 5 ;;
15611 esac
15612 enable_winex11_drv=${enable_winex11_drv:-no}
15616 if test "$ac_cv_header_CL_cl_h" = "yes"
15617 then
15618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15619 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15620 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15621 then :
15622 printf %s "(cached) " >&6
15623 else $as_nop
15624 ac_check_lib_save_LIBS=$LIBS
15625 LIBS="-lOpenCL $LIBS"
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 char clGetPlatformInfo ();
15634 main (void)
15636 return clGetPlatformInfo ();
15638 return 0;
15640 _ACEOF
15641 if ac_fn_c_try_link "$LINENO"
15642 then :
15643 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15644 else $as_nop
15645 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15648 conftest$ac_exeext conftest.$ac_ext
15649 LIBS=$ac_check_lib_save_LIBS
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15652 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15653 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15654 then :
15655 OPENCL_LIBS="-lOpenCL"
15660 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15661 then :
15662 case "x$with_opencl" in
15663 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15664 xno) ;;
15665 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15666 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15667 esac
15668 enable_opencl=${enable_opencl:-no}
15671 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15672 then
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15674 printf %s "checking for pcap_init in -lpcap... " >&6; }
15675 if test ${ac_cv_lib_pcap_pcap_init+y}
15676 then :
15677 printf %s "(cached) " >&6
15678 else $as_nop
15679 ac_check_lib_save_LIBS=$LIBS
15680 LIBS="-lpcap $LIBS"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 char pcap_init ();
15689 main (void)
15691 return pcap_init ();
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"
15697 then :
15698 ac_cv_lib_pcap_pcap_init=yes
15699 else $as_nop
15700 ac_cv_lib_pcap_pcap_init=no
15702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15703 conftest$ac_exeext conftest.$ac_ext
15704 LIBS=$ac_check_lib_save_LIBS
15706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15707 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15708 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15709 then :
15710 PCAP_LIBS="-lpcap"
15715 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15716 then :
15717 case "x$with_pcap" in
15718 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15719 xno) ;;
15720 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15721 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15722 esac
15723 enable_wpcap=${enable_wpcap:-no}
15726 if test "x$with_pcsclite" != "xno"
15727 then
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15729 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15730 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15731 then :
15732 printf %s "(cached) " >&6
15733 else $as_nop
15734 ac_check_lib_save_LIBS=$LIBS
15735 LIBS="-lpcsclite $LIBS"
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15739 /* Override any GCC internal prototype to avoid an error.
15740 Use char because int might match the return type of a GCC
15741 builtin and then its argument prototype would still apply. */
15742 char SCardEstablishContext ();
15744 main (void)
15746 return SCardEstablishContext ();
15748 return 0;
15750 _ACEOF
15751 if ac_fn_c_try_link "$LINENO"
15752 then :
15753 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15754 else $as_nop
15755 ac_cv_lib_pcsclite_SCardEstablishContext=no
15757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15758 conftest$ac_exeext conftest.$ac_ext
15759 LIBS=$ac_check_lib_save_LIBS
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15762 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15763 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15764 then :
15765 PCSCLITE_LIBS="-lpcsclite"
15770 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15771 then :
15772 case "x$with_pcsclite" in
15773 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15774 xno) ;;
15775 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15776 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15777 esac
15778 enable_winscard=${enable_winscard:-no}
15781 if test "x$with_inotify" != "xno"
15782 then
15783 rm -f conftest.err
15784 if ${INOTIFY_CFLAGS:+false} :
15785 then :
15786 if test ${PKG_CONFIG+y}
15787 then :
15788 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15792 if ${INOTIFY_LIBS:+false} :
15793 then :
15794 if test ${PKG_CONFIG+y}
15795 then :
15796 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15803 if test -s conftest.err; then
15804 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15805 cat conftest.err >&5
15807 rm -f conftest.err
15808 ac_save_CPPFLAGS=$CPPFLAGS
15809 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15810 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15811 if test "x$ac_cv_header_sys_inotify_h" = xyes
15812 then :
15813 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15818 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15819 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15820 then :
15821 printf %s "(cached) " >&6
15822 else $as_nop
15823 ac_check_lib_save_LIBS=$LIBS
15824 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15828 /* Override any GCC internal prototype to avoid an error.
15829 Use char because int might match the return type of a GCC
15830 builtin and then its argument prototype would still apply. */
15831 char inotify_add_watch ();
15833 main (void)
15835 return inotify_add_watch ();
15837 return 0;
15839 _ACEOF
15840 if ac_fn_c_try_link "$LINENO"
15841 then :
15842 ac_cv_lib_inotify_inotify_add_watch=yes
15843 else $as_nop
15844 ac_cv_lib_inotify_inotify_add_watch=no
15846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15847 conftest$ac_exeext conftest.$ac_ext
15848 LIBS=$ac_check_lib_save_LIBS
15850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15851 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15852 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15853 then :
15855 else $as_nop
15856 INOTIFY_LIBS=""
15859 CPPFLAGS=$ac_save_CPPFLAGS
15862 if test "$ac_cv_header_sys_inotify_h" != "yes"
15863 then :
15864 case "x$with_inotify" in
15865 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15866 xno) ;;
15867 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15868 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15869 esac
15873 if test "x$with_dbus" != "xno"
15874 then
15875 rm -f conftest.err
15876 if ${DBUS_CFLAGS:+false} :
15877 then :
15878 if test ${PKG_CONFIG+y}
15879 then :
15880 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15884 if ${DBUS_LIBS:+false} :
15885 then :
15886 if test ${PKG_CONFIG+y}
15887 then :
15888 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15895 if test -s conftest.err; then
15896 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15897 cat conftest.err >&5
15899 rm -f conftest.err
15900 ac_save_CPPFLAGS=$CPPFLAGS
15901 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15902 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15903 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15904 then :
15905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15906 printf %s "checking for -ldbus-1... " >&6; }
15907 if test ${ac_cv_lib_soname_dbus_1+y}
15908 then :
15909 printf %s "(cached) " >&6
15910 else $as_nop
15911 ac_check_soname_save_LIBS=$LIBS
15912 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15916 /* Override any GCC internal prototype to avoid an error.
15917 Use char because int might match the return type of a GCC
15918 builtin and then its argument prototype would still apply. */
15919 char dbus_connection_close ();
15921 main (void)
15923 return dbus_connection_close ();
15925 return 0;
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"
15929 then :
15930 case "$LIBEXT" in
15931 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15932 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'` ;;
15933 *) 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'`
15934 if ${ac_cv_lib_soname_dbus_1:+false} :
15935 then :
15936 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15937 fi ;;
15938 esac
15939 else $as_nop
15940 ac_cv_lib_soname_dbus_1=
15942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15943 conftest$ac_exeext conftest.$ac_ext
15944 LIBS=$ac_check_soname_save_LIBS
15946 if ${ac_cv_lib_soname_dbus_1:+false} :
15947 then :
15948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15949 printf "%s\n" "not found" >&6; }
15950 DBUS_CFLAGS=""
15951 else $as_nop
15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15953 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15955 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15959 else $as_nop
15960 DBUS_CFLAGS=""
15963 CPPFLAGS=$ac_save_CPPFLAGS
15966 case $host_os in
15967 darwin*|macosx*) ;;
15968 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15969 then :
15970 case "x$with_dbus" in
15971 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15972 xno) ;;
15973 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15974 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15975 esac
15977 fi ;;
15978 esac
15980 if test "x$with_gnutls" != "xno"
15981 then
15982 rm -f conftest.err
15983 if ${GNUTLS_CFLAGS:+false} :
15984 then :
15985 if test ${PKG_CONFIG+y}
15986 then :
15987 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15991 if ${GNUTLS_LIBS:+false} :
15992 then :
15993 if test ${PKG_CONFIG+y}
15994 then :
15995 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15999 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16002 if test -s conftest.err; then
16003 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16004 cat conftest.err >&5
16006 rm -f conftest.err
16007 ac_save_CPPFLAGS=$CPPFLAGS
16008 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16009 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16010 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16011 then :
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16014 #include <gnutls/gnutls.h>
16015 #include <gnutls/crypto.h>
16017 main (void)
16019 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_compile "$LINENO"
16025 then :
16026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16027 printf %s "checking for -lgnutls... " >&6; }
16028 if test ${ac_cv_lib_soname_gnutls+y}
16029 then :
16030 printf %s "(cached) " >&6
16031 else $as_nop
16032 ac_check_soname_save_LIBS=$LIBS
16033 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16035 /* end confdefs.h. */
16037 /* Override any GCC internal prototype to avoid an error.
16038 Use char because int might match the return type of a GCC
16039 builtin and then its argument prototype would still apply. */
16040 char gnutls_global_init ();
16042 main (void)
16044 return gnutls_global_init ();
16046 return 0;
16048 _ACEOF
16049 if ac_fn_c_try_link "$LINENO"
16050 then :
16051 case "$LIBEXT" in
16052 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16053 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'` ;;
16054 *) 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'`
16055 if ${ac_cv_lib_soname_gnutls:+false} :
16056 then :
16057 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'`
16058 fi ;;
16059 esac
16060 else $as_nop
16061 ac_cv_lib_soname_gnutls=
16063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16064 conftest$ac_exeext conftest.$ac_ext
16065 LIBS=$ac_check_soname_save_LIBS
16067 if ${ac_cv_lib_soname_gnutls:+false} :
16068 then :
16069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16070 printf "%s\n" "not found" >&6; }
16071 GNUTLS_CFLAGS=""
16072 else $as_nop
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16074 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16076 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16080 ac_wine_check_funcs_save_LIBS="$LIBS"
16081 LIBS="$LIBS $GNUTLS_LIBS"
16083 for ac_func in gnutls_cipher_init
16084 do :
16085 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16086 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16087 then :
16088 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16090 else $as_nop
16091 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16094 done
16095 LIBS="$ac_wine_check_funcs_save_LIBS"
16097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16098 else $as_nop
16099 GNUTLS_CFLAGS=""
16102 CPPFLAGS=$ac_save_CPPFLAGS
16105 if test "x$ac_cv_lib_soname_gnutls" = "x"
16106 then :
16107 case "x$with_gnutls" in
16108 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16109 xno) ;;
16110 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16111 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16112 esac
16116 if test "x$with_sane" != "xno"
16117 then
16118 rm -f conftest.err
16119 if ${SANE_CFLAGS:+false} :
16120 then :
16121 if test ${PKG_CONFIG+y}
16122 then :
16123 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16126 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16127 if ${SANE_LIBS:+false} :
16128 then :
16129 if test ${PKG_CONFIG+y}
16130 then :
16131 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16134 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16138 if test -s conftest.err; then
16139 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16140 cat conftest.err >&5
16142 rm -f conftest.err
16143 ac_save_CPPFLAGS=$CPPFLAGS
16144 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16145 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16146 if test "x$ac_cv_header_sane_sane_h" = xyes
16147 then :
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16149 printf %s "checking for sane_init in -lsane... " >&6; }
16150 if test ${ac_cv_lib_sane_sane_init+y}
16151 then :
16152 printf %s "(cached) " >&6
16153 else $as_nop
16154 ac_check_lib_save_LIBS=$LIBS
16155 LIBS="-lsane $SANE_LIBS $LIBS"
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16159 /* Override any GCC internal prototype to avoid an error.
16160 Use char because int might match the return type of a GCC
16161 builtin and then its argument prototype would still apply. */
16162 char sane_init ();
16164 main (void)
16166 return sane_init ();
16168 return 0;
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"
16172 then :
16173 ac_cv_lib_sane_sane_init=yes
16174 else $as_nop
16175 ac_cv_lib_sane_sane_init=no
16177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16178 conftest$ac_exeext conftest.$ac_ext
16179 LIBS=$ac_check_lib_save_LIBS
16181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16182 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16183 if test "x$ac_cv_lib_sane_sane_init" = xyes
16184 then :
16190 CPPFLAGS=$ac_save_CPPFLAGS
16193 if test "$ac_cv_lib_sane_sane_init" != "yes"
16194 then :
16195 case "x$with_sane" in
16196 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16197 xno) ;;
16198 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16199 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16200 esac
16201 enable_sane_ds=${enable_sane_ds:-no}
16204 if test "x$with_usb" != "xno"
16205 then
16206 rm -f conftest.err
16207 if ${USB_CFLAGS:+false} :
16208 then :
16209 if test ${PKG_CONFIG+y}
16210 then :
16211 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16215 if ${USB_LIBS:+false} :
16216 then :
16217 if test ${PKG_CONFIG+y}
16218 then :
16219 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16223 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16226 if test -s conftest.err; then
16227 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16228 cat conftest.err >&5
16230 rm -f conftest.err
16231 ac_save_CPPFLAGS=$CPPFLAGS
16232 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16233 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16234 if test "x$ac_cv_header_libusb_h" = xyes
16235 then :
16236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16237 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16238 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16239 then :
16240 printf %s "(cached) " >&6
16241 else $as_nop
16242 ac_check_lib_save_LIBS=$LIBS
16243 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16247 /* Override any GCC internal prototype to avoid an error.
16248 Use char because int might match the return type of a GCC
16249 builtin and then its argument prototype would still apply. */
16250 char libusb_interrupt_event_handler ();
16252 main (void)
16254 return libusb_interrupt_event_handler ();
16256 return 0;
16258 _ACEOF
16259 if ac_fn_c_try_link "$LINENO"
16260 then :
16261 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16262 else $as_nop
16263 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16266 conftest$ac_exeext conftest.$ac_ext
16267 LIBS=$ac_check_lib_save_LIBS
16269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16270 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16271 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16272 then :
16274 else $as_nop
16275 USB_LIBS=""
16278 else $as_nop
16279 USB_LIBS=""
16282 CPPFLAGS=$ac_save_CPPFLAGS
16285 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16286 then :
16287 case "x$with_usb" in
16288 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16289 xno) ;;
16290 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16291 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16292 esac
16293 enable_wineusb_sys=${enable_wineusb_sys:-no}
16296 if test "x$with_v4l2" != "xno"
16297 then
16298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16299 printf %s "checking for -lv4l2... " >&6; }
16300 if test ${ac_cv_lib_soname_v4l2+y}
16301 then :
16302 printf %s "(cached) " >&6
16303 else $as_nop
16304 ac_check_soname_save_LIBS=$LIBS
16305 LIBS="-lv4l2 $LIBS"
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16309 /* Override any GCC internal prototype to avoid an error.
16310 Use char because int might match the return type of a GCC
16311 builtin and then its argument prototype would still apply. */
16312 char v4l2_open ();
16314 main (void)
16316 return v4l2_open ();
16318 return 0;
16320 _ACEOF
16321 if ac_fn_c_try_link "$LINENO"
16322 then :
16323 case "$LIBEXT" in
16324 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16325 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'` ;;
16326 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16327 if ${ac_cv_lib_soname_v4l2:+false} :
16328 then :
16329 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16330 fi ;;
16331 esac
16332 else $as_nop
16333 ac_cv_lib_soname_v4l2=
16335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16336 conftest$ac_exeext conftest.$ac_ext
16337 LIBS=$ac_check_soname_save_LIBS
16339 if ${ac_cv_lib_soname_v4l2:+false} :
16340 then :
16341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16342 printf "%s\n" "not found" >&6; }
16344 else $as_nop
16345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16346 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16348 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16353 if test "x$ac_cv_lib_soname_v4l2" = "x"
16354 then :
16355 case "x$with_v4l2" in
16356 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16357 xno) ;;
16358 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16359 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16360 esac
16364 if test "x$with_gphoto" != "xno"
16365 then
16366 rm -f conftest.err
16367 if ${GPHOTO2_CFLAGS:+false} :
16368 then :
16369 if test ${PKG_CONFIG+y}
16370 then :
16371 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16374 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16375 if ${GPHOTO2_LIBS:+false} :
16376 then :
16377 if test ${PKG_CONFIG+y}
16378 then :
16379 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16382 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16383 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16386 if test -s conftest.err; then
16387 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16388 cat conftest.err >&5
16390 rm -f conftest.err
16391 ac_save_CPPFLAGS=$CPPFLAGS
16392 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16393 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16394 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16395 then :
16396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16397 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16398 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16399 then :
16400 printf %s "(cached) " >&6
16401 else $as_nop
16402 ac_check_lib_save_LIBS=$LIBS
16403 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16407 /* Override any GCC internal prototype to avoid an error.
16408 Use char because int might match the return type of a GCC
16409 builtin and then its argument prototype would still apply. */
16410 char gp_camera_new ();
16412 main (void)
16414 return gp_camera_new ();
16416 return 0;
16418 _ACEOF
16419 if ac_fn_c_try_link "$LINENO"
16420 then :
16421 ac_cv_lib_gphoto2_gp_camera_new=yes
16422 else $as_nop
16423 ac_cv_lib_gphoto2_gp_camera_new=no
16425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_lib_save_LIBS
16429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16430 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16431 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16432 then :
16438 CPPFLAGS=$ac_save_CPPFLAGS
16440 rm -f conftest.err
16441 if ${GPHOTO2_PORT_CFLAGS:+false} :
16442 then :
16443 if test ${PKG_CONFIG+y}
16444 then :
16445 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16448 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16449 if ${GPHOTO2_PORT_LIBS:+false} :
16450 then :
16451 if test ${PKG_CONFIG+y}
16452 then :
16453 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16456 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16457 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16460 if test -s conftest.err; then
16461 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16462 cat conftest.err >&5
16464 rm -f conftest.err
16465 ac_save_CPPFLAGS=$CPPFLAGS
16466 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16467 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16468 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16469 then :
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16471 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16472 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16473 then :
16474 printf %s "(cached) " >&6
16475 else $as_nop
16476 ac_check_lib_save_LIBS=$LIBS
16477 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 char gp_port_info_list_new ();
16486 main (void)
16488 return gp_port_info_list_new ();
16490 return 0;
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"
16494 then :
16495 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16496 else $as_nop
16497 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_lib_save_LIBS
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16504 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16505 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16506 then :
16508 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16510 else $as_nop
16511 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16514 else $as_nop
16515 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16518 CPPFLAGS=$ac_save_CPPFLAGS
16521 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16522 then :
16523 case "x$with_gphoto" in
16524 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16525 xno) ;;
16526 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16527 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16528 esac
16529 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16531 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16532 then :
16533 case "x$with_gphoto" in
16534 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16535 xno) ;;
16536 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16537 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16538 esac
16543 if test "$ac_cv_header_resolv_h" = "yes"
16544 then
16545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16546 printf %s "checking for resolver library... " >&6; }
16547 if test ${ac_cv_have_resolv+y}
16548 then :
16549 printf %s "(cached) " >&6
16550 else $as_nop
16551 ac_save_LIBS="$LIBS"
16552 for lib in '' -lresolv
16554 LIBS="$lib $ac_save_LIBS"
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #ifdef HAVE_NETINET_IN_H
16558 #include <netinet/in.h>
16559 #endif
16560 #include <resolv.h>
16562 main (void)
16564 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16566 return 0;
16568 _ACEOF
16569 if ac_fn_c_try_link "$LINENO"
16570 then :
16571 ac_cv_have_resolv=${lib:-"none required"}
16572 else $as_nop
16573 ac_cv_have_resolv="not found"
16575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16576 conftest$ac_exeext conftest.$ac_ext
16577 test "x$ac_cv_have_resolv" = "xnot found" || break
16578 done
16579 LIBS="$ac_save_LIBS"
16581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16582 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16584 case "$ac_cv_have_resolv" in
16585 "not found") ;;
16586 "none required")
16588 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16591 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16593 RESOLV_LIBS=$ac_cv_have_resolv
16595 esac
16597 if test "x$ac_cv_have_resolv" != "xnot found"
16598 then
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16600 printf %s "checking for res_getservers... " >&6; }
16601 if test ${ac_cv_have_res_getservers+y}
16602 then :
16603 printf %s "(cached) " >&6
16604 else $as_nop
16605 ac_save_LIBS="$LIBS"
16606 LIBS="$RESOLV_LIBS $LIBS"
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16609 #include <resolv.h>
16611 main (void)
16613 res_getservers(NULL, NULL, 0);
16615 return 0;
16617 _ACEOF
16618 if ac_fn_c_try_link "$LINENO"
16619 then :
16620 ac_cv_have_res_getservers=yes
16621 else $as_nop
16622 ac_cv_have_res_getservers=no
16624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS="$ac_save_LIBS"
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16629 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16630 if test "$ac_cv_have_res_getservers" = "yes"
16631 then
16633 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16639 if test "x$with_freetype" != "xno"
16640 then
16641 rm -f conftest.err
16642 if ${FREETYPE_CFLAGS:+false} :
16643 then :
16644 if test ${PKG_CONFIG+y}
16645 then :
16646 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16649 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16650 if ${FREETYPE_LIBS:+false} :
16651 then :
16652 if test ${PKG_CONFIG+y}
16653 then :
16654 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16657 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16658 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16661 if test -s conftest.err; then
16662 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16663 cat conftest.err >&5
16665 rm -f conftest.err
16666 ac_save_CPPFLAGS=$CPPFLAGS
16667 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16668 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16669 if test "x$ac_cv_header_ft2build_h" = xyes
16670 then :
16671 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16675 if test "$ac_cv_header_ft2build_h" = "yes"
16676 then
16677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16678 printf %s "checking for -lfreetype... " >&6; }
16679 if test ${ac_cv_lib_soname_freetype+y}
16680 then :
16681 printf %s "(cached) " >&6
16682 else $as_nop
16683 ac_check_soname_save_LIBS=$LIBS
16684 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 char FT_Init_FreeType ();
16693 main (void)
16695 return FT_Init_FreeType ();
16697 return 0;
16699 _ACEOF
16700 if ac_fn_c_try_link "$LINENO"
16701 then :
16702 case "$LIBEXT" in
16703 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16704 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'` ;;
16705 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16706 if ${ac_cv_lib_soname_freetype:+false} :
16707 then :
16708 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16709 fi ;;
16710 esac
16711 else $as_nop
16712 ac_cv_lib_soname_freetype=
16714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16715 conftest$ac_exeext conftest.$ac_ext
16716 LIBS=$ac_check_soname_save_LIBS
16718 if ${ac_cv_lib_soname_freetype:+false} :
16719 then :
16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 printf "%s\n" "not found" >&6; }
16722 FREETYPE_LIBS=""
16723 else $as_nop
16724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16725 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16727 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16730 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16732 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16733 #include FT_MODULE_H
16735 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16736 then :
16738 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16744 else
16745 FREETYPE_CFLAGS=""
16746 FREETYPE_LIBS=""
16748 CPPFLAGS=$ac_save_CPPFLAGS
16751 if test "x$ac_cv_lib_soname_freetype" = x
16752 then :
16753 case "x$with_freetype" in
16754 xno) ;;
16755 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16756 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16757 esac
16758 enable_fonts=${enable_fonts:-no}
16761 ac_wine_check_funcs_save_LIBS="$LIBS"
16762 LIBS="$LIBS $PTHREAD_LIBS"
16763 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16764 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16765 then :
16766 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16770 LIBS="$ac_wine_check_funcs_save_LIBS"
16772 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16773 then
16774 if test "$ac_cv_header_gettext_po_h" = "yes"
16775 then
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16777 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16778 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16779 then :
16780 printf %s "(cached) " >&6
16781 else $as_nop
16782 ac_check_lib_save_LIBS=$LIBS
16783 LIBS="-lgettextpo $LIBS"
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 /* Override any GCC internal prototype to avoid an error.
16788 Use char because int might match the return type of a GCC
16789 builtin and then its argument prototype would still apply. */
16790 char po_message_msgctxt ();
16792 main (void)
16794 return po_message_msgctxt ();
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"
16800 then :
16801 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16802 else $as_nop
16803 ac_cv_lib_gettextpo_po_message_msgctxt=no
16805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16806 conftest$ac_exeext conftest.$ac_ext
16807 LIBS=$ac_check_lib_save_LIBS
16809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16810 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16811 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16812 then :
16814 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16816 GETTEXTPO_LIBS="-lgettextpo"
16821 if test "x$GETTEXTPO_LIBS" = "x"
16822 then :
16823 case "x$with_gettextpo" in
16824 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16825 xno) ;;
16826 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16827 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16828 esac
16831 if test "$srcdir" != .
16832 then :
16833 case "x$with_gettextpo" in
16834 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16835 xno) ;;
16836 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16837 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16838 esac
16843 if test "x$with_pulse" != "xno";
16844 then
16845 rm -f conftest.err
16846 if ${PULSE_CFLAGS:+false} :
16847 then :
16848 if test ${PKG_CONFIG+y}
16849 then :
16850 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16854 if ${PULSE_LIBS:+false} :
16855 then :
16856 if test ${PKG_CONFIG+y}
16857 then :
16858 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16865 if test -s conftest.err; then
16866 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16867 cat conftest.err >&5
16869 rm -f conftest.err
16870 ac_save_CPPFLAGS=$CPPFLAGS
16871 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16872 for ac_header in pulse/pulseaudio.h
16873 do :
16874 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16875 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16876 then :
16877 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16879 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16880 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16881 then :
16882 printf %s "(cached) " >&6
16883 else $as_nop
16884 ac_check_lib_save_LIBS=$LIBS
16885 LIBS="-lpulse $PULSE_LIBS $LIBS"
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16887 /* end confdefs.h. */
16889 /* Override any GCC internal prototype to avoid an error.
16890 Use char because int might match the return type of a GCC
16891 builtin and then its argument prototype would still apply. */
16892 char pa_stream_is_corked ();
16894 main (void)
16896 return pa_stream_is_corked ();
16898 return 0;
16900 _ACEOF
16901 if ac_fn_c_try_link "$LINENO"
16902 then :
16903 ac_cv_lib_pulse_pa_stream_is_corked=yes
16904 else $as_nop
16905 ac_cv_lib_pulse_pa_stream_is_corked=no
16907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16908 conftest$ac_exeext conftest.$ac_ext
16909 LIBS=$ac_check_lib_save_LIBS
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16912 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16913 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16914 then :
16916 else $as_nop
16917 PULSE_LIBS=""
16920 else $as_nop
16921 PULSE_LIBS=""
16924 done
16925 CPPFLAGS=$ac_save_CPPFLAGS
16928 if test -z "$PULSE_LIBS"
16929 then :
16930 case "x$with_pulse" in
16931 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16932 xno) ;;
16933 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16934 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16935 esac
16936 enable_winepulse_drv=${enable_winepulse_drv:-no}
16939 if test "x$with_gstreamer" != "xno"
16940 then
16941 rm -f conftest.err
16942 if ${GSTREAMER_CFLAGS:+false} :
16943 then :
16944 if test ${PKG_CONFIG+y}
16945 then :
16946 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16950 if ${GSTREAMER_LIBS:+false} :
16951 then :
16952 if test ${PKG_CONFIG+y}
16953 then :
16954 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16959 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
16960 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
16961 if test -s conftest.err; then
16962 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16963 cat conftest.err >&5
16965 rm -f conftest.err
16966 ac_save_CPPFLAGS=$CPPFLAGS
16967 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16968 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16969 if test "x$ac_cv_header_gst_gst_h" = xyes
16970 then :
16971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16972 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <gst/gst.h>
16977 main (void)
16979 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16981 return 0;
16983 _ACEOF
16984 if ac_fn_c_try_compile "$LINENO"
16985 then :
16986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16987 printf "%s\n" "yes" >&6; }
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16989 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16990 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16991 then :
16992 printf %s "(cached) " >&6
16993 else $as_nop
16994 ac_check_lib_save_LIBS=$LIBS
16995 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17002 char gst_pad_new ();
17004 main (void)
17006 return gst_pad_new ();
17008 return 0;
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"
17012 then :
17013 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17014 else $as_nop
17015 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_lib_save_LIBS
17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17022 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17023 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17024 then :
17028 else $as_nop
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17030 printf "%s\n" "no" >&6; }
17031 ac_glib2_broken=yes
17032 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17037 CPPFLAGS=$ac_save_CPPFLAGS
17040 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17041 then :
17042 case "x$with_gstreamer" in
17043 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17044 xno) ;;
17045 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17046 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17047 esac
17048 enable_winegstreamer=${enable_winegstreamer:-no}
17051 ALSA_LIBS=""
17053 if test "x$with_alsa" != "xno"
17054 then
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17056 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17057 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17058 then :
17059 printf %s "(cached) " >&6
17060 else $as_nop
17061 ac_check_lib_save_LIBS=$LIBS
17062 LIBS="-lasound $LIBS"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17066 /* Override any GCC internal prototype to avoid an error.
17067 Use char because int might match the return type of a GCC
17068 builtin and then its argument prototype would still apply. */
17069 char snd_pcm_hw_params_get_access_mask ();
17071 main (void)
17073 return snd_pcm_hw_params_get_access_mask ();
17075 return 0;
17077 _ACEOF
17078 if ac_fn_c_try_link "$LINENO"
17079 then :
17080 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17081 else $as_nop
17082 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17085 conftest$ac_exeext conftest.$ac_ext
17086 LIBS=$ac_check_lib_save_LIBS
17088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17089 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17090 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17091 then :
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <alsa/asoundlib.h>
17096 main (void)
17098 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17100 return 0;
17102 _ACEOF
17103 if ac_fn_c_try_compile "$LINENO"
17104 then :
17105 ALSA_LIBS="-lasound"
17107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17111 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17113 if test "x$with_oss" != xno
17114 then
17115 ac_save_CPPFLAGS="$CPPFLAGS"
17116 if test -f /etc/oss.conf
17117 then
17118 . /etc/oss.conf
17120 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17121 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17122 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17123 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17124 then :
17125 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17127 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17128 then :
17130 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17132 OSS4_CFLAGS="$ac_oss_incl"
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17135 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17136 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17137 then :
17138 printf %s "(cached) " >&6
17139 else $as_nop
17140 ac_check_lib_save_LIBS=$LIBS
17141 LIBS="-lossaudio $LIBS"
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17145 /* Override any GCC internal prototype to avoid an error.
17146 Use char because int might match the return type of a GCC
17147 builtin and then its argument prototype would still apply. */
17148 char _oss_ioctl ();
17150 main (void)
17152 return _oss_ioctl ();
17154 return 0;
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"
17158 then :
17159 ac_cv_lib_ossaudio__oss_ioctl=yes
17160 else $as_nop
17161 ac_cv_lib_ossaudio__oss_ioctl=no
17163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17164 conftest$ac_exeext conftest.$ac_ext
17165 LIBS=$ac_check_lib_save_LIBS
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17168 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17169 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17170 then :
17171 OSS4_LIBS="-lossaudio"
17179 CPPFLAGS="$ac_save_CPPFLAGS"
17181 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17182 then :
17183 case "x$with_oss" in
17184 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17185 xno) ;;
17186 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17187 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17188 esac
17189 enable_wineoss_drv=${enable_wineoss_drv:-no}
17192 if test "x$with_udev" != "xno"
17193 then
17194 rm -f conftest.err
17195 if ${UDEV_CFLAGS:+false} :
17196 then :
17197 if test ${PKG_CONFIG+y}
17198 then :
17199 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17203 if ${UDEV_LIBS:+false} :
17204 then :
17205 if test ${PKG_CONFIG+y}
17206 then :
17207 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17211 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17214 if test -s conftest.err; then
17215 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17216 cat conftest.err >&5
17218 rm -f conftest.err
17219 ac_save_CPPFLAGS=$CPPFLAGS
17220 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17221 for ac_header in libudev.h
17222 do :
17223 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17224 if test "x$ac_cv_header_libudev_h" = xyes
17225 then :
17226 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17228 printf %s "checking for udev_new in -ludev... " >&6; }
17229 if test ${ac_cv_lib_udev_udev_new+y}
17230 then :
17231 printf %s "(cached) " >&6
17232 else $as_nop
17233 ac_check_lib_save_LIBS=$LIBS
17234 LIBS="-ludev $UDEV_LIBS $LIBS"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17238 /* Override any GCC internal prototype to avoid an error.
17239 Use char because int might match the return type of a GCC
17240 builtin and then its argument prototype would still apply. */
17241 char udev_new ();
17243 main (void)
17245 return udev_new ();
17247 return 0;
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"
17251 then :
17252 ac_cv_lib_udev_udev_new=yes
17253 else $as_nop
17254 ac_cv_lib_udev_udev_new=no
17256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17261 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17262 if test "x$ac_cv_lib_udev_udev_new" = xyes
17263 then :
17265 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17267 else $as_nop
17268 UDEV_LIBS=""
17271 else $as_nop
17272 UDEV_LIBS=""
17275 done
17276 CPPFLAGS=$ac_save_CPPFLAGS
17279 if test "x$UDEV_LIBS" = "x"
17280 then :
17281 case "x$with_udev" in
17282 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17283 xno) ;;
17284 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17285 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17286 esac
17290 if test "x$with_unwind" != xno
17291 then
17292 rm -f conftest.err
17293 if ${UNWIND_CFLAGS:+false} :
17294 then :
17295 if test ${PKG_CONFIG+y}
17296 then :
17297 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17301 if ${UNWIND_LIBS:+false} :
17302 then :
17303 if test ${PKG_CONFIG+y}
17304 then :
17305 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17309 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17312 if test -s conftest.err; then
17313 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17314 cat conftest.err >&5
17316 rm -f conftest.err
17317 ac_save_CPPFLAGS=$CPPFLAGS
17318 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17320 printf %s "checking for unw_step... " >&6; }
17321 if test ${wine_cv_have_unw_step+y}
17322 then :
17323 printf %s "(cached) " >&6
17324 else $as_nop
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 #define UNW_LOCAL_ONLY
17328 #include <libunwind.h>
17330 main (void)
17332 unw_cursor_t cursor; unw_step( &cursor );
17334 return 0;
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"
17338 then :
17339 wine_cv_have_unw_step="yes"
17340 else $as_nop
17341 wine_cv_have_unw_step="no"
17343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17344 conftest$ac_exeext conftest.$ac_ext
17346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17347 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17348 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17349 then
17350 save_libs=$LIBS
17351 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17352 LIBS="$UNWIND_LIBS $LIBS"
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17354 printf %s "checking for unw_step in libunwind... " >&6; }
17355 if test ${wine_cv_have_libunwind_unw_step+y}
17356 then :
17357 printf %s "(cached) " >&6
17358 else $as_nop
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #define UNW_LOCAL_ONLY
17362 #include <libunwind.h>
17364 main (void)
17366 unw_cursor_t cursor; unw_step( &cursor );
17368 return 0;
17370 _ACEOF
17371 if ac_fn_c_try_link "$LINENO"
17372 then :
17373 wine_cv_have_libunwind_unw_step="yes"
17374 else $as_nop
17375 wine_cv_have_libunwind_unw_step="no"
17377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17378 conftest$ac_exeext conftest.$ac_ext
17380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17381 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17382 LIBS=$save_libs
17384 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17385 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17386 then
17388 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17391 CPPFLAGS=$ac_save_CPPFLAGS
17394 case $host in
17395 aarch64*|*-darwin*)
17396 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17397 then :
17398 case "x$with_unwind" in
17399 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17400 xno) ;;
17401 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17402 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17403 esac
17405 fi ;;
17406 esac
17408 if test "x$with_sdl" != "xno"
17409 then
17410 rm -f conftest.err
17411 if ${SDL2_CFLAGS:+false} :
17412 then :
17413 if test ${PKG_CONFIG+y}
17414 then :
17415 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17419 if ${SDL2_LIBS:+false} :
17420 then :
17421 if test ${PKG_CONFIG+y}
17422 then :
17423 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17427 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17430 if test -s conftest.err; then
17431 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17432 cat conftest.err >&5
17434 rm -f conftest.err
17435 ac_save_CPPFLAGS=$CPPFLAGS
17436 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17437 for ac_header in SDL.h
17438 do :
17439 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17440 if test "x$ac_cv_header_SDL_h" = xyes
17441 then :
17442 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17444 printf %s "checking for -lSDL2... " >&6; }
17445 if test ${ac_cv_lib_soname_SDL2+y}
17446 then :
17447 printf %s "(cached) " >&6
17448 else $as_nop
17449 ac_check_soname_save_LIBS=$LIBS
17450 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17454 /* Override any GCC internal prototype to avoid an error.
17455 Use char because int might match the return type of a GCC
17456 builtin and then its argument prototype would still apply. */
17457 char SDL_Init ();
17459 main (void)
17461 return SDL_Init ();
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"
17467 then :
17468 case "$LIBEXT" in
17469 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17470 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'` ;;
17471 *) 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'`
17472 if ${ac_cv_lib_soname_SDL2:+false} :
17473 then :
17474 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17475 fi ;;
17476 esac
17477 else $as_nop
17478 ac_cv_lib_soname_SDL2=
17480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17481 conftest$ac_exeext conftest.$ac_ext
17482 LIBS=$ac_check_soname_save_LIBS
17484 if ${ac_cv_lib_soname_SDL2:+false} :
17485 then :
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17487 printf "%s\n" "not found" >&6; }
17489 else $as_nop
17490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17491 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17493 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17499 done
17500 CPPFLAGS=$ac_save_CPPFLAGS
17503 if test "x$ac_cv_lib_soname_SDL2" = "x"
17504 then :
17505 case "x$with_sdl" in
17506 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17507 xno) ;;
17508 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17509 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17510 esac
17514 if test "x$with_capi" != "xno"
17515 then
17516 rm -f conftest.err
17517 if ${CAPI20_CFLAGS:+false} :
17518 then :
17519 if test ${PKG_CONFIG+y}
17520 then :
17521 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17525 if ${CAPI20_LIBS:+false} :
17526 then :
17527 if test ${PKG_CONFIG+y}
17528 then :
17529 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17536 if test -s conftest.err; then
17537 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17538 cat conftest.err >&5
17540 rm -f conftest.err
17541 ac_save_CPPFLAGS=$CPPFLAGS
17542 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17543 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17545 if test "x$ac_cv_header_capi20_h" = xyes
17546 then :
17547 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17550 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17552 if test "x$ac_cv_header_linux_capi_h" = xyes
17553 then :
17554 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17558 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17559 then
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17561 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17562 if test ${ac_cv_lib_capi20_capi20_register+y}
17563 then :
17564 printf %s "(cached) " >&6
17565 else $as_nop
17566 ac_check_lib_save_LIBS=$LIBS
17567 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17574 char capi20_register ();
17576 main (void)
17578 return capi20_register ();
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"
17584 then :
17585 ac_cv_lib_capi20_capi20_register=yes
17586 else $as_nop
17587 ac_cv_lib_capi20_capi20_register=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17590 conftest$ac_exeext conftest.$ac_ext
17591 LIBS=$ac_check_lib_save_LIBS
17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17594 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17595 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17596 then :
17598 else $as_nop
17599 CAPI20_LIBS=""
17603 CPPFLAGS=$ac_save_CPPFLAGS
17606 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17607 then :
17608 case "x$with_capi" in
17609 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17610 xno) ;;
17611 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17612 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17613 esac
17614 enable_capi2032=${enable_capi2032:-no}
17617 if test "x$with_cups" != "xno"
17618 then
17619 rm -f conftest.err
17620 if ${CUPS_CFLAGS:+false} :
17621 then :
17622 if test ${PKG_CONFIG+y}
17623 then :
17624 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17627 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17628 if ${CUPS_LIBS:+false} :
17629 then :
17630 if test ${PKG_CONFIG+y}
17631 then :
17632 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17635 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17636 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17639 if test -s conftest.err; then
17640 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17641 cat conftest.err >&5
17643 rm -f conftest.err
17644 ac_save_CPPFLAGS=$CPPFLAGS
17645 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17646 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17647 if test "x$ac_cv_header_cups_cups_h" = xyes
17648 then :
17649 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17652 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17653 if test "x$ac_cv_header_cups_ppd_h" = xyes
17654 then :
17655 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17659 if test "$ac_cv_header_cups_cups_h" = "yes"
17660 then
17661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17662 printf %s "checking for -lcups... " >&6; }
17663 if test ${ac_cv_lib_soname_cups+y}
17664 then :
17665 printf %s "(cached) " >&6
17666 else $as_nop
17667 ac_check_soname_save_LIBS=$LIBS
17668 LIBS="-lcups $CUPS_LIBS $LIBS"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17672 /* Override any GCC internal prototype to avoid an error.
17673 Use char because int might match the return type of a GCC
17674 builtin and then its argument prototype would still apply. */
17675 char cupsGetDefault ();
17677 main (void)
17679 return cupsGetDefault ();
17681 return 0;
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"
17685 then :
17686 case "$LIBEXT" in
17687 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17688 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'` ;;
17689 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17690 if ${ac_cv_lib_soname_cups:+false} :
17691 then :
17692 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17693 fi ;;
17694 esac
17695 else $as_nop
17696 ac_cv_lib_soname_cups=
17698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17699 conftest$ac_exeext conftest.$ac_ext
17700 LIBS=$ac_check_soname_save_LIBS
17702 if ${ac_cv_lib_soname_cups:+false} :
17703 then :
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17705 printf "%s\n" "not found" >&6; }
17706 CUPS_LIBS=""
17707 else $as_nop
17708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17709 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17711 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17715 else
17716 CUPS_CFLAGS=""
17717 CUPS_LIBS=""
17719 CPPFLAGS=$ac_save_CPPFLAGS
17722 if test "x$ac_cv_lib_soname_cups" = "x"
17723 then :
17724 case "x$with_cups" in
17725 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17726 xno) ;;
17727 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17728 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17729 esac
17733 if test "x$with_fontconfig" != "xno"
17734 then
17735 rm -f conftest.err
17736 if ${FONTCONFIG_CFLAGS:+false} :
17737 then :
17738 if test ${PKG_CONFIG+y}
17739 then :
17740 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17743 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17744 if ${FONTCONFIG_LIBS:+false} :
17745 then :
17746 if test ${PKG_CONFIG+y}
17747 then :
17748 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17751 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17755 if test -s conftest.err; then
17756 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17757 cat conftest.err >&5
17759 rm -f conftest.err
17760 ac_save_CPPFLAGS=$CPPFLAGS
17761 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17762 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17763 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17764 then :
17765 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17769 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17770 then
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17772 printf %s "checking for -lfontconfig... " >&6; }
17773 if test ${ac_cv_lib_soname_fontconfig+y}
17774 then :
17775 printf %s "(cached) " >&6
17776 else $as_nop
17777 ac_check_soname_save_LIBS=$LIBS
17778 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17782 /* Override any GCC internal prototype to avoid an error.
17783 Use char because int might match the return type of a GCC
17784 builtin and then its argument prototype would still apply. */
17785 char FcInit ();
17787 main (void)
17789 return FcInit ();
17791 return 0;
17793 _ACEOF
17794 if ac_fn_c_try_link "$LINENO"
17795 then :
17796 case "$LIBEXT" in
17797 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17798 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'` ;;
17799 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17800 if ${ac_cv_lib_soname_fontconfig:+false} :
17801 then :
17802 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17803 fi ;;
17804 esac
17805 else $as_nop
17806 ac_cv_lib_soname_fontconfig=
17808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17809 conftest$ac_exeext conftest.$ac_ext
17810 LIBS=$ac_check_soname_save_LIBS
17812 if ${ac_cv_lib_soname_fontconfig:+false} :
17813 then :
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17815 printf "%s\n" "not found" >&6; }
17816 FONTCONFIG_CFLAGS=""
17817 else $as_nop
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17819 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17821 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17825 else
17826 FONTCONFIG_CFLAGS=""
17828 CPPFLAGS=$ac_save_CPPFLAGS
17831 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17832 then :
17833 case "x$with_fontconfig" in
17834 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17835 xno) ;;
17836 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17837 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17838 esac
17842 if test "x$with_krb5" != "xno"
17843 then
17844 rm -f conftest.err
17845 if ${KRB5_CFLAGS:+false} :
17846 then :
17847 if test ${PKG_CONFIG+y}
17848 then :
17849 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17852 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17853 if ${KRB5_LIBS:+false} :
17854 then :
17855 if test ${PKG_CONFIG+y}
17856 then :
17857 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17860 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17864 if test -s conftest.err; then
17865 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17866 cat conftest.err >&5
17868 rm -f conftest.err
17869 ac_save_CPPFLAGS=$CPPFLAGS
17870 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17871 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17872 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17873 then :
17874 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17878 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17879 then
17880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17881 printf %s "checking for -lkrb5... " >&6; }
17882 if test ${ac_cv_lib_soname_krb5+y}
17883 then :
17884 printf %s "(cached) " >&6
17885 else $as_nop
17886 ac_check_soname_save_LIBS=$LIBS
17887 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17891 /* Override any GCC internal prototype to avoid an error.
17892 Use char because int might match the return type of a GCC
17893 builtin and then its argument prototype would still apply. */
17894 char krb5_is_config_principal ();
17896 main (void)
17898 return krb5_is_config_principal ();
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"
17904 then :
17905 case "$LIBEXT" in
17906 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17907 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'` ;;
17908 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17909 if ${ac_cv_lib_soname_krb5:+false} :
17910 then :
17911 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17912 fi ;;
17913 esac
17914 else $as_nop
17915 ac_cv_lib_soname_krb5=
17917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17918 conftest$ac_exeext conftest.$ac_ext
17919 LIBS=$ac_check_soname_save_LIBS
17921 if ${ac_cv_lib_soname_krb5:+false} :
17922 then :
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17924 printf "%s\n" "not found" >&6; }
17925 KRB5_CFLAGS=""
17926 else $as_nop
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17928 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17930 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17934 else
17935 KRB5_CFLAGS=""
17937 CPPFLAGS=$ac_save_CPPFLAGS
17940 if test "x$ac_cv_lib_soname_krb5" = "x"
17941 then :
17942 case "x$with_krb5" in
17943 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17944 xno) ;;
17945 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17946 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17947 esac
17950 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17952 if test "x$with_gssapi" != "xno"
17953 then
17954 rm -f conftest.err
17955 if ${GSSAPI_CFLAGS:+false} :
17956 then :
17957 if test ${PKG_CONFIG+y}
17958 then :
17959 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17962 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17963 if ${GSSAPI_LIBS:+false} :
17964 then :
17965 if test ${PKG_CONFIG+y}
17966 then :
17967 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17970 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17974 if test -s conftest.err; then
17975 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17976 cat conftest.err >&5
17978 rm -f conftest.err
17979 ac_save_CPPFLAGS=$CPPFLAGS
17980 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17981 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17982 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17983 then :
17984 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17987 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17988 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17989 then :
17990 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17994 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17995 then
17996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17997 printf %s "checking for -lgssapi_krb5... " >&6; }
17998 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17999 then :
18000 printf %s "(cached) " >&6
18001 else $as_nop
18002 ac_check_soname_save_LIBS=$LIBS
18003 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 /* Override any GCC internal prototype to avoid an error.
18008 Use char because int might match the return type of a GCC
18009 builtin and then its argument prototype would still apply. */
18010 char gss_init_sec_context ();
18012 main (void)
18014 return gss_init_sec_context ();
18016 return 0;
18018 _ACEOF
18019 if ac_fn_c_try_link "$LINENO"
18020 then :
18021 case "$LIBEXT" in
18022 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18023 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'` ;;
18024 *) 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'`
18025 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18026 then :
18027 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18028 fi ;;
18029 esac
18030 else $as_nop
18031 ac_cv_lib_soname_gssapi_krb5=
18033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_soname_save_LIBS
18037 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18038 then :
18039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18040 printf "%s\n" "not found" >&6; }
18041 GSSAPI_CFLAGS=""
18042 else $as_nop
18043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18044 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18046 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18050 else
18051 GSSAPI_CFLAGS=""
18053 CPPFLAGS=$ac_save_CPPFLAGS
18056 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18057 then :
18058 case "x$with_gssapi" in
18059 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18060 xno) ;;
18061 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18062 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18063 esac
18067 if test "$ac_cv_header_libprocstat_h" = "yes"
18068 then
18069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18070 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18071 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18072 then :
18073 printf %s "(cached) " >&6
18074 else $as_nop
18075 ac_check_lib_save_LIBS=$LIBS
18076 LIBS="-lprocstat $LIBS"
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 /* Override any GCC internal prototype to avoid an error.
18081 Use char because int might match the return type of a GCC
18082 builtin and then its argument prototype would still apply. */
18083 char procstat_open_sysctl ();
18085 main (void)
18087 return procstat_open_sysctl ();
18089 return 0;
18091 _ACEOF
18092 if ac_fn_c_try_link "$LINENO"
18093 then :
18094 ac_cv_lib_procstat_procstat_open_sysctl=yes
18095 else $as_nop
18096 ac_cv_lib_procstat_procstat_open_sysctl=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18099 conftest$ac_exeext conftest.$ac_ext
18100 LIBS=$ac_check_lib_save_LIBS
18102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18103 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18104 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18105 then :
18107 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18109 PROCSTAT_LIBS="-lprocstat"
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18116 printf %s "checking for -lodbc... " >&6; }
18117 if test ${ac_cv_lib_soname_odbc+y}
18118 then :
18119 printf %s "(cached) " >&6
18120 else $as_nop
18121 ac_check_soname_save_LIBS=$LIBS
18122 LIBS="-lodbc $LIBS"
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18129 char SQLConnect ();
18131 main (void)
18133 return SQLConnect ();
18135 return 0;
18137 _ACEOF
18138 if ac_fn_c_try_link "$LINENO"
18139 then :
18140 case "$LIBEXT" in
18141 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18142 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'` ;;
18143 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18144 if ${ac_cv_lib_soname_odbc:+false} :
18145 then :
18146 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18147 fi ;;
18148 esac
18149 else $as_nop
18150 ac_cv_lib_soname_odbc=
18152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18153 conftest$ac_exeext conftest.$ac_ext
18154 LIBS=$ac_check_soname_save_LIBS
18156 if ${ac_cv_lib_soname_odbc:+false} :
18157 then :
18158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18159 printf "%s\n" "not found" >&6; }
18160 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18162 else $as_nop
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18164 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18166 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18171 if test "x$with_netapi" != "xno"
18172 then
18173 rm -f conftest.err
18174 if ${NETAPI_CFLAGS:+false} :
18175 then :
18176 if test ${PKG_CONFIG+y}
18177 then :
18178 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18182 if ${NETAPI_LIBS:+false} :
18183 then :
18184 if test ${PKG_CONFIG+y}
18185 then :
18186 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18193 if test -s conftest.err; then
18194 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18195 cat conftest.err >&5
18197 rm -f conftest.err
18198 ac_save_CPPFLAGS=$CPPFLAGS
18199 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18201 printf %s "checking for -lnetapi... " >&6; }
18202 if test ${ac_cv_lib_soname_netapi+y}
18203 then :
18204 printf %s "(cached) " >&6
18205 else $as_nop
18206 ac_check_soname_save_LIBS=$LIBS
18207 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18209 /* end confdefs.h. */
18211 /* Override any GCC internal prototype to avoid an error.
18212 Use char because int might match the return type of a GCC
18213 builtin and then its argument prototype would still apply. */
18214 char libnetapi_init ();
18216 main (void)
18218 return libnetapi_init ();
18220 return 0;
18222 _ACEOF
18223 if ac_fn_c_try_link "$LINENO"
18224 then :
18225 case "$LIBEXT" in
18226 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18227 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'` ;;
18228 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18229 if ${ac_cv_lib_soname_netapi:+false} :
18230 then :
18231 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18232 fi ;;
18233 esac
18234 else $as_nop
18235 ac_cv_lib_soname_netapi=
18237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18238 conftest$ac_exeext conftest.$ac_ext
18239 LIBS=$ac_check_soname_save_LIBS
18241 if ${ac_cv_lib_soname_netapi:+false} :
18242 then :
18243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18244 printf "%s\n" "not found" >&6; }
18245 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18247 else $as_nop
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18249 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18251 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18255 CPPFLAGS=$ac_save_CPPFLAGS
18258 if test "x$ac_cv_lib_soname_netapi" = "x"
18259 then :
18260 case "x$with_netapi" in
18261 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18262 xno) ;;
18263 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18264 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18265 esac
18266 enable_netapi=${enable_netapi:-no}
18270 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18271 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18272 then
18273 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18276 if test "x$with_vulkan" != "xno"
18277 then
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18279 printf %s "checking for -lvulkan... " >&6; }
18280 if test ${ac_cv_lib_soname_vulkan+y}
18281 then :
18282 printf %s "(cached) " >&6
18283 else $as_nop
18284 ac_check_soname_save_LIBS=$LIBS
18285 LIBS="-lvulkan $LIBS"
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 char vkGetInstanceProcAddr ();
18294 main (void)
18296 return vkGetInstanceProcAddr ();
18298 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"
18302 then :
18303 case "$LIBEXT" in
18304 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18305 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'` ;;
18306 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18307 if ${ac_cv_lib_soname_vulkan:+false} :
18308 then :
18309 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18310 fi ;;
18311 esac
18312 else $as_nop
18313 ac_cv_lib_soname_vulkan=
18315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18316 conftest$ac_exeext conftest.$ac_ext
18317 LIBS=$ac_check_soname_save_LIBS
18319 if ${ac_cv_lib_soname_vulkan:+false} :
18320 then :
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18322 printf "%s\n" "not found" >&6; }
18324 else $as_nop
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18326 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18328 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18332 if test "x$ac_cv_lib_soname_vulkan" = "x"
18333 then
18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18335 printf %s "checking for -lMoltenVK... " >&6; }
18336 if test ${ac_cv_lib_soname_MoltenVK+y}
18337 then :
18338 printf %s "(cached) " >&6
18339 else $as_nop
18340 ac_check_soname_save_LIBS=$LIBS
18341 LIBS="-lMoltenVK $LIBS"
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18348 char vkGetInstanceProcAddr ();
18350 main (void)
18352 return vkGetInstanceProcAddr ();
18354 return 0;
18356 _ACEOF
18357 if ac_fn_c_try_link "$LINENO"
18358 then :
18359 case "$LIBEXT" in
18360 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18361 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'` ;;
18362 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18363 if ${ac_cv_lib_soname_MoltenVK:+false} :
18364 then :
18365 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18366 fi ;;
18367 esac
18368 else $as_nop
18369 ac_cv_lib_soname_MoltenVK=
18371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18372 conftest$ac_exeext conftest.$ac_ext
18373 LIBS=$ac_check_soname_save_LIBS
18375 if ${ac_cv_lib_soname_MoltenVK:+false} :
18376 then :
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18378 printf "%s\n" "not found" >&6; }
18380 else $as_nop
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18382 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18384 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18390 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18391 then :
18392 case "x$with_vulkan" in
18393 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18394 xno) ;;
18395 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18396 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18397 esac
18402 if test "x${GCC}" = "xyes"
18403 then
18404 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18406 saved_CFLAGS=$CFLAGS
18407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18408 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18409 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18410 then :
18411 printf %s "(cached) " >&6
18412 else $as_nop
18413 ac_wine_try_cflags_saved=$CFLAGS
18414 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18417 int main(int argc, char **argv) { return 0; }
18418 _ACEOF
18419 if ac_fn_c_try_link "$LINENO"
18420 then :
18421 ac_cv_cflags__Werror_unknown_warning_option=yes
18422 else $as_nop
18423 ac_cv_cflags__Werror_unknown_warning_option=no
18425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18426 conftest$ac_exeext conftest.$ac_ext
18427 CFLAGS=$ac_wine_try_cflags_saved
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18430 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18431 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18432 then :
18433 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18436 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18437 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18438 then :
18439 printf %s "(cached) " >&6
18440 else $as_nop
18441 ac_wine_try_cflags_saved=$CFLAGS
18442 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18445 int main(int argc, char **argv) { return 0; }
18446 _ACEOF
18447 if ac_fn_c_try_link "$LINENO"
18448 then :
18449 ac_cv_cflags__Werror_unused_command_line_argument=yes
18450 else $as_nop
18451 ac_cv_cflags__Werror_unused_command_line_argument=no
18453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18454 conftest$ac_exeext conftest.$ac_ext
18455 CFLAGS=$ac_wine_try_cflags_saved
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18458 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18459 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18460 then :
18461 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18464 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18465 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18466 then :
18467 printf %s "(cached) " >&6
18468 else $as_nop
18469 ac_wine_try_cflags_saved=$CFLAGS
18470 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 int main(int argc, char **argv) { return 0; }
18474 _ACEOF
18475 if ac_fn_c_try_link "$LINENO"
18476 then :
18477 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18478 else $as_nop
18479 ac_cv_cflags__Werror_ignored_optimization_argument=no
18481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18482 conftest$ac_exeext conftest.$ac_ext
18483 CFLAGS=$ac_wine_try_cflags_saved
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18486 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18487 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18488 then :
18489 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18492 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18493 if test ${ac_cv_cflags__fcf_protection_none+y}
18494 then :
18495 printf %s "(cached) " >&6
18496 else $as_nop
18497 ac_wine_try_cflags_saved=$CFLAGS
18498 CFLAGS="$CFLAGS -fcf-protection=none"
18499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18501 int main(int argc, char **argv) { return 0; }
18502 _ACEOF
18503 if ac_fn_c_try_link "$LINENO"
18504 then :
18505 ac_cv_cflags__fcf_protection_none=yes
18506 else $as_nop
18507 ac_cv_cflags__fcf_protection_none=no
18509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18510 conftest$ac_exeext conftest.$ac_ext
18511 CFLAGS=$ac_wine_try_cflags_saved
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18514 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18515 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18516 then :
18517 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18520 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18521 if test ${ac_cv_cflags__fno_stack_protector+y}
18522 then :
18523 printf %s "(cached) " >&6
18524 else $as_nop
18525 ac_wine_try_cflags_saved=$CFLAGS
18526 CFLAGS="$CFLAGS -fno-stack-protector"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_cflags__fno_stack_protector=yes
18534 else $as_nop
18535 ac_cv_cflags__fno_stack_protector=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 CFLAGS=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18542 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18543 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18544 then :
18545 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18548 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18549 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_wine_try_cflags_saved=$CFLAGS
18554 CFLAGS="$CFLAGS -fno-strict-aliasing"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"
18560 then :
18561 ac_cv_cflags__fno_strict_aliasing=yes
18562 else $as_nop
18563 ac_cv_cflags__fno_strict_aliasing=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18566 conftest$ac_exeext conftest.$ac_ext
18567 CFLAGS=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18570 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18571 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18572 then :
18573 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18576 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18577 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_wine_try_cflags_saved=$CFLAGS
18582 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"
18588 then :
18589 ac_cv_cflags__Wdeclaration_after_statement=yes
18590 else $as_nop
18591 ac_cv_cflags__Wdeclaration_after_statement=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18594 conftest$ac_exeext conftest.$ac_ext
18595 CFLAGS=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18598 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18599 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18600 then :
18601 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18604 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18605 if test ${ac_cv_cflags__Wempty_body+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -Wempty-body"
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18614 _ACEOF
18615 if ac_fn_c_try_link "$LINENO"
18616 then :
18617 ac_cv_cflags__Wempty_body=yes
18618 else $as_nop
18619 ac_cv_cflags__Wempty_body=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18622 conftest$ac_exeext conftest.$ac_ext
18623 CFLAGS=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18626 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18627 if test "x$ac_cv_cflags__Wempty_body" = xyes
18628 then :
18629 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18632 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18633 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18634 then :
18635 printf %s "(cached) " >&6
18636 else $as_nop
18637 ac_wine_try_cflags_saved=$CFLAGS
18638 CFLAGS="$CFLAGS -Wignored-qualifiers"
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"
18644 then :
18645 ac_cv_cflags__Wignored_qualifiers=yes
18646 else $as_nop
18647 ac_cv_cflags__Wignored_qualifiers=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18650 conftest$ac_exeext conftest.$ac_ext
18651 CFLAGS=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18654 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18655 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18656 then :
18657 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18660 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18661 if test ${ac_cv_cflags__Winit_self+y}
18662 then :
18663 printf %s "(cached) " >&6
18664 else $as_nop
18665 ac_wine_try_cflags_saved=$CFLAGS
18666 CFLAGS="$CFLAGS -Winit-self"
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"
18672 then :
18673 ac_cv_cflags__Winit_self=yes
18674 else $as_nop
18675 ac_cv_cflags__Winit_self=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18678 conftest$ac_exeext conftest.$ac_ext
18679 CFLAGS=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18682 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18683 if test "x$ac_cv_cflags__Winit_self" = xyes
18684 then :
18685 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18688 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18689 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_wine_try_cflags_saved=$CFLAGS
18694 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"
18700 then :
18701 ac_cv_cflags__Wpacked_not_aligned=yes
18702 else $as_nop
18703 ac_cv_cflags__Wpacked_not_aligned=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18706 conftest$ac_exeext conftest.$ac_ext
18707 CFLAGS=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18710 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18711 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18712 then :
18713 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18716 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18717 if test ${ac_cv_cflags__Wpragma_pack+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -Wpragma-pack"
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18726 _ACEOF
18727 if ac_fn_c_try_link "$LINENO"
18728 then :
18729 ac_cv_cflags__Wpragma_pack=yes
18730 else $as_nop
18731 ac_cv_cflags__Wpragma_pack=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18734 conftest$ac_exeext conftest.$ac_ext
18735 CFLAGS=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18738 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18739 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18740 then :
18741 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18744 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18745 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Wshift-overflow=2"
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"
18756 then :
18757 ac_cv_cflags__Wshift_overflow_2=yes
18758 else $as_nop
18759 ac_cv_cflags__Wshift_overflow_2=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18762 conftest$ac_exeext conftest.$ac_ext
18763 CFLAGS=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18767 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18768 then :
18769 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18772 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18773 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Wstrict-prototypes"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Wstrict_prototypes=yes
18786 else $as_nop
18787 ac_cv_cflags__Wstrict_prototypes=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18795 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18800 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18801 if test ${ac_cv_cflags__Wtype_limits+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -Wtype-limits"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__Wtype_limits=yes
18814 else $as_nop
18815 ac_cv_cflags__Wtype_limits=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18823 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18828 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18829 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18838 _ACEOF
18839 if ac_fn_c_try_link "$LINENO"
18840 then :
18841 ac_cv_cflags__Wunused_but_set_parameter=yes
18842 else $as_nop
18843 ac_cv_cflags__Wunused_but_set_parameter=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18846 conftest$ac_exeext conftest.$ac_ext
18847 CFLAGS=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18850 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18851 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18856 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18857 if test ${ac_cv_cflags__Wvla+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -Wvla"
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 ac_cv_cflags__Wvla=yes
18870 else $as_nop
18871 ac_cv_cflags__Wvla=no
18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18874 conftest$ac_exeext conftest.$ac_ext
18875 CFLAGS=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18879 if test "x$ac_cv_cflags__Wvla" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18884 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18885 if test ${ac_cv_cflags__Wwrite_strings+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wwrite-strings"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__Wwrite_strings=yes
18898 else $as_nop
18899 ac_cv_cflags__Wwrite_strings=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18907 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18913 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18914 if test ${ac_cv_cflags__Wpointer_arith+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_wine_try_cflags_saved=$CFLAGS
18919 CFLAGS="$CFLAGS -Wpointer-arith"
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18923 _ACEOF
18924 if ac_fn_c_try_link "$LINENO"
18925 then :
18926 ac_cv_cflags__Wpointer_arith=yes
18927 else $as_nop
18928 ac_cv_cflags__Wpointer_arith=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18931 conftest$ac_exeext conftest.$ac_ext
18932 CFLAGS=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18936 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18937 then :
18938 saved_string_h_CFLAGS=$CFLAGS
18939 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18941 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18942 if test ${ac_cv_c_string_h_warnings+y}
18943 then :
18944 printf %s "(cached) " >&6
18945 else $as_nop
18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 #include <string.h>
18950 main (void)
18954 return 0;
18956 _ACEOF
18957 if ac_fn_c_try_compile "$LINENO"
18958 then :
18959 ac_cv_c_string_h_warnings=no
18960 else $as_nop
18961 ac_cv_c_string_h_warnings=yes
18963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18966 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18967 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18968 CFLAGS=$saved_string_h_CFLAGS
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18972 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18973 if test ${ac_cv_cflags__Wlogical_op+y}
18974 then :
18975 printf %s "(cached) " >&6
18976 else $as_nop
18977 ac_wine_try_cflags_saved=$CFLAGS
18978 CFLAGS="$CFLAGS -Wlogical-op"
18979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18980 /* end confdefs.h. */
18981 int main(int argc, char **argv) { return 0; }
18982 _ACEOF
18983 if ac_fn_c_try_link "$LINENO"
18984 then :
18985 ac_cv_cflags__Wlogical_op=yes
18986 else $as_nop
18987 ac_cv_cflags__Wlogical_op=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18990 conftest$ac_exeext conftest.$ac_ext
18991 CFLAGS=$ac_wine_try_cflags_saved
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18994 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18995 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18996 then :
18997 saved_string_h_CFLAGS=$CFLAGS
18998 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19000 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19001 if test ${ac_cv_c_logicalop_noisy+y}
19002 then :
19003 printf %s "(cached) " >&6
19004 else $as_nop
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <string.h>
19008 char*f(const char *h,char n) {return strchr(h,n);}
19010 main (void)
19014 return 0;
19016 _ACEOF
19017 if ac_fn_c_try_compile "$LINENO"
19018 then :
19019 ac_cv_c_logicalop_noisy=no
19020 else $as_nop
19021 ac_cv_c_logicalop_noisy=yes
19023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19026 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19027 CFLAGS=$saved_string_h_CFLAGS
19028 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19032 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19033 if test ${wine_cv_64bit_compare_swap+y}
19034 then :
19035 printf %s "(cached) " >&6
19036 else $as_nop
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19040 #error no
19041 #endif
19043 main (void)
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_compile "$LINENO"
19051 then :
19052 wine_cv_64bit_compare_swap="none needed"
19053 else $as_nop
19054 case $host_cpu in
19055 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19056 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19057 *) wine_cv_64bit_compare_swap="unknown" ;;
19058 esac
19059 if test "x$wine_cv_64bit_compare_swap" != xunknown
19060 then
19061 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19065 #error no
19066 #endif
19068 main (void)
19072 return 0;
19074 _ACEOF
19075 if ac_fn_c_try_compile "$LINENO"
19076 then :
19078 else $as_nop
19079 wine_cv_64bit_compare_swap="unknown"
19081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19082 CFLAGS=$saved_CFLAGS
19085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19088 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19089 case "$wine_cv_64bit_compare_swap" in
19090 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19091 "none needed") ;;
19092 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19093 esac
19095 ac_debug_format_seen=""
19096 for ac_flag in $CFLAGS; do
19097 case $ac_flag in
19098 -gdwarf*) ac_debug_format_seen=yes ;;
19099 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19100 esac
19101 done
19102 if test "x$ac_debug_format_seen" = xdefault
19103 then
19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19105 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19106 if test ${ac_cv_cflags__gdwarf_4+y}
19107 then :
19108 printf %s "(cached) " >&6
19109 else $as_nop
19110 ac_wine_try_cflags_saved=$CFLAGS
19111 CFLAGS="$CFLAGS -gdwarf-4"
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 int main(int argc, char **argv) { return 0; }
19115 _ACEOF
19116 if ac_fn_c_try_link "$LINENO"
19117 then :
19118 ac_cv_cflags__gdwarf_4=yes
19119 else $as_nop
19120 ac_cv_cflags__gdwarf_4=no
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19123 conftest$ac_exeext conftest.$ac_ext
19124 CFLAGS=$ac_wine_try_cflags_saved
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19127 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19128 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19129 then :
19130 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19134 MSVCRTFLAGS=""
19136 case $host_os in
19137 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19138 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19139 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19140 then :
19141 printf %s "(cached) " >&6
19142 else $as_nop
19143 ac_wine_try_cflags_saved=$CFLAGS
19144 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147 int main(int argc, char **argv) { return 0; }
19148 _ACEOF
19149 if ac_fn_c_try_link "$LINENO"
19150 then :
19151 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19152 else $as_nop
19153 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19156 conftest$ac_exeext conftest.$ac_ext
19157 CFLAGS=$ac_wine_try_cflags_saved
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19160 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19161 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19162 then :
19163 DELAYLOADFLAG="-Wl,-delayload,"
19165 fi ;;
19166 *) MSVCRTFLAGS="-D_WIN32"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19168 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19169 if test ${ac_cv_cflags__fno_builtin+y}
19170 then :
19171 printf %s "(cached) " >&6
19172 else $as_nop
19173 ac_wine_try_cflags_saved=$CFLAGS
19174 CFLAGS="$CFLAGS -fno-builtin"
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 int main(int argc, char **argv) { return 0; }
19178 _ACEOF
19179 if ac_fn_c_try_link "$LINENO"
19180 then :
19181 ac_cv_cflags__fno_builtin=yes
19182 else $as_nop
19183 ac_cv_cflags__fno_builtin=no
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19186 conftest$ac_exeext conftest.$ac_ext
19187 CFLAGS=$ac_wine_try_cflags_saved
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19190 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19191 if test "x$ac_cv_cflags__fno_builtin" = xyes
19192 then :
19193 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19196 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19197 if test ${ac_cv_cflags__fshort_wchar+y}
19198 then :
19199 printf %s "(cached) " >&6
19200 else $as_nop
19201 ac_wine_try_cflags_saved=$CFLAGS
19202 CFLAGS="$CFLAGS -fshort-wchar"
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 int main(int argc, char **argv) { return 0; }
19206 _ACEOF
19207 if ac_fn_c_try_link "$LINENO"
19208 then :
19209 ac_cv_cflags__fshort_wchar=yes
19210 else $as_nop
19211 ac_cv_cflags__fshort_wchar=no
19213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19214 conftest$ac_exeext conftest.$ac_ext
19215 CFLAGS=$ac_wine_try_cflags_saved
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19218 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19219 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19220 then :
19221 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19224 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19225 if test ${ac_cv_cflags__Wno_format+y}
19226 then :
19227 printf %s "(cached) " >&6
19228 else $as_nop
19229 ac_wine_try_cflags_saved=$CFLAGS
19230 CFLAGS="$CFLAGS -Wno-format"
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19233 int main(int argc, char **argv) { return 0; }
19234 _ACEOF
19235 if ac_fn_c_try_link "$LINENO"
19236 then :
19237 ac_cv_cflags__Wno_format=yes
19238 else $as_nop
19239 ac_cv_cflags__Wno_format=no
19241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19242 conftest$ac_exeext conftest.$ac_ext
19243 CFLAGS=$ac_wine_try_cflags_saved
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19246 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19247 if test "x$ac_cv_cflags__Wno_format" = xyes
19248 then :
19249 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19250 fi ;;
19251 esac
19253 case $host_cpu in
19254 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19255 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19256 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19257 then :
19258 printf %s "(cached) " >&6
19259 else $as_nop
19260 ac_wine_try_cflags_saved=$CFLAGS
19261 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19264 int main(int argc, char **argv) { return 0; }
19265 _ACEOF
19266 if ac_fn_c_try_link "$LINENO"
19267 then :
19268 ac_cv_cflags__fno_omit_frame_pointer=yes
19269 else $as_nop
19270 ac_cv_cflags__fno_omit_frame_pointer=no
19272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19273 conftest$ac_exeext conftest.$ac_ext
19274 CFLAGS=$ac_wine_try_cflags_saved
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19277 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19278 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19279 then :
19280 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19281 fi ;;
19282 *x86_64*)
19283 case $host_os in
19284 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19285 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19286 if test ${ac_cv_cflags__Wno_format+y}
19287 then :
19288 printf %s "(cached) " >&6
19289 else $as_nop
19290 ac_wine_try_cflags_saved=$CFLAGS
19291 CFLAGS="$CFLAGS -Wno-format"
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 int main(int argc, char **argv) { return 0; }
19295 _ACEOF
19296 if ac_fn_c_try_link "$LINENO"
19297 then :
19298 ac_cv_cflags__Wno_format=yes
19299 else $as_nop
19300 ac_cv_cflags__Wno_format=no
19302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19303 conftest$ac_exeext conftest.$ac_ext
19304 CFLAGS=$ac_wine_try_cflags_saved
19306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19307 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19308 if test "x$ac_cv_cflags__Wno_format" = xyes
19309 then :
19310 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19311 fi ;;
19312 *) if test -z "$PE_ARCHS"
19313 then
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19315 printf %s "checking for working -mabi=ms... " >&6; }
19316 if test ${ac_cv_mabi_ms+y}
19317 then :
19318 printf %s "(cached) " >&6
19319 else $as_nop
19320 CFLAGS="$CFLAGS -mabi=ms"
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <stdarg.h>
19324 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19326 main (void)
19330 return 0;
19332 _ACEOF
19333 if ac_fn_c_try_compile "$LINENO"
19334 then :
19335 ac_cv_mabi_ms=yes
19336 else $as_nop
19337 ac_cv_mabi_ms=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19340 CFLAGS=$saved_CFLAGS
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19343 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19344 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
19346 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19347 esac ;;
19348 arm*)
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19350 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19351 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19352 then :
19353 printf %s "(cached) " >&6
19354 else $as_nop
19355 ac_wine_try_cflags_saved=$CFLAGS
19356 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19359 int main(int argc, char **argv) { return 0; }
19360 _ACEOF
19361 if ac_fn_c_try_link "$LINENO"
19362 then :
19363 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19364 else $as_nop
19365 ac_cv_cflags__Wincompatible_function_pointer_types=no
19367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19368 conftest$ac_exeext conftest.$ac_ext
19369 CFLAGS=$ac_wine_try_cflags_saved
19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19372 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19373 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19374 then :
19375 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19376 fi ;;
19377 esac
19379 CFLAGS=$saved_CFLAGS
19381 if test "x$enable_werror" = "xyes"
19382 then
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19384 printf %s "checking whether the compiler supports -Werror... " >&6; }
19385 if test ${ac_cv_cflags__Werror+y}
19386 then :
19387 printf %s "(cached) " >&6
19388 else $as_nop
19389 ac_wine_try_cflags_saved=$CFLAGS
19390 CFLAGS="$CFLAGS -Werror"
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 int main(int argc, char **argv) { return 0; }
19394 _ACEOF
19395 if ac_fn_c_try_link "$LINENO"
19396 then :
19397 ac_cv_cflags__Werror=yes
19398 else $as_nop
19399 ac_cv_cflags__Werror=no
19401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19402 conftest$ac_exeext conftest.$ac_ext
19403 CFLAGS=$ac_wine_try_cflags_saved
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19406 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19407 if test "x$ac_cv_cflags__Werror" = xyes
19408 then :
19409 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19412 if test "x$enable_build_id" = "xyes"
19413 then
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19415 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19416 if test ${ac_cv_cflags__Wl___build_id+y}
19417 then :
19418 printf %s "(cached) " >&6
19419 else $as_nop
19420 ac_wine_try_cflags_saved=$CFLAGS
19421 CFLAGS="$CFLAGS -Wl,--build-id"
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19425 _ACEOF
19426 if ac_fn_c_try_link "$LINENO"
19427 then :
19428 ac_cv_cflags__Wl___build_id=yes
19429 else $as_nop
19430 ac_cv_cflags__Wl___build_id=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19433 conftest$ac_exeext conftest.$ac_ext
19434 CFLAGS=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19437 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19438 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19439 then :
19440 CFLAGS="$CFLAGS -Wl,--build-id"
19441 LDFLAGS="$LDFLAGS -Wl,--build-id"
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19448 printf %s "checking for the need to disable Fortify... " >&6; }
19449 if test ${ac_cv_c_fortify_enabled+y}
19450 then :
19451 printf %s "(cached) " >&6
19452 else $as_nop
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <string.h>
19457 main (void)
19459 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19460 #error Fortify enabled
19461 #endif
19463 return 0;
19465 _ACEOF
19466 if ac_fn_c_try_compile "$LINENO"
19467 then :
19468 ac_cv_c_fortify_enabled=no
19469 else $as_nop
19470 ac_cv_c_fortify_enabled=yes
19472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19475 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19476 if test "$ac_cv_c_fortify_enabled" = yes
19477 then
19478 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19483 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19484 if test ${ac_cv_c_cfi_support+y}
19485 then :
19486 printf %s "(cached) " >&6
19487 else $as_nop
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19492 main (void)
19496 return 0;
19498 _ACEOF
19499 if ac_fn_c_try_compile "$LINENO"
19500 then :
19501 ac_cv_c_cfi_support="yes"
19502 else $as_nop
19503 ac_cv_c_cfi_support="no"
19505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19508 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19509 if test "$ac_cv_c_cfi_support" = "yes"
19510 then
19511 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19512 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19513 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19514 elif test $HOST_ARCH = x86_64
19515 then
19516 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19520 case "$HOST_ARCH,$PE_ARCHS" in
19521 x86_64,*i386*) wine_binary="wine" ;;
19522 x86_64,*) wine_binary="wine64" ;;
19523 *) wine_binary="wine" ;;
19524 esac
19525 WINELOADER_PROGRAMS="$wine_binary"
19528 case $host_os in
19529 linux*)
19530 case $host_cpu in
19531 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19532 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19533 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19535 esac
19537 darwin*|macosx*)
19538 if test "$wine_can_build_preloader" = "yes"
19539 then
19540 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19541 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19544 esac
19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19548 printf %s "checking for library containing dlopen... " >&6; }
19549 if test ${ac_cv_search_dlopen+y}
19550 then :
19551 printf %s "(cached) " >&6
19552 else $as_nop
19553 ac_func_search_save_LIBS=$LIBS
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19557 /* Override any GCC internal prototype to avoid an error.
19558 Use char because int might match the return type of a GCC
19559 builtin and then its argument prototype would still apply. */
19560 char dlopen ();
19562 main (void)
19564 return dlopen ();
19566 return 0;
19568 _ACEOF
19569 for ac_lib in '' dl
19571 if test -z "$ac_lib"; then
19572 ac_res="none required"
19573 else
19574 ac_res=-l$ac_lib
19575 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19577 if ac_fn_c_try_link "$LINENO"
19578 then :
19579 ac_cv_search_dlopen=$ac_res
19581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19582 conftest$ac_exeext
19583 if test ${ac_cv_search_dlopen+y}
19584 then :
19585 break
19587 done
19588 if test ${ac_cv_search_dlopen+y}
19589 then :
19591 else $as_nop
19592 ac_cv_search_dlopen=no
19594 rm conftest.$ac_ext
19595 LIBS=$ac_func_search_save_LIBS
19597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19598 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19599 ac_res=$ac_cv_search_dlopen
19600 if test "$ac_res" != no
19601 then :
19602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19608 printf %s "checking for library containing gethostbyname... " >&6; }
19609 if test ${ac_cv_search_gethostbyname+y}
19610 then :
19611 printf %s "(cached) " >&6
19612 else $as_nop
19613 ac_func_search_save_LIBS=$LIBS
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19617 /* Override any GCC internal prototype to avoid an error.
19618 Use char because int might match the return type of a GCC
19619 builtin and then its argument prototype would still apply. */
19620 char gethostbyname ();
19622 main (void)
19624 return gethostbyname ();
19626 return 0;
19628 _ACEOF
19629 for ac_lib in '' nsl
19631 if test -z "$ac_lib"; then
19632 ac_res="none required"
19633 else
19634 ac_res=-l$ac_lib
19635 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19637 if ac_fn_c_try_link "$LINENO"
19638 then :
19639 ac_cv_search_gethostbyname=$ac_res
19641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19642 conftest$ac_exeext
19643 if test ${ac_cv_search_gethostbyname+y}
19644 then :
19645 break
19647 done
19648 if test ${ac_cv_search_gethostbyname+y}
19649 then :
19651 else $as_nop
19652 ac_cv_search_gethostbyname=no
19654 rm conftest.$ac_ext
19655 LIBS=$ac_func_search_save_LIBS
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19658 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19659 ac_res=$ac_cv_search_gethostbyname
19660 if test "$ac_res" != no
19661 then :
19662 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19668 printf %s "checking for library containing connect... " >&6; }
19669 if test ${ac_cv_search_connect+y}
19670 then :
19671 printf %s "(cached) " >&6
19672 else $as_nop
19673 ac_func_search_save_LIBS=$LIBS
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19680 char connect ();
19682 main (void)
19684 return connect ();
19686 return 0;
19688 _ACEOF
19689 for ac_lib in '' socket
19691 if test -z "$ac_lib"; then
19692 ac_res="none required"
19693 else
19694 ac_res=-l$ac_lib
19695 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19697 if ac_fn_c_try_link "$LINENO"
19698 then :
19699 ac_cv_search_connect=$ac_res
19701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19702 conftest$ac_exeext
19703 if test ${ac_cv_search_connect+y}
19704 then :
19705 break
19707 done
19708 if test ${ac_cv_search_connect+y}
19709 then :
19711 else $as_nop
19712 ac_cv_search_connect=no
19714 rm conftest.$ac_ext
19715 LIBS=$ac_func_search_save_LIBS
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19718 printf "%s\n" "$ac_cv_search_connect" >&6; }
19719 ac_res=$ac_cv_search_connect
19720 if test "$ac_res" != no
19721 then :
19722 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19728 printf %s "checking for library containing inet_aton... " >&6; }
19729 if test ${ac_cv_search_inet_aton+y}
19730 then :
19731 printf %s "(cached) " >&6
19732 else $as_nop
19733 ac_func_search_save_LIBS=$LIBS
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19737 /* Override any GCC internal prototype to avoid an error.
19738 Use char because int might match the return type of a GCC
19739 builtin and then its argument prototype would still apply. */
19740 char inet_aton ();
19742 main (void)
19744 return inet_aton ();
19746 return 0;
19748 _ACEOF
19749 for ac_lib in '' resolv
19751 if test -z "$ac_lib"; then
19752 ac_res="none required"
19753 else
19754 ac_res=-l$ac_lib
19755 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19757 if ac_fn_c_try_link "$LINENO"
19758 then :
19759 ac_cv_search_inet_aton=$ac_res
19761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19762 conftest$ac_exeext
19763 if test ${ac_cv_search_inet_aton+y}
19764 then :
19765 break
19767 done
19768 if test ${ac_cv_search_inet_aton+y}
19769 then :
19771 else $as_nop
19772 ac_cv_search_inet_aton=no
19774 rm conftest.$ac_ext
19775 LIBS=$ac_func_search_save_LIBS
19777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19778 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19779 ac_res=$ac_cv_search_inet_aton
19780 if test "$ac_res" != no
19781 then :
19782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19787 ac_save_CFLAGS="$CFLAGS"
19788 CFLAGS="$CFLAGS $BUILTINFLAG"
19789 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19790 if test "x$ac_cv_func_dladdr1" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19796 if test "x$ac_cv_func_dlinfo" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19802 if test "x$ac_cv_func_epoll_create" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19808 if test "x$ac_cv_func_fstatfs" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19814 if test "x$ac_cv_func_futimens" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19820 if test "x$ac_cv_func_futimes" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19826 if test "x$ac_cv_func_futimesat" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19832 if test "x$ac_cv_func_getaddrinfo" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19838 if test "x$ac_cv_func_getattrlist" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19844 if test "x$ac_cv_func_getauxval" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19850 if test "x$ac_cv_func_getifaddrs" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19856 if test "x$ac_cv_func_getrandom" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19862 if test "x$ac_cv_func_kqueue" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19868 if test "x$ac_cv_func_mach_continuous_time" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19874 if test "x$ac_cv_func_pipe2" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19880 if test "x$ac_cv_func_port_create" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19886 if test "x$ac_cv_func_posix_fadvise" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19892 if test "x$ac_cv_func_posix_fallocate" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19897 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19898 if test "x$ac_cv_func_prctl" = xyes
19899 then :
19900 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19903 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19904 if test "x$ac_cv_func_proc_pidinfo" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19909 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19910 if test "x$ac_cv_func_sched_yield" = xyes
19911 then :
19912 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19915 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19916 if test "x$ac_cv_func_setproctitle" = xyes
19917 then :
19918 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19921 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19922 if test "x$ac_cv_func_setprogname" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19927 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19928 if test "x$ac_cv_func_sigprocmask" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19933 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19934 if test "x$ac_cv_func_sysinfo" = xyes
19935 then :
19936 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19939 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19940 if test "x$ac_cv_func_tcdrain" = xyes
19941 then :
19942 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19945 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19946 if test "x$ac_cv_func_thr_kill2" = xyes
19947 then :
19948 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19952 CFLAGS="$ac_save_CFLAGS"
19954 case $host_os in
19955 darwin*|macosx*) ;;
19956 *) ac_save_LIBS=$LIBS
19957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19958 printf %s "checking for library containing clock_gettime... " >&6; }
19959 if test ${ac_cv_search_clock_gettime+y}
19960 then :
19961 printf %s "(cached) " >&6
19962 else $as_nop
19963 ac_func_search_save_LIBS=$LIBS
19964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19965 /* end confdefs.h. */
19967 /* Override any GCC internal prototype to avoid an error.
19968 Use char because int might match the return type of a GCC
19969 builtin and then its argument prototype would still apply. */
19970 char clock_gettime ();
19972 main (void)
19974 return clock_gettime ();
19976 return 0;
19978 _ACEOF
19979 for ac_lib in '' rt
19981 if test -z "$ac_lib"; then
19982 ac_res="none required"
19983 else
19984 ac_res=-l$ac_lib
19985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19987 if ac_fn_c_try_link "$LINENO"
19988 then :
19989 ac_cv_search_clock_gettime=$ac_res
19991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19992 conftest$ac_exeext
19993 if test ${ac_cv_search_clock_gettime+y}
19994 then :
19995 break
19997 done
19998 if test ${ac_cv_search_clock_gettime+y}
19999 then :
20001 else $as_nop
20002 ac_cv_search_clock_gettime=no
20004 rm conftest.$ac_ext
20005 LIBS=$ac_func_search_save_LIBS
20007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20008 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20009 ac_res=$ac_cv_search_clock_gettime
20010 if test "$ac_res" != no
20011 then :
20012 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20014 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20016 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20020 LIBS=$ac_save_LIBS
20022 esac
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20025 printf %s "checking for sched_setaffinity... " >&6; }
20026 if test ${wine_cv_have_sched_setaffinity+y}
20027 then :
20028 printf %s "(cached) " >&6
20029 else $as_nop
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032 #include <sched.h>
20034 main (void)
20036 sched_setaffinity(0, 0, 0);
20038 return 0;
20040 _ACEOF
20041 if ac_fn_c_try_link "$LINENO"
20042 then :
20043 wine_cv_have_sched_setaffinity=yes
20044 else $as_nop
20045 wine_cv_have_sched_setaffinity=no
20047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20048 conftest$ac_exeext conftest.$ac_ext
20050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20051 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20052 if test "$wine_cv_have_sched_setaffinity" = "yes"
20053 then
20055 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20061 printf %s "checking for inline... " >&6; }
20062 if test ${ac_cv_c_inline+y}
20063 then :
20064 printf %s "(cached) " >&6
20065 else $as_nop
20066 ac_cv_c_inline=no
20067 for ac_kw in inline __inline__ __inline; do
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #ifndef __cplusplus
20071 typedef int foo_t;
20072 static $ac_kw foo_t static_foo (void) {return 0; }
20073 $ac_kw foo_t foo (void) {return 0; }
20074 #endif
20076 _ACEOF
20077 if ac_fn_c_try_compile "$LINENO"
20078 then :
20079 ac_cv_c_inline=$ac_kw
20081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20082 test "$ac_cv_c_inline" != no && break
20083 done
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20087 printf "%s\n" "$ac_cv_c_inline" >&6; }
20089 case $ac_cv_c_inline in
20090 inline | yes) ;;
20092 case $ac_cv_c_inline in
20093 no) ac_val=;;
20094 *) ac_val=$ac_cv_c_inline;;
20095 esac
20096 cat >>confdefs.h <<_ACEOF
20097 #ifndef __cplusplus
20098 #define inline $ac_val
20099 #endif
20100 _ACEOF
20102 esac
20104 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20106 if test "x$ac_cv_type_request_sense" = xyes
20107 then :
20109 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20115 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20116 #include <sys/socket.h>
20117 #ifdef HAVE_SYS_SOCKETVAR_H
20118 #include <sys/socketvar.h>
20119 #endif
20120 #ifdef HAVE_NET_ROUTE_H
20121 #include <net/route.h>
20122 #endif
20123 #ifdef HAVE_NETINET_IN_H
20124 #include <netinet/in.h>
20125 #endif
20126 #ifdef HAVE_NETINET_IN_SYSTM_H
20127 #include <netinet/in_systm.h>
20128 #endif
20129 #ifdef HAVE_NETINET_IP_H
20130 #include <netinet/ip.h>
20131 #endif
20132 #ifdef HAVE_NETINET_IN_PCB_H
20133 #include <netinet/in_pcb.h>
20134 #endif
20136 if test "x$ac_cv_type_struct_xinpgen" = xyes
20137 then :
20139 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20146 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20147 if test ${wine_cv_linux_gethostbyname_r_6+y}
20148 then :
20149 printf %s "(cached) " >&6
20150 else $as_nop
20151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20152 /* end confdefs.h. */
20153 #include <netdb.h>
20155 main (void)
20158 char *name=0;
20159 struct hostent he;
20160 struct hostent *result;
20161 char *buf=0;
20162 int bufsize=0;
20163 int errnr;
20164 char *addr=0;
20165 int addrlen=0;
20166 int addrtype=0;
20167 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20168 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20171 return 0;
20173 _ACEOF
20174 if ac_fn_c_try_link "$LINENO"
20175 then :
20176 wine_cv_linux_gethostbyname_r_6=yes
20177 else $as_nop
20178 wine_cv_linux_gethostbyname_r_6=no
20181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20182 conftest$ac_exeext conftest.$ac_ext
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20186 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20187 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20188 then
20190 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20194 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20195 #include <sys/socket.h>
20196 #ifdef HAVE_SYS_UN_H
20197 # include <sys/un.h>
20198 #endif
20200 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20201 then :
20203 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20207 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20208 #include <sys/socket.h>
20209 #ifdef HAVE_SYS_UN_H
20210 # include <sys/un.h>
20211 #endif
20213 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20214 then :
20216 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20222 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20223 #ifdef HAVE_SCSI_SG_H
20224 #include <scsi/sg.h>
20225 #endif
20227 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20228 then :
20230 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20234 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>
20235 #ifdef HAVE_SCSI_SG_H
20236 #include <scsi/sg.h>
20237 #endif
20239 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20240 then :
20242 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20248 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20250 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20251 then :
20253 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20259 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20260 #ifdef HAVE_SYS_MTIO_H
20261 #include <sys/mtio.h>
20262 #endif
20264 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20265 then :
20267 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20271 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20272 #ifdef HAVE_SYS_MTIO_H
20273 #include <sys/mtio.h>
20274 #endif
20276 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20277 then :
20279 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20283 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20284 #ifdef HAVE_SYS_MTIO_H
20285 #include <sys/mtio.h>
20286 #endif
20288 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20289 then :
20291 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20297 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20298 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20299 then :
20301 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20305 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20306 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20307 then :
20309 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20313 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20314 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20315 then :
20317 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20321 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20322 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20323 then :
20325 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20329 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20330 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20331 then :
20333 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20337 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20338 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20339 then :
20341 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20345 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20346 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20347 then :
20349 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20353 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20354 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20355 then :
20357 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20379 then :
20381 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20387 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>
20388 #ifdef HAVE_NETINET_IN_H
20389 #include <netinet/in.h>
20390 #endif
20392 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20393 then :
20395 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20401 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
20402 #include <resolv.h>
20403 #endif
20405 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20406 then :
20408 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20414 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20415 #include <netinet/in.h>
20416 #endif
20418 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20427 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20428 #ifdef HAVE_SYS_SOCKETVAR_H
20429 #include <sys/socketvar.h>
20430 #endif
20431 #ifdef HAVE_NETINET_IN_H
20432 #include <netinet/in.h>
20433 #endif
20434 #ifdef HAVE_NETINET_IP_VAR_H
20435 #include <netinet/ip_var.h>
20436 #endif
20438 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20447 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
20448 #include <netinet/ip_var.h>
20449 #endif
20451 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20460 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20461 #ifdef HAVE_SYS_SOCKETVAR_H
20462 #include <sys/socketvar.h>
20463 #endif
20464 #ifdef HAVE_NETINET_IN_H
20465 #include <netinet/in.h>
20466 #endif
20467 #ifdef HAVE_NETINET6_IP6_VAR_H
20468 #include <netinet6/ip6_var.h>
20469 #endif
20471 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20481 #ifdef HAVE_SYS_SOCKETVAR_H
20482 #include <sys/socketvar.h>
20483 #endif
20484 #ifdef HAVE_NETINET_IN_H
20485 #include <netinet/in.h>
20486 #endif
20487 #ifdef HAVE_NETINET_IP_H
20488 #include <netinet/ip.h>
20489 #endif
20490 #ifdef HAVE_NETINET_IP_ICMP_H
20491 #include <netinet/ip_icmp.h>
20492 #endif
20493 #ifdef HAVE_NETINET_ICMP_VAR_H
20494 #include <netinet/icmp_var.h>
20495 #endif
20497 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20506 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20507 #ifdef HAVE_SYS_SOCKETVAR_H
20508 #include <sys/socketvar.h>
20509 #endif
20510 #ifdef HAVE_NETINET_IN_H
20511 #include <netinet/in.h>
20512 #endif
20513 #ifdef HAVE_NETINET_ICMP6_H
20514 #include <netinet/icmp6.h>
20515 #endif
20517 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20527 #ifdef HAVE_SYS_SOCKETVAR_H
20528 #include <sys/socketvar.h>
20529 #endif
20530 #ifdef HAVE_NETINET_IN_H
20531 #include <netinet/in.h>
20532 #endif
20533 #ifdef HAVE_NETINET_TCP_H
20534 #include <netinet/tcp.h>
20535 #endif
20536 #ifdef HAVE_NETINET_TCP_VAR_H
20537 #include <netinet/tcp_var.h>
20538 #endif
20540 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20549 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
20550 #include <netinet/tcp_var.h>
20551 #endif
20553 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20554 then :
20556 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20562 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20563 #ifdef HAVE_NETINET_IN_H
20564 #include <netinet/in.h>
20565 #endif
20566 #ifdef HAVE_NETINET_IP_VAR_H
20567 #include <netinet/ip_var.h>
20568 #endif
20569 #ifdef HAVE_NETINET_UDP_H
20570 #include <netinet/udp.h>
20571 #endif
20572 #ifdef HAVE_NETINET_UDP_VAR_H
20573 #include <netinet/udp_var.h>
20574 #endif
20576 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20577 then :
20579 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20585 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20586 #ifdef HAVE_NET_IF_H
20587 # include <net/if.h>
20588 #endif
20590 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20599 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20600 # include <sys/sysinfo.h>
20601 #endif
20603 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20610 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20611 # include <sys/sysinfo.h>
20612 #endif
20614 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20615 then :
20617 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20623 LIBS="$ac_save_LIBS"
20625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20626 printf %s "checking for __builtin_popcount... " >&6; }
20627 if test ${ac_cv_have___builtin_popcount+y}
20628 then :
20629 printf %s "(cached) " >&6
20630 else $as_nop
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20635 main (void)
20637 return __builtin_popcount(1)
20639 return 0;
20641 _ACEOF
20642 if ac_fn_c_try_link "$LINENO"
20643 then :
20644 ac_cv_have___builtin_popcount="yes"
20645 else $as_nop
20646 ac_cv_have___builtin_popcount="no"
20648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20649 conftest$ac_exeext conftest.$ac_ext
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20652 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20653 if test "$ac_cv_have___builtin_popcount" = "yes"
20654 then
20656 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20661 printf %s "checking for __clear_cache... " >&6; }
20662 if test ${ac_cv_have___clear_cache+y}
20663 then :
20664 printf %s "(cached) " >&6
20665 else $as_nop
20666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20670 main (void)
20672 __clear_cache((void*)0, (void*)0); return 0;
20674 return 0;
20676 _ACEOF
20677 if ac_fn_c_try_link "$LINENO"
20678 then :
20679 ac_cv_have___clear_cache="yes"
20680 else $as_nop
20681 ac_cv_have___clear_cache="no"
20683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20684 conftest$ac_exeext conftest.$ac_ext
20686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20687 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20688 if test "$ac_cv_have___clear_cache" = "yes"
20689 then
20691 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20696 case $host_cpu in
20697 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20698 printf %s "checking whether we need to define __i386__... " >&6; }
20699 if test ${ac_cv_cpp_def___i386__+y}
20700 then :
20701 printf %s "(cached) " >&6
20702 else $as_nop
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20705 #ifndef __i386__
20707 #endif
20708 _ACEOF
20709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20710 $EGREP "yes" >/dev/null 2>&1
20711 then :
20712 ac_cv_cpp_def___i386__=yes
20713 else $as_nop
20714 ac_cv_cpp_def___i386__=no
20716 rm -rf conftest*
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20720 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20721 if test "x$ac_cv_cpp_def___i386__" = xyes
20722 then :
20723 CFLAGS="$CFLAGS -D__i386__"
20724 LINTFLAGS="$LINTFLAGS -D__i386__"
20725 fi ;;
20726 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20727 printf %s "checking whether we need to define __x86_64__... " >&6; }
20728 if test ${ac_cv_cpp_def___x86_64__+y}
20729 then :
20730 printf %s "(cached) " >&6
20731 else $as_nop
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20734 #ifndef __x86_64__
20736 #endif
20737 _ACEOF
20738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20739 $EGREP "yes" >/dev/null 2>&1
20740 then :
20741 ac_cv_cpp_def___x86_64__=yes
20742 else $as_nop
20743 ac_cv_cpp_def___x86_64__=no
20745 rm -rf conftest*
20748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20749 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20750 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20751 then :
20752 CFLAGS="$CFLAGS -D__x86_64__"
20753 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20754 fi ;;
20755 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20756 printf %s "checking whether we need to define __sparc64__... " >&6; }
20757 if test ${ac_cv_cpp_def___sparc64__+y}
20758 then :
20759 printf %s "(cached) " >&6
20760 else $as_nop
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #ifndef __sparc64__
20765 #endif
20766 _ACEOF
20767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20768 $EGREP "yes" >/dev/null 2>&1
20769 then :
20770 ac_cv_cpp_def___sparc64__=yes
20771 else $as_nop
20772 ac_cv_cpp_def___sparc64__=no
20774 rm -rf conftest*
20777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20778 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20779 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20780 then :
20781 CFLAGS="$CFLAGS -D__sparc64__"
20782 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20783 fi ;;
20784 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20785 printf %s "checking whether we need to define __sparc__... " >&6; }
20786 if test ${ac_cv_cpp_def___sparc__+y}
20787 then :
20788 printf %s "(cached) " >&6
20789 else $as_nop
20790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20792 #ifndef __sparc__
20794 #endif
20795 _ACEOF
20796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20797 $EGREP "yes" >/dev/null 2>&1
20798 then :
20799 ac_cv_cpp_def___sparc__=yes
20800 else $as_nop
20801 ac_cv_cpp_def___sparc__=no
20803 rm -rf conftest*
20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20807 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20808 if test "x$ac_cv_cpp_def___sparc__" = xyes
20809 then :
20810 CFLAGS="$CFLAGS -D__sparc__"
20811 LINTFLAGS="$LINTFLAGS -D__sparc__"
20812 fi ;;
20813 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20814 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20815 if test ${ac_cv_cpp_def___powerpc64__+y}
20816 then :
20817 printf %s "(cached) " >&6
20818 else $as_nop
20819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h. */
20821 #ifndef __powerpc64__
20823 #endif
20824 _ACEOF
20825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20826 $EGREP "yes" >/dev/null 2>&1
20827 then :
20828 ac_cv_cpp_def___powerpc64__=yes
20829 else $as_nop
20830 ac_cv_cpp_def___powerpc64__=no
20832 rm -rf conftest*
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20836 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20837 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20838 then :
20839 CFLAGS="$CFLAGS -D__powerpc64__"
20840 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20841 fi ;;
20842 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20843 printf %s "checking whether we need to define __powerpc__... " >&6; }
20844 if test ${ac_cv_cpp_def___powerpc__+y}
20845 then :
20846 printf %s "(cached) " >&6
20847 else $as_nop
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20850 #ifndef __powerpc__
20852 #endif
20853 _ACEOF
20854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20855 $EGREP "yes" >/dev/null 2>&1
20856 then :
20857 ac_cv_cpp_def___powerpc__=yes
20858 else $as_nop
20859 ac_cv_cpp_def___powerpc__=no
20861 rm -rf conftest*
20864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20865 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20866 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20867 then :
20868 CFLAGS="$CFLAGS -D__powerpc__"
20869 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20870 fi ;;
20871 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20872 printf %s "checking whether we need to define __aarch64__... " >&6; }
20873 if test ${ac_cv_cpp_def___aarch64__+y}
20874 then :
20875 printf %s "(cached) " >&6
20876 else $as_nop
20877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20878 /* end confdefs.h. */
20879 #ifndef __aarch64__
20881 #endif
20882 _ACEOF
20883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20884 $EGREP "yes" >/dev/null 2>&1
20885 then :
20886 ac_cv_cpp_def___aarch64__=yes
20887 else $as_nop
20888 ac_cv_cpp_def___aarch64__=no
20890 rm -rf conftest*
20893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20894 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20895 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20896 then :
20897 CFLAGS="$CFLAGS -D__aarch64__"
20898 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20899 fi ;;
20900 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20901 printf %s "checking whether we need to define __arm__... " >&6; }
20902 if test ${ac_cv_cpp_def___arm__+y}
20903 then :
20904 printf %s "(cached) " >&6
20905 else $as_nop
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908 #ifndef __arm__
20910 #endif
20911 _ACEOF
20912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20913 $EGREP "yes" >/dev/null 2>&1
20914 then :
20915 ac_cv_cpp_def___arm__=yes
20916 else $as_nop
20917 ac_cv_cpp_def___arm__=no
20919 rm -rf conftest*
20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20923 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20924 if test "x$ac_cv_cpp_def___arm__" = xyes
20925 then :
20926 CFLAGS="$CFLAGS -D__arm__"
20927 LINTFLAGS="$LINTFLAGS -D__arm__"
20928 fi ;;
20929 esac
20931 case $host_vendor in
20932 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20933 printf %s "checking whether we need to define __sun__... " >&6; }
20934 if test ${ac_cv_cpp_def___sun__+y}
20935 then :
20936 printf %s "(cached) " >&6
20937 else $as_nop
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #ifndef __sun__
20942 #endif
20943 _ACEOF
20944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20945 $EGREP "yes" >/dev/null 2>&1
20946 then :
20947 ac_cv_cpp_def___sun__=yes
20948 else $as_nop
20949 ac_cv_cpp_def___sun__=no
20951 rm -rf conftest*
20954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20955 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20956 if test "x$ac_cv_cpp_def___sun__" = xyes
20957 then :
20958 CFLAGS="$CFLAGS -D__sun__"
20959 LINTFLAGS="$LINTFLAGS -D__sun__"
20960 fi ;;
20961 esac
20967 ac_config_commands="$ac_config_commands include/stamp-h"
20969 printf %s "creating Makefile rules..." >&6
20971 makedep_flags=""
20972 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20974 wine_srcdir=
20975 test "$srcdir" = . || wine_srcdir="$srcdir/"
20977 ac_config_links="$ac_config_links wine:tools/winewrapper"
20978 wine_fn_config_symlink wine
20979 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20980 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20981 wine_fn_config_symlink wine64
20984 wine_fn_config_makefile dlls/acledit enable_acledit
20985 wine_fn_config_makefile dlls/aclui enable_aclui
20986 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20987 wine_fn_config_makefile dlls/activeds enable_activeds
20988 wine_fn_config_makefile dlls/activeds/tests enable_tests
20989 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20990 wine_fn_config_makefile dlls/adsldp enable_adsldp
20991 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20992 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20993 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20994 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20995 wine_fn_config_makefile dlls/advpack enable_advpack
20996 wine_fn_config_makefile dlls/advpack/tests enable_tests
20997 wine_fn_config_makefile dlls/amsi enable_amsi
20998 wine_fn_config_makefile dlls/amstream enable_amstream
20999 wine_fn_config_makefile dlls/amstream/tests enable_tests
21000 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21001 wine_fn_config_makefile dlls/apphelp enable_apphelp
21002 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21003 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21004 wine_fn_config_makefile dlls/atl enable_atl
21005 wine_fn_config_makefile dlls/atl/tests enable_tests
21006 wine_fn_config_makefile dlls/atl100 enable_atl100
21007 wine_fn_config_makefile dlls/atl100/tests enable_tests
21008 wine_fn_config_makefile dlls/atl110 enable_atl110
21009 wine_fn_config_makefile dlls/atl110/tests enable_tests
21010 wine_fn_config_makefile dlls/atl80 enable_atl80
21011 wine_fn_config_makefile dlls/atl80/tests enable_tests
21012 wine_fn_config_makefile dlls/atl90 enable_atl90
21013 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21014 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21015 wine_fn_config_makefile dlls/atmlib enable_atmlib
21016 wine_fn_config_makefile dlls/authz enable_authz
21017 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21018 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21019 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21020 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21021 wine_fn_config_makefile dlls/avrt enable_avrt
21022 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21023 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21024 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21025 wine_fn_config_makefile dlls/browseui enable_browseui
21026 wine_fn_config_makefile dlls/browseui/tests enable_tests
21027 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21028 wine_fn_config_makefile dlls/cabinet enable_cabinet
21029 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21030 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21031 wine_fn_config_makefile dlls/cards enable_cards
21032 wine_fn_config_makefile dlls/cdosys enable_cdosys
21033 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21034 wine_fn_config_makefile dlls/clusapi enable_clusapi
21035 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21036 wine_fn_config_makefile dlls/combase enable_combase
21037 wine_fn_config_makefile dlls/combase/tests enable_tests
21038 wine_fn_config_makefile dlls/comcat enable_comcat
21039 wine_fn_config_makefile dlls/comcat/tests enable_tests
21040 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21041 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21042 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21043 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21044 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21045 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21046 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21047 wine_fn_config_makefile dlls/compstui enable_compstui
21048 wine_fn_config_makefile dlls/compstui/tests enable_tests
21049 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21050 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21051 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21052 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21053 wine_fn_config_makefile dlls/connect enable_connect
21054 wine_fn_config_makefile dlls/credui enable_credui
21055 wine_fn_config_makefile dlls/credui/tests enable_tests
21056 wine_fn_config_makefile dlls/crtdll enable_crtdll
21057 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21058 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21059 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21060 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21061 wine_fn_config_makefile dlls/cryptext enable_cryptext
21062 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21063 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21064 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21065 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21066 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21067 wine_fn_config_makefile dlls/cryptui enable_cryptui
21068 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21069 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21070 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21071 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21072 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21073 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21074 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21075 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21076 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21077 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21078 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21079 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21080 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21081 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21082 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21083 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21084 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21085 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21086 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21087 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21088 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21089 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21090 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21091 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21092 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21093 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21094 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21095 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21096 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21097 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21098 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21099 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21100 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21101 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21102 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21103 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21104 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21105 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21106 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dim enable_d3dim
21108 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21109 wine_fn_config_makefile dlls/d3drm enable_d3drm
21110 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21112 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21113 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21114 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21115 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21116 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21117 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21118 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21119 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21120 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21121 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21122 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21123 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21124 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21125 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21126 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21127 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21128 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21129 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21130 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21131 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21133 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21134 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21135 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21136 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21137 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21138 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21139 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21140 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21141 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21142 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21143 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21144 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21145 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21146 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21147 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21148 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21149 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21150 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21151 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21152 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21153 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21154 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21155 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21156 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21157 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21158 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21159 wine_fn_config_makefile dlls/davclnt enable_davclnt
21160 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21161 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21162 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21163 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21164 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21165 wine_fn_config_makefile dlls/dcomp enable_dcomp
21166 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21167 wine_fn_config_makefile dlls/ddraw enable_ddraw
21168 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21169 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21170 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21171 wine_fn_config_makefile dlls/devenum enable_devenum
21172 wine_fn_config_makefile dlls/devenum/tests enable_tests
21173 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21174 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21175 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21176 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21177 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21178 wine_fn_config_makefile dlls/difxapi enable_difxapi
21179 wine_fn_config_makefile dlls/dinput enable_dinput
21180 wine_fn_config_makefile dlls/dinput/tests enable_tests
21181 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21182 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21183 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21184 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21185 wine_fn_config_makefile dlls/dispex enable_dispex
21186 wine_fn_config_makefile dlls/dispex/tests enable_tests
21187 wine_fn_config_makefile dlls/display.drv16 enable_win16
21188 wine_fn_config_makefile dlls/dmband enable_dmband
21189 wine_fn_config_makefile dlls/dmband/tests enable_tests
21190 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21191 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21192 wine_fn_config_makefile dlls/dmime enable_dmime
21193 wine_fn_config_makefile dlls/dmime/tests enable_tests
21194 wine_fn_config_makefile dlls/dmloader enable_dmloader
21195 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21196 wine_fn_config_makefile dlls/dmscript enable_dmscript
21197 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21198 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21199 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21200 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21201 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21202 wine_fn_config_makefile dlls/dmusic enable_dmusic
21203 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21204 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21205 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21206 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21207 wine_fn_config_makefile dlls/dplay enable_dplay
21208 wine_fn_config_makefile dlls/dplayx enable_dplayx
21209 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21210 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21211 wine_fn_config_makefile dlls/dpnet enable_dpnet
21212 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21213 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21214 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21215 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21216 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21217 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21218 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21219 wine_fn_config_makefile dlls/drmclien enable_drmclien
21220 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21221 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21222 wine_fn_config_makefile dlls/dsound enable_dsound
21223 wine_fn_config_makefile dlls/dsound/tests enable_tests
21224 wine_fn_config_makefile dlls/dsquery enable_dsquery
21225 wine_fn_config_makefile dlls/dssenh enable_dssenh
21226 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21227 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21228 wine_fn_config_makefile dlls/dswave enable_dswave
21229 wine_fn_config_makefile dlls/dswave/tests enable_tests
21230 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21231 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21232 wine_fn_config_makefile dlls/dwrite enable_dwrite
21233 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21234 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21235 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21236 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21237 wine_fn_config_makefile dlls/dxgi enable_dxgi
21238 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21239 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21240 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21241 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21242 wine_fn_config_makefile dlls/esent enable_esent
21243 wine_fn_config_makefile dlls/evr enable_evr
21244 wine_fn_config_makefile dlls/evr/tests enable_tests
21245 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21246 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21247 wine_fn_config_makefile dlls/faultrep enable_faultrep
21248 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21249 wine_fn_config_makefile dlls/feclient enable_feclient
21250 wine_fn_config_makefile dlls/fltlib enable_fltlib
21251 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21252 wine_fn_config_makefile dlls/fntcache enable_fntcache
21253 wine_fn_config_makefile dlls/fontsub enable_fontsub
21254 wine_fn_config_makefile dlls/fusion enable_fusion
21255 wine_fn_config_makefile dlls/fusion/tests enable_tests
21256 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21257 wine_fn_config_makefile dlls/gameux enable_gameux
21258 wine_fn_config_makefile dlls/gameux/tests enable_tests
21259 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21260 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21261 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21262 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21263 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21264 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21265 wine_fn_config_makefile dlls/glu32 enable_glu32
21266 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21267 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21268 wine_fn_config_makefile dlls/hal enable_hal
21269 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21270 wine_fn_config_makefile dlls/hid enable_hid
21271 wine_fn_config_makefile dlls/hid/tests enable_tests
21272 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21273 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21274 wine_fn_config_makefile dlls/hlink enable_hlink
21275 wine_fn_config_makefile dlls/hlink/tests enable_tests
21276 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21277 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21278 wine_fn_config_makefile dlls/http.sys enable_http_sys
21279 wine_fn_config_makefile dlls/httpapi enable_httpapi
21280 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21281 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21282 wine_fn_config_makefile dlls/iccvid enable_iccvid
21283 wine_fn_config_makefile dlls/icmp enable_icmp
21284 wine_fn_config_makefile dlls/ieframe enable_ieframe
21285 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21286 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21287 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21288 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21289 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21290 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21291 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21292 wine_fn_config_makefile dlls/imm32 enable_imm32
21293 wine_fn_config_makefile dlls/imm32/tests enable_tests
21294 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21295 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21296 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21297 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21298 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21299 wine_fn_config_makefile dlls/infosoft enable_infosoft
21300 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21301 wine_fn_config_makefile dlls/initpki enable_initpki
21302 wine_fn_config_makefile dlls/inkobj enable_inkobj
21303 wine_fn_config_makefile dlls/inseng enable_inseng
21304 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21305 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21306 wine_fn_config_makefile dlls/iprop enable_iprop
21307 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21308 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21309 wine_fn_config_makefile dlls/itircl enable_itircl
21310 wine_fn_config_makefile dlls/itss enable_itss
21311 wine_fn_config_makefile dlls/itss/tests enable_tests
21312 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21313 wine_fn_config_makefile dlls/jscript enable_jscript
21314 wine_fn_config_makefile dlls/jscript/tests enable_tests
21315 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21316 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21317 wine_fn_config_makefile dlls/kerberos enable_kerberos
21318 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21319 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21320 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21321 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21322 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21323 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21324 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21325 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21326 wine_fn_config_makefile dlls/ksuser enable_ksuser
21327 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21328 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21329 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21330 wine_fn_config_makefile dlls/loadperf enable_loadperf
21331 wine_fn_config_makefile dlls/localspl enable_localspl
21332 wine_fn_config_makefile dlls/localspl/tests enable_tests
21333 wine_fn_config_makefile dlls/localui enable_localui
21334 wine_fn_config_makefile dlls/localui/tests enable_tests
21335 wine_fn_config_makefile dlls/lz32 enable_lz32
21336 wine_fn_config_makefile dlls/lz32/tests enable_tests
21337 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21338 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21339 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21340 wine_fn_config_makefile dlls/mapistub enable_mapistub
21341 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21342 wine_fn_config_makefile dlls/mcicda enable_mcicda
21343 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21344 wine_fn_config_makefile dlls/mciseq enable_mciseq
21345 wine_fn_config_makefile dlls/mciwave enable_mciwave
21346 wine_fn_config_makefile dlls/mf enable_mf
21347 wine_fn_config_makefile dlls/mf/tests enable_tests
21348 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21349 wine_fn_config_makefile dlls/mferror enable_mferror
21350 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21351 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21352 wine_fn_config_makefile dlls/mfplat enable_mfplat
21353 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21354 wine_fn_config_makefile dlls/mfplay enable_mfplay
21355 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21356 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21357 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21358 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21359 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21360 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21361 wine_fn_config_makefile dlls/midimap enable_midimap
21362 wine_fn_config_makefile dlls/mlang enable_mlang
21363 wine_fn_config_makefile dlls/mlang/tests enable_tests
21364 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21365 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21366 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21367 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21368 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21369 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21370 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21371 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21372 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21373 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21374 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21375 wine_fn_config_makefile dlls/mpr enable_mpr
21376 wine_fn_config_makefile dlls/mpr/tests enable_tests
21377 wine_fn_config_makefile dlls/mprapi enable_mprapi
21378 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21379 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21380 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21381 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21382 wine_fn_config_makefile dlls/msado15 enable_msado15
21383 wine_fn_config_makefile dlls/msado15/tests enable_tests
21384 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21385 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21386 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21387 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21388 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21389 wine_fn_config_makefile dlls/mscms enable_mscms
21390 wine_fn_config_makefile dlls/mscms/tests enable_tests
21391 wine_fn_config_makefile dlls/mscoree enable_mscoree
21392 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21393 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21394 wine_fn_config_makefile dlls/msctf enable_msctf
21395 wine_fn_config_makefile dlls/msctf/tests enable_tests
21396 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21397 wine_fn_config_makefile dlls/msctfp enable_msctfp
21398 wine_fn_config_makefile dlls/msdaps enable_msdaps
21399 wine_fn_config_makefile dlls/msdasql enable_msdasql
21400 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21401 wine_fn_config_makefile dlls/msdelta enable_msdelta
21402 wine_fn_config_makefile dlls/msdmo enable_msdmo
21403 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21404 wine_fn_config_makefile dlls/msdrm enable_msdrm
21405 wine_fn_config_makefile dlls/msftedit enable_msftedit
21406 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21407 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21408 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21409 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21410 wine_fn_config_makefile dlls/mshtml enable_mshtml
21411 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21412 wine_fn_config_makefile dlls/msi enable_msi
21413 wine_fn_config_makefile dlls/msi/tests enable_tests
21414 wine_fn_config_makefile dlls/msident enable_msident
21415 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21416 wine_fn_config_makefile dlls/msimsg enable_msimsg
21417 wine_fn_config_makefile dlls/msimtf enable_msimtf
21418 wine_fn_config_makefile dlls/msisip enable_msisip
21419 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21420 wine_fn_config_makefile dlls/msls31 enable_msls31
21421 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21422 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21423 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21424 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21425 wine_fn_config_makefile dlls/msports enable_msports
21426 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21427 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21428 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21429 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21430 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21431 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21432 wine_fn_config_makefile dlls/mstask enable_mstask
21433 wine_fn_config_makefile dlls/mstask/tests enable_tests
21434 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21435 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21436 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21437 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21438 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21439 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21440 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21442 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21443 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21444 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21446 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21447 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21448 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21449 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21451 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21452 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21453 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21454 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21456 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21457 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21458 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21459 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21460 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21461 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21462 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21463 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21464 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21465 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21466 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21467 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21468 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21469 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21470 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21471 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21472 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21473 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21474 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21475 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21476 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21477 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21478 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21479 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21480 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21481 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21482 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21483 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21484 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21485 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21486 wine_fn_config_makefile dlls/mswsock enable_mswsock
21487 wine_fn_config_makefile dlls/msxml enable_msxml
21488 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21489 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21490 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21491 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21492 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21493 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21494 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21495 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21496 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21497 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21498 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21499 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21500 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21501 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21502 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21503 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21504 wine_fn_config_makefile dlls/netprofm enable_netprofm
21505 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21506 wine_fn_config_makefile dlls/netutils enable_netutils
21507 wine_fn_config_makefile dlls/newdev enable_newdev
21508 wine_fn_config_makefile dlls/ninput enable_ninput
21509 wine_fn_config_makefile dlls/ninput/tests enable_tests
21510 wine_fn_config_makefile dlls/normaliz enable_normaliz
21511 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21512 wine_fn_config_makefile dlls/npptools enable_npptools
21513 wine_fn_config_makefile dlls/nsi enable_nsi
21514 wine_fn_config_makefile dlls/nsi/tests enable_tests
21515 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21516 wine_fn_config_makefile dlls/ntdll enable_ntdll
21517 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21518 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21519 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21520 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21521 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21522 wine_fn_config_makefile dlls/ntprint enable_ntprint
21523 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21524 wine_fn_config_makefile dlls/objsel enable_objsel
21525 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21526 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21527 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21528 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21529 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21530 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21531 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21532 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21533 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21534 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21535 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21536 wine_fn_config_makefile dlls/ole32 enable_ole32
21537 wine_fn_config_makefile dlls/ole32/tests enable_tests
21538 wine_fn_config_makefile dlls/oleacc enable_oleacc
21539 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21540 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21541 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21542 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21543 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21544 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21545 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21546 wine_fn_config_makefile dlls/oledlg enable_oledlg
21547 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21548 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21549 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21550 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21551 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21552 wine_fn_config_makefile dlls/opcservices enable_opcservices
21553 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21554 wine_fn_config_makefile dlls/opencl enable_opencl
21555 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21556 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21557 wine_fn_config_makefile dlls/packager enable_packager
21558 wine_fn_config_makefile dlls/packager/tests enable_tests
21559 wine_fn_config_makefile dlls/pdh enable_pdh
21560 wine_fn_config_makefile dlls/pdh/tests enable_tests
21561 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21562 wine_fn_config_makefile dlls/pidgen enable_pidgen
21563 wine_fn_config_makefile dlls/powrprof enable_powrprof
21564 wine_fn_config_makefile dlls/printui enable_printui
21565 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21566 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21567 wine_fn_config_makefile dlls/propsys enable_propsys
21568 wine_fn_config_makefile dlls/propsys/tests enable_tests
21569 wine_fn_config_makefile dlls/psapi enable_psapi
21570 wine_fn_config_makefile dlls/psapi/tests enable_tests
21571 wine_fn_config_makefile dlls/pstorec enable_pstorec
21572 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21573 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21574 wine_fn_config_makefile dlls/qasf enable_qasf
21575 wine_fn_config_makefile dlls/qasf/tests enable_tests
21576 wine_fn_config_makefile dlls/qcap enable_qcap
21577 wine_fn_config_makefile dlls/qcap/tests enable_tests
21578 wine_fn_config_makefile dlls/qdvd enable_qdvd
21579 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21580 wine_fn_config_makefile dlls/qedit enable_qedit
21581 wine_fn_config_makefile dlls/qedit/tests enable_tests
21582 wine_fn_config_makefile dlls/qmgr enable_qmgr
21583 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21584 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21585 wine_fn_config_makefile dlls/quartz enable_quartz
21586 wine_fn_config_makefile dlls/quartz/tests enable_tests
21587 wine_fn_config_makefile dlls/query enable_query
21588 wine_fn_config_makefile dlls/qwave enable_qwave
21589 wine_fn_config_makefile dlls/qwave/tests enable_tests
21590 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21591 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21592 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21593 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21594 wine_fn_config_makefile dlls/regapi enable_regapi
21595 wine_fn_config_makefile dlls/resutils enable_resutils
21596 wine_fn_config_makefile dlls/riched20 enable_riched20
21597 wine_fn_config_makefile dlls/riched20/tests enable_tests
21598 wine_fn_config_makefile dlls/riched32 enable_riched32
21599 wine_fn_config_makefile dlls/riched32/tests enable_tests
21600 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21601 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21602 wine_fn_config_makefile dlls/rsabase enable_rsabase
21603 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21604 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21605 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21606 wine_fn_config_makefile dlls/rtutils enable_rtutils
21607 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21608 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21609 wine_fn_config_makefile dlls/samlib enable_samlib
21610 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21611 wine_fn_config_makefile dlls/sapi enable_sapi
21612 wine_fn_config_makefile dlls/sapi/tests enable_tests
21613 wine_fn_config_makefile dlls/sas enable_sas
21614 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21615 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21616 wine_fn_config_makefile dlls/sccbase enable_sccbase
21617 wine_fn_config_makefile dlls/schannel enable_schannel
21618 wine_fn_config_makefile dlls/schannel/tests enable_tests
21619 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21620 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21621 wine_fn_config_makefile dlls/scrobj enable_scrobj
21622 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21623 wine_fn_config_makefile dlls/scrrun enable_scrrun
21624 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21625 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21626 wine_fn_config_makefile dlls/sechost enable_sechost
21627 wine_fn_config_makefile dlls/secur32 enable_secur32
21628 wine_fn_config_makefile dlls/secur32/tests enable_tests
21629 wine_fn_config_makefile dlls/security enable_security
21630 wine_fn_config_makefile dlls/sensapi enable_sensapi
21631 wine_fn_config_makefile dlls/serialui enable_serialui
21632 wine_fn_config_makefile dlls/serialui/tests enable_tests
21633 wine_fn_config_makefile dlls/setupapi enable_setupapi
21634 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21635 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21636 wine_fn_config_makefile dlls/sfc enable_sfc
21637 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21638 wine_fn_config_makefile dlls/shcore enable_shcore
21639 wine_fn_config_makefile dlls/shcore/tests enable_tests
21640 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21641 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21642 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21643 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21644 wine_fn_config_makefile dlls/shell32 enable_shell32
21645 wine_fn_config_makefile dlls/shell32/tests enable_tests
21646 wine_fn_config_makefile dlls/shfolder enable_shfolder
21647 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21648 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21649 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21650 wine_fn_config_makefile dlls/slc enable_slc
21651 wine_fn_config_makefile dlls/slc/tests enable_tests
21652 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21653 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21654 wine_fn_config_makefile dlls/softpub enable_softpub
21655 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21656 wine_fn_config_makefile dlls/spoolss enable_spoolss
21657 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21658 wine_fn_config_makefile dlls/sppc enable_sppc
21659 wine_fn_config_makefile dlls/srclient enable_srclient
21660 wine_fn_config_makefile dlls/srvcli enable_srvcli
21661 wine_fn_config_makefile dlls/sspicli enable_sspicli
21662 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21663 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21664 wine_fn_config_makefile dlls/sti enable_sti
21665 wine_fn_config_makefile dlls/sti/tests enable_tests
21666 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21667 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21668 wine_fn_config_makefile dlls/strmdll enable_strmdll
21669 wine_fn_config_makefile dlls/svrapi enable_svrapi
21670 wine_fn_config_makefile dlls/sxs enable_sxs
21671 wine_fn_config_makefile dlls/sxs/tests enable_tests
21672 wine_fn_config_makefile dlls/system.drv16 enable_win16
21673 wine_fn_config_makefile dlls/t2embed enable_t2embed
21674 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21675 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21676 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21677 wine_fn_config_makefile dlls/taskschd enable_taskschd
21678 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21679 wine_fn_config_makefile dlls/tbs enable_tbs
21680 wine_fn_config_makefile dlls/tdh enable_tdh
21681 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21682 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21683 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21684 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21685 wine_fn_config_makefile dlls/traffic enable_traffic
21686 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21687 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21688 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21689 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21690 wine_fn_config_makefile dlls/tzres enable_tzres
21691 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21692 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21693 wine_fn_config_makefile dlls/uianimation enable_uianimation
21694 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21695 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21696 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21697 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21698 wine_fn_config_makefile dlls/unicows enable_unicows
21699 wine_fn_config_makefile dlls/updspapi enable_updspapi
21700 wine_fn_config_makefile dlls/url enable_url
21701 wine_fn_config_makefile dlls/urlmon enable_urlmon
21702 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21703 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21704 wine_fn_config_makefile dlls/user.exe16 enable_win16
21705 wine_fn_config_makefile dlls/user32 enable_user32
21706 wine_fn_config_makefile dlls/user32/tests enable_tests
21707 wine_fn_config_makefile dlls/userenv enable_userenv
21708 wine_fn_config_makefile dlls/userenv/tests enable_tests
21709 wine_fn_config_makefile dlls/usp10 enable_usp10
21710 wine_fn_config_makefile dlls/usp10/tests enable_tests
21711 wine_fn_config_makefile dlls/utildll enable_utildll
21712 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21713 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21714 wine_fn_config_makefile dlls/vbscript enable_vbscript
21715 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21716 wine_fn_config_makefile dlls/vcomp enable_vcomp
21717 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21718 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21719 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21720 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21721 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21722 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21723 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21724 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21725 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21726 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21727 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21728 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21729 wine_fn_config_makefile dlls/version enable_version
21730 wine_fn_config_makefile dlls/version/tests enable_tests
21731 wine_fn_config_makefile dlls/vga enable_vga
21732 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21733 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21734 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21735 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21736 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21737 wine_fn_config_makefile dlls/vssapi enable_vssapi
21738 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21739 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21740 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21741 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21742 wine_fn_config_makefile dlls/w32skrnl enable_win16
21743 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21744 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21745 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21746 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21747 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21748 wine_fn_config_makefile dlls/wdscore enable_wdscore
21749 wine_fn_config_makefile dlls/webservices enable_webservices
21750 wine_fn_config_makefile dlls/webservices/tests enable_tests
21751 wine_fn_config_makefile dlls/websocket enable_websocket
21752 wine_fn_config_makefile dlls/wer enable_wer
21753 wine_fn_config_makefile dlls/wer/tests enable_tests
21754 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21755 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21756 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21757 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21758 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21759 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21760 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21761 wine_fn_config_makefile dlls/win32u enable_win32u
21762 wine_fn_config_makefile dlls/win32u/tests enable_tests
21763 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21764 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21765 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21766 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21767 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21768 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21769 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21770 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21771 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21772 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21773 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21774 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21775 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21776 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21777 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21778 wine_fn_config_makefile dlls/windows.media enable_windows_media
21779 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21780 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21781 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21782 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21783 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21784 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21785 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21786 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21787 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21788 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21789 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21790 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21791 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21792 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21793 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21794 wine_fn_config_makefile dlls/wined3d enable_wined3d
21795 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21796 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21797 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21798 wine_fn_config_makefile dlls/winemapi enable_winemapi
21799 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21800 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21801 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21802 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21803 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21804 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21805 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21806 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21807 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21808 wine_fn_config_makefile dlls/wing32 enable_wing32
21809 wine_fn_config_makefile dlls/winhttp enable_winhttp
21810 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21811 wine_fn_config_makefile dlls/wininet enable_wininet
21812 wine_fn_config_makefile dlls/wininet/tests enable_tests
21813 wine_fn_config_makefile dlls/winmm enable_winmm
21814 wine_fn_config_makefile dlls/winmm/tests enable_tests
21815 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21816 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21817 wine_fn_config_makefile dlls/winprint enable_winprint
21818 wine_fn_config_makefile dlls/winscard enable_winscard
21819 wine_fn_config_makefile dlls/winscard/tests enable_tests
21820 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21821 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21822 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21823 wine_fn_config_makefile dlls/winsta enable_winsta
21824 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21825 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21826 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21827 wine_fn_config_makefile dlls/wintrust enable_wintrust
21828 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21829 wine_fn_config_makefile dlls/wintypes enable_wintypes
21830 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21831 wine_fn_config_makefile dlls/winusb enable_winusb
21832 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21833 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21834 wine_fn_config_makefile dlls/wlanui enable_wlanui
21835 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21836 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21837 wine_fn_config_makefile dlls/wmasf enable_wmasf
21838 wine_fn_config_makefile dlls/wmi enable_wmi
21839 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21840 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21841 wine_fn_config_makefile dlls/wmp enable_wmp
21842 wine_fn_config_makefile dlls/wmp/tests enable_tests
21843 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21844 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21845 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21846 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21847 wine_fn_config_makefile dlls/wofutil enable_wofutil
21848 wine_fn_config_makefile dlls/wow32 enable_win16
21849 wine_fn_config_makefile dlls/wow64 enable_wow64
21850 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21851 wine_fn_config_makefile dlls/wow64win enable_wow64win
21852 wine_fn_config_makefile dlls/wpc enable_wpc
21853 wine_fn_config_makefile dlls/wpc/tests enable_tests
21854 wine_fn_config_makefile dlls/wpcap enable_wpcap
21855 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21856 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21857 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21858 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21859 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21860 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21861 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21862 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21863 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21864 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21865 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21866 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21867 wine_fn_config_makefile dlls/wuapi enable_wuapi
21868 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21869 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21870 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21871 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21872 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21873 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21874 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21875 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21876 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21877 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21878 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21879 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21880 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21881 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21882 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21883 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21884 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21885 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21886 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21887 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21888 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21889 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21890 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21891 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21892 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21893 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21894 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21895 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21896 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21897 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21898 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21899 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21900 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21901 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21902 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21903 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21904 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21905 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21906 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21907 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21908 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21909 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21910 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21911 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21912 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21913 wine_fn_config_makefile dlls/xmllite enable_xmllite
21914 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21915 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21916 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21917 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21918 wine_fn_config_makefile fonts enable_fonts
21919 wine_fn_config_makefile include enable_include
21920 wine_fn_config_makefile libs/adsiid enable_adsiid
21921 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21922 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21923 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21924 wine_fn_config_makefile libs/dxguid enable_dxguid
21925 wine_fn_config_makefile libs/faudio enable_faudio
21926 wine_fn_config_makefile libs/gsm enable_gsm
21927 wine_fn_config_makefile libs/jpeg enable_jpeg
21928 wine_fn_config_makefile libs/jxr enable_jxr
21929 wine_fn_config_makefile libs/lcms2 enable_lcms2
21930 wine_fn_config_makefile libs/ldap enable_ldap
21931 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21932 wine_fn_config_makefile libs/mpg123 enable_mpg123
21933 wine_fn_config_makefile libs/png enable_png
21934 wine_fn_config_makefile libs/strmbase enable_strmbase
21935 wine_fn_config_makefile libs/strmiids enable_strmiids
21936 wine_fn_config_makefile libs/tiff enable_tiff
21937 wine_fn_config_makefile libs/uuid enable_uuid
21938 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21939 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21940 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21941 wine_fn_config_makefile libs/xml2 enable_xml2
21942 wine_fn_config_makefile libs/xslt enable_xslt
21943 wine_fn_config_makefile libs/zlib enable_zlib
21944 wine_fn_config_makefile loader enable_loader
21945 wine_fn_config_makefile nls enable_nls
21946 wine_fn_config_makefile po enable_po
21947 wine_fn_config_makefile programs/arp enable_arp
21948 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21949 wine_fn_config_makefile programs/attrib enable_attrib
21950 wine_fn_config_makefile programs/cabarc enable_cabarc
21951 wine_fn_config_makefile programs/cacls enable_cacls
21952 wine_fn_config_makefile programs/certutil enable_certutil
21953 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21954 wine_fn_config_makefile programs/clock enable_clock
21955 wine_fn_config_makefile programs/cmd enable_cmd
21956 wine_fn_config_makefile programs/cmd/tests enable_tests
21957 wine_fn_config_makefile programs/conhost enable_conhost
21958 wine_fn_config_makefile programs/conhost/tests enable_tests
21959 wine_fn_config_makefile programs/control enable_control
21960 wine_fn_config_makefile programs/cscript enable_cscript
21961 wine_fn_config_makefile programs/dism enable_dism
21962 wine_fn_config_makefile programs/dllhost enable_dllhost
21963 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21964 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21965 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21966 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21967 wine_fn_config_makefile programs/eject enable_eject
21968 wine_fn_config_makefile programs/expand enable_expand
21969 wine_fn_config_makefile programs/explorer enable_explorer
21970 wine_fn_config_makefile programs/explorer/tests enable_tests
21971 wine_fn_config_makefile programs/extrac32 enable_extrac32
21972 wine_fn_config_makefile programs/fc enable_fc
21973 wine_fn_config_makefile programs/find enable_find
21974 wine_fn_config_makefile programs/find/tests enable_tests
21975 wine_fn_config_makefile programs/findstr enable_findstr
21976 wine_fn_config_makefile programs/fsutil enable_fsutil
21977 wine_fn_config_makefile programs/fsutil/tests enable_tests
21978 wine_fn_config_makefile programs/hh enable_hh
21979 wine_fn_config_makefile programs/hostname enable_hostname
21980 wine_fn_config_makefile programs/icacls enable_icacls
21981 wine_fn_config_makefile programs/icinfo enable_icinfo
21982 wine_fn_config_makefile programs/iexplore enable_iexplore
21983 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21984 wine_fn_config_makefile programs/lodctr enable_lodctr
21985 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21986 wine_fn_config_makefile programs/mshta enable_mshta
21987 wine_fn_config_makefile programs/msidb enable_msidb
21988 wine_fn_config_makefile programs/msiexec enable_msiexec
21989 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21990 wine_fn_config_makefile programs/net enable_net
21991 wine_fn_config_makefile programs/netsh enable_netsh
21992 wine_fn_config_makefile programs/netstat enable_netstat
21993 wine_fn_config_makefile programs/ngen enable_ngen
21994 wine_fn_config_makefile programs/notepad enable_notepad
21995 wine_fn_config_makefile programs/oleview enable_oleview
21996 wine_fn_config_makefile programs/ping enable_ping
21997 wine_fn_config_makefile programs/plugplay enable_plugplay
21998 wine_fn_config_makefile programs/powershell enable_powershell
21999 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22000 wine_fn_config_makefile programs/progman enable_progman
22001 wine_fn_config_makefile programs/reg enable_reg
22002 wine_fn_config_makefile programs/reg/tests enable_tests
22003 wine_fn_config_makefile programs/regasm enable_regasm
22004 wine_fn_config_makefile programs/regedit enable_regedit
22005 wine_fn_config_makefile programs/regedit/tests enable_tests
22006 wine_fn_config_makefile programs/regini enable_regini
22007 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22008 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22009 wine_fn_config_makefile programs/robocopy enable_robocopy
22010 wine_fn_config_makefile programs/rpcss enable_rpcss
22011 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22012 wine_fn_config_makefile programs/rundll32 enable_rundll32
22013 wine_fn_config_makefile programs/sc enable_sc
22014 wine_fn_config_makefile programs/sc/tests enable_tests
22015 wine_fn_config_makefile programs/schtasks enable_schtasks
22016 wine_fn_config_makefile programs/schtasks/tests enable_tests
22017 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22018 wine_fn_config_makefile programs/secedit enable_secedit
22019 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22020 wine_fn_config_makefile programs/services enable_services
22021 wine_fn_config_makefile programs/services/tests enable_tests
22022 wine_fn_config_makefile programs/setx enable_setx
22023 wine_fn_config_makefile programs/shutdown enable_shutdown
22024 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22025 wine_fn_config_makefile programs/start enable_start
22026 wine_fn_config_makefile programs/subst enable_subst
22027 wine_fn_config_makefile programs/svchost enable_svchost
22028 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22029 wine_fn_config_makefile programs/taskkill enable_taskkill
22030 wine_fn_config_makefile programs/tasklist enable_tasklist
22031 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22032 wine_fn_config_makefile programs/termsv enable_termsv
22033 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22034 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22035 wine_fn_config_makefile programs/view enable_view
22036 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22037 wine_fn_config_makefile programs/where enable_where
22038 wine_fn_config_makefile programs/whoami enable_whoami
22039 wine_fn_config_makefile programs/wineboot enable_wineboot
22040 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22041 wine_fn_config_makefile programs/winecfg enable_winecfg
22042 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22043 wine_fn_config_makefile programs/winedbg enable_winedbg
22044 wine_fn_config_makefile programs/winedevice enable_winedevice
22045 wine_fn_config_makefile programs/winefile enable_winefile
22046 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22047 wine_fn_config_makefile programs/winemine enable_winemine
22048 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22049 wine_fn_config_makefile programs/winepath enable_winepath
22050 wine_fn_config_makefile programs/winetest enable_winetest
22051 wine_fn_config_makefile programs/winevdm enable_win16
22052 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22053 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22054 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22055 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22056 wine_fn_config_makefile programs/winver enable_winver
22057 wine_fn_config_makefile programs/wmic enable_wmic
22058 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22059 wine_fn_config_makefile programs/wordpad enable_wordpad
22060 wine_fn_config_makefile programs/write enable_write
22061 wine_fn_config_makefile programs/wscript enable_wscript
22062 wine_fn_config_makefile programs/wscript/tests enable_tests
22063 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22064 wine_fn_config_makefile programs/wusa enable_wusa
22065 wine_fn_config_makefile programs/xcopy enable_xcopy
22066 wine_fn_config_makefile programs/xcopy/tests enable_tests
22067 wine_fn_config_makefile server enable_server
22068 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22069 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22070 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22071 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22072 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22073 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22074 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22075 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22076 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22079 as_fn_append CONFIGURE_TARGETS " TAGS"
22080 as_fn_append CONFIGURE_TARGETS " tags"
22081 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22082 as_fn_append CONFIGURE_TARGETS " config.log"
22083 as_fn_append CONFIGURE_TARGETS " config.status"
22084 as_fn_append CONFIGURE_TARGETS " include/config.h"
22085 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22086 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22088 if test "x$enable_tools" != xno
22089 then
22090 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22091 ac_config_commands="$ac_config_commands tools/makedep"
22095 ac_config_commands="$ac_config_commands Makefile"
22099 SHELL=/bin/sh
22102 as_fn_append wine_rules "
22103 all: wine
22104 @echo \"Wine build complete.\"
22105 .INIT: Makefile
22106 .MAKEFILEDEPS:
22107 all: Makefile
22108 Makefile: config.status \$(MAKEDEP)
22109 @./config.status Makefile
22110 depend: \$(MAKEDEP)
22111 \$(MAKEDEP)$makedep_flags"
22114 as_fn_append wine_rules "
22115 config.status: ${wine_srcdir}configure
22116 @./config.status --recheck
22117 include/config.h: include/stamp-h
22118 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22119 @./config.status include/config.h include/stamp-h"
22121 if test "x$enable_maintainer_mode" = xyes
22122 then
22123 as_fn_append wine_rules "
22124 configure: configure.ac aclocal.m4
22125 autoconf --warnings=all
22126 include/config.h.in: include/stamp-h.in
22127 include/stamp-h.in: configure.ac aclocal.m4
22128 autoheader --warnings=all
22129 @echo timestamp > \$@"
22132 if test "x$enable_tools" != xno
22133 then
22134 as_fn_append wine_rules "
22135 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22136 @./config.status tools/makedep
22137 Makefile: tools/makedep$ac_exeext"
22138 else
22139 as_fn_append wine_rules "
22140 \$(MAKEDEP):
22141 @echo \"You need to run make in $toolsdir first\" && false"
22145 if test -n "$with_wine64"
22146 then
22147 case "$with_wine64" in
22148 /*) reldir="" ;;
22149 *) reldir="../" ;;
22150 esac
22151 rm -f fonts server 2>/dev/null
22152 as_fn_append wine_rules "
22153 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22154 loader/wine64 loader/wine64-preloader:
22155 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22156 $with_wine64/loader/wine:
22157 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22158 $with_wine64/loader/wine-preloader:
22159 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22160 clean::
22161 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22162 else
22163 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22165 fonts \
22166 loader/wine.inf \
22167 nls \
22168 programs/msidb/msidb \
22169 programs/msiexec/msiexec \
22170 programs/notepad/notepad \
22171 programs/regedit/regedit \
22172 programs/regsvr32/regsvr32 \
22173 programs/wineboot/wineboot \
22174 programs/winecfg/winecfg \
22175 programs/wineconsole/wineconsole \
22176 programs/winedbg/winedbg \
22177 programs/winefile/winefile \
22178 programs/winemine/winemine \
22179 programs/winepath/winepath \
22180 server/wineserver"
22182 case $host_os in
22183 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22184 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22185 esac
22189 as_fn_append wine_rules "
22190 distclean:: clean
22191 rm -rf autom4te.cache
22192 maintainer-clean::
22193 rm -f configure include/config.h.in"
22196 as_fn_append wine_rules "
22197 dlls/ntdll/unix/version.c: dummy
22198 @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)
22199 programs/winetest/build.rc: dummy
22200 @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)
22201 programs/winetest/build.nfo:
22202 @-\$(CC) -v 2>\$@
22203 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
22204 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22205 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22208 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22210 as_fn_append wine_rules "
22211 TAGS etags:
22212 rm -f TAGS
22213 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22214 tags ctags:
22215 rm -f tags
22216 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22217 dummy:
22218 .PHONY: depend dummy install-manpages"
22220 printf "%s\n" " done" >&6
22221 cat >confcache <<\_ACEOF
22222 # This file is a shell script that caches the results of configure
22223 # tests run on this system so they can be shared between configure
22224 # scripts and configure runs, see configure's option --config-cache.
22225 # It is not useful on other systems. If it contains results you don't
22226 # want to keep, you may remove or edit it.
22228 # config.status only pays attention to the cache file if you give it
22229 # the --recheck option to rerun configure.
22231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22233 # following values.
22235 _ACEOF
22237 # The following way of writing the cache mishandles newlines in values,
22238 # but we know of no workaround that is simple, portable, and efficient.
22239 # So, we kill variables containing newlines.
22240 # Ultrix sh set writes to stderr and can't be redirected directly,
22241 # and sets the high bit in the cache file unless we assign to the vars.
22243 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22244 eval ac_val=\$$ac_var
22245 case $ac_val in #(
22246 *${as_nl}*)
22247 case $ac_var in #(
22248 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22249 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22250 esac
22251 case $ac_var in #(
22252 _ | IFS | as_nl) ;; #(
22253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22254 *) { eval $ac_var=; unset $ac_var;} ;;
22255 esac ;;
22256 esac
22257 done
22259 (set) 2>&1 |
22260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22261 *${as_nl}ac_space=\ *)
22262 # `set' does not quote correctly, so add quotes: double-quote
22263 # substitution turns \\\\ into \\, and sed turns \\ into \.
22264 sed -n \
22265 "s/'/'\\\\''/g;
22266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22267 ;; #(
22269 # `set' quotes correctly as required by POSIX, so do not add quotes.
22270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22272 esac |
22273 sort
22275 sed '
22276 /^ac_cv_env_/b end
22277 t clear
22278 :clear
22279 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22280 t end
22281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22282 :end' >>confcache
22283 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22284 if test -w "$cache_file"; then
22285 if test "x$cache_file" != "x/dev/null"; then
22286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22287 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22288 if test ! -f "$cache_file" || test -h "$cache_file"; then
22289 cat confcache >"$cache_file"
22290 else
22291 case $cache_file in #(
22292 */* | ?:*)
22293 mv -f confcache "$cache_file"$$ &&
22294 mv -f "$cache_file"$$ "$cache_file" ;; #(
22296 mv -f confcache "$cache_file" ;;
22297 esac
22300 else
22301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22302 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22305 rm -f confcache
22307 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22308 # Let make expand exec_prefix.
22309 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22311 DEFS=-DHAVE_CONFIG_H
22313 ac_libobjs=
22314 ac_ltlibobjs=
22316 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22317 # 1. Remove the extension, and $U if already installed.
22318 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22319 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22320 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22321 # will be set to the directory where LIBOBJS objects are built.
22322 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22323 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22324 done
22325 LIBOBJS=$ac_libobjs
22327 LTLIBOBJS=$ac_ltlibobjs
22331 : "${CONFIG_STATUS=./config.status}"
22332 ac_write_fail=0
22333 ac_clean_files_save=$ac_clean_files
22334 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22336 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22337 as_write_fail=0
22338 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22339 #! $SHELL
22340 # Generated by $as_me.
22341 # Run this file to recreate the current configuration.
22342 # Compiler output produced by configure, useful for debugging
22343 # configure, is in config.log if it exists.
22345 debug=false
22346 ac_cs_recheck=false
22347 ac_cs_silent=false
22349 SHELL=\${CONFIG_SHELL-$SHELL}
22350 export SHELL
22351 _ASEOF
22352 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22353 ## -------------------- ##
22354 ## M4sh Initialization. ##
22355 ## -------------------- ##
22357 # Be more Bourne compatible
22358 DUALCASE=1; export DUALCASE # for MKS sh
22359 as_nop=:
22360 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22361 then :
22362 emulate sh
22363 NULLCMD=:
22364 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22365 # is contrary to our usage. Disable this feature.
22366 alias -g '${1+"$@"}'='"$@"'
22367 setopt NO_GLOB_SUBST
22368 else $as_nop
22369 case `(set -o) 2>/dev/null` in #(
22370 *posix*) :
22371 set -o posix ;; #(
22372 *) :
22374 esac
22379 # Reset variables that may have inherited troublesome values from
22380 # the environment.
22382 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22383 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22384 # side effect of setting IFS to empty, thus disabling word splitting.)
22385 # Quoting is to prevent editors from complaining about space-tab.
22386 as_nl='
22388 export as_nl
22389 IFS=" "" $as_nl"
22391 PS1='$ '
22392 PS2='> '
22393 PS4='+ '
22395 # Ensure predictable behavior from utilities with locale-dependent output.
22396 LC_ALL=C
22397 export LC_ALL
22398 LANGUAGE=C
22399 export LANGUAGE
22401 # We cannot yet rely on "unset" to work, but we need these variables
22402 # to be unset--not just set to an empty or harmless value--now, to
22403 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22404 # also avoids known problems related to "unset" and subshell syntax
22405 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22406 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22407 do eval test \${$as_var+y} \
22408 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22409 done
22411 # Ensure that fds 0, 1, and 2 are open.
22412 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22413 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22414 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22416 # The user is always right.
22417 if ${PATH_SEPARATOR+false} :; then
22418 PATH_SEPARATOR=:
22419 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22420 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22421 PATH_SEPARATOR=';'
22426 # Find who we are. Look in the path if we contain no directory separator.
22427 as_myself=
22428 case $0 in #((
22429 *[\\/]* ) as_myself=$0 ;;
22430 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22431 for as_dir in $PATH
22433 IFS=$as_save_IFS
22434 case $as_dir in #(((
22435 '') as_dir=./ ;;
22436 */) ;;
22437 *) as_dir=$as_dir/ ;;
22438 esac
22439 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22440 done
22441 IFS=$as_save_IFS
22444 esac
22445 # We did not find ourselves, most probably we were run as `sh COMMAND'
22446 # in which case we are not to be found in the path.
22447 if test "x$as_myself" = x; then
22448 as_myself=$0
22450 if test ! -f "$as_myself"; then
22451 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22452 exit 1
22457 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22458 # ----------------------------------------
22459 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22460 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22461 # script with STATUS, using 1 if that was 0.
22462 as_fn_error ()
22464 as_status=$1; test $as_status -eq 0 && as_status=1
22465 if test "$4"; then
22466 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22469 printf "%s\n" "$as_me: error: $2" >&2
22470 as_fn_exit $as_status
22471 } # as_fn_error
22475 # as_fn_set_status STATUS
22476 # -----------------------
22477 # Set $? to STATUS, without forking.
22478 as_fn_set_status ()
22480 return $1
22481 } # as_fn_set_status
22483 # as_fn_exit STATUS
22484 # -----------------
22485 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22486 as_fn_exit ()
22488 set +e
22489 as_fn_set_status $1
22490 exit $1
22491 } # as_fn_exit
22493 # as_fn_unset VAR
22494 # ---------------
22495 # Portably unset VAR.
22496 as_fn_unset ()
22498 { eval $1=; unset $1;}
22500 as_unset=as_fn_unset
22502 # as_fn_append VAR VALUE
22503 # ----------------------
22504 # Append the text in VALUE to the end of the definition contained in VAR. Take
22505 # advantage of any shell optimizations that allow amortized linear growth over
22506 # repeated appends, instead of the typical quadratic growth present in naive
22507 # implementations.
22508 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22509 then :
22510 eval 'as_fn_append ()
22512 eval $1+=\$2
22514 else $as_nop
22515 as_fn_append ()
22517 eval $1=\$$1\$2
22519 fi # as_fn_append
22521 # as_fn_arith ARG...
22522 # ------------------
22523 # Perform arithmetic evaluation on the ARGs, and store the result in the
22524 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22525 # must be portable across $(()) and expr.
22526 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22527 then :
22528 eval 'as_fn_arith ()
22530 as_val=$(( $* ))
22532 else $as_nop
22533 as_fn_arith ()
22535 as_val=`expr "$@" || test $? -eq 1`
22537 fi # as_fn_arith
22540 if expr a : '\(a\)' >/dev/null 2>&1 &&
22541 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22542 as_expr=expr
22543 else
22544 as_expr=false
22547 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22548 as_basename=basename
22549 else
22550 as_basename=false
22553 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22554 as_dirname=dirname
22555 else
22556 as_dirname=false
22559 as_me=`$as_basename -- "$0" ||
22560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22561 X"$0" : 'X\(//\)$' \| \
22562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22563 printf "%s\n" X/"$0" |
22564 sed '/^.*\/\([^/][^/]*\)\/*$/{
22565 s//\1/
22568 /^X\/\(\/\/\)$/{
22569 s//\1/
22572 /^X\/\(\/\).*/{
22573 s//\1/
22576 s/.*/./; q'`
22578 # Avoid depending upon Character Ranges.
22579 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22580 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22581 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22582 as_cr_digits='0123456789'
22583 as_cr_alnum=$as_cr_Letters$as_cr_digits
22586 # Determine whether it's possible to make 'echo' print without a newline.
22587 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22588 # for compatibility with existing Makefiles.
22589 ECHO_C= ECHO_N= ECHO_T=
22590 case `echo -n x` in #(((((
22591 -n*)
22592 case `echo 'xy\c'` in
22593 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22594 xy) ECHO_C='\c';;
22595 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22596 ECHO_T=' ';;
22597 esac;;
22599 ECHO_N='-n';;
22600 esac
22602 # For backward compatibility with old third-party macros, we provide
22603 # the shell variables $as_echo and $as_echo_n. New code should use
22604 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22605 as_echo='printf %s\n'
22606 as_echo_n='printf %s'
22608 rm -f conf$$ conf$$.exe conf$$.file
22609 if test -d conf$$.dir; then
22610 rm -f conf$$.dir/conf$$.file
22611 else
22612 rm -f conf$$.dir
22613 mkdir conf$$.dir 2>/dev/null
22615 if (echo >conf$$.file) 2>/dev/null; then
22616 if ln -s conf$$.file conf$$ 2>/dev/null; then
22617 as_ln_s='ln -s'
22618 # ... but there are two gotchas:
22619 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22620 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22621 # In both cases, we have to default to `cp -pR'.
22622 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22623 as_ln_s='cp -pR'
22624 elif ln conf$$.file conf$$ 2>/dev/null; then
22625 as_ln_s=ln
22626 else
22627 as_ln_s='cp -pR'
22629 else
22630 as_ln_s='cp -pR'
22632 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22633 rmdir conf$$.dir 2>/dev/null
22636 # as_fn_mkdir_p
22637 # -------------
22638 # Create "$as_dir" as a directory, including parents if necessary.
22639 as_fn_mkdir_p ()
22642 case $as_dir in #(
22643 -*) as_dir=./$as_dir;;
22644 esac
22645 test -d "$as_dir" || eval $as_mkdir_p || {
22646 as_dirs=
22647 while :; do
22648 case $as_dir in #(
22649 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22650 *) as_qdir=$as_dir;;
22651 esac
22652 as_dirs="'$as_qdir' $as_dirs"
22653 as_dir=`$as_dirname -- "$as_dir" ||
22654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22655 X"$as_dir" : 'X\(//\)[^/]' \| \
22656 X"$as_dir" : 'X\(//\)$' \| \
22657 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22658 printf "%s\n" X"$as_dir" |
22659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22660 s//\1/
22663 /^X\(\/\/\)[^/].*/{
22664 s//\1/
22667 /^X\(\/\/\)$/{
22668 s//\1/
22671 /^X\(\/\).*/{
22672 s//\1/
22675 s/.*/./; q'`
22676 test -d "$as_dir" && break
22677 done
22678 test -z "$as_dirs" || eval "mkdir $as_dirs"
22679 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22682 } # as_fn_mkdir_p
22683 if mkdir -p . 2>/dev/null; then
22684 as_mkdir_p='mkdir -p "$as_dir"'
22685 else
22686 test -d ./-p && rmdir ./-p
22687 as_mkdir_p=false
22691 # as_fn_executable_p FILE
22692 # -----------------------
22693 # Test if FILE is an executable regular file.
22694 as_fn_executable_p ()
22696 test -f "$1" && test -x "$1"
22697 } # as_fn_executable_p
22698 as_test_x='test -x'
22699 as_executable_p=as_fn_executable_p
22701 # Sed expression to map a string onto a valid CPP name.
22702 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22704 # Sed expression to map a string onto a valid variable name.
22705 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22708 exec 6>&1
22709 ## ----------------------------------- ##
22710 ## Main body of $CONFIG_STATUS script. ##
22711 ## ----------------------------------- ##
22712 _ASEOF
22713 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22716 # Save the log message, to keep $0 and so on meaningful, and to
22717 # report actual input values of CONFIG_FILES etc. instead of their
22718 # values after options handling.
22719 ac_log="
22720 This file was extended by Wine $as_me 8.2, which was
22721 generated by GNU Autoconf 2.71. Invocation command line was
22723 CONFIG_FILES = $CONFIG_FILES
22724 CONFIG_HEADERS = $CONFIG_HEADERS
22725 CONFIG_LINKS = $CONFIG_LINKS
22726 CONFIG_COMMANDS = $CONFIG_COMMANDS
22727 $ $0 $@
22729 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22732 _ACEOF
22735 case $ac_config_headers in *"
22736 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22737 esac
22740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22741 # Files that config.status was made for.
22742 config_headers="$ac_config_headers"
22743 config_links="$ac_config_links"
22744 config_commands="$ac_config_commands"
22746 _ACEOF
22748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22749 ac_cs_usage="\
22750 \`$as_me' instantiates files and other configuration actions
22751 from templates according to the current configuration. Unless the files
22752 and actions are specified as TAGs, all are instantiated by default.
22754 Usage: $0 [OPTION]... [TAG]...
22756 -h, --help print this help, then exit
22757 -V, --version print version number and configuration settings, then exit
22758 --config print configuration, then exit
22759 -q, --quiet, --silent
22760 do not print progress messages
22761 -d, --debug don't remove temporary files
22762 --recheck update $as_me by reconfiguring in the same conditions
22763 --header=FILE[:TEMPLATE]
22764 instantiate the configuration header FILE
22766 Configuration headers:
22767 $config_headers
22769 Configuration links:
22770 $config_links
22772 Configuration commands:
22773 $config_commands
22775 Report bugs to <wine-devel@winehq.org>.
22776 Wine home page: <https://www.winehq.org>."
22778 _ACEOF
22779 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22780 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22782 ac_cs_config='$ac_cs_config_escaped'
22783 ac_cs_version="\\
22784 Wine config.status 8.2
22785 configured by $0, generated by GNU Autoconf 2.71,
22786 with options \\"\$ac_cs_config\\"
22788 Copyright (C) 2021 Free Software Foundation, Inc.
22789 This config.status script is free software; the Free Software Foundation
22790 gives unlimited permission to copy, distribute and modify it."
22792 ac_pwd='$ac_pwd'
22793 srcdir='$srcdir'
22794 test -n "\$AWK" || AWK=awk
22795 _ACEOF
22797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22798 # The default lists apply if the user does not specify any file.
22799 ac_need_defaults=:
22800 while test $# != 0
22802 case $1 in
22803 --*=?*)
22804 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22805 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22806 ac_shift=:
22808 --*=)
22809 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22810 ac_optarg=
22811 ac_shift=:
22814 ac_option=$1
22815 ac_optarg=$2
22816 ac_shift=shift
22818 esac
22820 case $ac_option in
22821 # Handling of the options.
22822 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22823 ac_cs_recheck=: ;;
22824 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22825 printf "%s\n" "$ac_cs_version"; exit ;;
22826 --config | --confi | --conf | --con | --co | --c )
22827 printf "%s\n" "$ac_cs_config"; exit ;;
22828 --debug | --debu | --deb | --de | --d | -d )
22829 debug=: ;;
22830 --header | --heade | --head | --hea )
22831 $ac_shift
22832 case $ac_optarg in
22833 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22834 esac
22835 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22836 ac_need_defaults=false;;
22837 --he | --h)
22838 # Conflict between --help and --header
22839 as_fn_error $? "ambiguous option: \`$1'
22840 Try \`$0 --help' for more information.";;
22841 --help | --hel | -h )
22842 printf "%s\n" "$ac_cs_usage"; exit ;;
22843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22844 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22845 ac_cs_silent=: ;;
22847 # This is an error.
22848 -*) as_fn_error $? "unrecognized option: \`$1'
22849 Try \`$0 --help' for more information." ;;
22851 *) as_fn_append ac_config_targets " $1"
22852 ac_need_defaults=false ;;
22854 esac
22855 shift
22856 done
22858 ac_configure_extra_args=
22860 if $ac_cs_silent; then
22861 exec 6>/dev/null
22862 ac_configure_extra_args="$ac_configure_extra_args --silent"
22865 _ACEOF
22866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22867 if \$ac_cs_recheck; then
22868 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22869 shift
22870 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22871 CONFIG_SHELL='$SHELL'
22872 export CONFIG_SHELL
22873 exec "\$@"
22876 _ACEOF
22877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22878 exec 5>>config.log
22880 echo
22881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22882 ## Running $as_me. ##
22883 _ASBOX
22884 printf "%s\n" "$ac_log"
22885 } >&5
22887 _ACEOF
22888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22890 # INIT-COMMANDS
22892 wine_fn_output_makedep ()
22894 as_dir=tools; as_fn_mkdir_p
22895 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22897 wine_fn_output_makefile ()
22899 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22900 # This Makefile understands the following targets:
22902 # all (default): build wine
22903 # clean: remove all intermediate files
22904 # distclean: also remove all files created by configure
22905 # test: run tests
22906 # testclean: clean test results to force running all tests again
22907 # install-lib: install libraries needed to run applications
22908 # install-dev: install development environment
22909 # install: install everything
22910 # uninstall: uninstall everything
22911 # ctags: create a tags file for vim and others.
22912 # etags: create a TAGS file for Emacs.
22914 SHELL = $SHELL
22915 PATH_SEPARATOR = $PATH_SEPARATOR
22916 PACKAGE_NAME = $PACKAGE_NAME
22917 PACKAGE_TARNAME = $PACKAGE_TARNAME
22918 PACKAGE_VERSION = $PACKAGE_VERSION
22919 PACKAGE_STRING = $PACKAGE_STRING
22920 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22921 PACKAGE_URL = $PACKAGE_URL
22922 exec_prefix = $exec_prefix
22923 prefix = $prefix
22924 program_transform_name = $program_transform_name
22925 bindir = $bindir
22926 sbindir = $sbindir
22927 libexecdir = $libexecdir
22928 datarootdir = $datarootdir
22929 datadir = $datadir
22930 sysconfdir = $sysconfdir
22931 sharedstatedir = $sharedstatedir
22932 localstatedir = $localstatedir
22933 runstatedir = $runstatedir
22934 includedir = $includedir
22935 oldincludedir = $oldincludedir
22936 docdir = $docdir
22937 infodir = $infodir
22938 htmldir = $htmldir
22939 dvidir = $dvidir
22940 pdfdir = $pdfdir
22941 psdir = $psdir
22942 libdir = $libdir
22943 localedir = $localedir
22944 mandir = $mandir
22945 DEFS = $DEFS
22946 ECHO_C = $ECHO_C
22947 ECHO_N = $ECHO_N
22948 ECHO_T = $ECHO_T
22949 LIBS = $LIBS
22950 build_alias = $build_alias
22951 host_alias = $host_alias
22952 target_alias = $target_alias
22953 system_dllpath = $system_dllpath
22954 build = $build
22955 build_cpu = $build_cpu
22956 build_vendor = $build_vendor
22957 build_os = $build_os
22958 host = $host
22959 host_cpu = $host_cpu
22960 host_vendor = $host_vendor
22961 host_os = $host_os
22962 dlldir = $dlldir
22963 fontdir = $fontdir
22964 nlsdir = $nlsdir
22965 srcdir = $srcdir
22966 SET_MAKE = $SET_MAKE
22967 CC = $CC
22968 CFLAGS = $CFLAGS
22969 LDFLAGS = $LDFLAGS
22970 CPPFLAGS = $CPPFLAGS
22971 ac_ct_CC = $ac_ct_CC
22972 EXEEXT = $EXEEXT
22973 OBJEXT = $OBJEXT
22974 CXX = $CXX
22975 CXXFLAGS = $CXXFLAGS
22976 ac_ct_CXX = $ac_ct_CXX
22977 CPPBIN = $CPPBIN
22978 LD = $LD
22979 TARGETFLAGS = $TARGETFLAGS
22980 toolsext = $toolsext
22981 HOST_ARCH = $HOST_ARCH
22982 aarch64_CC = $aarch64_CC
22983 aarch64_CFLAGS = $aarch64_CFLAGS
22984 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22985 aarch64_LDFLAGS = $aarch64_LDFLAGS
22986 aarch64_DEBUG = $aarch64_DEBUG
22987 aarch64_TARGET = $aarch64_TARGET
22988 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22989 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22990 arm_CC = $arm_CC
22991 arm_CFLAGS = $arm_CFLAGS
22992 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22993 arm_LDFLAGS = $arm_LDFLAGS
22994 arm_DEBUG = $arm_DEBUG
22995 arm_TARGET = $arm_TARGET
22996 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22997 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22998 i386_CC = $i386_CC
22999 i386_CFLAGS = $i386_CFLAGS
23000 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23001 i386_LDFLAGS = $i386_LDFLAGS
23002 i386_DEBUG = $i386_DEBUG
23003 i386_TARGET = $i386_TARGET
23004 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23005 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23006 x86_64_CC = $x86_64_CC
23007 x86_64_CFLAGS = $x86_64_CFLAGS
23008 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23009 x86_64_LDFLAGS = $x86_64_LDFLAGS
23010 x86_64_DEBUG = $x86_64_DEBUG
23011 x86_64_TARGET = $x86_64_TARGET
23012 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23013 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23014 toolsdir = $toolsdir
23015 MAKEDEP = $MAKEDEP
23016 RUNTESTFLAGS = $RUNTESTFLAGS
23017 SED_CMD = $SED_CMD
23018 FLEX = $FLEX
23019 BISON = $BISON
23020 AR = $AR
23021 ac_ct_AR = $ac_ct_AR
23022 STRIP = $STRIP
23023 RANLIB = $RANLIB
23024 LN_S = $LN_S
23025 GREP = $GREP
23026 EGREP = $EGREP
23027 LDCONFIG = $LDCONFIG
23028 MSGFMT = $MSGFMT
23029 PKG_CONFIG = $PKG_CONFIG
23030 FONTFORGE = $FONTFORGE
23031 RSVG = $RSVG
23032 CONVERT = $CONVERT
23033 ICOTOOL = $ICOTOOL
23034 I386_LIBS = $I386_LIBS
23035 OPENGL_LIBS = $OPENGL_LIBS
23036 DLLFLAGS = $DLLFLAGS
23037 LDDLLFLAGS = $LDDLLFLAGS
23038 LDEXECFLAGS = $LDEXECFLAGS
23039 EXTRACFLAGS = $EXTRACFLAGS
23040 UNIXDLLFLAGS = $UNIXDLLFLAGS
23041 UNIXLDFLAGS = $UNIXLDFLAGS
23042 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23043 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23044 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23045 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23046 LDD = $LDD
23047 OTOOL = $OTOOL
23048 READELF = $READELF
23049 SUBDIRS = $SUBDIRS
23050 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23051 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23052 CARBON_LIBS = $CARBON_LIBS
23053 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23054 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23055 IOKIT_LIBS = $IOKIT_LIBS
23056 METAL_LIBS = $METAL_LIBS
23057 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23058 CORESERVICES_LIBS = $CORESERVICES_LIBS
23059 APPKIT_LIBS = $APPKIT_LIBS
23060 SECURITY_LIBS = $SECURITY_LIBS
23061 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23062 COREAUDIO_LIBS = $COREAUDIO_LIBS
23063 OPENCL_LIBS = $OPENCL_LIBS
23064 OBJC = $OBJC
23065 OBJCFLAGS = $OBJCFLAGS
23066 ac_ct_OBJC = $ac_ct_OBJC
23067 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23068 PRELINK = $PRELINK
23069 PE_ARCHS = $PE_ARCHS
23070 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23071 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23072 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23073 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23074 GSM_PE_LIBS = $GSM_PE_LIBS
23075 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23076 JPEG_PE_LIBS = $JPEG_PE_LIBS
23077 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23078 JXR_PE_LIBS = $JXR_PE_LIBS
23079 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23080 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23081 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23082 LDAP_PE_LIBS = $LDAP_PE_LIBS
23083 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23084 MPG123_PE_LIBS = $MPG123_PE_LIBS
23085 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23086 PNG_PE_LIBS = $PNG_PE_LIBS
23087 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23088 TIFF_PE_LIBS = $TIFF_PE_LIBS
23089 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23090 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23091 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23092 XML2_PE_LIBS = $XML2_PE_LIBS
23093 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23094 XSLT_PE_LIBS = $XSLT_PE_LIBS
23095 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23096 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23097 PTHREAD_LIBS = $PTHREAD_LIBS
23098 XMKMF = $XMKMF
23099 CPP = $CPP
23100 X_CFLAGS = $X_CFLAGS
23101 X_PRE_LIBS = $X_PRE_LIBS
23102 X_LIBS = $X_LIBS
23103 X_EXTRA_LIBS = $X_EXTRA_LIBS
23104 PCAP_LIBS = $PCAP_LIBS
23105 PCSCLITE_LIBS = $PCSCLITE_LIBS
23106 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23107 INOTIFY_LIBS = $INOTIFY_LIBS
23108 DBUS_CFLAGS = $DBUS_CFLAGS
23109 DBUS_LIBS = $DBUS_LIBS
23110 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23111 GNUTLS_LIBS = $GNUTLS_LIBS
23112 SANE_CFLAGS = $SANE_CFLAGS
23113 SANE_LIBS = $SANE_LIBS
23114 USB_CFLAGS = $USB_CFLAGS
23115 USB_LIBS = $USB_LIBS
23116 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23117 GPHOTO2_LIBS = $GPHOTO2_LIBS
23118 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23119 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23120 RESOLV_LIBS = $RESOLV_LIBS
23121 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23122 FREETYPE_LIBS = $FREETYPE_LIBS
23123 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23124 PULSE_CFLAGS = $PULSE_CFLAGS
23125 PULSE_LIBS = $PULSE_LIBS
23126 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23127 GSTREAMER_LIBS = $GSTREAMER_LIBS
23128 ALSA_LIBS = $ALSA_LIBS
23129 OSS4_CFLAGS = $OSS4_CFLAGS
23130 OSS4_LIBS = $OSS4_LIBS
23131 UDEV_CFLAGS = $UDEV_CFLAGS
23132 UDEV_LIBS = $UDEV_LIBS
23133 UNWIND_CFLAGS = $UNWIND_CFLAGS
23134 UNWIND_LIBS = $UNWIND_LIBS
23135 SDL2_CFLAGS = $SDL2_CFLAGS
23136 SDL2_LIBS = $SDL2_LIBS
23137 CAPI20_CFLAGS = $CAPI20_CFLAGS
23138 CAPI20_LIBS = $CAPI20_LIBS
23139 CUPS_CFLAGS = $CUPS_CFLAGS
23140 CUPS_LIBS = $CUPS_LIBS
23141 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23142 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23143 KRB5_CFLAGS = $KRB5_CFLAGS
23144 KRB5_LIBS = $KRB5_LIBS
23145 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23146 GSSAPI_LIBS = $GSSAPI_LIBS
23147 PROCSTAT_LIBS = $PROCSTAT_LIBS
23148 NETAPI_CFLAGS = $NETAPI_CFLAGS
23149 NETAPI_LIBS = $NETAPI_LIBS
23150 MSVCRTFLAGS = $MSVCRTFLAGS
23151 DELAYLOADFLAG = $DELAYLOADFLAG
23152 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23153 RT_LIBS = $RT_LIBS
23154 TAGSFLAGS = $TAGSFLAGS
23155 LIBOBJS = $LIBOBJS
23156 LTLIBOBJS = $LTLIBOBJS
23157 $SET_MAKE
23158 $wine_rules
23159 _WINE_EOF
23160 as_fn_error $? "could not create Makefile" "$LINENO" 5
23163 _ACEOF
23165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23167 # Handling of arguments.
23168 for ac_config_target in $ac_config_targets
23170 case $ac_config_target in
23171 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23172 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23173 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23174 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23175 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23176 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23178 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23179 esac
23180 done
23183 # If the user did not use the arguments to specify the items to instantiate,
23184 # then the envvar interface is used. Set only those that are not.
23185 # We use the long form for the default assignment because of an extremely
23186 # bizarre bug on SunOS 4.1.3.
23187 if $ac_need_defaults; then
23188 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23189 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23190 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23193 # Have a temporary directory for convenience. Make it in the build tree
23194 # simply because there is no reason against having it here, and in addition,
23195 # creating and moving files from /tmp can sometimes cause problems.
23196 # Hook for its removal unless debugging.
23197 # Note that there is a small window in which the directory will not be cleaned:
23198 # after its creation but before its name has been assigned to `$tmp'.
23199 $debug ||
23201 tmp= ac_tmp=
23202 trap 'exit_status=$?
23203 : "${ac_tmp:=$tmp}"
23204 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23206 trap 'as_fn_exit 1' 1 2 13 15
23208 # Create a (secure) tmp directory for tmp files.
23211 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23212 test -d "$tmp"
23213 } ||
23215 tmp=./conf$$-$RANDOM
23216 (umask 077 && mkdir "$tmp")
23217 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23218 ac_tmp=$tmp
23220 # Set up the scripts for CONFIG_HEADERS section.
23221 # No need to generate them if there are no CONFIG_HEADERS.
23222 # This happens for instance with `./config.status Makefile'.
23223 if test -n "$CONFIG_HEADERS"; then
23224 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23225 BEGIN {
23226 _ACEOF
23228 # Transform confdefs.h into an awk script `defines.awk', embedded as
23229 # here-document in config.status, that substitutes the proper values into
23230 # config.h.in to produce config.h.
23232 # Create a delimiter string that does not exist in confdefs.h, to ease
23233 # handling of long lines.
23234 ac_delim='%!_!# '
23235 for ac_last_try in false false :; do
23236 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23237 if test -z "$ac_tt"; then
23238 break
23239 elif $ac_last_try; then
23240 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23241 else
23242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23244 done
23246 # For the awk script, D is an array of macro values keyed by name,
23247 # likewise P contains macro parameters if any. Preserve backslash
23248 # newline sequences.
23250 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23251 sed -n '
23252 s/.\{148\}/&'"$ac_delim"'/g
23253 t rset
23254 :rset
23255 s/^[ ]*#[ ]*define[ ][ ]*/ /
23256 t def
23258 :def
23259 s/\\$//
23260 t bsnl
23261 s/["\\]/\\&/g
23262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23263 D["\1"]=" \3"/p
23264 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23266 :bsnl
23267 s/["\\]/\\&/g
23268 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23269 D["\1"]=" \3\\\\\\n"\\/p
23270 t cont
23271 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23272 t cont
23274 :cont
23276 s/.\{148\}/&'"$ac_delim"'/g
23277 t clear
23278 :clear
23279 s/\\$//
23280 t bsnlc
23281 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23283 :bsnlc
23284 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23285 b cont
23286 ' <confdefs.h | sed '
23287 s/'"$ac_delim"'/"\\\
23288 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23291 for (key in D) D_is_set[key] = 1
23292 FS = "\a"
23294 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23295 line = \$ 0
23296 split(line, arg, " ")
23297 if (arg[1] == "#") {
23298 defundef = arg[2]
23299 mac1 = arg[3]
23300 } else {
23301 defundef = substr(arg[1], 2)
23302 mac1 = arg[2]
23304 split(mac1, mac2, "(") #)
23305 macro = mac2[1]
23306 prefix = substr(line, 1, index(line, defundef) - 1)
23307 if (D_is_set[macro]) {
23308 # Preserve the white space surrounding the "#".
23309 print prefix "define", macro P[macro] D[macro]
23310 next
23311 } else {
23312 # Replace #undef with comments. This is necessary, for example,
23313 # in the case of _POSIX_SOURCE, which is predefined and required
23314 # on some systems where configure will not decide to define it.
23315 if (defundef == "undef") {
23316 print "/*", prefix defundef, macro, "*/"
23317 next
23321 { print }
23322 _ACAWK
23323 _ACEOF
23324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23325 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23326 fi # test -n "$CONFIG_HEADERS"
23329 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23330 shift
23331 for ac_tag
23333 case $ac_tag in
23334 :[FHLC]) ac_mode=$ac_tag; continue;;
23335 esac
23336 case $ac_mode$ac_tag in
23337 :[FHL]*:*);;
23338 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23339 :[FH]-) ac_tag=-:-;;
23340 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23341 esac
23342 ac_save_IFS=$IFS
23343 IFS=:
23344 set x $ac_tag
23345 IFS=$ac_save_IFS
23346 shift
23347 ac_file=$1
23348 shift
23350 case $ac_mode in
23351 :L) ac_source=$1;;
23352 :[FH])
23353 ac_file_inputs=
23354 for ac_f
23356 case $ac_f in
23357 -) ac_f="$ac_tmp/stdin";;
23358 *) # Look for the file first in the build tree, then in the source tree
23359 # (if the path is not absolute). The absolute path cannot be DOS-style,
23360 # because $ac_f cannot contain `:'.
23361 test -f "$ac_f" ||
23362 case $ac_f in
23363 [\\/$]*) false;;
23364 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23365 esac ||
23366 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23367 esac
23368 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23369 as_fn_append ac_file_inputs " '$ac_f'"
23370 done
23372 # Let's still pretend it is `configure' which instantiates (i.e., don't
23373 # use $as_me), people would be surprised to read:
23374 # /* config.h. Generated by config.status. */
23375 configure_input='Generated from '`
23376 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23377 `' by configure.'
23378 if test x"$ac_file" != x-; then
23379 configure_input="$ac_file. $configure_input"
23380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23381 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23383 # Neutralize special characters interpreted by sed in replacement strings.
23384 case $configure_input in #(
23385 *\&* | *\|* | *\\* )
23386 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23387 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23388 *) ac_sed_conf_input=$configure_input;;
23389 esac
23391 case $ac_tag in
23392 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23393 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23394 esac
23396 esac
23398 ac_dir=`$as_dirname -- "$ac_file" ||
23399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23400 X"$ac_file" : 'X\(//\)[^/]' \| \
23401 X"$ac_file" : 'X\(//\)$' \| \
23402 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23403 printf "%s\n" X"$ac_file" |
23404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23405 s//\1/
23408 /^X\(\/\/\)[^/].*/{
23409 s//\1/
23412 /^X\(\/\/\)$/{
23413 s//\1/
23416 /^X\(\/\).*/{
23417 s//\1/
23420 s/.*/./; q'`
23421 as_dir="$ac_dir"; as_fn_mkdir_p
23422 ac_builddir=.
23424 case "$ac_dir" in
23425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23427 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23428 # A ".." for each directory in $ac_dir_suffix.
23429 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23430 case $ac_top_builddir_sub in
23431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23433 esac ;;
23434 esac
23435 ac_abs_top_builddir=$ac_pwd
23436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23437 # for backward compatibility:
23438 ac_top_builddir=$ac_top_build_prefix
23440 case $srcdir in
23441 .) # We are building in place.
23442 ac_srcdir=.
23443 ac_top_srcdir=$ac_top_builddir_sub
23444 ac_abs_top_srcdir=$ac_pwd ;;
23445 [\\/]* | ?:[\\/]* ) # Absolute name.
23446 ac_srcdir=$srcdir$ac_dir_suffix;
23447 ac_top_srcdir=$srcdir
23448 ac_abs_top_srcdir=$srcdir ;;
23449 *) # Relative name.
23450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23451 ac_top_srcdir=$ac_top_build_prefix$srcdir
23452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23453 esac
23454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23457 case $ac_mode in
23461 # CONFIG_HEADER
23463 if test x"$ac_file" != x-; then
23465 printf "%s\n" "/* $configure_input */" >&1 \
23466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23467 } >"$ac_tmp/config.h" \
23468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23469 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23471 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23472 else
23473 rm -f "$ac_file"
23474 mv "$ac_tmp/config.h" "$ac_file" \
23475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23477 else
23478 printf "%s\n" "/* $configure_input */" >&1 \
23479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23480 || as_fn_error $? "could not create -" "$LINENO" 5
23485 # CONFIG_LINK
23488 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23490 else
23491 # Prefer the file from the source tree if names are identical.
23492 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23493 ac_source=$srcdir/$ac_source
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23497 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23499 if test ! -r "$ac_source"; then
23500 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23502 rm -f "$ac_file"
23504 # Try a relative symlink, then a hard link, then a copy.
23505 case $ac_source in
23506 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23507 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23508 esac
23509 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23510 ln "$ac_source" "$ac_file" 2>/dev/null ||
23511 cp -p "$ac_source" "$ac_file" ||
23512 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23515 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23516 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23518 esac
23521 case $ac_file$ac_mode in
23522 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23523 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23524 "Makefile":C) wine_fn_output_makefile Makefile ;;
23526 esac
23527 done # for ac_tag
23530 as_fn_exit 0
23531 _ACEOF
23532 ac_clean_files=$ac_clean_files_save
23534 test $ac_write_fail = 0 ||
23535 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23538 # configure is writing to config.log, and then calls config.status.
23539 # config.status does its own redirection, appending to config.log.
23540 # Unfortunately, on DOS this fails, as config.log is still kept open
23541 # by configure, so config.status won't be able to write to it; its
23542 # output is simply discarded. So we exec the FD to /dev/null,
23543 # effectively closing config.log, so it can be properly (re)opened and
23544 # appended to by config.status. When coming back to configure, we
23545 # need to make the FD available again.
23546 if test "$no_create" != yes; then
23547 ac_cs_success=:
23548 ac_config_status_args=
23549 test "$silent" = yes &&
23550 ac_config_status_args="$ac_config_status_args --quiet"
23551 exec 5>/dev/null
23552 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23553 exec 5>>config.log
23554 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23555 # would make configure fail if this is the last instruction.
23556 $ac_cs_success || as_fn_exit 1
23558 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23560 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23564 if test "$no_create" = "yes"
23565 then
23566 exit 0
23569 ac_save_IFS="$IFS"
23570 if test "x$wine_notices" != x; then
23571 echo >&6
23572 IFS="|"
23573 for msg in $wine_notices; do
23574 IFS="$ac_save_IFS"
23575 if ${msg:+false} :
23576 then :
23578 else $as_nop
23579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23580 printf "%s\n" "$as_me: $msg" >&6;}
23582 done
23584 IFS="|"
23585 for msg in $wine_warnings; do
23586 IFS="$ac_save_IFS"
23587 if ${msg:+false} :
23588 then :
23590 else $as_nop
23591 echo >&2
23592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23593 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23595 done
23596 IFS="$ac_save_IFS"
23598 printf "%s\n" "
23599 $as_me: Finished. Do '${ac_make}' to compile Wine.
23600 " >&6